From unknown Wed Jun 18 23:07:21 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#8497 <8497@debbugs.gnu.org> To: bug#8497 <8497@debbugs.gnu.org> Subject: Status: Bug#620795: emacs23: Makefile generation with cpp mangles multiarch include paths (impending FTBFS) Reply-To: bug#8497 <8497@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:07:21 +0000 retitle 8497 Bug#620795: emacs23: Makefile generation with cpp mangles mult= iarch include paths (impending FTBFS) reassign 8497 emacs submitter 8497 Rob Browning severity 8497 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 13 23:56:18 2011 Received: (at submit) by debbugs.gnu.org; 14 Apr 2011 03:56:18 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QADfG-0002ky-39 for submit@debbugs.gnu.org; Wed, 13 Apr 2011 23:56:18 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QADfD-0002kk-Uo for submit@debbugs.gnu.org; Wed, 13 Apr 2011 23:56:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QADf7-0005Cm-Q8 for submit@debbugs.gnu.org; Wed, 13 Apr 2011 23:56:10 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:47447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QADf7-0005Cg-Nq for submit@debbugs.gnu.org; Wed, 13 Apr 2011 23:56:09 -0400 Received: from eggs.gnu.org ([140.186.70.92]:56523) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QADf6-0006YW-LR for bug-gnu-emacs@gnu.org; Wed, 13 Apr 2011 23:56:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QADf5-0005CO-E1 for bug-gnu-emacs@gnu.org; Wed, 13 Apr 2011 23:56:08 -0400 Received: from defaultvalue.org ([70.85.129.156]:42910) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QADf5-0005C9-2i for bug-gnu-emacs@gnu.org; Wed, 13 Apr 2011 23:56:07 -0400 Received: from omen.defaultvalue.org (localhost [127.0.0.1]) by defaultvalue.org (Postfix) with ESMTP id 0591B90D35; Wed, 13 Apr 2011 22:57:30 -0500 (CDT) Received: from raven.defaultvalue.org (raven.defaultvalue.org [192.168.1.7]) by omen.defaultvalue.org (Postfix) with ESMTP id 0D6D85057E; Wed, 13 Apr 2011 22:56:04 -0500 (CDT) Received: by raven.defaultvalue.org (Postfix, from userid 1000) id B32AF7BA6C9; Wed, 13 Apr 2011 22:56:03 -0500 (CDT) From: Rob Browning To: bug-gnu-emacs@gnu.org Subject: Re: Bug#620795: emacs23: Makefile generation with cpp mangles multiarch include paths (impending FTBFS) References: <20110404090605.9635.62532.reportbug@virgil.dodds.net> Date: Wed, 13 Apr 2011 22:56:03 -0500 In-Reply-To: <20110404090605.9635.62532.reportbug@virgil.dodds.net> (Steve Langasek's message of "Mon, 04 Apr 2011 02:06:05 -0700") Message-ID: <87sjtl4hbg.fsf@raven.defaultvalue.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: submit Cc: 620795-forwarded@bugs.debian.org, Steve Langasek , 620795@bugs.debian.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.5 (------) (If possible, please preserve the 620795-forwarded address in any replies.) Debian is likely to migrate to multiarch, and it appears that the transition will probably break the Emacs build process. The problem is that Emacs uses cpp to process the Makefiles, and with multiarch, include paths will include strings like "i386" that cpp will replace with nonsensical values. i.e. -I/usr/lib/i386-linux-gnu/glib-2.0 -> -I/usr/lib/1-linux-gnu/glib-2.0 Steve Langasek writes: > Having begun to convert libraries over to multiarch in Ubuntu, we've found > emacs23 among the packages which fails to build. This is because the > two-stage, autoconf+cpp generation of src/Makefile and lib-src/Makefile > results in strings like "-I/usr/lib/i386-linux-gnu/glib-2.0" being seen as > input to cpp... which has "i386" as a macro defined to "1". So unless these > macros are undefined, the path that winds up in the Makefile is broken and > results in a build failure. > > The attached patch partially addresses this by undefining any macros that > happen to exist for the portion of the architecture triplet. Only > architectures for which Ubuntu currently builds are handled here, however; > for Debian either a more comprehensive list or a generic fix is needed. > It's possible that passing -fdirectives-only to cpp would solve this, but I > haven't tested. Please see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=620795 for additional information. Thanks -- Rob Browning rlb @defaultvalue.org and @debian.org GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4 From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 14 00:19:17 2011 Received: (at control) by debbugs.gnu.org; 14 Apr 2011 04:19:18 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QAE1V-0003Gz-Iy for submit@debbugs.gnu.org; Thu, 14 Apr 2011 00:19:17 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QAE1T-0003Gn-J3 for control@debbugs.gnu.org; Thu, 14 Apr 2011 00:19:15 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1QAE1O-0008Vo-GW for control@debbugs.gnu.org; Thu, 14 Apr 2011 00:19:10 -0400 Date: Thu, 14 Apr 2011 00:19:10 -0400 Message-Id: Subject: control message for bug 8497 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) found 8497 23.3 fixed 8497 24.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 14 00:46:15 2011 Received: (at 8497-done) by debbugs.gnu.org; 14 Apr 2011 04:46:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QAERb-0004g5-3m for submit@debbugs.gnu.org; Thu, 14 Apr 2011 00:46:15 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QAERY-0004ft-9h for 8497-done@debbugs.gnu.org; Thu, 14 Apr 2011 00:46:12 -0400 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1QAERS-0001lU-4f; Thu, 14 Apr 2011 00:46:06 -0400 Date: Thu, 14 Apr 2011 00:46:06 -0400 Message-Id: From: Eli Zaretskii To: Rob Browning In-reply-to: <87sjtl4hbg.fsf@raven.defaultvalue.org> (message from Rob Browning on Wed, 13 Apr 2011 22:56:03 -0500) Subject: Re: bug#8497: Bug#620795: emacs23: Makefile generation with cpp mangles multiarch include paths (impending FTBFS) References: <20110404090605.9635.62532.reportbug@virgil.dodds.net> <87sjtl4hbg.fsf@raven.defaultvalue.org> X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 8497-done Cc: 620795-forwarded@bugs.debian.org, 8497-done@debbugs.gnu.org, steve.langasek@canonical.com, 620795@bugs.debian.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) > From: Rob Browning > Date: Wed, 13 Apr 2011 22:56:03 -0500 > Cc: 620795-forwarded@bugs.debian.org, > Steve Langasek , 620795@bugs.debian.org > > > (If possible, please preserve the 620795-forwarded address in any replies.) > > Debian is likely to migrate to multiarch, and it appears that the > transition will probably break the Emacs build process. > > The problem is that Emacs uses cpp to process the Makefiles It no longer does in the development trunk. However, that change is not (and probably will not be) in the emacs-23 release branch, only in Emacs 24 when that is released. So I'm closing this bug. From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 15 21:51:07 2011 Received: (at 8497) by debbugs.gnu.org; 16 Apr 2011 01:51:07 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QAufD-0008S1-KW for submit@debbugs.gnu.org; Fri, 15 Apr 2011 21:51:07 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QAufC-0008RZ-De for 8497@debbugs.gnu.org; Fri, 15 Apr 2011 21:51:06 -0400 Received: from localhost ([127.0.0.1]:42668) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAuf6-0004IZ-UH; Fri, 15 Apr 2011 21:51:01 -0400 From: Glenn Morris To: Rob Browning Subject: Re: bug#8497: Bug#620795: emacs23: Makefile generation with cpp mangles multiarch include paths (impending FTBFS) References: <20110404090605.9635.62532.reportbug@virgil.dodds.net> <87sjtl4hbg.fsf@raven.defaultvalue.org> X-Spook: nuclear Compsec FSF counter intelligence counter X-Ran: HwNccTd:Hoc"FIRQkV2]gbCvAN-XV~x%y~u#n,b~k*|Kc]zB>$}qk!"TNeA~\a?OEoY1`u X-Hue: yellow X-Debbugs-No-Ack: yes X-Attribution: GM Date: Fri, 15 Apr 2011 21:51:00 -0400 In-Reply-To: <87sjtl4hbg.fsf@raven.defaultvalue.org> (Rob Browning's message of "Wed, 13 Apr 2011 22:56:03 -0500") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 8497 Cc: Steve Langasek , 8497@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) Rob Browning wrote: > (If possible, please preserve the 620795-forwarded address in any replies.) Sorry, not so long as bug#63995 exists. >> The attached patch partially addresses this by undefining any macros that >> happen to exist for the portion of the architecture triplet. Note the following in configure.in attempts to do this kind of thing already: # Now get this: Some word that is part of the ${srcdir} directory name # or the ${configuration} value might, just might, happen to be an # identifier like `sun4' or `i386' or something, and be predefined by # the C preprocessor to some helpful value like 1, or maybe the empty # string. Needless to say consequent macro substitutions are less # than conducive to the makefile finding the correct directory. [cpp_undefs="`echo $srcdir $configuration $canonical unix | sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \ -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g'`"] so it's not obvious to me why you need to do more (maybe $canonical is i686-something but your directories are i386-something?). From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 15 22:38:47 2011 Received: (at 8497) by debbugs.gnu.org; 16 Apr 2011 02:38:47 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QAvPK-00012j-BA for submit@debbugs.gnu.org; Fri, 15 Apr 2011 22:38:47 -0400 Received: from becquer.dodds.net ([207.224.24.209]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QAuzu-0000Sa-W9 for 8497@debbugs.gnu.org; Fri, 15 Apr 2011 22:12:31 -0400 Received: from virgil.dodds.net (unknown [192.168.15.11]) by becquer.dodds.net (Postfix) with ESMTPA id B4942251D8; Fri, 15 Apr 2011 19:12:23 -0700 (PDT) Received: by virgil.dodds.net (Postfix, from userid 1000) id A6BDE400C0; Fri, 15 Apr 2011 19:12:18 -0700 (PDT) Date: Fri, 15 Apr 2011 19:12:18 -0700 From: Steve Langasek To: Glenn Morris Subject: Re: bug#8497: Bug#620795: emacs23: Makefile generation with cpp mangles multiarch include paths (impending FTBFS) Message-ID: <20110416021218.GB23048@virgil.dodds.net> References: <20110404090605.9635.62532.reportbug@virgil.dodds.net> <87sjtl4hbg.fsf@raven.defaultvalue.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="/NkBOFFp2J2Af1nK" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 8497 X-Mailman-Approved-At: Fri, 15 Apr 2011 22:38:45 -0400 Cc: 8497@debbugs.gnu.org, Rob Browning X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) --/NkBOFFp2J2Af1nK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 15, 2011 at 09:51:00PM -0400, Glenn Morris wrote: > Rob Browning wrote: > > (If possible, please preserve the 620795-forwarded address in any repli= es.) > Sorry, not so long as bug#63995 exists. > >> The attached patch partially addresses this by undefining any macros t= hat > >> happen to exist for the portion of the architecture triplet. > Note the following in configure.in attempts to do this kind of thing alre= ady: > # Now get this: Some word that is part of the ${srcdir} directory name > # or the ${configuration} value might, just might, happen to be an > # identifier like `sun4' or `i386' or something, and be predefined by > # the C preprocessor to some helpful value like 1, or maybe the empty > # string. Needless to say consequent macro substitutions are less > # than conducive to the makefile finding the correct directory. > [cpp_undefs=3D"`echo $srcdir $configuration $canonical unix | > sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \ > -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g'`"] > so it's not obvious to me why you need to do more (maybe $canonical is > i686-something but your directories are i386-something?). Ah - yes, that's exactly right. So this issue should only affect the i386 build, where the toolchain triplet !=3D the multiarch directory. --=20 Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer http://www.debian.org/ slangasek@ubuntu.com vorlon@debian.org --/NkBOFFp2J2Af1nK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIVAwUBTaj7AlaNMPMhshM9AQhbjA/7BEM8hBgcfLsiRoVE0nq17cM7G+uufbCU MTO7+aZE7cTYE53asIYByNLaSpuUgDfE5nKR3x4+J9BpB8JGkD6dkDB0vzc301Vw 0Sns2hMhwxI9dGaJvIABMj0Ei9ML6wIvOVBDVrimeSL59Pq623ieu4luHIOEFfsx 2tVL2buCS1rvbFPBIxRDo3oia2fWVXIW80+tt94NjLjr5H87uD9J5XbMLn3rQ0bE Wl8OxiKuSw0CClLIOVZilmXbm2X01Y6kY40/IeKpUQZxIPp8fQjgYJjvmq6gOt6e axY5Rti8jgpm7tbE9gbXZn+eI0I2Ec+I1iUnm5I485vEsxJK0UAmSRw/aB+EDxBC kzK5QUPoJujtSKBKfWR/Sbafze4t28zKFTe6eT1KZgRR8UN8EDPc+uKhaTBa4vgB sFarpqvnv/u+gqbPJPFkFg69wKJEAWLTO+JLhJuscRj4QolOOMrb9RcTWW8gF45T wsBOjNpZx9ICLCEqJKNq/cG7RyoDQ6bUkPZ9x+zRhOj+Ieriu3EBu0GqOQiwg+LU Ldjh525Fo/T8fer7hf9pFkOuoBNVJktwc8j1WfhDXGncXDyvvRYkp/sDTyLpuRuK aN9DGa4AU21q/hxTCB1GKQGhn7XvwoCfuNdZG4QNUYNZCPn/uT+fAuz/jmNTHXoz kEjA8lrs6/0= =qPnd -----END PGP SIGNATURE----- --/NkBOFFp2J2Af1nK-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 16 12:30:06 2011 Received: (at 8497) by debbugs.gnu.org; 16 Apr 2011 16:30:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QB8Nq-0003N9-3J for submit@debbugs.gnu.org; Sat, 16 Apr 2011 12:30:06 -0400 Received: from defaultvalue.org ([70.85.129.156]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QB8Nn-0003MQ-Kq for 8497@debbugs.gnu.org; Sat, 16 Apr 2011 12:30:04 -0400 Received: from omen.defaultvalue.org (localhost [127.0.0.1]) by defaultvalue.org (Postfix) with ESMTP id 3D78F90D35; Sat, 16 Apr 2011 11:31:27 -0500 (CDT) Received: from raven.defaultvalue.org (raven.defaultvalue.org [192.168.1.7]) by omen.defaultvalue.org (Postfix) with ESMTP id 1B8F25057E; Sat, 16 Apr 2011 11:29:58 -0500 (CDT) Received: by raven.defaultvalue.org (Postfix, from userid 1000) id EB5DC7BA6C9; Sat, 16 Apr 2011 11:29:57 -0500 (CDT) From: Rob Browning To: Steve Langasek Subject: Re: bug#8497: Bug#620795: emacs23: Makefile generation with cpp mangles multiarch include paths (impending FTBFS) References: <20110404090605.9635.62532.reportbug@virgil.dodds.net> <87sjtl4hbg.fsf@raven.defaultvalue.org> <20110416021218.GB23048@virgil.dodds.net> Date: Sat, 16 Apr 2011 11:29:57 -0500 In-Reply-To: <20110416021218.GB23048@virgil.dodds.net> (Steve Langasek's message of "Fri, 15 Apr 2011 19:12:18 -0700") Message-ID: <877hau88hm.fsf@raven.defaultvalue.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.5 (----) X-Debbugs-Envelope-To: 8497 Cc: Glenn Morris , 8497@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.4 (----) Steve Langasek writes: > On Fri, Apr 15, 2011 at 09:51:00PM -0400, Glenn Morris wrote: >> Rob Browning wrote: > >> > (If possible, please preserve the 620795-forwarded address in any replies.) > >> Sorry, not so long as bug#63995 exists. > >> >> The attached patch partially addresses this by undefining any macros that >> >> happen to exist for the portion of the architecture triplet. > >> Note the following in configure.in attempts to do this kind of thing already: > >> # Now get this: Some word that is part of the ${srcdir} directory name >> # or the ${configuration} value might, just might, happen to be an >> # identifier like `sun4' or `i386' or something, and be predefined by >> # the C preprocessor to some helpful value like 1, or maybe the empty >> # string. Needless to say consequent macro substitutions are less >> # than conducive to the makefile finding the correct directory. >> [cpp_undefs="`echo $srcdir $configuration $canonical unix | >> sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \ >> -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g'`"] > >> so it's not obvious to me why you need to do more (maybe $canonical is >> i686-something but your directories are i386-something?). > > Ah - yes, that's exactly right. So this issue should only affect the i386 > build, where the toolchain triplet != the multiarch directory. OK, thanks. I'll fix that in the next Debian release. -- Rob Browning rlb @defaultvalue.org and @debian.org GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 17 13:35:14 2011 Received: (at 8497) by debbugs.gnu.org; 17 Apr 2011 17:35:14 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QBVsP-0006TJ-D2 for submit@debbugs.gnu.org; Sun, 17 Apr 2011 13:35:13 -0400 Received: from defaultvalue.org ([70.85.129.156]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QBVsN-0006T7-2t for 8497@debbugs.gnu.org; Sun, 17 Apr 2011 13:35:11 -0400 Received: from omen.defaultvalue.org (localhost [127.0.0.1]) by defaultvalue.org (Postfix) with ESMTP id C071790D35; Sun, 17 Apr 2011 12:36:34 -0500 (CDT) Received: from raven.defaultvalue.org (raven.defaultvalue.org [192.168.1.7]) by omen.defaultvalue.org (Postfix) with ESMTP id 073C350069; Sun, 17 Apr 2011 12:35:04 -0500 (CDT) Received: by raven.defaultvalue.org (Postfix, from userid 1000) id E06277BAB9F; Sun, 17 Apr 2011 12:35:03 -0500 (CDT) From: Rob Browning To: Steve Langasek Subject: Re: bug#8497: Bug#620795: emacs23: Makefile generation with cpp mangles multiarch include paths (impending FTBFS) References: <20110404090605.9635.62532.reportbug@virgil.dodds.net> <87sjtl4hbg.fsf@raven.defaultvalue.org> <20110416021218.GB23048@virgil.dodds.net> Date: Sun, 17 Apr 2011 12:35:03 -0500 In-Reply-To: <20110416021218.GB23048@virgil.dodds.net> (Steve Langasek's message of "Fri, 15 Apr 2011 19:12:18 -0700") Message-ID: <877hassrw8.fsf@raven.defaultvalue.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: 8497 Cc: Glenn Morris , 8497@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) Steve Langasek writes: > On Fri, Apr 15, 2011 at 09:51:00PM -0400, Glenn Morris wrote: >> Note the following in configure.in attempts to do this kind of thing already: > >> # Now get this: Some word that is part of the ${srcdir} directory name >> # or the ${configuration} value might, just might, happen to be an >> # identifier like `sun4' or `i386' or something, and be predefined by >> # the C preprocessor to some helpful value like 1, or maybe the empty >> # string. Needless to say consequent macro substitutions are less >> # than conducive to the makefile finding the correct directory. >> [cpp_undefs="`echo $srcdir $configuration $canonical unix | >> sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \ >> -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g'`"] > >> so it's not obvious to me why you need to do more (maybe $canonical is >> i686-something but your directories are i386-something?). > > Ah - yes, that's exactly right. So this issue should only affect the i386 > build, where the toolchain triplet != the multiarch directory. For now I've fixed this for the next upload by just adding a hard-coded i386 after "unix". Thanks -- Rob Browning rlb @defaultvalue.org and @debian.org GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4 From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 18 14:39:44 2011 Received: (at control) by debbugs.gnu.org; 18 Apr 2011 18:39:44 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QBtMO-0007iN-Do for submit@debbugs.gnu.org; Mon, 18 Apr 2011 14:39:44 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QBtMM-0007iC-2T for control@debbugs.gnu.org; Mon, 18 Apr 2011 14:39:42 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1QBtMG-0003ng-Uo for control@debbugs.gnu.org; Mon, 18 Apr 2011 14:39:37 -0400 Date: Mon, 18 Apr 2011 14:39:36 -0400 Message-Id: Subject: control message for bug 8520 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) forcemerge 8497 8520 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 24 17:21:48 2011 Received: (at control) by debbugs.gnu.org; 24 Apr 2011 21:21:48 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QE6kU-0007ab-KA for submit@debbugs.gnu.org; Sun, 24 Apr 2011 17:21:47 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QE6kS-0007aF-Dq; Sun, 24 Apr 2011 17:21:44 -0400 Received: from localhost ([127.0.0.1]:58078) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QE6kL-0002FL-Qt; Sun, 24 Apr 2011 17:21:37 -0400 From: Glenn Morris To: Reuben Thomas Subject: Re: bug#8543: 23.3; glib include path mangled References: <874o5n7542.fsf@sc3d.org> X-Spook: rail gun basement Ortega world domination S Box Saudi X-Ran: XD0209q4@>CsL>HkT%aZGg3ay)n:628^/Pxb~YEe:]kFP_VU#U2 (Reuben Thomas's message of "Sun, 24 Apr 2011 21:43:09 +0100") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: control Cc: 8543@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) forcemerge 8497 8543 stop See eg http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8520#8 From debbugs-submit-bounces@debbugs.gnu.org Sun May 08 14:04:03 2011 Received: (at control) by debbugs.gnu.org; 8 May 2011 18:04:03 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QJ8Kp-0001Qw-FZ for submit@debbugs.gnu.org; Sun, 08 May 2011 14:04:03 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QJ8Km-0001QQ-Hw for control@debbugs.gnu.org; Sun, 08 May 2011 14:04:02 -0400 Received: (qmail invoked by alias); 08 May 2011 18:03:54 -0000 Received: from p4FC77D53.dip.t-dialin.net (EHLO turtle.gmx.de) [79.199.125.83] by mail.gmx.net (mp037) with SMTP; 08 May 2011 20:03:54 +0200 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX19aDUoC8V1aodvoTBAY0ttsJhh2ueFBjDbGmGMMe7 PMhaWqaBH9gSDw Received: by turtle.gmx.de (Postfix, from userid 1000) id 52DB13F641; Sun, 8 May 2011 20:03:52 +0200 (CEST) From: Sven Joachim To: Paul Eggert Subject: Re: bug#8637: emacs-23 doesn't build on Ubuntu 11.04 References: <4DC6C305.7050501@cs.ucla.edu> Date: Sun, 08 May 2011 20:03:52 +0200 In-Reply-To: <4DC6C305.7050501@cs.ucla.edu> (Paul Eggert's message of "Sun, 08 May 2011 09:21:25 -0700") Message-ID: <878vuh6pdj.fsf@turtle.gmx.de> User-Agent: Gnus/5.110017 (No Gnus v0.17) Emacs/23.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: control Cc: 8637@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) forcemerge 8497 8637 thanks On 2011-05-08 18:21 +0200, Paul Eggert wrote: > The emacs-23 branch (and, I assume, Emacs 23) does not > build on Ubuntu 11.04 x86. You're not the first one to report this. > I'd like to install the following > fix. Normally I don't mess with the emacs-23 branch so I'm > being cautious and filing this bug report rather than simply > installing it. Glenn has proposed to add 'i386' to cpp_undefs in configure.in instead, see http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8520#8. Cheers, Sven From debbugs-submit-bounces@debbugs.gnu.org Sat May 14 18:24:52 2011 Received: (at control) by debbugs.gnu.org; 14 May 2011 22:24:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QLNGU-0008E3-Qu for submit@debbugs.gnu.org; Sat, 14 May 2011 18:24:51 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QLNGS-0008Dn-Ia; Sat, 14 May 2011 18:24:49 -0400 Received: from localhost ([127.0.0.1]:54075) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QLNGM-0003sS-QV; Sat, 14 May 2011 18:24:42 -0400 From: Glenn Morris To: Thierry Volpiatto Subject: Re: bug#8673: 24.0.50; unable to build emacs23 References: <87oc35x7fi.fsf@gmail.com> X-Spook: bootleg ASLET cryptographic BRLO Clinton Abbas strategic X-Ran: K+}gl`tl4P9yP5lf{qS%">TLmw-l;?!Bvvlkad6~/,jx{0=xd_l@Ud6o]_uOpn1CXGNslo X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sat, 14 May 2011 18:24:42 -0400 In-Reply-To: <87oc35x7fi.fsf@gmail.com> (Thierry Volpiatto's message of "Sun, 15 May 2011 00:07:29 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: control Cc: 8673@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) notfound 8673 24.0.50 forcemerge 8497 8673 stop See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8520#8 PS Please remove "24.0.50" from the subject when reporting bugs in different versions. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 06 02:37:21 2011 Received: (at control) by debbugs.gnu.org; 6 Jun 2011 06:37:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QTTRB-0003kL-Db for submit@debbugs.gnu.org; Mon, 06 Jun 2011 02:37:21 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QTTR9-0003k4-84; Mon, 06 Jun 2011 02:37:20 -0400 Received: from localhost ([127.0.0.1]:44589) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTTR2-0001vi-7g; Mon, 06 Jun 2011 02:37:12 -0400 From: Glenn Morris To: Jamie Macbeth Subject: Re: bug#8808: 23.3; compiling emacs 23.3 with xft support References: <540687.79007.qm@web65807.mail.ac4.yahoo.com> X-Spook: Agfa national information infrastructure Croatian AMEMB X-Ran: gSz1xa={19x;l}cE_L\PmBNjQ|/0u:I(Wc2jH,LUzJj&h<| (Jamie Macbeth's message of "Sun, 5 Jun 2011 20:07:05 -0700 (PDT)") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: control Cc: 8808@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) forcemerge 8497 8808 stop Jamie Macbeth wrote: > After ./configure with xft libs, src/Makefile has this line in it: > > XFT_LIBS=-lXrender -L/usr/lib/1 -linux-gnu -lXft > > this causes the build to fail at link time when linking with Xft. I believe > that XFT_LIBS is being set correctly by a line in the configure script. > > XFT_LIBS=`$PKG_CONFIG --libs "xft >= 0.13.0"|sed -e 's,///*,/,g'` > > But maybe somewhere in the toolchain this is getting mangled before it > makes it's way into src/Makefile? Maybe some command in the chain is > searching and replacing anything with -l in it? > > I seemed to have fixed it in my sources by replacing > "-L/usr/lib/1 -linux-gnu" with "-L/usr/lib/i386-linux-gnu" Please see http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8520#8 From unknown Wed Jun 18 23:07:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 04 Jul 2011 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator