emerge --update --deep --verbose world Calculating world dependencies ...done! >>> emerge (1 of 1) app-text/tetex-3.0-r2 to / >>> md5 src_uri ;-) tetex-src-3.0.tar.gz >>> md5 src_uri ;-) tetex-texmf-3.0.tar.gz >>> md5 src_uri ;-) tetex-3.0-gentoo.tar.gz >>> Unpacking source... >>> Unpacking tetex-src-3.0.tar.gz to /var/tmp/portage/tetex-3.0-r2/work >>> Unpacking tetex-3.0-gentoo.tar.gz to /var/tmp/portage/tetex-3.0-r2/work >>> Unpacking tetex-texmf-3.0.tar.gz to /var/tmp/portage/tetex-3.0-r2/work/tetex-src-3.0/texmf * Applying tetex-3.0-fmtutil-in.diff ... [ ok ] * Applying tetex-3.0-texmf-in.diff ... [ ok ] >>> Source unpacked. /usr/lib/portage/bin/ebuild.sh: line 58: 11R6/lib/lesstif: No such file or directory * Building teTeX * econf: updating tetex-src-3.0/config/config.guess with /usr/share/gnuconfig/config.guess * econf: updating tetex-src-3.0/config/config.sub with /usr/share/gnuconfig/config.sub * econf: updating tetex-src-3.0/libs/ncurses/config.guess with /usr/share/gnuconfig/config.guess * econf: updating tetex-src-3.0/libs/ncurses/config.sub with /usr/share/gnuconfig/config.sub * econf: updating tetex-src-3.0/texk/config.guess with /usr/share/gnuconfig/config.guess * econf: updating tetex-src-3.0/texk/config.sub with /usr/share/gnuconfig/config.sub * econf: updating tetex-src-3.0/utils/texi2html/config.guess with /usr/share/gnuconfig/config.guess * econf: updating tetex-src-3.0/utils/texi2html/config.sub with /usr/share/gnuconfig/config.sub * econf: updating tetex-src-3.0/utils/texinfo/config.guess with /usr/share/gnuconfig/config.guess * econf: updating tetex-src-3.0/utils/texinfo/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=powerpc-apple-darwin --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --bindir=/usr/bin --datadir=/var/tmp/portage/tetex-3.0-r2/work/tetex-src-3.0 --with-system-wwwlib --with-libwww-include=/usr/include/w3c-libwww --with-system-ncurses --with-system-pnglib --without-texinfo --without-dialog --without-texi2html --with-system-zlib --disable-multiplatform --with-epsfwin --with-mftalkwin --with-regiswin --with-tektronixwin --with-unitermwin --with-ps=gs --enable-ipc --with-etex --with-x --with-xdvik --with-oxdvik --with-xdvi-x-toolkit=motif creating cache ./config.cache checking whether make sets ${MAKE}... yes checking for gcc... gcc checking whether the C compiler (gcc -O2 -pipe -L/usr/X11R6/lib/lesstif -R/usr/X) works... no configure: error: installation or configuration problem: C compiler cannot create executables. !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/tetex-3.0-r2/work/tetex-src-3.0/config.log !!! ERROR: app-text/tetex-3.0-r2 failed. !!! Function econf, Line 485, Exitcode 0 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. 2. 3. emerge info !!! Relying on the shell to locate gcc, this may break !!! DISTCC, installing gcc-config and setting your current gcc !!! profile will fix this Portage 2.0.51.19 (default-darwin/macos/10.3, gcc-3.3, libsystem-7.1-r0, 7.8.0 Power Macintosh) ================================================================= System uname: 7.8.0 Power Macintosh powerpc macos-20041118 Python: [2.3 (#1, Sep 13 2003, 00:49:11)] distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: [Not Present] sys-devel/autoconf: [Not Present] sys-devel/automake: [Not Present] sys-devel/binutils: [Not Present] sys-devel/libtool: [Not Present] virtual/os-headers: 7.1 ACCEPT_KEYWORDS="ppc-macos ~ppc-macos" AUTOCLEAN="yes" CFLAGS="-O2 -pipe" CHOST="powerpc-apple-darwin" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks userpriv" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc X Xaw3d bash-completion berkdb cdr cups emboss gdbm gif imlib2 ipv6 java javascript jpeg latex lesstif libwww motif ncurses neXt nls oggvorbis opengl png ppc-macos qt readline ruby speex sqlite ssl tetex tiff unicode xface xinerama zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Confirmed here with GNU/Linux and x86, it seems not to be a MacOS specific There are 2 broken lines in /usr/portage/eclass/tetex-3.eclass: """ append-ldflags -L/usr/X11R6/lib/lesstif -R/usr/X 11R6/lib/lesstif export CPPFLAGS="${CPPFLAGS} -I/usr/X11R6/includ e/lesstif" """ # emerge tetex >>> emerge (5 of 5) app-text/tetex-3.0-r2 to / >>> md5 src_uri ;-) tetex-src-3.0.tar.gz >>> md5 src_uri ;-) tetex-texmf-3.0.tar.gz >>> md5 src_uri ;-) tetex-3.0-gentoo.tar.gz >>> Unpacking source... >>> Unpacking tetex-src-3.0.tar.gz to /var/tmp/portage/tetex-3.0-r2/work >>> Unpacking tetex-3.0-gentoo.tar.gz to /var/tmp/portage/tetex-3.0-r2/work >>> Unpacking tetex-texmf-3.0.tar.gz to /var/tmp/portage/tetex-3.0-r2/work/tetex-src-3.0/texmf * Applying tetex-3.0-fmtutil-in.diff ... [ ok ] * Applying tetex-3.0-texmf-in.diff ... [ ok ] >>> Source unpacked. /usr/portage/eclass/tetex-3.eclass: line 58: 11R6/lib/lesstif: No such file or directory * Building teTeX * econf: updating tetex-src-3.0/libs/ncurses/config.guess with /usr/share/gnuconfig/config.guess * econf: updating tetex-src-3.0/libs/ncurses/config.sub with /usr/share/gnuconfig/config.sub * econf: updating tetex-src-3.0/texk/config.guess with /usr/share/gnuconfig/config.guess * econf: updating tetex-src-3.0/texk/config.sub with /usr/share/gnuconfig/config.sub * econf: updating tetex-src-3.0/utils/texinfo/config.guess with /usr/share/gnuconfig/config.guess * econf: updating tetex-src-3.0/utils/texinfo/config.sub with /usr/share/gnuconfig/config.sub * econf: updating tetex-src-3.0/utils/texi2html/config.guess with /usr/share/gnuconfig/config.guess * econf: updating tetex-src-3.0/utils/texi2html/config.sub with /usr/share/gnuconfig/config.sub * econf: updating tetex-src-3.0/config/config.guess with /usr/share/gnuconfig/config.guess * econf: updating tetex-src-3.0/config/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --bindir=/usr/bin --datadir=/var/tmp/portage/tetex-3.0-r2/work/tetex-src-3.0 --with-system-wwwlib --with-libwww-include=/usr/include/w3c-libwww --with-system-ncurses --with-system-pnglib --without-texinfo --without-dialog --without-texi2html --with-system-zlib --disable-multiplatform --with-epsfwin --with-mftalkwin --with-regiswin --with-tektronixwin --with-unitermwin --with-ps=gs --enable-ipc --with-etex --with-x --with-xdvik --with-oxdvik --with-xdvi-x-toolkit=motif creating cache ./config.cache checking whether make sets ${MAKE}... yes checking for gcc... gcc checking whether the C compiler (gcc -O2 -march=athlon-xp -pipe -fomit-frame-pointer -L/usr/X11R6/lib/lesstif -R/usr/X) works... no configure: error: installation or configuration problem: C compiler cannot create executables. # less /var/tmp/portage/tetex-3.0-r2/work/tetex-src-3.0/config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:764: checking whether make sets ${MAKE} configure:793: checking for gcc configure:909: checking whether the C compiler (gcc -O2 -march=athlon-xp -pipe -fomit-frame-pointer -L/usr/X11R6/lib/lesst if -R/usr/X) works configure:925: gcc -o conftest -O2 -march=athlon-xp -pipe -fomit-frame-pointer -I/usr/X11R6/includ e/lesstif -L/usr/X11R6/lib/lesstif -R/usr/X conftest.c 1>&5 gcc: e/lesstif: No such file or directory gcc: unrecognized option `-R/usr/X' configure: failed program was: #line 920 "configure" #include "confdefs.h" main(){return(0);} # emerge --info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r6 i686) ================================================================= System uname: 2.6.11-gentoo-r6 i686 AMD Athlon(TM) XP 2000+ Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 21:19:17)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5 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-r8 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/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/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms" GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.lug.ro/gentoo/ http://gentoo.mirror.solnet.ch http://ftp.ntua.gr/pub/linux/gentoo/" LANG="it_IT@euro" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 16bit 3dnow 3dnowex 3dnowext 3ds X X509 Xaw3d a52 aac aalib aavm accessibility accounting acpi activefilter aim alsa arts artworkextra async athena auctex audiofile avi bcmath beep beepmp berkdb bidi bitmap-fonts bonobo bzlib cairo calendar caps ccache cdparanoia cdr cdrom chroot clamav clisp codecs crypt css ctype cups curl curlwrappers dbx dga dillo dio disablexmb divx4linux dnd doc dts dv dvd dvdread emacs emacs-w3 emboss encode escreen esd ethereal examples exif extensions f2c faac faad fam fame fdftk festival ffmpeg fftw firebird flac flash flood font-server foomaticdb foreign-package fortran freetype ftp gb gcj gcl gd gdbm gif gimp gimpprint gkrellm glade glep glut gmp gnome gnomedb gnuplot gnustep gnutls gphoto2 gpm graphviz gs gsl gsnd gstreamer gtk gtk2 gtkhtml guile iconv icq ide image imagemagick imlib imlib2 ipv6 jabber java javacomm javadoc javascript jbig jikes jp2 jpeg jpeg2k junit justify kde kdeenablefinal kdexdeltas koffice-plugin latex lcms ldap leim lesstif libcaca libclamav libdsk libg++ libgda libwww lids live lua lzo lzw mad maildir mapeditor maps matroska mbrola mcal mdb memlimit messages mhash mikmod mime mimencode ming mixer mjpeg mmap mmx mmx2 mmxext mng monkey motif mozilla mozp3p mozsvg mp3 mpeg mpeg4 mpi mplayer msn mule music mysql mythtv nas ncurses neXt net network nls nowin nptl ntlm nvidia oav objc ocaml odbc offensive oggvorbis openal opengl oscar oss pam parse-clocks pcre pdf pdflib perl pic pie plotutils png portaudio posix postgres postgresql ppds prelude print pthreads python qemu-fast qt quicktime readline real recode rogue rplay rrdtool rtc ruby scanner sdl sharedmem silc silverxp slang smartcard smime sndfile snmp snortsam sounds sox speex spell sqlite sqlite3 sse ssl stats stencil-buffer stroke svg svga sysvipc t1lib tcltk tcpd tetex tga theora threads thumbnail tidy tiff timidity tools transcode transparent-proxy truetype truetype-fonts type1 type1-fonts usb uudeview v4l v4l2 vcdimager vdesktop videos vim vim-pager vim-with-x wmf wsconvert wxwindows xanim xatrix xchattext xemacs xforms xine xml xml2 xmms xosd xpm xprint xrandr xscreensaver xsl xv xvid yahoo yv12 zlib zvbi linguas_it" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Same error here. ~ # emerge info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r5 i686) ================================================================= System uname: 2.6.11-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 07:07:28)] dev-lang/python: 2.3.5 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-r8 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/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/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/src/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/usr/src/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X acpi alsa apm avi berkdb bitmap-fonts bzip2 cdr crypt cups curl emboss encode esd fam flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib jpeg lesstif libg++ libwww mad mikmod mmx motif mozilla mp3 mpeg ncurses nls nntp nptl nptlonly offensive oggvorbis opengl pam pdflib perl png python qt quicktime readline real samba scanner sdl slang speex spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb xml2 xmms xv zlib video_cards_i915" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Oops, it was copy-n-pasted from Terminal.app but seems I broke the elass. Reassigning.
Fixed in CVS. Sorry for any inconvenience.