Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153352 - Can't build xine-lib or vlc against dev-libs/libcdio-0.78.1
Summary: Can't build xine-lib or vlc against dev-libs/libcdio-0.78.1
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 153519 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-10-29 14:04 UTC by Pekka-Matti Nieminen
Modified: 2006-11-03 03:42 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 Pekka-Matti Nieminen 2006-10-29 14:04:22 UTC
Portage 2.1.2_rc1-r1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo i686)
=================================================================
System uname: 2.6.18-gentoo i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.5
Last Sync: Sun, 29 Oct 2006 09:00:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow -msse -mfpmath=sse,387"
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/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow -msse -mfpmath=sse,387"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ rsync://trumpetti.atm.tut.fi/gentoo/ "
LANG="fi_FI.UTF-8"
LC_ALL="fi_FI.UTF-8"
LINGUAS="fi en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/gentoo-de /usr/portage/local/layman/portage-xgl"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X a52 aac aalib acpi alsa apm avi bitmap-fonts bzip2 cdda cdparanoia cdr cli cracklib crypt cups curl dbus dga divx4linux dlloader dri dts dvb dvd dvdr elibc_glibc encode fam fbcon ffmpeg firefox flash foomaticdb fortran freetype gd ggi gif gphoto2 gpm gtk2 hal iconv icq imagemagick imap imlib input_devices_keyboard input_devices_mouse isdnlog java jpeg kde kdeenablefinal kernel_linux lesstif libwww linguas_en linguas_fi lirc lirc_devices_devinput live mikmod mmx mmxext motif mozbranding mozilla mozsvg mp3 mpeg msn mysql mythtv ncurses network nls no_wxgtk1 nocardbus nocd nptl nptlonly nsplugin ogg oggvorbis opengl oscar pam pcre pdflib perl png povray ppds pppd prelude python qt qt3 qt4 readline reflection samba sasl scanner sdl session spell spl sse ssl subtitles svg svga tcltk tga tiff transcode truetype truetype-fonts type1-fonts udev unicode usb userland_GNU utf8 v4l v4l2 vcd video_cards_fglrx video_cards_radeon vorbis win32codecs xine xinerama xml xml2 xorg xv xvid zlib ~x86"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

I'm trying to build xine-lib-1.1.2-r2 and vlc-0.8.5-r5

USE=vcd and building xine-lib against libcdio-0.73 successes but against libcdio-0.78.1 fails. 
USE=-vcd and xine-lib emerges with libcdio-0.78.1 perfectly.

USE=vcd with libcdio-0.78.1 fails:
[snip]
/bin/sh ../../../libtool-nofpic --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../../include -I../../../include -I../../../src -I../../../src/xine-engine -I../../../src/xine-engine -I../../../src/xine-utils  -I../../../src/input -I../../../src/input  -I../../../lib -I../../../lib     -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE  -march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow -msse -mfpmath=sse,387 -frename-registers -ffunction-sections -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Wstrict-aliasing=2 -c -o vcdio.lo vcdio.c
xineplug_inp_vcd.c:196:5: error: floating constant in preprocessor expression
xineplug_inp_vcd.c: In function 'vcd_init':
xineplug_inp_vcd.c:1818: warning: dereferencing type-punned pointer might break strict-aliasing rules
xineplug_inp_vcd.c:1840: warning: dereferencing type-punned pointer might break strict-aliasing rules
make[5]: *** [xineplug_inp_vcd.lo] Virhe 1
make[5]: *** Odotetaan keskener
Comment 1 Pekka-Matti Nieminen 2006-10-29 14:04:22 UTC
Portage 2.1.2_rc1-r1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo i686)
=================================================================
System uname: 2.6.18-gentoo i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.5
Last Sync: Sun, 29 Oct 2006 09:00:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow -msse -mfpmath=sse,387"
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/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow -msse -mfpmath=sse,387"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ rsync://trumpetti.atm.tut.fi/gentoo/ "
LANG="fi_FI.UTF-8"
LC_ALL="fi_FI.UTF-8"
LINGUAS="fi en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/gentoo-de /usr/portage/local/layman/portage-xgl"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X a52 aac aalib acpi alsa apm avi bitmap-fonts bzip2 cdda cdparanoia cdr cli cracklib crypt cups curl dbus dga divx4linux dlloader dri dts dvb dvd dvdr elibc_glibc encode fam fbcon ffmpeg firefox flash foomaticdb fortran freetype gd ggi gif gphoto2 gpm gtk2 hal iconv icq imagemagick imap imlib input_devices_keyboard input_devices_mouse isdnlog java jpeg kde kdeenablefinal kernel_linux lesstif libwww linguas_en linguas_fi lirc lirc_devices_devinput live mikmod mmx mmxext motif mozbranding mozilla mozsvg mp3 mpeg msn mysql mythtv ncurses network nls no_wxgtk1 nocardbus nocd nptl nptlonly nsplugin ogg oggvorbis opengl oscar pam pcre pdflib perl png povray ppds pppd prelude python qt qt3 qt4 readline reflection samba sasl scanner sdl session spell spl sse ssl subtitles svg svga tcltk tga tiff transcode truetype truetype-fonts type1-fonts udev unicode usb userland_GNU utf8 v4l v4l2 vcd video_cards_fglrx video_cards_radeon vorbis win32codecs xine xinerama xml xml2 xorg xv xvid zlib ~x86"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

