<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>21264</bug_id>
          
          <creation_ts>2003-05-19 13:41 0000</creation_ts>
          <short_desc>emerge of app-editors/xemacs-21.4.12 fails to build</short_desc>
          <delta_ts>2003-05-23 10:04:27 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>Alpha</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>pcmoore@umich.edu</reporter>
          <assigned_to>alpha@gentoo.org</assigned_to>
          <cc>mkennedy@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>pcmoore@umich.edu</who>
            <bug_when>2003-05-19 13:41:22 0000</bug_when>
            <thetext>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 
/var/tmp/portage/xemacs-21.4.12/work/xemacs-21.4.12/src/../lisp/update-elc.el 
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&apos; 
make: *** [src] Error 2 
 
!!! ERROR: app-editors/xemacs-21.4.12 failed. 
!!! Function src_compile, Line 165, Exitcode 2 
!!! (no error message) 
***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>agriffis@gentoo.org</who>
            <bug_when>2003-05-21 23:03:51 0000</bug_when>
            <thetext>Note this works on x86 (just tested), so I&apos;m assuming it&apos;s an alpha-only problem.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>taviso@gentoo.org</who>
            <bug_when>2003-05-22 09:45:28 0000</bug_when>
            <thetext>Confirmed, note this mailing list post

http://list-archive.xemacs.org/xemacs-beta/200303/msg00007.html

use alpha &amp;&amp; myconf=&quot;${myconf} --with-system-malloc&quot; fixes it for me, if someone else can verify i&apos;ll commit it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pcmoore@umich.edu</who>
            <bug_when>2003-05-22 12:31:54 0000</bug_when>
            <thetext>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&apos;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?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>taviso@gentoo.org</who>
            <bug_when>2003-05-22 14:14:52 0000</bug_when>
            <thetext>Comitted, Thanks.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pcmoore@umich.edu</who>
            <bug_when>2003-05-22 14:19:35 0000</bug_when>
            <thetext>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&apos;t?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>taviso@gentoo.org</who>
            <bug_when>2003-05-22 14:53:59 0000</bug_when>
            <thetext>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&apos;ve compiled my copy with ccc, i dont think would effect it though)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pcmoore@umich.edu</who>
            <bug_when>2003-05-23 10:04:27 0000</bug_when>
            <thetext>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 &apos;/bin/rm&apos; 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&apos;s hard work in making gentoo happen on Alpha.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>