Fresh install of gentoo. No gnome/kde/X installed at all. "emerge qt" will build the necessary dependencies (Modular X, ...) but gnome-libs need x11-libs/libXpm to build which isn't a dependency. So compile step fails with: /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -I/usr/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -DWITH_GTK -DDEBUG -DGNOME_LIB -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -pipe -O3 -march=opteron -funroll-loops -fomit-frame-pointer -I/usr/include/db1 -Wall -Wunused -c readXPM.c rm -f .libs/readXPM.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -I/usr/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -DWITH_GTK -DDEBUG -DGNOME_LIB -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -pipe -O3 -march=opteron -funroll-loops -fomit-frame-pointer -I/usr/include/db1 -Wall -Wunused -c readXPM.c -fPIC -DPIC -o .libs/readXPM.lo readXPM.c:138:21: error: X11/xpm.h: No such file or directory readXPM.c:148: error: expected declaration specifiers or '...' before 'XpmImage' readXPM.c:164: error: expected declaration specifiers or '...' before 'XpmImage' readXPM.c: In function 'doXpm': readXPM.c:189: error: 'xpm_image' undeclared (first use in this function) readXPM.c:189: error: (Each undeclared identifier is reported only once readXPM.c:189: error: for each function it appears in.) readXPM.c:240: warning: implicit declaration of function 'my_x_query_colors' readXPM.c:282: warning: implicit declaration of function 'XpmFreeXpmImage' readXPM.c: In function '_XmHTMLReadXPM': readXPM.c:299: error: 'XpmImage' undeclared (first use in this function) readXPM.c:299: error: expected ';' before 'xpm_image' readXPM.c:300: error: 'XpmInfo' undeclared (first use in this function) readXPM.c:300: error: expected ';' before 'foo' readXPM.c:303: error: 'xpm_image' undeclared (first use in this function) readXPM.c:304: error: 'foo' undeclared (first use in this function) readXPM.c:306: warning: implicit declaration of function 'XpmCreateXpmImageFromBuffer' readXPM.c:307: error: 'XpmSuccess' undeclared (first use in this function) readXPM.c:311: warning: implicit declaration of function 'XpmGetErrorString' readXPM.c:314: warning: implicit declaration of function 'XpmFreeXpmInfo' readXPM.c:322: error: too many arguments to function 'doXpm' readXPM.c: In function '_XmHTMLCreateXpmFromData': readXPM.c:338: error: 'XpmImage' undeclared (first use in this function) readXPM.c:338: error: expected ';' before 'xpm_image' readXPM.c:339: error: 'XpmInfo' undeclared (first use in this function) readXPM.c:339: error: expected ';' before 'foo' readXPM.c:342: error: 'xpm_image' undeclared (first use in this function) readXPM.c:343: error: 'foo' undeclared (first use in this function) readXPM.c:345: warning: implicit declaration of function 'XpmCreateXpmImageFromData' readXPM.c:345: error: 'XpmSuccess' undeclared (first use in this function) readXPM.c:360: error: too many arguments to function 'doXpm' make[2]: *** [readXPM.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnome-libs-1.4.2/work/gnome-libs-1.4.2/gtk-xmhtml' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-libs-1.4.2/work/gnome-libs-1.4.2' make: *** [all-recursive-am] Error 2 !!! ERROR: gnome-base/gnome-libs-1.4.2 failed. Call stack: ebuild.sh, line 1531: Called dyn_compile ebuild.sh, line 931: Called src_compile gnome-libs-1.4.2.ebuild, line 73: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. simple "emerge x11-libs/libXpm" fixed the dependency problem. Portage 2.1_rc3-r3 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r8 x86_64) ================================================================= System uname: 2.6.16-gentoo-r8 x86_64 Dual Core AMD Opteron(tm) Processor 880 Gentoo Base System version 1.12.0 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 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-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-pipe -O3 -march=opteron -funroll-loops -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d" CXXFLAGS="-pipe -O3 -march=opteron -funroll-loops -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://mars.fz-rossendorf.de/pub/mirrors/gentoo" LINGUAS="de en" MAKEOPTS="-j9" 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.de.gentoo.org/gentoo-portage" USE="amd64 X avi berkdb bitmap-fonts cli crypt cups dri eds emboss encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib isdnlog jpeg logrotate lzw lzw-tiff mng mp3 mpeg mysql nas ncurses nis nls nptl nptlonly odbc opengl pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype-fonts type1-fonts usb xinerama xorg xpm xv zlib elibc_glibc kernel_linux linguas_de linguas_en userland_GNU video_cards_none" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Just like to confirm this bug also. Installing new pc with 2006.0 stable but gcc 4.1.1 ~x86 keyworded. Emerge info: Portage 2.1-r1 (default-linux/x86/no-nptl, gcc-4.1.1, glibc-2.3.6-r4, 2.6.15-gentoo-r5 i686) ================================================================= System uname: 2.6.15-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.6.15 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [disabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 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-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-mtune=pentium4 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-mtune=pentium4 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig cache distcc distlock distlocks metadata-transfer sandbox sfperms strict userpriv" GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo http://gentoo.blueyonder.co.uk http://gentoo.osuosl.org ftp://mirrors.blueyonder.co.uk/mirrors/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j10" 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" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac aalib acpi alsa amr apm arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdda cddb cdio cjk cli crypt cups curl dbus dga dhcp divx4linux dlloader dpms dri dv dvd dvdr eds emboss encode esd evolution faad fbcon fbdev ffmpeg firefox flac foomaticdb fortran gb gd gdbm gif gimp gnome gpm gstreamer gtk gtk2 gtkhtml hal ieee1394 imap imlib ipv6 isdnlog java jpeg kde kerberos krb4 ldap libclamav libg++ libwww mad maildir matroska mikmod mmx modplug mono motif mozilla moznocompose mp3 mpeg mpi mppe-mppc musepack mysql nas nautilus ncurses network nis nls noznoirc noznomail oav oci8 odbc ogg oggvorbis opengl oracle oss pam pcre pdf pdflib perl php pic png ppds pppd prelude python qt qt3 qt4 quicktime readline real reflection rtc samba sdl session slp smp sndfile snmp sockets sox speex spell spl sse ssl stream sysfs syslog szip tcltk tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb v4l videos vorbis win32codecs winbind wma wmf x264 x86 xinerama xml xml2 xmms xorg xosd xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY package.keywords: sys-devel/gcc ~x86 dev-libs/gmp ~x86 dev-libs/mpfr ~x86
Same error. Emerged x11-libs/libXpm to fix the problem.
still not fixed :-\
i also ran into this problem. emerging x11-libs/libXpm fixed it successfully
Marked for removal. Please migrate to gnome-2.x