I'm trying to build xine-lib-1.1.2-r2 and vlc-0.8.5-r5

USE=vcd and building xine-lib against libcdio-0.73 successes but against libcdio-0.78.1 fails. 
USE=-vcd and xine-lib emerges with libcdio-0.78.1 perfectly.

USE=vcd with libcdio-0.78.1 fails:
[snip]
/bin/sh ../../../libtool-nofpic --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../../include -I../../../include -I../../../src -I../../../src/xine-engine -I../../../src/xine-engine -I../../../src/xine-utils  -I../../../src/input -I../../../src/input  -I../../../lib -I../../../lib     -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE  -march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow -msse -mfpmath=sse,387 -frename-registers -ffunction-sections -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Wstrict-aliasing=2 -c -o vcdio.lo vcdio.c
xineplug_inp_vcd.c:196:5: error: floating constant in preprocessor expression
xineplug_inp_vcd.c: In function 'vcd_init':
xineplug_inp_vcd.c:1818: warning: dereferencing type-punned pointer might break strict-aliasing rules
xineplug_inp_vcd.c:1840: warning: dereferencing type-punned pointer might break strict-aliasing rules
make[5]: *** [xineplug_inp_vcd.lo] Virhe 1
make[5]: *** Odotetaan keskeneräisiä töitä....
[/snip]

