Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31850 - vlc-0.6.2: build broken against libdvb-0.5.0 AND mozilla-1.5-r1
Summary: vlc-0.6.2: build broken against libdvb-0.5.0 AND mozilla-1.5-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 37408 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-10-23 14:22 UTC by crusaderky
Modified: 2004-01-07 12:59 UTC (History)
5 users (show)

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


Attachments
My proposed fix (vlc-0.6.2.ebuild.diff,136 bytes, patch)
2003-11-20 19:20 UTC, Jeff Shirley
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description crusaderky 2003-10-23 14:22:54 UTC
VLC 0.6.2 build fails with the following error:

make[6]: Entering directory `/var/tmp/portage/vlc-0.6.2/work/vlc-0.6.2/modules/access/satellite'
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin satellite` -Wsign-compare -Wall  -finline-limit-30000 -pipe -MT libsatellite_plugin_a-satellite.o -MD -MP -MF ".deps/libsatellite_plugin_a-satellite.Tpo" \
  -c -o libsatellite_plugin_a-satellite.o `test -f 'satellite.c' || echo './'`satellite.c; \
then mv -f ".deps/libsatellite_plugin_a-satellite.Tpo" ".deps/libsatellite_plugin_a-satellite.Po"; \
else rm -f ".deps/libsatellite_plugin_a-satellite.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin satellite` -Wsign-compare -Wall  -finline-limit-30000 -pipe -MT libsatellite_plugin_a-access.o -MD -MP -MF ".deps/libsatellite_plugin_a-access.Tpo" \
  -c -o libsatellite_plugin_a-access.o `test -f 'access.c' || echo './'`access.c; \
then mv -f ".deps/libsatellite_plugin_a-access.Tpo" ".deps/libsatellite_plugin_a-access.Po"; \
else rm -f ".deps/libsatellite_plugin_a-access.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..   -DSYS_LINUX -I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin satellite` -Wsign-compare -Wall  -finline-limit-30000 -pipe -MT libsatellite_plugin_a-dvb.o -MD -MP -MF ".deps/libsatellite_plugin_a-dvb.Tpo" \
  -c -o libsatellite_plugin_a-dvb.o `test -f 'dvb.c' || echo './'`dvb.c; \
then mv -f ".deps/libsatellite_plugin_a-dvb.Tpo" ".deps/libsatellite_plugin_a-dvb.Po"; \
else rm -f ".deps/libsatellite_plugin_a-dvb.Tpo"; exit 1; \
fi
dvb.c:41:21: ost/sec.h: No such file or directory
dvb.c:42:21: ost/dmx.h: No such file or directory
dvb.c:43:26: ost/frontend.h: No such file or directory
dvb.c: In function `ioctl_SECControl':
dvb.c:55: storage size of `scmd' isn't known
dvb.c:56: storage size of `scmds' isn't known
dvb.c:66: `SEC_TONE_OFF' undeclared (first use in this function)
dvb.c:66: (Each undeclared identifier is reported only once
dvb.c:66: for each function it appears in.)
dvb.c:66: `SEC_TONE_ON' undeclared (first use in this function)
dvb.c:70: `SEC_VOLTAGE_18' undeclared (first use in this function)
dvb.c:70: `SEC_VOLTAGE_13' undeclared (first use in this function)
dvb.c:81: `SEC_MINI_NONE' undeclared (first use in this function)
dvb.c:87: `SEC_SEND_SEQUENCE' undeclared (first use in this function)
dvb.c:55: warning: unused variable `scmd'
dvb.c:56: warning: unused variable `scmds'
dvb.c: In function `ioctl_SetQPSKFrontend':
dvb.c:106: `FrontendParameters' undeclared (first use in this function)
dvb.c:106: parse error before "fep"
dvb.c:118: `fep' undeclared (first use in this function)
dvb.c:122: `FEC_AUTO' undeclared (first use in this function)
dvb.c:125: `FE_SET_FRONTEND' undeclared (first use in this function)
dvb.c: In function `check_qpsk':
dvb.c:147: `FrontendEvent' undeclared (first use in this function)
dvb.c:147: parse error before "event"
dvb.c:156: `FE_GET_EVENT' undeclared (first use in this function)
dvb.c:156: `event' undeclared (first use in this function)
dvb.c:156: `EBUFFEROVERFLOW' undeclared (first use in this function)
dvb.c:163: `FE_UNEXPECTED_EV' undeclared (first use in this function)
dvb.c:165: `FE_FAILURE_EV' undeclared (first use in this function)
dvb.c:167: `FE_COMPLETION_EV' undeclared (first use in this function)
dvb.c: In function `ioctl_SetDMXFilter':
dvb.c:192: storage size of `s_filter_params' isn't known
dvb.c:202: `DMX_IN_FRONTEND' undeclared (first use in this function)
dvb.c:203: `DMX_OUT_TS_TAP' undeclared (first use in this function)
dvb.c:207: `DMX_PES_VIDEO' undeclared (first use in this function)
dvb.c:210: `DMX_PES_AUDIO' undeclared (first use in this function)
dvb.c:213: `DMX_PES_OTHER' undeclared (first use in this function)
dvb.c:216: `DMX_IMMEDIATE_START' undeclared (first use in this function)
dvb.c:219: `DMX_SET_PES_FILTER' undeclared (first use in this function)
dvb.c:192: warning: unused variable `s_filter_params'
dvb.c: In function `ioctl_UnsetDMXFilter':
dvb.c:232: `DMX_STOP' undeclared (first use in this function)
make[6]: *** [libsatellite_plugin_a-dvb.o] Error 1
make[6]: Leaving directory `/var/tmp/portage/vlc-0.6.2/work/vlc-0.6.2/modules/access/satellite'
make[5]: *** [all-satellite] Error 1
make[5]: Leaving directory `/var/tmp/portage/vlc-0.6.2/work/vlc-0.6.2/modules/access/satellite'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/vlc-0.6.2/work/vlc-0.6.2/modules/access'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/vlc-0.6.2/work/vlc-0.6.2/modules/access'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/vlc-0.6.2/work/vlc-0.6.2/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/vlc-0.6.2/work/vlc-0.6.2'
make: *** [all] Error 2

!!! ERROR: media-video/vlc-0.6.2 failed.
!!! Function src_compile, Line 211, Exitcode 2
!!! make failed

I'm using ilbdvb-0.5.0 and libdvbpsi-0.1.3.

$ emerge info
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22)
=================================================================
System uname: 2.4.22 i686 AMD Athlon(TM) XP 2000+
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -march=athlon-xp -fforce-addr -fomit-frame-pointer -falign-functions=4 -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -pipe -march=athlon-xp -fforce-addr -fomit-frame-pointer -falign-functions=4 -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt encode foomaticdb jpeg libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xmms xv zlib gdbm berkdb slang readline arts tetex bonobo svga java X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl gphoto2 3dnow aalib apache2 cdr cscope cups curl directfb dga doc dvb faad fbcon flash gd ggi gif gtk2 guile jikes kerberos imap lcms ldap mcal memlimit mmx mozaccess mozcalendar mozilla mozp3p mozsvg mozxmlterm mpi mysql offensive parse-clocks ppds prelude samba scanner skey slp snmp sse tcltk tiff v4l vim-with-x wmf wxwindows X509 xchattext xml xml2 xvid"

I've alrea
Comment 1 Martin Gramatke 2003-11-14 12:23:55 UTC
I ran into the same problem. There seems to be a problem with the include pathes, therefore some header files are not found:
dvb.c:41:21: ost/sec.h: No such file or directory
dvb.c:42:21: ost/dmx.h: No such file or directory
dvb.c:43:26: ost/frontend.h: No such file or directory
Comment 2 crusaderky 2003-11-20 03:33:02 UTC
If I try to merge vlc-0.6.2 without libdvb, I run into another error:

USE="-dvb" emerge vlc
make[3]: Entering directory `/var/tmp/portage/vlc-0.6.2/work/vlc-0.6.2/mozilla'
if g++ -DHAVE_CONFIG_H -I. -I. -I..   -DSYS_LINUX -I../include `top_builddir=".." ../vlc-config --cxxflags mozilla pic`  -Imozilla -Wsign-compare -Wsign-compare -Wall  -finline-limit-30000 -pipe -MT libplugin_a-vlcshell.o -MD -MP -MF ".deps/libplugin_a-vlcshell.Tpo" \
  -c -o libplugin_a-vlcshell.o `test -f 'vlcshell.cpp' || echo './'`vlcshell.cpp; \
