Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 106075

Summary: tetex-3.0-r3 fails due to libtool
Product: Gentoo Linux Reporter: Kenyon Ralph <kenyon>
Component: Current packagesAssignee: Text-Markup Team (OBSOLETE) <text-markup+disabled>
Status: RESOLVED DUPLICATE    
Severity: normal CC: cyril.jaquier, marduk, runlevel0
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Kenyon Ralph 2005-09-15 08:20:05 UTC
Probably due to Bug 105418...

libtool --mode=link c++ -o pdfetex  pdfetexini.o pdfetex0.o pdfetex1.o
pdfetex2.o pdfetex3.o pdfetexextra.o  pdftexdir/libpdf.a -lpng -lz
../../libs/xpdf/xpdf/libxpdf.a ../../libs/xpdf/goo/libGoo.a
../../libs/xpdf/fofi/libfofi.a ../../libs/md5/md5.o  lib/lib.a
../kpathsea/libkpathsea.la -lm
libtool: link: unable to infer tagged configuration
libtool: link: specify a tag with `--tag'
make[2]: *** [pdfetex] Error 1
make[2]: Leaving directory
`/var/tmp/portage/tetex-3.0-r3/work/tetex-src-3.0/texk/web2c'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/var/tmp/portage/tetex-3.0-r3/work/tetex-src-3.0/texk'
make: *** [all] Error 1

!!! ERROR: app-text/tetex-3.0-r3 failed.
!!! Function einstall, Line 535, Exitcode 2
!!! einstall failed

emerge info:
Portage 2.0.52-r1 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-archck2 i686)
=================================================================
System uname: 2.6.13-archck2 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.12.0_pre8
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.13
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -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/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ccccom.com http://mirror.datapipe.net/gentoo
http://gentoo.osuosl.org"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib alsa apm arts audiofile avi bash-completion berkdb
bitmap-fonts bzip2 caps cdparanoia cdr crypt cups curl dbus dts dvd eds emboss
encode exif fam ffmpeg flac font-server foomaticdb fortran freetype gdbm gif
gnutls gphoto2 gpm gstreamer gtk gtk2 guile hal imagemagick imlib ipv6 java
jikes jpeg jpeg2k kde kdeenablefinal lcms libg++ libwww lm_sensors mad matroska
mmx mng mp3 mpeg ncurses network nls nptl nvidia offensive ogg oggvorbis opengl
pdflib perl pic png ppds python qt quicktime readline real ruby samba scanner
sdl slang sndfile snmp spell sse sse2 ssl svg svga tcpd tetex theora threads
tiff truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs wmf
wxwindows xine xml2 xprint xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS
Comment 1 Kenyon Ralph 2005-09-21 20:50:35 UTC
I just attempted to emerge this with MAKEOPTS commented out, CFLAGS="", and
CFLAGS commented out (which causes the configure script to add its own cflags).
 Same error as above each time.  So at least none of those are the problem...
Comment 2 Cyril Jaquier 2005-09-25 10:05:44 UTC
I get exactly the same error here.

Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-cj3 i686)
=================================================================
System uname: 2.6.13-cj3 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe -fomit-frame-pointer      
-fforce-addr -frename-registers -fprefetch-loop-arrays   -falign-functions=64
-ftracer -momit-leaf-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe -fomit-frame-pointer    
-fforce-addr -frename-registers -fprefetch-loop-arrays   -falign-functions=64
-ftracer -momit-leaf-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/             
ftp://sunsite.cnlab-switch.ch/mirror/gentoo/            
ftp://ftp.solnet.ch/mirror/Gentoo"
LANG="en_US"
LC_ALL="en_US"
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="x86 X acpi alsa avi bash-completion berkdb bitmap-fonts bonobo bzip2 cdr
crypt cups curl dbus dvd dvdr emboss encode esd exif fam ffmpeg firefox flac
foomaticdb fortran gd gdbm gif gnome gstreamer gtk gtk2 gtkhtml hal ieee1394
imagemagick imap imlib ipv6 java jpeg junit libg++ libwww live mad mikmod mime
mmx mng mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl pam pcmcia
pdflib perl pic png python quicktime readline real samba sdl spell sse sse2 ssl
svg tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb vorbis
win32codecs wmf xml2 xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS
Comment 3 runlevel0 2005-09-28 03:27:04 UTC
I have had a similar error:

...
libtool: link: unable to infer tagged configuration
libtool: link: specify a tag with `--tag'
make[2]: *** [pdfetex] Error 1
make[2]: Leaving directory
`/var/tmp/portage/tetex-3.0-r3/work/tetex-src-3.0/texk/web2c'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/var/tmp/portage/tetex-3.0-r3/work/tetex-src-3.0/texk'
make: *** [all] Error 1
...

Here is an URL explaining more or less  the reason of this bug, which seems to
be related to the ebuild:
http://lists.gnu.org/archive/html/bug-libtool/2004-09/msg00146.html


Comment 4 runlevel0 2005-09-28 13:07:51 UTC
This bug is a dup of this one: http://bugs.gentoo.org/show_bug.cgi?id=67692

The solution is re-emerging the libtool.
Comment 5 Kenyon Ralph 2005-09-29 09:47:02 UTC
I re-emerged libtool and tetex still failed with the same error.
Comment 6 Kenyon Ralph 2005-09-29 09:58:58 UTC
Ah but doing `CC=gcc CXX=g++ emerge -DNuavt world` made it work.

*** This bug has been marked as a duplicate of 67692 ***
Comment 7 Kenyon Ralph 2005-12-02 13:46:26 UTC
Same problem with tetex-3.0-r4; my command in comment #6 still fixes it.