Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137327 - dev-libs/glib-1.2.10-r5 fails - compiler cannot create executables
Summary: dev-libs/glib-1.2.10-r5 fails - compiler cannot create executables
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-19 18:57 UTC by Kevin O'Gorman
Modified: 2006-06-22 16:30 UTC (History)
0 users

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


Attachments
the start of the "emerge -e" output showing the complete list of ebuilds (ee-head.txt,10.39 KB, text/plain)
2006-06-19 19:00 UTC, Kevin O'Gorman
Details
the entire output from the failed attempt to build glib. (ee-tail.txt,2.49 KB, text/plain)
2006-06-19 19:06 UTC, Kevin O'Gorman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin O'Gorman 2006-06-19 18:57:47 UTC
I am trying to re-emerge kproject because revdep-rebuild is saying it needs
to be done and I'm about to use it heavily.  It won't rebuild (but that's
not what this bug is about).  So I tried "emerge -e kproject" and hunkered down
to wait through a 200-step emerge.

On step 174, a build of dev-libs/glib-1.2.10-r5 failed because "configure"
decided that gcc was incapable of producing an executable.  This is not
plausible after 173 builds, of course, but it is still a show-stopper, and
distressing in its own right.

So there follows the output of "emerge --info" and I'll be attaching
the head and tail of the output from the "emerge -e".
Comment 1 Kevin O'Gorman 2006-06-19 19:00:22 UTC
Created attachment 89590 [details]
the start of the "emerge -e" output showing the complete list of ebuilds

This includes the list of all 200 ebuilds that were to be emerged.
Failure was on item 174: glib.
Comment 2 Kevin O'Gorman 2006-06-19 19:06:01 UTC
Created attachment 89591 [details]
the entire output from the failed attempt to build glib.

There's an odd thing on the end of the gcc line.  I have been unable
to track it to anything in my environment (the string FLAG does not
occur in my environment, nor does O1, for instance), nor to anything
I can recognize in the ebuild.  The "configure" script itself is
intensely mystifying to me, so I have no idea how this happens.

It is eminently repeatable.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-06-19 23:32:21 UTC
Reopen with emerge --info.
Comment 4 Kevin O'Gorman 2006-06-20 18:46:40 UTC
I was asked to reopen with emerge --info.  I thought I had in the original.  Sigh.  So here it is.

treat ~ # emerge --info


Performing Global Updates: /usr/portage/profiles/updates/2Q-2006
(Could take a couple of minutes if you have a lot of binary packages.)
  .='update pass'  *='binary update'  @='/var/db move'
  s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
...........................


 ** Skipping packages. Run 'fixpackages' or set it in FEATURES to fix the
    tbz2's in the packages directory. Note: This can take a very long time.
Portage 2.1 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-gentoo-r7-kosmanor i686)
=================================================================
System uname: 2.6.16-gentoo-r7-kosmanor i686 Intel(R) XEON(TM) CPU 1.80GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -mfpmath=sse -msse2 -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -mfpmath=sse -msse2 -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://fido.online.kz/gentoo/pub http://gentoo.inf.elte.hu/ ftp://ftp.isu.edu.tw/pub/Linux/Gentoo http://gentoo.scphost.com"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d acl acpi aim alsa apache2 apm arts avi bash-completion bcmath berkdb bitmap-fonts calendar caps cdr cli crypt cscope ctype cups dbm doc dri dvd dvdr eds emboss encode ethereal exif fastcgi foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 guile icq imagemagik imap imlib ipv6 isdnlog java joystick jpeg junit kde kerberos libg++ libwww mad mbox mcal mikmod mime mmap mmx motif mp3 mpeg mpi msession mysql ncurses nis nls nsplugin odbc offensive ogg oggvorbis openal opengl oscar oss pam pcre pdflib perl pic png posix postgres ppds pppd python qt quicktime readline reflection ruby samba sdl session snmp sockets spell spl sse ssl svga sysvipc tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb vorbis xml2 xmms xorg xpm xv yahoo zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

treat ~ #
Comment 5 Kevin O'Gorman 2006-06-22 16:30:59 UTC
Oops.  My mistake.  I found the offending LDFLAGS setting in my
/etc/make.conf, with a note that it was suggested by a thread
in gentoo-user.  I should have kept reading that thread, because
later contributions made it clear it was a bad idea.

I removed that line, and now glib emerges just fine.