GNU logs - #75667, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#75667: Emacs 30.0.93 build failure if -lz but not <zlib.h>
Resent-From: Paul Eggert <eggert@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 19 Jan 2025 08:30:01 +0000
Resent-Message-ID: <handler.75667.B.173727538131019 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 75667
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 75667 <at> debbugs.gnu.org
X-Debbugs-Original-To: Emacs bug reports and feature requests <bug-gnu-emacs@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.173727538131019
          (code B ref -1); Sun, 19 Jan 2025 08:30:01 +0000
Received: (at submit) by debbugs.gnu.org; 19 Jan 2025 08:29:41 +0000
Received: from localhost ([127.0.0.1]:44832 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tZQgf-00084F-FW
	for submit <at> debbugs.gnu.org; Sun, 19 Jan 2025 03:29:41 -0500
Received: from lists.gnu.org ([2001:470:142::17]:45824)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eggert@HIDDEN>)
 id 1tZQgd-00083z-4p
 for submit <at> debbugs.gnu.org; Sun, 19 Jan 2025 03:29:39 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eggert@HIDDEN>)
 id 1tZQgX-0000jd-Ci
 for bug-gnu-emacs@HIDDEN; Sun, 19 Jan 2025 03:29:33 -0500
Received: from mail.cs.ucla.edu ([131.179.128.66])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eggert@HIDDEN>)
 id 1tZQgV-0007kJ-KR
 for bug-gnu-emacs@HIDDEN; Sun, 19 Jan 2025 03:29:33 -0500
Received: from localhost (localhost [127.0.0.1])
 by mail.cs.ucla.edu (Postfix) with ESMTP id 50B553C011BD9
 for <bug-gnu-emacs@HIDDEN>; Sun, 19 Jan 2025 00:29:29 -0800 (PST)
Received: from mail.cs.ucla.edu ([127.0.0.1])
 by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10032) with ESMTP
 id jabVluINsKgB for <bug-gnu-emacs@HIDDEN>;
 Sun, 19 Jan 2025 00:29:29 -0800 (PST)
Received: from localhost (localhost [127.0.0.1])
 by mail.cs.ucla.edu (Postfix) with ESMTP id 0CAA03C011BDB
 for <bug-gnu-emacs@HIDDEN>; Sun, 19 Jan 2025 00:29:29 -0800 (PST)
DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu 0CAA03C011BDB
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu;
 s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1737275369;
 bh=HS6vHa/AdZzoFRz9yZR6eHg7fnmFptL68pGSu3lq87g=;
 h=Message-ID:Date:MIME-Version:To:From;
 b=AFdnkkchp1H7CjbA+eYKW+hJApU0l6dVTAFgEa+pVBGJf6gfIq6Nurtwtqd5rGdbY
 2kEPQMtN4peZp/gwo1M9vOaVxjbNn7miC1K/Fai/XspEPBzt2ZwNGLcgeoQvn/Rez8
 qy/REX9yb1JOjmqD5uKWMA8rciVVEMc4hO2Tf7a4odbcQpzUAP2MCHEFLrNZ4vbiHg
 Mt0jPaV6NpHZx4bo7esTGfNyvvILX3YsTtT4zp+ZHvVwa/oZjV1G/gg0jFz6V11uDW
 fvyDeq9RapxiN1UpDmVkC6iLxjrDbip0EHDOQpe5rN4D5bthv3L5evrPeJXnEDg/4Q
 FTOLRmN3/47BA==
X-Virus-Scanned: amavis at mail.cs.ucla.edu
Received: from mail.cs.ucla.edu ([127.0.0.1])
 by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10026) with ESMTP
 id MRdS2rsev1GH for <bug-gnu-emacs@HIDDEN>;
 Sun, 19 Jan 2025 00:29:28 -0800 (PST)
Received: from [192.168.254.12] (unknown [47.154.28.214])
 by mail.cs.ucla.edu (Postfix) with ESMTPSA id EAFF83C011BD9
 for <bug-gnu-emacs@HIDDEN>; Sun, 19 Jan 2025 00:29:28 -0800 (PST)
Message-ID: <e14c47ff-645b-40ab-b055-e1c1d66baee1@HIDDEN>
Date: Sun, 19 Jan 2025 00:29:28 -0800
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
From: Paul Eggert <eggert@HIDDEN>
Organization: UCLA Computer Science Department
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=131.179.128.66; envelope-from=eggert@HIDDEN;
 helo=mail.cs.ucla.edu
X-Spam_score_int: -19
X-Spam_score: -2.0
X-Spam_bar: --
X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

In the emacs-30.0.93 pretest, the build fails on cfarm119.cfarm.net 
which is running AIX 7.3. To reproduce the problem on that platform:

   /configure CC=/opt/IBM/openxlC/17.1.1/bin/ibm-clang 
--with-jpeg=ifavailable --with-png=ifavailable --with-gif=ifavailable 
--with-tiff=ifavailable --with-gnutls=ifavailable
   gmake

The build eventually fails with:

   CC       decompress.o
