checking for /usr/lib/gcc/i686-linux-gnu/3.4.6/../../../../i686-linux-gnu/bin/ld option to reload object files... -r checking dynamic linker characteristics... Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool checking for 'tmpfile()'... yes checking libjpeg version number... 62 creating ./config.status creating Makefile creating jconfig.h jconfig.h is unchanged ./libtool-wrap --mode=compile i686-linux-gnu-gcc -O2 -mtune=athlon-tbird -march=athlon-tbird -fomit-frame-pointer -pipe -I. -c ./jcapimin.c ./libtool-wrap --mode=compile i686-linux-gnu-gcc -O2 -mtune=athlon-tbird -march=athlon-tbird -fomit-frame-pointer -pipe -I. -c ./jcapistd.c libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' make: *** [jcapimin.lo] Error 1 make: *** Waiting for unfinished jobs.... libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' make: *** [jcapistd.lo] Error 1 !!! ERROR: media-libs/jpeg-6b-r7 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile jpeg-6b-r7.ebuild, line 34: Called die !!! make failed !!! If you need support, post the topmost build error, and the call stack if relevant. root@localhost ~ # Gentoo Base System version 1.6.15 Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.17-ck1-r2 i686) ================================================================= System uname: 2.6.17-ck1-r2 i686 AMD Duron(tm) app-admin/eselect-compiler: [Not Present] 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.12 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-linux-gnu" CFLAGS="-O2 -mtune=athlon-tbird -march=athlon-tbird -fomit-frame-pointer -pipe" CHOST="i686-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-O2 -mtune=athlon-tbird -march=athlon-tbird -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig confcache distcc distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.seren.com/gentoo http://gentoo.chem.wisc.edu/gentoo" MAKEOPTS="-j2" 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.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X a52 aac acpi alsa apache2 apm avi bash-completion berkdb bitmap-fonts bzip2 cdparanoia cdr cli crypt cups curl curlwrappers dga dio dlloader dri dts dvd dvdr dvdread eds emacs emacs-w3 emboss encode erandom esd fam ffmpeg flac foomaticdb ftp gdbm gif glibc-omitfp gnome gnutls gstreamer gtk gtk2 hal iconv imagemagick imlib ipv6 isdnlog ithreads jabber java javascript jikes jpeg jpeg2k lcms leim lesstif libg++ libwww lm_sensors m17n-lib mad maildir matroska memlimit mikmod mime mmap mmx mmxext mng motif mozsha1 mp3 mpeg mpi msn mule multislot ncurses nfs nfsd nls nocardbus nptl nptlonly offensive ogg oggvorbis opengl oss pam pcre pdflib perl png posix pppd python qt quicktime readline reflection sasl sdl session sharedmem slang sockets speex spell spl sse ssl svg symlink sysvipc szip tcpd theora threads tidy tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd vorbis wifi win32codecs wmf xface xinerama xml xml2 xmlrpc xmms xorg xosd xpm xprint xrandr xsl xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_nv video_cards_nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY NOTE: the lack of --tag=CC for make jcapimin.lo i added this to Makefile for fix this running: ebuild /path/to/ebuild/jpeg-6b-r7 unpack fix the Makefile adding --tag=CC to the variable LIBTOOL ebuild /path/to/ebuild/jpeg-6b-r7 qmerge
re-emerge your host libtool