Gnome 2.10 ~x86 unmasked. emerge gnome-libs fails during configure. checking for GTK - version >= 1.2.0... no *** Could not run GTK test program, checking why... *** The test program compiled, but did not run. This usually means *** that the run-time linker is not finding GTK or finding the wrong *** version of GTK. If it is not finding GTK, you'll need to set your *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point *** to the installed location Also, make sure you have run ldconfig if that *** is required on your system *** *** If you have an old version installed, it is best to remove it, although *** you may also be able to get things to work by modifying LD_LIBRARY_PATH *** *** If you have a RedHat 5.0 system, you should remove the GTK package that *** came with the system with the command *** *** rpm --erase --nodeps gtk gtk-devel configure: error: GTK not installed Reproducible: Always Steps to Reproduce: 1. emerge gnome 2.10 2. emerge gnome-libs Actual Results: gnome-libs fails during configure Expected Results: configure & make dfelicia --> equery belongs /usr/include/gtk-1.2 [ Searching for file(s) /usr/include/gtk-1.2 in *... ] x11-libs/gtk+-1.2.10-r11 (/usr/include/gtk-1.2) Gentoo Base System version 1.4.16 Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r8 i686) ================================================================= System uname: 2.6.11-gentoo-r8 i686 Intel(R) Xeon(TM) CPU 2.80GHz Python: dev-lang/python-2.3.5 [2.3.5 (#1, May 15 2005, 12:06:09)] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/fs0/portage/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 16bit X X509 a52 aac aal acl acpi aim alsa ao aotuv apache2 arts artswrappersuid artworkextra audiofile avi bash-completion berkdb bidi bitmap-fonts bonobo bootsplash bzip2 bzlib c++ cdda cddb cdio cdparanoia cdr cdrom chroot clearcase cpudetection crypt css cups curl curlwrappers custom-cflags dga divx4linux dpms dts dv dvb dvd dvdr dvdread edl eds emboss emoticon encode esd evo exif fam fb fbcon ffmpeg flac font-server foomaticdb fortran freetype ftp gd gdbm ggi gif gimp gimpprint gkhtml gnome gnustep gnutls gpm gstreamer gtk gtk2 gtkhtml hal howl httpd i8x0 iconv ieee1394 imagemagick imap imlib java javascript jikes jpeg jpeg2k kde kdeenablefinal kdexdeltas ldap lesstif libg++ libwww live lm_sensors logrotate mad matroska mbox mikmod mime mmx mng motif mozilla mozsvg mp3 mpeg mpeg4 mplayer mpm-worker msn ncurses neXt nfs nls nptl nvidia objc ofx ogg oggvorbis openal opengl oss pam pdflib perl png python qt quicktime rdesktop readline real ruby samba sdl slang slp sox spell sse sse2 ssl stream svg svga symlink tcltk tcpd theora threads tidy tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vidix vlm vorbis win32codecs winbind wmf wxwindows xanim xine xml2 xmms xpm xscreensaver xv xvid yahoo yv12 zeroconf zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LINGUAS, PORTDIR_OVERLAY
The problem is with your LDFLAGS. Using --as-needed is known to break the gtk-config verification routine. You should unset LDFLAGS. It is in no way supported by Gentoo.
Oops. Sorry. I know it's _bad_ to put that in make.conf. Shame on me. I verified that emerge works after commenting.
*** Bug 89410 has been marked as a duplicate of this bug. ***
*** Bug 127940 has been marked as a duplicate of this bug. ***