then mv -f ".deps/libplugin_a-vlcshell.Tpo" ".deps/libplugin_a-vlcshell.Po"; \
else rm -f ".deps/libplugin_a-vlcshell.Tpo"; exit 1; \
fi
vlcshell.cpp:209: syntax error before `)' token
vlcshell.cpp: In function `NPError NPP_SetWindow(NPP_t*, NPWindow*)':
vlcshell.cpp:456: `struct NPSetWindowCallbackStruct' has no member named `
   display'
make[3]: *** [libplugin_a-vlcshell.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/vlc-0.6.2/work/vlc-0.6.2/mozilla'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/vlc-0.6.2/work/vlc-0.6.2/mozilla'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/vlc-0.6.2/work/vlc-0.6.2'
make: *** [all] Error 2

!!! ERROR: media-video/vlc-0.6.2 failed.
!!! Function src_compile, Line 211, Exitcode 2
!!! make failed

I have mozilla-1.5-r1 installed.

# emerge info
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22)
=================================================================
System uname: 2.4.22 i686 AMD Athlon(TM) XP 2000+
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -march=athlon-xp -fforce-addr -fomit-frame-pointer -falign-functions=4 -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -pipe -march=athlon-xp -fforce-addr -fomit-frame-pointer -falign-functions=4 -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt encode foomaticdb jpeg libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xmms xv zlib gdbm berkdb slang readline arts tetex bonobo svga X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl gphoto2 3dnow aalib alsa apache2 cdr cscope cups curl directfb dga doc dvb dvd faad fbcon flash gd ggi gif gtk2 guile ipv6 java jikes kerberos imap lcms ldap mcal memlimit mmx mozilla moznoirc mozp3p mozsvg mpi mysql nptl odbc offensive parse-clocks pic ppds prelude samba scanner skey slp snmp socks5 sse tcltk tiff v4l vim-with-x wmf wxwindows X509 xchattext xml xml2 xvid"

Comment 3 Jeff Shirley 2003-11-20 19:13:52 UTC
I fixed this problem by changing the configure option --enable-satellite to --enable-dvb.
I believe this flag has changed in the DVB files because the ost/*.h files are outdated based on what I've read. I'm using the same versions of vlc, libdvb, and mozilla as this bug specifies and this seems to fix it for me.
Comment 4 Jeff Shirley 2003-11-20 19:20:42 UTC
Created attachment 21014 [details, diff]
My proposed fix
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2004-01-07 12:41:59 UTC
*** Bug 37408 has been marked as a duplicate of this bug. ***
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2004-01-07 12:50:01 UTC
fixed with vlc-0.6.2-r1
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2004-01-07 12:59:48 UTC
if still fails, reemerge linuxtv-dvb