Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 276925 - media-video/vlc-1.0.0: compile fails with implicit declaration of "dvbpsi_SDTServiceAddDescriptor"
Summary: media-video/vlc-1.0.0: compile fails with implicit declaration of "dvbpsi_SDT...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-07 13:55 UTC by Vaclav Adamik
Modified: 2009-07-08 08:42 UTC (History)
2 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 Vaclav Adamik 2009-07-07 13:55:55 UTC
I tried to install the brand new VLC player version 1.0.0, but compiling failed with the following messages:

In file included from ../../../include/vlc_common.h:496,
                 from ts.c:37:
../../../include/vlc_mtime.h:80: Warnung: Attribut-Anweisung »error« ignoriert
../../../include/vlc_mtime.h:90: Warnung: Attribut-Anweisung »warning« ignoriert
../../../include/vlc_mtime.h:108: Warnung: Attribut-Anweisung »error« ignoriert
ts.c: In Funktion »FixPES«:
ts.c:1767: Warnung: unbenutzter Parameter »p_mux«
ts.c: In Funktion »TSNew«:
ts.c:2004: Warnung: unbenutzter Parameter »p_mux«
ts.c: In Funktion »PEStoTS«:
ts.c:2222: Warnung: unbenutzter Parameter »p_sout«
ts.c: In Funktion »WritePSISection«:
ts.c:2314: Warnung: unbenutzter Parameter »p_sout«
ts.c: In Funktion »GetPMT«:
ts.c:2460: Fehler: Implizite Deklaration der Funktion »dvbpsi_SDTServiceAddDescriptor«
make[6]: *** [libmux_ts_plugin_la-ts.lo] Fehler 1
make[6]: Leaving directory `/var/tmp/portage/media-video/vlc-1.0.0/work/vlc-1.0.0/modules/mux/mpeg'
make[5]: *** [all] Fehler 2
make[5]: Leaving directory `/var/tmp/portage/media-video/vlc-1.0.0/work/vlc-1.0.0/modules/mux/mpeg'
make[4]: *** [all-recursive] Fehler 1
make[4]: Leaving directory `/var/tmp/portage/media-video/vlc-1.0.0/work/vlc-1.0.0/modules/mux'
make[3]: *** [all] Fehler 2
make[3]: Leaving directory `/var/tmp/portage/media-video/vlc-1.0.0/work/vlc-1.0.0/modules/mux'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/media-video/vlc-1.0.0/work/vlc-1.0.0/modules'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/media-video/vlc-1.0.0/work/vlc-1.0.0'
make: *** [all] Fehler 2
 * 
 * ERROR: media-video/vlc-1.0.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3937:  Called die
 * The specific snippet of code:
 *       emake || die "make of VLC failed"
 *  The die message:
 *   make of VLC failed
 * 

Obviously there is a function missing which is usually provided by the dvbpsi library. Updating to media-libs/libdvbpsi-0.1.6 solved the problem.
I therefore recommend to add libdvbpsi-0.1.6 to the dependencies for at least the amd64 platform. As libdvbpsi-0.1.6 is marked unstable yet (~amd64), it might also be marked stable now.

I have no experience if the problem also occurs on x86. Maybe someone can confirm this.

Reproducible: Always

Steps to Reproduce:
1. Install libdvbpsi-0.1.5
2. Install vlc-1.0.0
3. See the error happen :(

Actual Results:  
vlc did not compile :(

Expected Results:  
vlc should compile :)

Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r1-x86_64-Intel-R-_Core-TM-2_CPU_6700_@_2.66GHz-with-glibc2.2.5
Timestamp of tree: Tue, 07 Jul 2009 11:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-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"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ "
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo cdr cli cracklib crypt cups curl dbus divx dri dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox fortran gdbm gif glitz gnome gnutls gpgme gpm gstreamer gtk hal iconv imap ipv6 isdnlog java jpeg kde kpathsea kqemu lame ldap libnotify lirc logrotate loop-aes mad mbox midi mikmod mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin nvidia offensive ogg opengl openmp pam pcre pdf perl png pop ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sasl sdl session slang smime smtp spell spl sse sse2 ssl ssse3 startup-notification subversion svg sysfs tcpd tiff tk truetype unicode usb v4l v4l2 vim-syntax vorbis wmf xcomposite xml xorg xscreensaver xulrunner xv xvid 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 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" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="asusdh" USERLAND="GNU" VIDEO_CARDS="nv fbdev vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rafał Mużyło 2009-07-07 14:23:51 UTC
Yes, it's libdvbpsi version related.
Comment 2 Alexis Ballier gentoo-dev 2009-07-08 08:42:42 UTC
dep adjusted, thanks

in the future please post compiler errors with LC_ALL=C, my german isn't good enough to understand what it means :)