From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steve Langasek Newsgroups: gmane.emacs.bugs Subject: bug#8497: Bug#620795: emacs23: Makefile generation with cpp mangles multiarch include paths (impending FTBFS) Date: Fri, 15 Apr 2011 19:12:18 -0700 Message-ID: <20110416021218.GB23048@virgil.dodds.net> References: <20110404090605.9635.62532.reportbug@virgil.dodds.net> <87sjtl4hbg.fsf@raven.defaultvalue.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="/NkBOFFp2J2Af1nK" X-Trace: dough.gmane.org 1302932249 23471 80.91.229.12 (16 Apr 2011 05:37:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 16 Apr 2011 05:37:29 +0000 (UTC) Cc: Rob Browning , 8497@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 16 07:37:24 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QAyCB-00020a-6B for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Apr 2011 07:37:23 +0200 Original-Received: from localhost ([::1]:38466 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAyCA-00030N-NW for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Apr 2011 01:37:22 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:35784) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAvr3-0005bp-AG for bug-gnu-emacs@gnu.org; Fri, 15 Apr 2011 23:07:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QAvr2-0005Ak-76 for bug-gnu-emacs@gnu.org; Fri, 15 Apr 2011 23:07:25 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47329) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAvr2-0005Ag-4J for bug-gnu-emacs@gnu.org; Fri, 15 Apr 2011 23:07:24 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QAvPa-00013B-DA; Fri, 15 Apr 2011 22:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Steve Langasek Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Apr 2011 02:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8497 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8497-submit@debbugs.gnu.org id=B8497.13029215274017 (code B ref 8497); Sat, 16 Apr 2011 02:39:02 +0000 Original-Received: (at 8497) by debbugs.gnu.org; 16 Apr 2011 02:38:47 +0000 Original-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 Original-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 Original-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) Original-Received: by virgil.dodds.net (Postfix, from userid 1000) id A6BDE400C0; Fri, 15 Apr 2011 19:12:18 -0700 (PDT) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Mailman-Approved-At: Fri, 15 Apr 2011 22:38:45 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 15 Apr 2011 22:39:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Sat, 16 Apr 2011 01:37:20 -0400 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:45833 Archived-At: --/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--