GNU bug report logs - #1287
23.0.60; emacs 23.0.60 does not build on x86_64 architeture

Previous Next

Package: emacs;

Reported by: "stefan-husmann <at> t-online.de" <stefan-husmann <at> t-online.de>

Date: Fri, 31 Oct 2008 21:40:04 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1287 in the body.
You can then email your comments to 1287 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1287; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "stefan-husmann <at> t-online.de" <stefan-husmann <at> t-online.de>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "stefan-husmann <at> t-online.de" <stefan-husmann <at> t-online.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.0.60; emacs 23.0.60 does not build on x86_64 architeture
Date: Fri, 31 Oct 2008 22:31:57 +0100
Hello

I try to make a PKGBUILD on Arch Linux, x86_64 architecture. System libs
ar not installed under /usr/lib64 but under /usr/lib.

Can you help?  


In GNU Emacs 23.0.60.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.14.4)
 of 2008-10-26 on frege
Windowing system distributor `The X.Org Foundation', version
11.0.10402000
configured using `configure  '--prefix=/usr' '--with-xft' '--with-xpm'
'--enable-font-backend' '--with-jpeg' '--with-tiff' '--with-gif'
'--with-png' '--with-sound' '--with-libotf' '--with-m17-flt'
'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.utf8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: PKGBUILD

Minor modes in effect:
  recentf-mode: t
  shell-dirtrack-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I.
-I/home/haawda/paketierung/maintained_by_me/emacs-otf/src/emacs/src
-D_BSD_SOURCE -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/freetype2 -I/usr/include/alsa -I/usr/include/librsvg-2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/gtk-2.0 -I/usr/include/cairo -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include -march=x86-64 -mtune=generic -O2 -pipe
-I/usr/include/freetype2 pre-crt0.c
make[2]: *** No rule to make Target »/usr/lib64/crt1.o«, 
needed by »temacs«,  Stop.
make[2]: Leaving directory
`/home/haawda/paketierung/maintained_by_me/emacs-otf/src/emacs/src'
make[1]: *** [src] error 2
make[1]: Leaving directory
`/home/haawda/paketierung/maintained_by_me/emacs-otf/src/emacs'
make: *** [bootstrap] error 2










Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1287; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Sven Joachim <svenjoac <at> gmx.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #10 received at 1287 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Sven Joachim <svenjoac <at> gmx.de>
To: "stefan-husmann\@t-online.de" <stefan-husmann <at> t-online.de>
Cc: 1287 <at> debbugs.gnu.org
Subject: Re: bug#1287: 23.0.60; emacs 23.0.60 does not build on x86_64 architeture
Date: Sat, 01 Nov 2008 17:41:10 +0100
Am 31.10.2008 um 22:31 schrieb stefan-husmann <at> t-online.de:

> Hello
>
> I try to make a PKGBUILD on Arch Linux, x86_64 architecture. System libs
> ar not installed under /usr/lib64 but under /usr/lib.

Do you have a symlink /usr/lib64 -> lib ?  It might help to avoid...

> make[2]: *** No rule to make Target »/usr/lib64/crt1.o«, 
> needed by »temacs«,  Stop.

...this problem, because /usr/lib/crt1.o should exist.

