Received: (at 75667) by debbugs.gnu.org; 19 Jan 2025 09:24:40 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 19 04:24:40 2025 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> To: Paul Eggert <eggert@HIDDEN> In-Reply-To: <e14c47ff-645b-40ab-b055-e1c1d66baee1@HIDDEN> (message from Paul Eggert on Sun, 19 Jan 2025 00:29:28 -0800) Subject: Re: bug#75667: Emacs 30.0.93 build failure if -lz but not <zlib.h> References: <e14c47ff-645b-40ab-b055-e1c1d66baee1@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 75667 Cc: 75667 <at> debbugs.gnu.org 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.
bug-gnu-emacs@HIDDEN
:bug#75667
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 19 Jan 2025 08:29:41 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 19 03:29:41 2025 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 To: Emacs bug reports and feature requests <bug-gnu-emacs@HIDDEN> From: Paul Eggert <eggert@HIDDEN> Subject: Emacs 30.0.93 build failure if -lz but not <zlib.h> 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-Debbugs-Envelope-To: submit 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.
Paul Eggert <eggert@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#75667
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.