Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 245777 - media-video/vlc-0.9.6 fails build, libtool error
Summary: media-video/vlc-0.9.6 fails build, libtool error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
: 245793 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-06 02:41 UTC by Markus Peloquin
Modified: 2008-11-06 19:23 UTC (History)
3 users (show)

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


Attachments
vlc-0.9.6.ebuild.diff (vlc-0.9.6.ebuild.diff,401 bytes, patch)
2008-11-06 03:51 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Peloquin 2008-11-06 02:41:58 UTC
Here's the patching phase:

 * Applying various patches (bugfixes/updates) ...
 * 010_all_freetype-font.patch ...                                        [ ok ]
 * 220_all_firefox.patch ...                                              [ ok ]
 * 300_all_pic.patch ...                                                  [ ok ]
 * 310_all_mmx_pic.patch ...                                              [ ok ]
 * Done with patching
 * Running eautoreconf in '/var/tmp/portage/media-video/vlc-0.9.6/work/vlc-0.9.6' ...
 * Running aclocal -I m4 -I m4 -I /var/tmp/portage/media-video/vlc-0.9.6/work/vlc-m4 ...                                                                  [ ok ]
 * Running libtoolize --copy --force --automake ...                       [ ok ]
 * Running aclocal -I m4 -I m4 -I /var/tmp/portage/media-video/vlc-0.9.6/work/vlc-m4 ...                                                                  [ ok ]
 * Running autoconf ...                                                   [ ok ]
 * Running autoheader ...                                                 [ ok ]
 * Running automake --add-missing --copy ...                              [ ok ]
 * Running elibtoolize in: vlc-0.9.6/autotools
 * Applying portage-1.5.10.patch ...
 * Applying sed-1.5.6.patch ...

And here's the error (second source file to be compiled):

/bin/sh ../libtool --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..   -I../include -I../include  -DSYS_LINUX `top_builddir=".." ../vlc-config --cflags libvlc` -DMODULE_STRING=\"main\" -DLOCALEDIR=\"/usr/share/locale\" -DSYSCONFDIR=\"/etc\" -DDATA_PATH=\"/usr/share/vlc\" -DLIBDIR=\"/usr/lib\" -DPLUGIN_PATH=\"/usr/lib/vlc\" -O2 -march=pentium-m -pipe -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -MT libvlccore_la-libvlc-module.lo -MD -MP -MF .deps/libvlccore_la-libvlc-module.Tpo -c -o libvlccore_la-libvlc-module.lo `test -f 'libvlc-module.c' || echo './'`libvlc-module.c
../libtool: line 859: X--tag=CC: command not found
../libtool: line 859: X--tag=CC: command not found
../libtool: line 892: libtool: ignoring unknown tag : command not found
../libtool: line 859: X--mode=compile: command not found
../libtool: line 892: libtool: ignoring unknown tag : command not found
../libtool: line 859: X--mode=compile: command not found

(at least 50 more lines...)

Reproducible: Always

Steps to Reproduce:




Portage 2.2_rc12 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.7-r2, 2.6.26-tuxonice i686)
=================================================================
System uname: Linux-2.6.26-tuxonice-i686-Intel-R-_Pentium-R-_M_processor_1.73GHz-with-gentoo-2.0.0
Timestamp of tree: Thu, 06 Nov 2008 00:45:02 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.6-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS=" ftp://gentoo.chem.wisc.edu/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo/ ftp://ftp.ndlug.nd.edu/pub/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LANG="en_US"
LC_ALL="en_US"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/perl-experimental /usr/local/portage"
SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa apache2 apm audiofile bash-completion berkdb blas branding bzip2 cairo cdparanoia cdr cli cracklib crypt cscope css cups dbus dhcp directfb divx4linux doc dri dts dv dvd dvdr dvdread eds emboss encode esd evo fam fame fbcon ffmpeg fftw flac font-server fortran ftp gcj geoip gif ginac glut gmp gnutls gpm gs gstreamer gtk gtk2 hal howl iconv icq ieee1394 imap imlib ipod ipv6 isdnlog java java6 javascript jce joystick jpeg jpeg2k kerberos lame lapack latex libcaca libedit libnotify lzo mad maildir midi mikmod mime mmx mmx2 mng mp3 mpeg mplayer msn mudflap musepack ncurses network nfs nls nntp nptl nptlonly nsplugin ogg oggvorbis openal opengl openmp pam pcmcia pcre pdf perl png posix ppds pppd prelude python qt3 qt3support qt4 quicktime rar readline reflection rtc ruby samba sasl sdl seamonkey session slang sockets socks5 sox speex spell spl sse sse2 ssl startup-notification subtitles svg sysfs sysvinc tcpd tetex tga theora threads tiff truetype udev unicode usb v41 vcd vim-syntax vim-with-x vorbis wavpack wifi win32codecs wxwindows x264 x86 xcomposite xine xinerama xinetd xml xorg xpm xprint xscreensaver xulrunner xv xvid yahoo zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="    actionsshared aliasshared asisdisabled auth_basicshared 	auth_digestshared authn_aliasdisabled authn_anonshared 	authn_dbdshared authn_dbmshared authn_defaultshared 	authn_fileshared authz_dbmshared authz_defaultshared 	authz_groupfileshared authz_host authz_hostshared 	authz_ownershared authz_usershared autoindexshared     cacheshared cern_metadisabled charset_litedisabled     davshared dav_fsshared dav_lockshared dbdshared deflateshared 	dir dirshared disk_cacheshared dumpiodisabled     echodisabled envshared exampledisabled expiresshared ext_filtershared     file_cacheshared filtershared     headersshared     identshared imagemapshared includeshared infoshared     log_configshared log_forensicdisabled logioshared     mem_cacheshared mime mimeshared mime_magicshared     negotiationshared     proxyshared proxy_ajpshared proxy_balancershared 	proxy_connectshared proxy_ftpdisabled proxy_httpshared     rewriteshared     setenvifshared sostatic spelingshared statusshared     unique_idshared userdirshared usertrackshared     versiondisabled vhost_aliasshared " ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-11-06 03:45:20 UTC
This is the same problem as in bug #245544 (but not a duplicate)

The reporter has a stable x86 system with some packages pulled from ~x86 (portage, baselayout, openrc, ...). It seems as stable libtool doesn't like some of the m4-macros shipped with vlc...

Markus, a quick fix is to install latest ~x86 package of sys-devel/libtool but I'm sure there will be a better fix soon ;)
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-11-06 03:51:41 UTC
Created attachment 170878 [details, diff]
vlc-0.9.6.ebuild.diff

Alright, I took jer's ebuild-fix for bug #245544 and it seems to work for vlc as well.
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-11-06 03:53:19 UTC
reassigning to maintainer...
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-11-06 04:01:06 UTC
Ooops, actually the original fix did not come from jer but loki_val...
Comment 5 Markus Peloquin 2008-11-06 04:31:52 UTC
It builds with the change.

I hate libtool so much.  As a rule, I don't trust shell scripts longer than 1000 lines.  I read on undeadly.org that OpenBSD is writing a libtool replacement in Perl for their port system.
Comment 6 Alexis Ballier gentoo-dev 2008-11-06 08:26:17 UTC
applied, thanks

note that this is not a libtool 2.2 breakage, but because the tarball has been generated with libtool 2.2 it contains m4's from this libtool which confuses autotools.eclass that doesn't support libtool downgrades nicely.
Comment 7 Andrey Grozin gentoo-dev 2008-11-06 13:19:20 UTC
*** Bug 245793 has been marked as a duplicate of this bug. ***