Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223515 - >=media-video/vlc-0.9.0_alpha20080524 fails to build with --disable-sout
Summary: >=media-video/vlc-0.9.0_alpha20080524 fails to build with --disable-sout
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-25 07:33 UTC by Juergen Rose
Modified: 2008-07-16 06:49 UTC (History)
2 users (show)

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


Attachments
Tarball of two media-video/vlc-0.9.0_alpha20080524 build logs. One without vlm USE flag and one with it. (vlc_build_logs.tar.bz2,66.58 KB, application/octet-stream)
2008-05-25 08:06 UTC, Jorge Peixoto de Morais Neto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2008-05-25 07:33:25 UTC
x86_64-pc-linux-gnu-gcc -std=gnu99 -march=nocona -O2 -pipe -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -o vlc vlc-vlc.o  ./.libs/libvlc.so /var/tmp/portage/media-video/vlc-0.9.0_alpha20080524/work/vlc-0.9.0-git/src/.libs/libvlccore.so ./.libs/libvlccore.so /usr/lib64/libhal.so /usr/lib64/libdbus-1.so -lrt -lpthread -ldl  -Wl,--rpath -Wl,/var/tmp/portage/media-video/vlc-0.9.0_alpha20080524/work/vlc-0.9.0-git/src/.libs
./.libs/libvlc.so: undefined reference to `vlm_Control'
./.libs/libvlc.so: undefined reference to `vlm_Delete'
collect2: ld returned 1 exit status
make[3]: *** [vlc] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.0_alpha20080524/work/vlc-0.9.0-git/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.0_alpha20080524/work/vlc-0.9.0-git/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.0_alpha20080524/work/vlc-0.9.0-git'
make: *** [all] Error 2
 * 
 * ERROR: media-video/vlc-0.9.0_alpha20080524 failed.

The same error also happens on i686 systems.



Reproducible: Always




