First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 77928
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: media-gfx herd <graphics@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Scott McKenzie <nzgreen@operamail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 77928 depends on: Show dependency tree
Bug 77928 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-01-13 20:35 0000
When trying to emerge media-libs/jpeg install was failing with:
libtool: compile: unable to infer tagged configuration

Checked the Changelog for this package and there was a patch applied on 04 Jan 2005 that "Solved libtool problem on amd64 and combined with pic patch, bug #75092".  Edited ebuild and commented out the epatch line and could then emerge package successfully.  Unfortunately this is the only ebuild for this package in the portage tree.

This package is a dependency of dev-php/php which I was trying to emerge at the time.

Reproducible: Always
Steps to Reproduce:
1. emerge -v jpeg
2.
3.

Actual Results:  
Calculating dependencies ...done!
>>> emerge (1 of 1) media-libs/jpeg-6b-r4 to /
>>> md5 src_uri ;-) jpegsrc.v6b.tar.gz
>>> Unpacking source...
>>> Unpacking jpegsrc.v6b.tar.gz to /var/tmp/portage/jpeg-6b-r4/work
 * Applying uClibc/libtool patches ...
 *  Fixing ${S}/ltconfig ...                                                   
                           [ ok ]
 * Applying jpeg-6b-gentoo.patch ...                                           
                           [ ok ]
>>> Source unpacked.
 * econf: updating /var/tmp/portage/jpeg-6b-r4/work/jpeg-6b/config.guess with
/usr/share/gnuconfig/config.guess
 * econf: updating /var/tmp/portage/jpeg-6b-r4/work/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
checking for gcc... gcc
checking whether the C compiler (gcc -march=i686 -O2 -fomit-frame-pointer -pipe
) works... yes
checking whether the C compiler (gcc -march=i686 -O2 -fomit-frame-pointer -pipe
) is a cross-compiler... no
checking whether we are using GNU C... yes
checking how to run the C preprocessor... 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... ranlib
checking host system type... i686-pc-linux-gnu
checking for ranlib... ranlib
checking for gcc... gcc
checking whether we are using GNU C... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... ./ltconfig: line 556: test: -fPIC:
integer expression expected
yes
checking if gcc static flag -static works... -static
checking whether ln -s works... yes
checking for ld used by GCC...
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld
checking if the linker
(/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld)
is GNU ld... yes
checking whether the linker
(/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../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-lib/i686-pc-linux-gnu/3.3.4/../../../../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 libjpeg version number... 62
creating ./config.status
creating Makefile
creating jconfig.h
libtool --mode=compile i686-pc-linux-gnu-gcc -march=i686 -O2
-fomit-frame-pointer -pipe  -I. -c ./jcapimin.c
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make: *** [jcapimin.lo] Error 1

!!! ERROR: media-libs/jpeg-6b-r4 failed.
!!! Function src_compile, Line 39, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
Install the package successfully.

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.10-gentoo-r4 i686)
=================================================================
System uname: 2.6.10-gentoo-r4 i686 Pentium II (Klamath)
Gentoo Base System version 1.6.8
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r2
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
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/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirror.pacific.net.au/linux/Gentoo/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="apm avi berkdb bitmap-fonts cdr crypt dbus encode f77 font-server
foomaticdb fortran gdbm gif gpm hal ide imlib ithreads jpeg libg++ libwww mad
mikmod motif mpeg ncurses nls nptl oggvorbis opengl oss pam perl png pthreads
python quicktime readline spell ssl svga tcpd truetype-fonts type1-fonts
userlocales x86 xml2 xmms xv zlib"

------- Comment #1 From John Taylor 2005-01-24 14:06:56 0000 -------
I am seeing the same - jpeg is a dependency of samba and cups

------- Comment #2 From Attila Stehr 2005-02-05 14:11:38 0000 -------
same here:

libtool --mode=compile i686-pc-linux-gnu-gcc -march=athlon-tbird -O3 -pipe -fomit-frame-pointer  -I. -c ./jcapimin.c
libtool --mode=compile i686-pc-linux-gnu-gcc -march=athlon-tbird -O3 -pipe -fomit-frame-pointer  -I. -c ./jcapistd.c
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make: *** [jcapistd.lo] Error 1
make: *** Waiting for unfinished jobs....
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make: *** [jcapimin.lo] Error 1

!!! ERROR: media-libs/jpeg-6b-r4 failed.
!!! Function src_compile, Line 43, Exitcode 2
!!! make failed



system config:

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.4.26-gentoo-r9 i686)
=================================================================
System uname: 2.4.26-gentoo-r9 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 16 2005, 17:50:47)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r5
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
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/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks maketest sandbox severe sfperms test"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow apache2 bzlib crypt curl curlwrappers doc emacs exif gd gif gpm hardened hardenedphp jpeg leim memlimit mime mmx mng mysql ncurses nls pam pcntl pdflib php png postgres session simplexml soap sockets spl ssl svga tcpd tidy tokenizer x86 xml xml2 xsl zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY


------- Comment #3 From Attila Stehr 2005-02-05 14:39:18 0000 -------
==> works for me after updating to libtool-1.5.10-r4

------- Comment #4 From Scott McKenzie 2005-02-05 17:06:59 0000 -------
I agree with Attila's comment #3.  I have sys-devel/libtool-1.5.10-r4 installed
and can now emerge media-libs/jpeg-6b-r4 successfully.

------- Comment #5 From poul flindt 2005-02-06 07:08:20 0000 -------
I still have this exact problem, and I have libtool-1.5.10-r4 installed.

------- Comment #6 From Bengt Gorden 2005-02-22 01:24:01 0000 -------
I reemerged libtool (and got libtool-1.5.10-r4) and after that jpeg came out
right.

------- Comment #7 From Karol Wojtaszek (RETIRED) 2005-04-01 01:56:04 0000 -------
sys-devel/libtool-1.5.10-r4 added to DEPEND in jpeg ebuild in portage, thanks
for info.

First Last Prev Next    No search results available      Search page      Enter new bug