Alan McKinnon wrote:
This is usually CFLAGS and other bits of env stuff. There's probably a more
meaningful error earlier in the build log.
Can you post the full log for a failing file?
Here is one:
>>> Emerging (1 of 5) x11-libs/gdk-pixbuf-2.22.1
* gdk-pixbuf-2.22.1.tar.bz2 RMD160 SHA1 SHA256 size ;-)
...
[ ok ]
* Package: x11-libs/gdk-pixbuf-2.22.1
* Repository: gentoo
* Maintainer: gn...@gentoo.org
* USE: X consolekit elibc_glibc jpeg jpeg2k kernel_linux
policykit tiff userland_GNU x86
* FEATURES: preserve-libs
>>> Unpacking source...
>>> Unpacking gdk-pixbuf-2.22.1.tar.bz2 to
/var/tmp/portage/x11-libs/gdk-pixbuf-2.22.1/work
>>> Source unpacked in /var/tmp/portage/x11-libs/gdk-pixbuf-2.22.1/work
>>> Preparing source in
/var/tmp/portage/x11-libs/gdk-pixbuf-2.22.1/work/gdk-pixbuf-2.22.1 ...
* Applying gdk-pixbuf-2.21.4-fix-automagic-x11.patch
...
[ ok ]
* Applying gdk-pixbuf-2.22.1-fix-libpng15.patch
...
[ ok ]
* Running elibtoolize in: gdk-pixbuf-2.22.1/
* Applying portage-2.2.patch ...
* Applying sed-1.5.6.patch ...
* Applying as-needed-2.2.6.patch ...
* Running eautoreconf in
'/var/tmp/portage/x11-libs/gdk-pixbuf-2.22.1/work/gdk-pixbuf-2.22.1' ...
* Running aclocal -I m4
...
[ ok ]
* Running libtoolize --copy --force --install --automake
...
[ ok ]
* Running aclocal -I m4
...
[ ok ]
* Running autoconf
...
[ ok ]
* Running autoheader
...
[ ok ]
* Running automake --add-missing --copy --foreign
...
[ ok ]
>>> Source prepared.
>>> Configuring source in
/var/tmp/portage/x11-libs/gdk-pixbuf-2.22.1/work/gdk-pixbuf-2.22.1 ...
* econf: updating gdk-pixbuf-2.22.1/config.guess with
/usr/share/gnuconfig/config.guess
* econf: updating gdk-pixbuf-2.22.1/config.sub with
/usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=i686-pc-linux-gnu
--host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --disable-gtk-doc --with-libjpeg
--with-libjasper --with-libtiff --disable-introspection --with-x11
--with-libpng
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to disable maintainer-specific portions of Makefiles... yes
checking for i686-pc-linux-gnu-gcc... gcc
checking whether the C compiler works... no
configure: error: in
`/var/tmp/portage/x11-libs/gdk-pixbuf-2.22.1/work/gdk-pixbuf-2.22.1':
configure: error: C compiler cannot create executables
See `config.log' for more details.
!!! Please attach the following file when seeking support:
!!!
/var/tmp/portage/x11-libs/gdk-pixbuf-2.22.1/work/gdk-pixbuf-2.22.1/config.log
* ERROR: x11-libs/gdk-pixbuf-2.22.1 failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 56: Called src_configure
* environment, line 2981: Called econf '--disable-gtk-doc'
'--with-libjpeg' '--with-libjasper' '--with-libtiff'
'--disable-introspection' '--with-x11' '--with-libpng'
* ebuild.sh, line 557: Called die
* The specific snippet of code:
* die "econf failed"
And here is another:
>>> Emerging (1 of 1) sys-apps/sandbox-2.4
* sandbox-2.4.tar.xz RMD160 SHA1 SHA256 size ;-)
... [ ok ]
* Package: sys-apps/sandbox-2.4
* Repository: gentoo
* Maintainer: sand...@gentoo.org
* USE: consolekit elibc_glibc kernel_linux policykit
userland_GNU x86
* FEATURES: preserve-libs sandbox
>>> Unpacking source...
>>> Unpacking sandbox-2.4.tar.xz to
/var/tmp/portage/sys-apps/sandbox-2.4/work
unpack sandbox-2.4.tar.xz: file format not recognized. Ignoring.
>>> Source unpacked in /var/tmp/portage/sys-apps/sandbox-2.4/work
>>> Compiling source in
/var/tmp/portage/sys-apps/sandbox-2.4/work/sandbox-2.4 ...
* Configuring sandbox for ABI=default...
* econf: updating sandbox-2.4/config.guess with
/usr/share/gnuconfig/config.guess
* econf: updating sandbox-2.4/config.sub with
/usr/share/gnuconfig/config.sub
../sandbox-2.4//configure --prefix=/usr --build=i686-pc-linux-gnu
--host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --libdir=/usr/lib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking environment state... ok
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking whether the C compiler works... no
configure: error: in
`/var/tmp/portage/sys-apps/sandbox-2.4/work/build-default':
configure: error: C compiler cannot create executables
See `config.log' for more details.
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-apps/sandbox-2.4/work/build-default/config.log
* ERROR: sys-apps/sandbox-2.4 failed (compile phase):
* econf failed
That help any?
I did try disabling sandbox but got the same error. Even gcc won't
compile as you can see.
Ideas?
Dale
:-) :-)