Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236758 - paludis-0.30 fails to compile media-video/vlc
Summary: paludis-0.30 fails to compile media-video/vlc
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 236660 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-04 22:42 UTC by Harris Landgarten
Modified: 2008-09-10 06:15 UTC (History)
3 users (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 Harris Landgarten 2008-09-04 22:42:42 UTC
paludis -i vlc fails with:

../libtool: line 854: X--tag=CC: command not found
../libtool: line 887: libtool: ignoring unknown tag : command not found
../libtool: line 854: X--mode=compile: command not found
../libtool: line 854: X--tag=CC: command not found
../libtool: line 887: libtool: ignoring unknown tag : command not found
../libtool: line 854: X--mode=compile: command not found
../libtool: line 854: X--tag=CC: command not found
../libtool: line 887: libtool: ignoring unknown tag : command not found
../libtool: line 854: X--mode=compile: command not found
../libtool: line 1021: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1022: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1165: Xx86_64-pc-linux-gnu-gcc: command not found
../libtool: line 1165: X-std=gnu99: command not found
...

Reproducible: Always
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-09-05 04:35:33 UTC
Can you replicate the error with portage?

Please update the title with what package version you are trying to compile and emerge --info (or similar with paludis)

thanks.
Comment 2 Harris Landgarten 2008-09-05 11:37:06 UTC
This error is specific to the new paludis-0.30.0. paludis-0.28.2 works. I saw the same error compiling hal. 

The problem seems limited to ebuilds that compile using libtool. This is what I get from hal:

make -j7
make  all-recursive
make[1]: Entering directory `/var/tmp/paludis/sys-apps-hal-0.5.11-r1/work/hal-0.5.11'
Making all in libhal
make[2]: Entering directory `/var/tmp/paludis/sys-apps-hal-0.5.11-r1/work/hal-0.5.11/libhal'
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include     -march=core2 -O2 -msse4.1 -pipe -rdynamic -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -MT libhal.lo -MD -MP -MF .deps/libhal.Tpo -c -o libhal.lo libhal.c
../libtool: line 845: X--tag=CC: command not found
../libtool: line 878: libtool: ignoring unknown tag : command not found
../libtool: line 845: X--mode=compile: command not found
../libtool: line 1012: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1013: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1156: Xx86_64-pc-linux-gnu-gcc: command not found
../libtool: line 1156: X-DHAVE_CONFIG_H: command not found
../libtool: line 1156: X-I.: command not found
../libtool: line 1156: X-I..: command not found
../libtool: line 1156: X-DPACKAGE_DATA_DIR="/usr/share": No such file or directory
../libtool: line 1156: X-DPACKAGE_LOCALE_DIR="/usr/share/locale": No such file or directory
../libtool: line 1156: X-I/usr/include/dbus-1.0: No such file or directory
../libtool: line 1156: X-I/usr/lib64/dbus-1.0/include: No such file or directory
../libtool: line 1156: X-march=core2: command not found
../libtool: line 1156: X-O2: command not found
../libtool: line 1156: X-msse4.1: command not found
../libtool: line 1156: X-pipe: command not found
../libtool: line 1156: X-rdynamic: command not found
../libtool: line 1156: X-Wall: command not found
../libtool: line 1156: X-Wchar-subscripts: command not found
../libtool: line 1156: X-Wmissing-declarations: command not found
../libtool: line 1156: X-Wnested-externs: command not found
../libtool: line 1156: X-Wpointer-arith: command not found
snip

Portage 2.2_rc8 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-glibc2.2.5
Timestamp of tree: Fri, 05 Sep 2008 09:34:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r14, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
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:   2.2.4
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -msse4.1 -pipe"
CHOST="x86_64-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"
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/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -msse4.1 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j7"
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/sunrise /usr/portage/local/layman/xeffects /usr/portage/local/layman/gentoo-china /usr/portage/local/layman/vmware /usr/local/overlays"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kerberos ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="vesa nv fbdev nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Peter Sääf 2008-09-05 19:19:06 UTC
You need to rebuild libtool after upgrading to paludis-0.30.0.
Otherwise libtoolize will try to use /usr/libexec/paludis/utils/sed etc.

These wrapper were removed in paludis-0.30.0
Comment 4 Harris Landgarten 2008-09-06 21:05:35 UTC
reinstalling libtool solves the problem. Shouldn't this be documented somewhere? Long strings of packages to build die after paludis-0.30.0 is installed. In some cases paludis -i libtool tried to bring in an update of db first which fails to compile. In this case it was necessary to:

paludis -i libtool --dl-uninstalled-deps-runtime discard

A new version of paludis doesn't need to be a game of adventure.
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2008-09-07 13:03:16 UTC
(In reply to comment #4)
> A new version of paludis doesn't need to be a game of adventure.

Please contact the Paludis developers about it.
Comment 6 Harris Landgarten 2008-09-07 13:27:23 UTC
Please change the name of this bug to:

paludis-0.30.0 required recompile of libtool

So others can avoid the problem.
Comment 7 Carsten Lohrke (RETIRED) gentoo-dev 2008-09-09 10:39:05 UTC
*** Bug 236660 has been marked as a duplicate of this bug. ***
Comment 8 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2008-09-09 15:37:05 UTC
*** Bug 237193 has been marked as a duplicate of this bug. ***
Comment 9 Peter Sääf 2008-09-09 15:57:19 UTC
I mentioned on #paludis 4 days ago that at the very least this should be mentioned in the release notes. But it was dismissed as 'a libtool oddity' ...
Comment 10 Fernando J. Pereda (RETIRED) gentoo-dev 2008-09-10 06:15:45 UTC
It is a libtool bug, because it happens to hardcode the sed it finds at configure time. Paludis just happens to trigger it.

- ferdy