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

Bug 113901

Summary: compilations fail in media-libs/jpeg-6b-r5
Product: Gentoo Linux Reporter: Dario Ale <dario.a>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dario Ale 2005-11-29 06:52:05 UTC
This error is produced when I had install mrtg. I have looked for the possible
cause but I could not solve it, this is the errors screen:

"...

>>> emerge (1 of 5) media-libs/jpeg-6b-r5 to /
>>> md5 files   ;-) jpeg-6b-r5.ebuild
>>> md5 files   ;-) jpeg-6b-r4.ebuild
>>> md5 files   ;-) jpeg-6b-r6.ebuild
>>> md5 files   ;-) files/digest-jpeg-6b-r4
>>> md5 files   ;-) files/digest-jpeg-6b-r5
>>> md5 files   ;-) files/jpeg-6b-gentoo.patch
>>> md5 files   ;-) files/digest-jpeg-6b-r6
>>> md5 src_uri ;-) jpegsrc.v6b.tar.gz
>>> Unpacking source...
>>> Unpacking jpegsrc.v6b.tar.gz to /var/tmp/portage/jpeg-6b-r5/work
 * Running elibtoolize in: jpeg-6b
 *   Applying portage-1.2.0.patch ...
 *   Applying uclibc-ltconf-1.2.0.patch ...
 * Applying jpeg-6b-gentoo.patch ...                                           
                                                          [ ok ]
>>> 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 --build=i686-pc-linux-gnu --enable-shared --enable-static
checking for gcc... i686-pc-linux-gnu-gcc
checking whether the C compiler (i686-pc-linux-gnu-gcc -O2 -march=pentium4 -pipe
) works... yes
checking whether the C compiler (i686-pc-linux-gnu-gcc -O2 -march=pentium4 -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... 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... ./ltconfig: line 556:
test: -fPIC: integer expression expected
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/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/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/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 -O2 -march=pentium4 -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-r5 failed.
!!! Function src_compile, Line 41, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.

..."

Thanks.

Reproducible: Always
Steps to Reproduce:
1. I begin the mrtg installation

"...

emerge -av mrtg

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] media-libs/jpeg-6b-r5  0 kB
[ebuild  N    ] media-libs/freetype-2.1.9-r1  -bindist -doc +zlib 969 kB
[ebuild  N    ] media-libs/libpng-1.2.8  -doc 375 kB
[ebuild  N    ] media-libs/gd-2.0.32  -X -fontconfig +jpeg +png +truetype 573 kB
[ebuild  N    ] net-analyzer/mrtg-2.11.1  -doc 1,091 kB

Total size of downloads: 3,010 kB

Do you want me to merge these packages? [Yes/No] yes

..."

2. Then it finished unexpectedly

3. I repeated the installation but it follows equal
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-11-29 07:30:08 UTC
emerge --info missing...
Comment 2 Dario Ale 2005-11-29 09:27:36 UTC
"...

emerge --info

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1,
2.6.13.1 i686)
=================================================================
System uname: 2.6.13.1 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2
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=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 acl alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bzip2
crypt cups eds emboss encode expat foomaticdb fortran gdbm gif gpm gstreamer
gtk2 imlib ipv6 jpeg libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls
nptl nptlonly ogg oggvorbis opengl oss pam pcre pdflib perl png python qt
quicktime readline sdl slang spell ssl tcpd truetype truetype-fonts type1-fonts
udev vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY

..."
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-11-29 09:32:58 UTC
Upgrade your libtool and try again.
Comment 4 Dario Ale 2005-11-29 10:35:06 UTC
I upgraded libtool and retry and its runned ok.

Thanks for helpme.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-11-29 10:47:02 UTC
Thanks, closing.