Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153931 - media-video/vlc-0.8.5-r5 does not compile against dev-libs/libcdio-0.78.2
Summary: media-video/vlc-0.8.5-r5 does not compile against dev-libs/libcdio-0.78.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2006-11-03 06:35 UTC by Bernard Cafarelli
Modified: 2006-11-03 19:38 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 Bernard Cafarelli gentoo-dev 2006-11-03 06:35:13 UTC
A header from VLC uses the same name for the structure paranoia_mode_t as one from /usr/include/cdio/paranoia.h (libcdio 0.78.2)

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

This does not appear with libcdio 0.77 (the structure had another name)

emerge info:

Portage 2.1.2_rc1-r3 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18-ck1-r1 x86_64)
=================================================================
System uname: 2.6.18-ck1-r1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5000+
Gentoo Base System version 1.12.6
Last Sync: Fri, 03 Nov 2006 08:20: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:  0.4.2-r1
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.18
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /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/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks fixpackages metadata-transfer parallel-fetch prelink sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://pandemonium.tiscali.de/pub/gentoo/"
LANG="fr_FR@euro"
LC_ALL="fr_FR"
LDFLAGS="-Wl,-O1"
LINGUAS="fr fr_FR"
MAKEOPTS="-j3"
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/portage"
SYNC="rsync://rsync.cafarelli.fr/gentoo-portage"
USE="amd64 X a52 aac aalib aim alsa audiofile bash-completion beagle berkdb bitmap-fonts bonobo bzip2 cairo cddb cdr cli cracklib crypt cscope cups curl dbus dga dio dlloader dri dts dvb dvd dvdr dvdread elibc_glibc emboss encode exif expat ffmpeg fftw flac foomaticdb fortran ftp gcj gd gdbm gif gimp glut gmp gnome gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal iconv idn imagemagick imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber java jikes joystick jpeg kernel_linux lcms libcaca libg++ linguas_fr linguas_fr_FR lirc lirc_devices_mceusb2 live mad matroska mbox mikmod mime mng modplug mono mp3 mpeg msn musicbrainz nas ncurses nls nptl nptlonly nsplugin nvidia objc offensive ogg openal opengl oscar oss pam pcmcia pcre pda pdf perl php pic png posix ppds pppd python qt3 qt4 quicktime readline real recode reflection ruby samba scanner sdl seamonkey session slang smp speex spell spl sqlite ssl startup-notification subtitles svg tcl tcltk tcpd tetex theora threads tiff timidity tk truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 vcd video_cards_none video_cards_nvidia vorbis wifi wma wmf wxwindows x264 xcomposite xface xine xinerama xml xml2 xorg xosd xpm xscreensaver xv xvid xvmc yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Patrick McLean gentoo-dev 2006-11-03 19:38:33 UTC
Added a patch to the patchset in CVS.