Sven





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1287; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Sven Joachim <svenjoac <at> gmx.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #15 received at 1287 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Sven Joachim <svenjoac <at> gmx.de>
To: "stefan-husmann\@t-online.de" <stefan-husmann <at> t-online.de>
Cc: 1287 <at> debbugs.gnu.org
Subject: Re: bug#1287: 23.0.60; emacs 23.0.60 does not build on x86_64 architeture
Date: Sun, 02 Nov 2008 18:52:39 +0100
[ Please keep the bug report CC'ed.]

Am 02.11.2008 um 16:27 schrieb stefan-husmann <at> t-online.de:

> -----Original Message-----
>> Date: Sat, 01 Nov 2008 17:41:10 +0100
>> Subject: Re: bug#1287: 23.0.60; emacs 23.0.60 does not build on x86_64
>> architeture
>> From: Sven Joachim <svenjoac <at> gmx.de>
>> To: "stefan-husmann\@t-online.de" <stefan-husmann <at> t-online.de>
>
>> Am 31.10.2008 um 22:31 schrieb stefan-husmann <at> t-online.de:
>> 
>> > Hello
>> > 
>> > I try to make a PKGBUILD on Arch Linux, x86_64 architecture. System
>> > libs ar not installed under /usr/lib64 but under /usr/lib.
>> > 
>> 
>> Do you have a symlink /usr/lib64 -> lib ?  It might help to avoid...
>> 
>> > make[2]: *** No rule to make Target »/usr/lib64/crt1.o«,
>> > needed by »temacs«,  Stop.
>> 
>> ...this problem, because /usr/lib/crt1.o should exist.
>> 
>> Sven
>> 
>> 
> Hello,
>
> thank you for your answer.
>
> /usr/lib/crt1.o, /usr/lib/crti.o, /usr/lib/crtn.o, do exist. I am
> currently trying to rebuild 
> with the symlinks, and it seems to work (compilation takes longer  than
> it did before).
>
> But this is not a valid/beautiful solution for package maintainers. The
> problem did 
> not apply in former cvs  checkouts imho.

I just tested that in an amd64 chroot where I removed the /usr/lib64
symlink that my distribution creates, and Emacs built fine.

Please run `make distclean' and retry without the /usr/lib64 symlink.

Regards,
        Sven




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1287; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "stefan-husmann <at> t-online.de" <stefan-husmann <at> t-online.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #20 received at 1287 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "stefan-husmann <at> t-online.de" <stefan-husmann <at> t-online.de>
To: "Sven Joachim" <svenjoac <at> gmx.de>
Cc: 1287 <at> debbugs.gnu.org
Subject: Re: bug#1287: 23.0.60; emacs 23.0.60 does not build on x86_64
 architeture
Date: Sun, 02 Nov 2008 19:20:08 +0100
-----Original Message-----
> Date: Sun, 02 Nov 2008 18:52:39 +0100
> Subject: Re: bug#1287: 23.0.60; emacs 23.0.60 does not build on x86_64
> architeture
> From: Sven Joachim <svenjoac <at> gmx.de>
> To: "stefan-husmann\@t-online.de" <stefan-husmann <at> t-online.de>

> [ Please keep the bug report CC'ed.]
> 
> Am 02.11.2008 um 16:27 schrieb stefan-husmann <at> t-online.de:
> 
> > -----Original Message-----
> > > Date: Sat, 01 Nov 2008 17:41:10 +0100
> > > Subject: Re: bug#1287: 23.0.60; emacs 23.0.60 does not build on
> > > x86_64 architeture
> > > From: Sven Joachim <svenjoac <at> gmx.de>
> > > To: "stefan-husmann\@t-online.de" <stefan-husmann <at> t-online.de> 
> > 
> > > Am 31.10.2008 um 22:31 schrieb stefan-husmann <at> t-online.de:
> > > 
> > > > Hello
> > > > 
> > > > I try to make a PKGBUILD on Arch Linux, x86_64 architecture.
> > > > System libs ar not installed under /usr/lib64 but under
> > > > /usr/lib.
> > > > 
> > > > 
> > > 
> > > Do you have a symlink /usr/lib64 -> lib ?  It might help to
> > > avoid...
> > > 
> > > 
> > > > make[2]: *** No rule to make Target »/usr/lib64/crt1.o«,
> > > > needed by »temacs«,  Stop.
> > > 
> > > ...this problem, because /usr/lib/crt1.o should exist.
> > > 
> > > Sven
> > > 
> > > 
> > Hello,
> > 
> > thank you for your answer.
> > 
> > /usr/lib/crt1.o, /usr/lib/crti.o, /usr/lib/crtn.o, do exist. I am
> > currently trying to rebuild
> > with the symlinks, and it seems to work (compilation takes longer 
> > than it did before).
> > 
> > But this is not a valid/beautiful solution for package maintainers.
> > The problem did
> > not apply in former cvs  checkouts imho.
> > 
> 
> I just tested that in an amd64 chroot where I removed the /usr/lib64
> symlink that my distribution creates, and Emacs built fine.
> 
> Please run `make distclean' and retry without the /usr/lib64 symlink.
> 
> Regards,
> Sven
> 

Hello,

I did as suggested and  I definitely need the symlinks. 






Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1287; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #25 received at 1287 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: "stefan-husmann\@t-online.de" <stefan-husmann <at> t-online.de>
Cc: 1287 <at> debbugs.gnu.org, Sven Joachim <svenjoac <at> gmx.de>
Subject: Re: bug#1287: 23.0.60; emacs 23.0.60 does not build on x86_64 architeture
Date: Mon, 03 Nov 2008 15:59:05 -0500
First, could you make sure that all your CVS files are up to date with
`cvs up -Pd'?

In the absence of the /usr/lib64 -> /usr/lib symlink, run `configure',
and check the file src/config.h.  Is the line

#define HAVE_LIB64_DIR 1

commented out, or is it uncommented?




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1287; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "stefan-husmann <at> t-online.de" <stefan-husmann <at> t-online.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #30 received at 1287 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "stefan-husmann <at> t-online.de" <stefan-husmann <at> t-online.de>
To: "Chong Yidong" <cyd <at> stupidchicken.com>
Cc: 1287 <at> debbugs.gnu.org
Subject: Re: bug#1287: 23.0.60; emacs 23.0.60 does not build on x86_64
 architeture
Date: Tue, 04 Nov 2008 00:12:34 +0100
-----Original Message-----
> Date: Mon, 03 Nov 2008 21:59:05 +0100
> Subject: Re: bug#1287: 23.0.60; emacs 23.0.60 does not build on x86_64
> architeture
> From: Chong Yidong <cyd <at> stupidchicken.com>
> To: "stefan-husmann\@t-online.de" <stefan-husmann <at> t-online.de>

> First, could you make sure that all your CVS files are up to date with
> `cvs up -Pd'?
> 
> In the absence of the /usr/lib64 -> /usr/lib symlink, run `configure',
> and check the file src/config.h.  Is the line
> 
> #define HAVE_LIB64_DIR 1
> 
> commented out, or is it uncommented?
>

Hello,

it is not commented.

Regards 
Stefan






Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1287; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #35 received at 1287 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: "stefan-husmann\@t-online.de" <stefan-husmann <at> t-online.de>
Cc: 1287 <at> debbugs.gnu.org
Subject: Re: bug#1287: 23.0.60; emacs 23.0.60 does not build on x86_64 architeture
Date: Mon, 03 Nov 2008 18:28:51 -0500
"stefan-husmann <at> t-online.de" <stefan-husmann <at> t-online.de> writes:

>> In the absence of the /usr/lib64 -> /usr/lib symlink, run `configure',
>> and check the file src/config.h.  Is the line
>> 
>> #define HAVE_LIB64_DIR 1
>> 
>> commented out, or is it uncommented?
>>
> it is not commented.

Does a directory /usr/lib64 exist on your system?




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1287; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "stefan-husmann <at> t-online.de" <stefan-husmann <at> t-online.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #40 received at 1287 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "stefan-husmann <at> t-online.de" <stefan-husmann <at> t-online.de>
To: "Chong Yidong" <cyd <at> stupidchicken.com>
Cc: "emacsbugs" <1287 <at> debbugs.gnu.org>
Subject: FW: Re: bug#1287: 23.0.60; emacs 23.0.60 does not build on x86_64
 architeture
Date: Tue, 04 Nov 2008 19:50:31 +0100
> -----Original Message-----
> Date: Tue, 04 Nov 2008 01:17:29 +0100
> Subject: Re: bug#1287: 23.0.60; emacs 23.0.60 does not build on x86_64
architeture
> From: "stefan-husmann <at> t-online.de" <stefan-husmann <at> t-online.de>
> To: "Chong Yidong" <cyd <at> stupidchicken.com>


> -----Original Message-----
> > Date: Tue, 04 Nov 2008 00:28:51 +0100
> > Subject: Re: bug#1287: 23.0.60; emacs 23.0.60 does not build on
x86_64
> > architeture
> > From: Chong Yidong <cyd <at> stupidchicken.com>
> > To: "stefan-husmann\@t-online.de" <stefan-husmann <at> t-online.de>

> > "stefan-husmann <at> t-online.de" <stefan-husmann <at> t-online.de> writes:
> > 
> > > > In the absence of the /usr/lib64 -> /usr/lib symlink, run
> > > > `configure', and check the file src/config.h.  Is the line
> > > > 
> > > > #define HAVE_LIB64_DIR 1
> > > > 
> > > > commented out, or is it uncommented?
> > > > 
> > > > 
> > > it is not commented.
> > 
> > Does a directory /usr/lib64 exist on your system?
> > 
> Hello,

> it does, but it is almost empty. That's all:

> gcj-4.4.0-10  libffi.so    libffi.so.4.0.1     security
> libffi.a      libffi.so.4  logging.properties

> Regards Stefan

Hello, 

the files under /usr/lib64 all belong to one package, which is not even
an official on. Deinstalling that package removes also /usr/lib64
itself, and in that case emacs builds fine.

Regards Stefan






bug closed, send any further explanations to "stefan-husmann <at> t-online.de" <stefan-husmann <at> t-online.de> Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> emacsbugs.donarmstrong.com. (Tue, 04 Nov 2008 19:10:04 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1287; Package emacs. Full text and rfc822 format available.

Message #45 received at 1287 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: "Chong Yidong" <cyd <at> stupidchicken.com>
Cc: 1287 <at> debbugs.gnu.org
Subject: Re: bug#1287: FW: Re: bug#1287: 23.0.60; emacs 23.0.60 does not build on x86_64 architeture
Date: Tue, 04 Nov 2008 18:37:54 -0500
Any reason not to change the configure.in test that sets
HAVE_LIB64_DIR from

if test -d /usr/lib64

to

if test -e /usr/lib64/crtn.o

?

It would have avoided this problem.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1287; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #50 received at 1287 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 1287 <at> debbugs.gnu.org, "Chong Yidong" <cyd <at> stupidchicken.com>
Subject: Re: bug#1287: FW: Re: bug#1287: 23.0.60; emacs 23.0.60 does not build on x86_64 architeture
Date: Tue, 04 Nov 2008 20:53:25 -0500
> Any reason not to change the configure.in test that sets
> HAVE_LIB64_DIR from

> if test -d /usr/lib64
> to
> if test -e /usr/lib64/crtn.o

Do we always use "crtn.o" in lib64?  Is fo, then it sounds like a good
idea, indeed.


        Stefan




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1287; Package emacs. Full text and rfc822 format available.

Message #53 received at 1287 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 1287 <at> debbugs.gnu.org, "Chong Yidong" <cyd <at> stupidchicken.com>
Subject: Re: bug#1287: emacs 23.0.60 does not build on x86_64 architeture
Date: Wed, 05 Nov 2008 02:54:17 -0500
Stefan Monnier wrote:

>> if test -e /usr/lib64/crtn.o
>
> Do we always use "crtn.o" in lib64?  Is fo, then it sounds like a good
> idea, indeed.

AFAICS, HAVE_LIB64_DIR affects only two files, both in src/m/
(ibms390x.h and amdx86-64.h).

In both cases, all it does is control which directory Emacs expects to
get the files crt1.o, crti.o, and crtn.o from (for START_FILES and
LIB_STANDARD).




bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Wed, 03 Dec 2008 15:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 260 days ago.

Previous Next


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