Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21264 - emerge of app-editors/xemacs-21.4.12 fails to build
Summary: emerge of app-editors/xemacs-21.4.12 fails to build
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Alpha Linux
: High major (vote)
Assignee: Alpha Porters
Depends on:
Reported: 2003-05-19 13:41 UTC by Paul Moore
Modified: 2003-05-23 10:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Paul Moore 2003-05-19 13:41:22 UTC
When emerging app-editors/xemacs-21.4.12 the build fails with the following error: 
gcc -mcpu=ev67 -O3 -pipe   -L/usr/X11R6/lib -Wl,-export-dynamic -o xemacs  abbrev.o 
alloc.o blocktype.o buffer.o bytecode.o callint.o callproc.o casefiddle.o casetab.o 
chartab.o cmdloop.o cmds.o console.o console-stream.o data.o device.o dired.o doc.o 
doprnt.o dynarr.o editfns.o elhash.o emacs.o eval.o events.o filelock.o dumper.o 
balloon_help.o balloon-x.o menubar.o scrollbar.o dialog.o toolbar.o menubar-x.o 
scrollbar-x.o dialog-x.o toolbar-x.o gui-x.o realpath.o inline.o linuxplay.o miscplay.o 
console-tty.o device-tty.o event-tty.o frame-tty.o objects-tty.o redisplay-tty.o cm.o 
terminfo.o gpmevent.o event-unixoid.o database.o sysdll.o emodules.o process-unix.o 
event-stream.o extents.o faces.o fileio.o  filemode.o floatfns.o fns.o font-lock.o frame.o 
general.o glyphs.o glyphs-eimage.o glyphs-widget.o gui.o gutter.o  hash.o imgproc.o 
indent.o insdel.o intl.o keymap.o  line-number.o lread.o lstream.o macros.o marker.o 
md5.o minibuf.o objects.o opaque.o print.o process.o profile.o rangetab.o redisplay.o 
redisplay-output.o regex.o search.o select.o  signal.o sound.o specifier.o strftime.o 
symbols.o syntax.o sysdep.o undo.o console-x.o device-x.o event-Xt.o frame-x.o 
glyphs-x.o objects-x.o redisplay-x.o select-x.o xgccache.o widget.o window.o  lastfile.o 
vm-limit.o  EmacsFrame.o EmacsShell.o TopLevelEmacsShell.o 
TransientEmacsShell.o EmacsManager.o   dump-id.o ../lwlib/liblw.a  -lXm -lpng -ljpeg 
-lz -lXpm -lXmu -lXt -lXext -lX11 -lSM -lICE -lgdbm -lgpm -lncurses -lm -lutil 
./xemacs -nd -batch -l 
Error before initialization is complete! 
Fatal error: assertion failed, file eval.c, line 1880, abort() 
make[1]: *** [update-elc.stamp] Aborted 
make[1]: Leaving directory `/var/tmp/portage/xemacs-21.4.12/work/xemacs-21.4.12/src' 
make: *** [src] Error 2 
!!! ERROR: app-editors/xemacs-21.4.12 failed. 
!!! Function src_compile, Line 165, Exitcode 2 
!!! (no error message) 
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2003-05-21 23:03:51 UTC
Note this works on x86 (just tested), so I'm assuming it's an alpha-only problem.
Comment 2 Tavis Ormandy (RETIRED) gentoo-dev 2003-05-22 09:45:28 UTC
Confirmed, note this mailing list post

use alpha && myconf="${myconf} --with-system-malloc" fixes it for me, if someone else can verify i'll commit it.
Comment 3 Paul Moore 2003-05-22 12:31:54 UTC
I was able to build XEmacs-21.4.12 from a tarball using the system-malloc yesterday.  I just patched up my ebuild for the package and I am emerging it as I type this, I'll update this when it is finished.

Quick little bugger - it just finished, looks okay.  It sounds like this is really a problem with glibc, should this bug be transfered to the glibc folk?
Comment 4 Tavis Ormandy (RETIRED) gentoo-dev 2003-05-22 14:14:52 UTC
Comitted, Thanks.
Comment 5 Paul Moore 2003-05-22 14:19:35 UTC
Perhaps I spoke to soon, xemacs is crashing quite a bit at various places.  I am beginning to wonder about possibly downgrading my version of glibc to a 2.2.x - any reason why I shouldn't?
Comment 6 Tavis Ormandy (RETIRED) gentoo-dev 2003-05-22 14:53:59 UTC
You cant downgrade glibc, it _will_ break your system. 

I cant reproduce any crashes, although i dont know emacs very well, is there a way to reproduce a crash? (i've compiled my copy with ccc, i dont think would effect it though)
Comment 7 Paul Moore 2003-05-23 10:04:27 UTC
Yeah, I guess I thought the /sbin and /bin paths were all statically linked - you can imagine my surprise when I was installing the older version of glibc and '/bin/rm' failed ... on the plus side at least ldconfig is statically linked ;)

As far as compilers go I have compiled everything on my system with gcc since it was there, right now I am just trying to get this machine to a useable state.  I may go back later and recompile key packages with ccc for performance reasons.  However, at this point I have already spent more time on getting this box up then I had planned.

Thanks for your help and all of the alpha team's hard work in making gentoo happen on Alpha.