Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 228351 - media-video/vlc fails to build with libcdio 0.80
Summary: media-video/vlc fails to build with libcdio 0.80
Status: RESOLVED DUPLICATE of bug 228185
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-06-19 14:07 UTC by catkfr
Modified: 2008-06-19 23:27 UTC (History)
1 user (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 catkfr 2008-06-19 14:07:14 UTC
Since the upgrade to firefox 3, I had to rebuild vlc which had previously been built with no problems. I added the xulrunner use flag and the build failed at the cdda module build. Removing the cdda useflag allowed the program to build. Since the previous build, libcdio was updated from 0.79-r1 to 0.80. My guess is that libcdio-0.80 causes this problem.

Reproducible: Always

Steps to Reproduce:
1. emerge vlc with cdda
2. fail on module cdda


Actual Results:  
End of failed build:
,/var/tmp/portage/media-video/vlc-0.9.0_alpha20080524/work/vlc-0.9.0-git/src/.libs /usr/lib/libcddb.so /usr/lib/libcdio.so -lm ../../../src/.libs/libvlccore.so -L/usr/lib/gcc/i686-pc-linux-gnu/4.2.4/../../.. -L/usr/lib /usr/lib/libhal.so /usr/lib/libdbus-1.so -lrt -lpthread -ldl  -march=athlon-xp -msse2 -Wl,-z -Wl,defs   -Wl,-soname -Wl,libcddax_plugin.so -o .libs/libcddax_plugin.so
.libs/libcddax_plugin_la-access.o: In function `CDDAClose':
access.c:(.text+0x2ac): undefined reference to `cdio_paranoia_free'
access.c:(.text+0x2c2): undefined reference to `cdio_cddap_close_no_free_cdio'
.libs/libcddax_plugin_la-access.o: In function `CDDASeek':
access.c:(.text+0x5bc): undefined reference to `cdio_paranoia_seek'
.libs/libcddax_plugin_la-access.o: In function `CDDAOpen':
access.c:(.text+0x19c8): undefined reference to `cdio_cddap_identify_cdio'
access.c:(.text+0x19e6): undefined reference to `cdio_cddap_verbose_set'
access.c:(.text+0x19f4): undefined reference to `cdio_cddap_open'
access.c:(.text+0x1a9c): undefined reference to `cdio_paranoia_init'
access.c:(.text+0x1ac2): undefined reference to `cdio_paranoia_seek'
access.c:(.text+0x1aeb): undefined reference to `cdio_paranoia_modeset'
.libs/libcddax_plugin_la-access.o: In function `CDDAReadBlocks':
access.c:(.text+0x1f1f): undefined reference to `cdio_paranoia_read'
access.c:(.text+0x1f31): undefined reference to `cdio_cddap_errors'
access.c:(.text+0x1f41): undefined reference to `cdio_cddap_messages'
collect2: ld returned 1 exit status
make[6]: *** [libcddax_plugin.la] Error 1
make[6]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.0_alpha20080524/work/vlc-0.9.0-git/modules/access/cdda'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.0_alpha20080524/work/vlc-0.9.0-git/modules/access/cdda'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.0_alpha20080524/work/vlc-0.9.0-git/modules/access'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.0_alpha20080524/work/vlc-0.9.0-git/modules/access'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-video/vlc-0.9.0_alpha20080524/work/vlc-0.9.0-git/modules'
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



[I] media-video/vlc
     Available versions:  0.8.6g (~)0.8.6h (~)0.9.0_alpha20080524 {3dfx X a52 aac aalib alsa altivec arts atmo avahi bidi cdda cddb cdio corba daap dbus dc1394 debug directfb dts dvb dvd esd fbcon ffmpeg flac fluidsynth ggi gnome gnutls hal httpd id3tag jack libcaca libnotify lirc live lua matroska mmx modplug mp3 mpeg musepack musicbrainz ncurses nsplugin ogg opengl optimisememory oss png pulseaudio pvr qt4 rtsp samba sdl sdl-image seamonkey shout skins speex sse stream svg svga taglib theora truetype twolame upnp v4l v4l2 vcd vcdx vlm vorbis win32codecs wxwindows x264 xinerama xml xosd xulrunner xv}
     Installed versions:  0.9.0_alpha20080524(03:37:28 PM 06/19/2008)(X a52 aac aalib alsa avahi bidi cddb cdio dbus directfb dts dvb dvd fbcon ffmpeg flac ggi gnome gnutls hal httpd libnotify lirc live matroska mmx modplug mp3 mpeg musepack ncurses nsplugin ogg opengl oss png qt4 rtsp samba sdl shout skins speex sse stream svg theora truetype upnp v4l v4l2 vcd vlm vorbis win32codecs wxwindows x264 xinerama xml xosd xulrunner xv -3dfx -altivec -arts -atmo -cdda -dc1394 -debug -esd -fluidsynth -id3tag -jack -libcaca -lua -musicbrainz -optimisememory -pulseaudio -pvr -sdl-image -seamonkey -svga -taglib -twolame -vcdx)

Portage 2.1.5.6 (default-linux/x86/2006.1, gcc-4.2.4, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r3 i686)
=================================================================
System uname: 2.6.25-gentoo-r3 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Timestamp of tree: Thu, 19 Jun 2008 09:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r4
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
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-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -msse2 -pipe -fomit-frame-pointer"
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/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/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/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -msse2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/ http://gentoo.modulix.net/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo "
LANG="en_US.UTF8"
LC_ALL="en_US.UTF8"
LDFLAGS=""
MAKEOPTS="-j3"
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/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amr avahi avi bash-completion berkdb branding cairo cdr cli cracklib crypt cups dbus divx4linux dri dts dvb dvd dvdr dvdread emerald encode exif fbcon ffmpeg firefox flac fortran freebox gdbm gif gimp glibc-omitfp glitz gmail gnome gphoto2 gpm gstreamer gtk gtk2 hal hddtemp i2c iconv imagemagick imap imlib ipod ipv6 isdnlog ithreads joystick jpeg keyring libnotify libsamplerate libsexy lirc lm_sensors mad matroska mdnsresponder-compat midi mime mmx mmx2 modplug mono mp3 mp4 mpeg mudflap musepack nautilus ncurses nls nptl nptlonly nsplugin nvidia offensive oggvorbis opengl openmp pcre pdf perl png pop ppds pppd python qt qt3 qt3support qt4 quicktime rar readline real reflection samba sdl session smp speex spl sse sse2 ssl svg tagwriting tcpd tetex theora threads truetype unicode usb v4l v4l2 vcd vdr vorbis widescreen win32codecs x264 x86 xcomposite xine xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="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 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" DVB_CARDS="tda10045 tda10046" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alexis Ballier gentoo-dev 2008-06-19 22:02:48 UTC
Diego, it seems libcdio 0.80 doesn't install libcdio_paranoia.pc due to a typo in Makefile.am.
Here is the patch:

Index: libcdio-0.80/Makefile.am
===================================================================
--- libcdio-0.80.orig/Makefile.am
+++ libcdio-0.80/Makefile.am
@@ -48,8 +48,7 @@ pkgconfig_DATA = libcdio.pc  \
 	         libcdio++.pc  \
 	         libiso9660.pc \
 	         libiso9660++.pc \
-	         libudf.pc
-		 $(paranoiapcs)
+	         libudf.pc $(paranoiapcs)
 
 
 $(pkgconfig_DATA): config.status


Ok to appy with a revbump ?
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-06-19 23:27:24 UTC

*** This bug has been marked as a duplicate of bug 228185 ***