Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 156910

Summary: dev-scheme/drscheme builds don't compile
Product: Gentoo Linux Reporter: Faustus <orlovm>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major CC: jrmalaq
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Faustus 2006-12-02 07:02:45 UTC
In my experience, it is a longstating problem that drscheme build are flaky.

Currently, the only build that compiles on my computer is 352. With any new build, most chances are that it will not compile.

>>> Source unpacked.
>>> Compiling source in /tmp/portage/drscheme-360-r1/work/plt-360/src ...
 * econf: updating plt-360/src/lt/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating plt-360/src/lt/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating plt-360/src/mzscheme/gc/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating plt-360/src/mzscheme/gc/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating plt-360/src/foreign/gcc/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating plt-360/src/foreign/gcc/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating plt-360/src/wxcommon/jpeg/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating plt-360/src/wxcommon/jpeg/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-mred --enable-shared --enable-lt=/usr/bin/libtool --disable-backtrace --enable-cairo --enable-libjpeg --enable-gl --enable-perl --enable-libpng --disable-sgc --build=i686-pc-linux-gnu
=== Shared libraries enabled
=== Libtool program: /usr/bin/libtool
=== Perl enabled
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /tmp/portage/drscheme-360-r1/work/plt-360/src/config.log

!!! ERROR: dev-scheme/drscheme-360-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  drscheme-360-r1.ebuild, line 56:   Called econf '--enable-mred' '--enable-shared' '--enable-lt=/usr/bin/libtool' '--disable-backtrace' '--enable-cairo' '--enable-libjpeg' '--enable-gl' '--enable-perl' '--enable-libpng' '--disable-sgc'
  ebuild.sh, line 540:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


CFLAGS="-pipe -O2 -march=athlon-xp -mfpmath=sse,387 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O,1,-z,combreloc"

[ebuild     U ] dev-scheme/drscheme-360-r1 [352] USE="cairo jpeg opengl perl png -3m% -backtrace -sgc" 0 kB
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-02 07:21:58 UTC
This syntax is just plain broken... 

<snip>
LDFLAGS="-Wl,-O,1,-z,combreloc"
</snip>

Anyway, dupe...

*** This bug has been marked as a duplicate of 156911 ***
Comment 2 Faustus 2006-12-02 07:32:03 UTC
Please explain what do you mean by "broken syntax".

       -Wl,option
           Pass option as an option to the linker.  If option contains commas, it
           is split into multiple options at the commas.