| Summary: | build problem with libungif 4.1.0.1b: libtool broken | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Christian Korff <christian.korff> |
| Component: | [OLD] Library | Assignee: | Gentoo Graphics Project <graphics+disabled> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | base-system, carpaski, merlin |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Christian Korff
2004-03-21 02:52:02 UTC
The ebuild libungif4.1.0.1b doesn´t compile. It seems that libtool is broken or something. I am using the gentoo 20040218.
I fixed it by deleting ltmain.sh and run libtoolize --force before the ebuild runs autoconf etc.
Reproducible: Always
Steps to Reproduce:
1. emerge libungif
Actual Results:
cd . \
&& CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating Makefile
config.status: executing default-1 commands
cd . && autoheader
autoheader-2.58: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader-2.58: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader-2.58: WARNING: is deprecated and discouraged.
autoheader-2.58:
autoheader-2.58: WARNING: Using the third argument of `AC_DEFINE' and
autoheader-2.58: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
autoheader-2.58: WARNING: `acconfig.h':
autoheader-2.58:
autoheader-2.58: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader-2.58: [Define if a function `main' is needed.])
autoheader-2.58:
autoheader-2.58: WARNING: More sophisticated templates can also be produced, see the
autoheader-2.58: WARNING: documentation.
cd . \
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
/bin/sh ./config.status
config.status: creating config.h
config.status: executing default-1 commands
make all-recursive
make[1]: Entering directory
`/var/tmp/portage/libungif-4.1.0.1b/work/libungif-4.1.0b1'
Making all in lib
make[2]: Entering directory
`/var/tmp/portage/libungif-4.1.0.1b/work/libungif-4.1.0b1/lib'
cd .. && automake --gnu --include-deps lib/Makefile
cd .. \
&& CONFIG_FILES=lib/Makefile CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating lib/Makefile
config.status: executing default-1 commands
make[2]: Leaving directory
`/var/tmp/portage/libungif-4.1.0.1b/work/libungif-4.1.0b1/lib'
make[2]: Entering directory
`/var/tmp/portage/libungif-4.1.0.1b/work/libungif-4.1.0b1/lib'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -march=pentium4 -pipe
-I/usr/X11R6/include -c getarg.c
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2
-march=pentium4 -pipe -I/usr/X11R6/include -c dev2gif.c
libtool: ltconfig version `' does not match ltmain.sh version `1.3.3'
Fatal configuration error. See the libtool docs for more information.
make[2]: *** [dev2gif.lo] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
make[2]: Leaving directory
`/var/tmp/portage/libungif-4.1.0.1b/work/libungif-4.1.0b1/lib'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory
`/var/tmp/portage/libungif-4.1.0.1b/work/libungif-4.1.0b1'
make: *** [all-recursive-am] Fehler 2
!!! ERROR: media-libs/libungif-4.1.0.1b failed.
!!! Function src_compile, Line 38, Exitcode 2
!!! (no error message)
Gentoo Base System version 1.4.3.13
Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.24-xfs)
=================================================================
System uname: 2.4.24-xfs i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
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="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/src/portage-distfiles"
FEATURES="autoaddcvs ccache sandbox userpriv"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
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="X acl alsa apm arts avi berkdb canna cdr cjk crypt cups curl directfb dvd
emacs encode esd flac foomaticdb gdbm gif gnome gpm gtk gtk2 imagemagick imlib
java jpeg kde ldap lesstiff libg++ libwww mad mikmod mmx motif mpeg ncurses nls
oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang
spell sse ssl svga tcpd theora tiff truetype unicode wmf wxwindows x86 xml2 xmms
xv zlib"
Same exact problem with aalib-1.4_rc4-r2. The problem appears to be a broken elibtoolize in portage. portage-2.0.50-r3 appears to not have this problem.
portage-2.0.50-r6 doesn't fix this.
Details:
* Patching ${S}/ltmain.sh...
* Could not apply portage.patch!
* Please verify that it is not needed.
I'm seeing this fixed now. No mention of a change in either libungif or aalib Changelogs. Perhaps the new portage fixed it? Can someone confirm this and close the bug? I had same problem now. /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -marc h=pentium4 -fomit-frame-pointer -I/usr/X11R6/include -c dev2gif.c libtool: ltconfig version `' does not match ltmain.sh version `1.3.3' Fatal configuration error. See the libtool docs for more information. make[2]: *** [dev2gif.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/libungif-4.1.0.1b/work/libungif-4.1 .0b1/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libungif-4.1.0.1b/work/libungif-4.1 .0b1' Portage 2.0.51-r2 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 i686) ================================================================= System uname: 2.6.9-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.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/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X apm arts avi berkdb bitmap-fonts crypt cups encode esd f77 foomaticdb gdbm gif gnome gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod mmx mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl svga tcpd truetype x86 xml2 xmms xv zlib" |