GNU bug report logs -
#8497
Bug#620795: emacs23: Makefile generation with cpp mangles multiarch include paths (impending FTBFS)
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Thu, 14 Apr 2011 00:46:06 -0400
with message-id <E1QAERS-0001lU-4f <at> fencepost.gnu.org>
and subject line Re: bug#8497: Bug#620795: emacs23: Makefile generation with cpp mangles multiarch include paths (impending FTBFS)
has caused the GNU bug report #8497,
regarding Bug#620795: emacs23: Makefile generation with cpp mangles multiarch include paths (impending FTBFS)
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
8497: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8497
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
(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 <steve.langasek <at> canonical.com> 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 <cpu> 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
[Message part 3 (message/rfc822, inline)]
> From: Rob Browning <rlb <at> defaultvalue.org>
> Date: Wed, 13 Apr 2011 22:56:03 -0500
> Cc: 620795-forwarded <at> bugs.debian.org,
> Steve Langasek <steve.langasek <at> canonical.com>, 620795 <at> 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.
This bug report was last modified 13 years and 352 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.