root@condor:/root(29)# emerge --info
Portage 2.1.5.2 (default-linux/amd64/2007.0, gcc-4.2.4, glibc-2.7-r2, 2.6.25-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r1 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Sun, 25 May 2008 05:03:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.4-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
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-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -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 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/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/e
xt-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="C"
LDFLAGS=""
LINGUAS="de fr"
MAKEOPTS="-j1"
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/arcon /usr/portage/local/layman/science /usr/portage/local/layman/sajinet /usr/local/portage /usr/local/portage/
xeffects /usr/local/sci"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi administrator afs aiglx alsa amd64 amrr ao aotuv apache2 asf atlas auctex audacious audiofile automount bash-completion beagl
e berkdb bjam blas bluetooth bonobo boo boost bzip2 c++ cairo cdda cddb cdf cdio cdparanoia cdr cgi chm cli corba cracklib cran crypt cups curl cxx daap db
us device-mapper dga dia divx djvu dlloader dmi dri ds3490 dv dvb dvd dvdr dvi dxr3 dynagraph eds effects elf emacs emboss encode epiphany esd evo examples
 exif expat extra fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran fpx galago gd gdal gdbm geos gif gimp gimpprint ginac glade glitz gml gmp 
gnokii gnome gnuplot gnutls gphoto2 gpm graphics graphviz gs gsl gsm gstreamer gtk guile hal hardened hddtemp hdf hdf5 hlapi http hvm iconv icq icu id3 ima
gemagick imap innodb ipv6 irda irmc isdnlog ithreads jabber java jbig john jpeg jpeg2k kerberos kexi keyring ladspa lame lapack latex lcms ldap libgda libs
amplerate lirc lm_sensors lua lzo lzw mad maildir math matroska midi mmx mmxext mng mod mono motif mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpe
g mpeg2 mplayer mudflap musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs numarr
ay numeric nvidia obex ocaml octave odbc ogdi ogg ole opengl openmp pae pam pcre pda pdf perl plotutils plugins png posix postgres postscript pppd preview-
latex proj projectx pstricks python qhull quicktime readline reflection reiserfs rhythmbox rle rpc rrdcgi rrdtool samba sasl science sdl session slang slp 
smp sndfile snmp soup sox speex spell spl sqlite sse sse2 ssl stlport subtitles subversion suexec svg t1lib tcl tcpd tex theora threads thunderbird tidy ti
ff tk truetype unicode userlocales utempter v4l2 vorbis wmf wxwindows xattr xemacs xext xine xml xmlreader xmlrpc xorg xpm xv xvid xvmc zlib zvbi" ALSA_CAR
DS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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                " KERNEL="linux
" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jorge Peixoto de Morais Neto 2008-05-25 08:06:41 UTC
Created attachment 154227 [details]
Tarball of two media-video/vlc-0.9.0_alpha20080524 build logs. One without vlm USE flag and one with it.
Comment 2 Jorge Peixoto de Morais Neto 2008-05-25 08:07:28 UTC
This happens here too.
A workaround is to enable the USE flag vlm.
I have attached a tarball with two build logs: one with USE flag vlm disabled (notice the fail at the end) and one with the USE flag vlm enabled.

If it is useful to you, here is my emerge --info

jorge@jorge ~ $ emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r4nm i686)
=================================================================
System uname: 2.6.24-gentoo-r4nm i686 AMD Athlon(tm) XP 2600+
Timestamp of tree: Sat, 24 May 2008 23:15:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.12
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.las.ic.unicamp.br/pub/gentoo/ http://mirrors.usu.edu/mirrors/gentoo/ http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.localhost.net.ar"
LANG="pt_BR"
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/initng /usr/portage/local/layman/enlightenment /usr/portage/local/layman/gnash-cvs /usr/local/jorgeportage"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X aac aalib acpi alsa aotuv bash-completion branding bzip2 cairo cdio cdr cracklib divx dri dvd dvdr dvdread emacs encode evo fam ffmpeg firefox flac fortran gcj gcl gif glibc-omitfp gmedia gnuplot gpm gstreamer gzip-el iceweasel iconv imap jpeg kdehiddenvisibility lesstif libcaca logrotate mad matroska midi mikmod mmx mmxext mng moznopango mp2 mp3 mpeg mplayer mudflap ncurses network-cron nptl nptlonly nsplugin nvidia offensive ogg opengl openmp pam pch pcre pdf png pnm pppd psyco python qt3support quicktime readline realmedia rtc sdl session sox speex spell srt sse ssl svg symlink tcltk tcpd theora tiff tk toolkit-scroll-bars truetype unicode usb v4l v4l2 vorbis wmp x264 x86 xml xorg xosd xv xvmc zlib" ALSA_CARDS="cmipci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv vesa nvidia"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Juergen Rose 2008-05-25 09:48:46 UTC
Setting the USE flag vlm helps for me too.
Comment 4 Alexis Ballier gentoo-dev 2008-05-25 19:11:12 UTC
Thanks for the report, I've forced --enable-sout for now as the fix doesn't seem trivial. I'll leave that bug open as a reminder.
Comment 5 Alexis Ballier gentoo-dev 2008-07-14 12:49:20 UTC
(In reply to comment #4)
> Thanks for the report, I've forced --enable-sout for now as the fix doesn't
> seem trivial. I'll leave that bug open as a reminder.
> 

should be fixed for real in _beta2 now
Comment 6 L.J. 2008-07-15 23:30:51 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > Thanks for the report, I've forced --enable-sout for now as the fix doesn't
> > seem trivial. I'll leave that bug open as a reminder.
> > 
> 
> should be fixed for real in _beta2 now
> 

I had to add vlm in the USE flag for _beta2 in order to work around this bug. Doesn't forcing --enable-sout supposed to have fixed this?
Comment 7 Alexis Ballier gentoo-dev 2008-07-16 06:49:18 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > (In reply to comment #4)
> > > Thanks for the report, I've forced --enable-sout for now as the fix doesn't
> > > seem trivial. I'll leave that bug open as a reminder.
> > > 
> > 
> > should be fixed for real in _beta2 now
> > 
> 
> I had to add vlm in the USE flag for _beta2 in order to work around this bug.
> Doesn't forcing --enable-sout supposed to have fixed this?
> 

building with USE="stream -vlm" right ?