decompress.c:23:10: fatal error: 'zlib.h' file not found
#include <zlib.h>
          ^~~~~~~~

As the #include is protected by "#ifdef HAVE_ZLIB", it appears that 
'configure' assumes that if gcc -lz works then "#include <zlib.h>" will 
work too. That assumption is incorrect on this platform.

I suppose HAVE_ZLIB could be changed to be true only if zlib.h can be 
included; or perhaps the #include should be protected by #ifdef 
HAVE_ZLIB_H (though this sounds more complicated). Up to whoever did the 
zlib stuff.




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Paul Eggert <eggert@HIDDEN>
Subject: bug#75667: Acknowledgement (Emacs 30.0.93 build failure if -lz
 but not <zlib.h>)
Message-ID: <handler.75667.B.173727538131019.ack <at> debbugs.gnu.org>
References: <e14c47ff-645b-40ab-b055-e1c1d66baee1@HIDDEN>
X-Gnu-PR-Message: ack 75667
X-Gnu-PR-Package: emacs
Reply-To: 75667 <at> debbugs.gnu.org
Date: Sun, 19 Jan 2025 08:30:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 75667 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
75667: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D75667
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#75667: Emacs 30.0.93 build failure if -lz but not <zlib.h>
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 19 Jan 2025 09:25:02 +0000
Resent-Message-ID: <handler.75667.B75667.17372786808602 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75667
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Paul Eggert <eggert@HIDDEN>
Cc: 75667 <at> debbugs.gnu.org
Received: via spool by 75667-submit <at> debbugs.gnu.org id=B75667.17372786808602
          (code B ref 75667); Sun, 19 Jan 2025 09:25:02 +0000
Received: (at 75667) by debbugs.gnu.org; 19 Jan 2025 09:24:40 +0000
Received: from localhost ([127.0.0.1]:44886 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tZRXs-0002Ef-Dv
	for submit <at> debbugs.gnu.org; Sun, 19 Jan 2025 04:24:40 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:45478)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tZRXp-0002EN-FL
 for 75667 <at> debbugs.gnu.org; Sun, 19 Jan 2025 04:24:39 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1tZRXj-0004Xc-FY; Sun, 19 Jan 2025 04:24:31 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=m5/boIsljGERyuftU3T/sNhlgl0OpTxLKsk1c5SUvbs=; b=VsuK/r55keQS
 B08YrgDB6mHn/zalLpFVkYE2YDBS/ZOXXGIQ0vxXQuOGC2L0nv0FZwWQK8/sUg7mBdu2X6Wos1u73
 zs0j4TFH7Az01r1o+/FBOmjTpVfJPi56/a53bI/EIEtmorMpSjIaU9B8DNghD8/gIYjSN9CEBcVbI
 goCUxnXhRqOhSvfSCu3ZxD89Y6HPEvtbM1KaYquAOL+Q+67V64wSRN3Nfu4cGza/BTenhvMJP6p6P
 Mqel0gaH8i8mlNzeu03HKxwRh5a/TXuY6/I2b8vCBDPeeVQflBw9vCmeqpS2DRu2C1SdJWjGLRigh
 zfazBa1DfuHCGm1bUTt7yQ==;
Date: Sun, 19 Jan 2025 11:24:29 +0200
Message-Id: <86frlf88c2.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <e14c47ff-645b-40ab-b055-e1c1d66baee1@HIDDEN> (message from
 Paul Eggert on Sun, 19 Jan 2025 00:29:28 -0800)
References: <e14c47ff-645b-40ab-b055-e1c1d66baee1@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Sun, 19 Jan 2025 00:29:28 -0800
> From: Paul Eggert <eggert@HIDDEN>
> 
> In the emacs-30.0.93 pretest, the build fails on cfarm119.cfarm.net 
> which is running AIX 7.3. To reproduce the problem on that platform:
> 
>    /configure CC=/opt/IBM/openxlC/17.1.1/bin/ibm-clang 
> --with-jpeg=ifavailable --with-png=ifavailable --with-gif=ifavailable 
> --with-tiff=ifavailable --with-gnutls=ifavailable
>    gmake
> 
> The build eventually fails with:
> 
>    CC       decompress.o
> decompress.c:23:10: fatal error: 'zlib.h' file not found
> #include <zlib.h>
>           ^~~~~~~~
> 
> As the #include is protected by "#ifdef HAVE_ZLIB", it appears that 
> 'configure' assumes that if gcc -lz works then "#include <zlib.h>" will 
> work too. That assumption is incorrect on this platform.

Where is zlib.h on that platform?

> I suppose HAVE_ZLIB could be changed to be true only if zlib.h can be 
> included; or perhaps the #include should be protected by #ifdef 
> HAVE_ZLIB_H (though this sounds more complicated). Up to whoever did the 
> zlib stuff.

It's too late to make serious changes in the configury on the release
branch, but maybe we should simply disable HAVE_ZLIB_H on AIX?  Then
we could find a proper solution on master.





Last modified: Sun, 19 Jan 2025 09:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.