For emerging vlc I didn't try different useflags. With libcdio-0.73 installed emerge vlc works but with libcdio-0.78.1 it doesn't:
[snip]
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../..   -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin cddax` -Wsign-compare -Wall -march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow -msse -mfpmath=sse,387 -pipe -MT libcddax_plugin_a-callback.o -MD -MP -MF .deps/libcddax_plugin_a-callback.Tpo -c -o libcddax_plugin_a-callback.o `test -f 'callback.c' || echo './'`callback.c
In file included from access.c:30:
cdda.h:27:5: error: floating constant in preprocessor expression
cdda.h:67:5: error: floating constant in preprocessor expression
cdda.h:108:5: error: floating constant in preprocessor expression
access.c:177:5: error: floating constant in preprocessor expression
access.c:293:5: error: floating constant in preprocessor expression
access.c:415:5: error: floating constant in preprocessor expression
access.c:427:5: error: floating constant in preprocessor expression
access.c:456:5: error: floating constant in preprocessor expression
access.c:461:5: error: floating constant in preprocessor expression
access.c:529:5: error: floating constant in preprocessor expression
access.c:652:5: error: floating constant in preprocessor expression
access.c:735:5: error: floating constant in preprocessor expression
access.c:825:5: error: floating constant in preprocessor expression
access.c:847:5: error: floating constant in preprocessor expression
make[6]: *** [libcddax_plugin_a-access.o] Virhe 1
make[6]: *** Odotetaan keskeneräisiä töitä....
In file included from callback.c:25:
cdda.h:27:5: error: floating constant in preprocessor expression
cdda.h:67:5: error: floating constant in preprocessor expression
cdda.h:108:5: error: floating constant in preprocessor expression
make[6]: *** [libcddax_plugin_a-callback.o] Virhe 1
make[6]: Poistutaan hakemistosta "/var/tmp/portage/media-video/vlc-0.8.5-r5/work/vlc-0.8.5/modules/access/cdda"
make[5]: *** [all-modules] Virhe 1
[/snip]

So it seems that libcdio-0.78.1 doesn't play right here. In xine-lib's 
file xineplug_inp_vcd.c around line 195 there is this comparision:
[snip]
    cdio_free_device_list(cd_drives);
#if LIBCDIO_VERSION_NUM <= 72
    free(cd_drives);
#endif
  }
[/snip]
Comment 2 Pekka-Matti Nieminen 2006-10-29 14:13:25 UTC
Sorry I forgot to say that I couldn't test with libcdio-0.77 because emerging it fails with some nasty automake failure. But that's another story to tell...
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-30 04:17:21 UTC
libcdio masked, will be fixed by upstream.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-10-31 00:09:00 UTC
*** Bug 153519 has been marked as a duplicate of this bug. ***
Comment 5 Bernard Cafarelli gentoo-dev 2006-11-03 02:57:09 UTC
Looks like the mask for libcdio was lost, emerge world wanted to update it to 0.78... And after that vlc won't compile (I recently added the hal USE flag to my system).
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-11-03 03:02:37 UTC
0.78.2 is unmasked and should work just fine.
Comment 7 Bernard Cafarelli gentoo-dev 2006-11-03 03:33:26 UTC
Oups I had not spotted the minor number change... Looking more precisely, this is not the same error (vlc-0.8.5-r5):
make[1]: Entering directory `/var/tmp/portage/media-video/vlc-0.8.5-r5/work/vlc-0.8.5/modules/access/cdda'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../..   -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin cddax` -Wsign-compare -Wall -march=athlon64 -O2 -pipe -msse3 -pipe -MT libcddax_plugin_a-access.o -MD -MP -MF .deps/libcddax_plugin_a-access.Tpo -c -o libcddax_plugin_a-access.o `test -f 'access.c' || echo './'`access.c
In file included from access.c:30:
cdda.h:78: error: conflicting types for 'paranoia_mode_t'
/usr/include/cdio/paranoia.h:60: error: previous declaration of 'paranoia_mode_t' was here
access.c: In function 'CDDAReadBlocks':
access.c:225: warning: format '%lld' expects type 'long long int', but argument 8 has type 'int64_t'
access.c:225: warning: format '%lld' expects type 'long long int', but argument 9 has type 'int64_t'
access.c: In function 'CDDARead':
access.c:358: warning: format '%lld' expects type 'long long int', but argument 8 has type 'int64_t'
access.c:358: warning: format '%lld' expects type 'long long int', but argument 9 has type 'int64_t'
access.c: In function 'CDDASeek':
access.c:450: warning: format '%lld' expects type 'long long int', but argument 8 has type 'int64_t'
make[1]: *** [libcddax_plugin_a-access.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/vlc-0.8.5-r5/work/vlc-0.8.5/modules/access/cdda'
make: *** [all-modules] Error 1

[ebuild   R   ] media-video/vlc-0.8.5-r5  USE="X a52 aalib alsa cdda cddb dts dvb dvd flac gnutls hal* httpd libcaca lirc live matroska mod mp3 mpeg ncurses nsplugin ogg opengl oss png rtsp samba sdl seamonkey skins speex stream svg theora truetype v4l vcd vlm vorbis wxwindows xinerama xml xosd xv (-3dfx) (-altivec) -arts -avahi -bidi -corba -daap -debug -directfb -esd -fbcon -ggi -optimisememory -shout (-svga) -upnp (-win32codecs)" 0 kB 


I'll take a closer look and make a new bugreport for it
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-11-03 03:42:58 UTC
So open a new bug as this is a completely different issue?