Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135850 - libtool: compile: unable to infer tagged configuration; similiar to Bug: 67692
Summary: libtool: compile: unable to infer tagged configuration; similiar to Bug: 67692
Status: RESOLVED DUPLICATE of bug 130054
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Highest major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-06 20:51 UTC by Werner M. Mayer
Modified: 2006-06-08 10:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Werner M. Mayer 2006-06-06 20:51:22 UTC
I didn't know if I should reopen BUG 67692 or file a new one because the only
thing in common was the compiling error (see summary), whereas 67692 was 
reported 2005 and this is a new portage version.

Gentoo Base System version 1.6.14
Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 VIA Samuel 2
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
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-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache cvs distcc distlocks keeptemp keepwork noauto noclean notitles sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ...
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 X alsa apache2 apm arts avi berkdb bitmap-fonts bzip2 cdr cli crypt cups dri eds emboss encode esd expat foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl
ogg opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev usb vorbis xml xmms xorg xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS

Installing Gentoo from scratch from minimal x86 livecd.
Installing further packages I want on the system:

emerge -vn nmap nessus snort a2ps netdate dosfstools genflags netselect mirrorselect nfs-utils reiserfsprogs dos2unix unix2dos recode splitvt psutils tree fping scanlogd bing hunt honeyd ftester fragroute dnstracer braa angst bigeye
amap iptraf firewalk psad bitdefender-console clamav f-prot iproute2 pciutils sysklogd mailx colorgcc rpm2targz iptables esearch wipe proftpd rar unrar ftpbase airtraf wepattack lha rexima tleds wavplay mikmod mp3wrap mp3asm rplay 
saydate ssrc cdtool takcd wavpack wavsplit bplay sox ogg2mp3 eject cdparanoia mp3info rip rawrec mpg321 mp3gain cdcd alsa-utils colorschemes fvwm fvwm_icons fvwm_sounds fvwm-themes fvwm-themes-extra xanim xmms xv gimp acroread xosview 
pingus codebreaker xfreecell games-board/ace supertux clanbomber maelstrom

Keep getting reproducable error:
>>> Unpacking source...
>>> Unpacking jpegsrc.v6b.tar.gz to /var/tmp/portage/jpeg-6b-r7/work
>>> Unpacking jpeg-6b-patches-1.2.tar.bz2 to /var/tmp/portage/jpeg-6b-r7/work
 * Applying various patches (bugfixes/updates) ...
 *   05_all_jpeg-Makefile.patch ...
  [ ok ]
 *   06_all_jpeg-libtool.patch ...
  [ ok ]
 *   07_all_jpeg-LANG.patch ...
  [ ok ]
 *   30_all_jpeg-crop.patch ...
  [ ok ]
 *   50_all_jpeg-Debian-rdjpgcom_locale.patch ...
  [ ok ]
 *   51_all_jpeg-Debian-jpeglib.h_c++.patch ...
  [ ok ]
 *   52_all_jpeg-Debian-rdppm.patch ...
  [ ok ]
 *   60_all_jpeg-maxmem-sysconf.patch ...
  [ ok ]
 * Done with patching
 * Running elibtoolize in: jpeg-6b
 *   Applying portage-1.2.0.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying uclibc-ltconf-1.2.0.patch ...
>>> Source unpacked.
 * econf: updating jpeg-6b/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating jpeg-6b/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 --enable-shared --enable-static --enable-maxmem=64 --build=i686-pc-linux-gnu
checking for gcc... i686-pc-linux-gnu-gcc
checking whether the C compiler (i686-pc-linux-gnu-gcc -O2 -mtune=i686 -pipe ) works... yes
checking whether the C compiler (i686-pc-linux-gnu-gcc -O2 -mtune=i686 -pipe ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for function prototypes... yes
checking for stddef.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for size_t... yes
checking for type unsigned char... yes
checking for type unsigned short... yes
checking for type void... yes
checking for working const... yes
checking for inline... __inline__
checking for broken incomplete types... ok
checking for short external names... ok
checking to see if char is signed... yes
checking to see if right shift is signed... yes
checking to see if fopen accepts b spec... yes
checking for a BSD compatible install... /bin/install -c
checking for ranlib... i686-pc-linux-gnu-ranlib
checking host system type... i686-pc-linux-gnu
checking whether we are using GNU C... yes
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... -static
checking whether ln -s works... yes
checking for ld used by GCC... /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the linker (/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking command to parse /usr/bin/nm -B output... yes
checking how to hardcode library paths into programs... immediate
checking for /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-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
./libtool-wrap --mode=compile i686-pc-linux-gnu-gcc -O2 -mtune=i686 -pipe  -I. -c ./jcapimin.c
./libtool-wrap --mode=compile i686-pc-linux-gnu-gcc -O2 -mtune=i686 -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

Reproduced errorlog starts with:
>>> Checking jpegsrc.v6b.tar.gz's mtime...
>>> jpegsrc.v6b.tar.gz has been updated; recreating WORKDIR...
>>> /usr/portage/media-libs/jpeg/jpeg-6b-r7.ebuild has been updated; recreating WORKDIR...
>>> Unpacking source...
>>> Unpacking jpegsrc.v6b.tar.gz to /var/tmp/portage/jpeg-6b-r7/work
>...

I have not enough knowledge on programming in C or scripting to be of any help.
I need a solution.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-07 00:49:07 UTC
Re-emerge libtool.


*** This bug has been marked as a duplicate of 130054 ***
Comment 2 Werner M. Mayer 2006-06-08 10:54:58 UTC
I'm installing Gentoo from the minimal livecd. I have not yet rebooted my system.
I think this could be a bug in the jpeg script. I've checked on my logs in
/var/log/portage and I couldn't find an entry libtool even though I have many 
entries of jpeg. libtool being a dependency of jpeg should have been automatically
selected during the 'Calculating dependencies...' in the emerge process and have
been processed before jpeg, but somehow failed to do so. Here is a part of the 
script code in the jpeg script:

RDEPEND=""
DEPEND="${RDEPEND}
        >=sys-devel/libtool-1.5.10-r4"

Not having a flatrate yet I usually fetch all files to emerge at once.
An emerge -v libtool resulted in a download sequence, prooving that it failed to
be requested earlier by jpeg.

After compilation of libtool, the emerging of jpeg and other depending software
succeeded normally. 

Thank you very much for the hint.