Summary: | guile fails to emerge with keywords ppc and ~ppc, versions 1.6.4-r1 and 1.6.7 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kevin <gentoo> |
Component: | New packages | Assignee: | Alastair Tse (RETIRED) <liquidx> |
Status: | RESOLVED INVALID | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | PPC | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Kevin
2005-03-23 11:38:08 UTC
To further explore this issue, I cd'd to the build directory where the failed command was executed during the emerge process and tried to execute the command myself by hand. Here's the result: hermes libguile # cat alist.doc arbiters.doc async.doc backtrace.doc boolean.doc chars.doc continuations.doc debug.doc dynl.doc dynwind.doc environments.doc eq.doc error.doc eval.doc evalext.doc extensions.doc feature.doc fluids.doc fports.doc gc.doc goops.doc gsubr.doc guardians.doc hash.doc hashtab.doc hooks.doc init.doc ioext.doc iselect.doc keywords.doc lang.doc list.doc load.doc macros.doc mallocs.doc modules.doc numbers.doc objects.doc objprop.doc options.doc pairs.doc ports.doc print.doc procprop.doc procs.doc properties.doc random.doc rdelim.doc read.doc root.doc rw.doc scmsigs.doc script.doc simpos.doc smob.doc sort.doc srcprop.doc stackchk.doc stacks.doc stime.doc strings.doc strop.doc strorder.doc strports.doc struct.doc symbols.doc throw.doc values.doc variable.doc vectors.doc version.doc vports.doc weaks.doc symbols-deprecated.doc ramap.doc unif.doc filesys.doc posix.doc net_db.doc socket.doc regex-posix.doc | GUILE="/var/tmp/portage/guile-1.6.7/work/guile-1.6.7/pre-inst-guile" ../scripts/snarf-check-and-output-texi --manual > guile.texi || { rm guile.texi; false; } Segmentation fault Looking further, I tried this: hermes libguile # /var/tmp/portage/guile-1.6.7/work/guile-1.6.7/pre-inst-guile --help Segmentation fault So the binary "pre-inst-guile" seems to be broken. Any ideas here? I've read about another similar bug report (long time ago) that I believe was resolved and closed, but this problem is obviously still affecting me. I've just synced yesterday and have current portage installed. When I simply untar the tarball in a directory and do a ./configure; make it builds fine. When I copy and paste the ./configure line from the config.log file in the emerge working directory (/var/tmp/portage/...) and execute it and then do a make, it builds fine. Here is the step that failed when done in the ebuild but succeeds when done from the command line: cat alist.doc arbiters.doc async.doc backtrace.doc boolean.doc chars.doc continuations.doc debug.doc dynl.doc dynwind.doc environments.doc eq.doc error.doc eval.doc evalext.doc extensions.doc feature.doc fluids.doc fports.doc gc.doc goops.doc gsubr.doc guardians.doc hash.doc hashtab.doc hooks.doc init.doc ioext.doc iselect.doc keywords.doc lang.doc list.doc load.doc macros.doc mallocs.doc modules.doc numbers.doc objects.doc objprop.doc options.doc pairs.doc ports.doc print.doc procprop.doc procs.doc properties.doc random.doc rdelim.doc read.doc root.doc rw.doc scmsigs.doc script.doc simpos.doc smob.doc sort.doc srcprop.doc stackchk.doc stacks.doc stime.doc strings.doc strop.doc strorder.doc strports.doc struct.doc symbols.doc throw.doc values.doc variable.doc vectors.doc version.doc vports.doc weaks.doc symbols-deprecated.doc ramap.doc unif.doc filesys.doc posix.doc net_db.doc socket.doc regex-posix.doc | GUILE="/opt/data/guile/guile-1.6.7/pre-inst-guile" ../scripts/snarf-check-and-output-texi > guile-procedures.texi || { rm guile-procedures.texi; false; } In a PORTDIR_OVERLAY, I'm working my way through the ebuild for 1.6.7 and eliminating anything that changes the original sources (or trying to), and trying to see what's causing this to fail.
What are these econf lines here doing?
>>> Source unpacked.
* econf: updating guile-1.6.7/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating guile-1.6.7/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=powerpc-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-threads --with-modules --enable-deprecation=no
Resolved by changing CFLAGS from -O3 to -O2 |