Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 393199 - media-plugins/vdr-dvd-0.3.7_pre20090106 - /usr/include/dvdnav/dvdnav.h:284:47: error: expected ‘,’ or ‘...’ before ‘this’
Summary: media-plugins/vdr-dvd-0.3.7_pre20090106 - /usr/include/dvdnav/dvdnav.h:284:47...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo VDR Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-05 00:06 UTC by Rene Hertell
Modified: 2012-01-08 12:35 UTC (History)
1 user (show)

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


Attachments
Build.log (build.log,3.58 KB, text/plain)
2011-12-05 00:10 UTC, Rene Hertell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rene Hertell 2011-12-05 00:06:39 UTC
After a recent upgrade of Gentoo, the vdr-dvd plugin fails to compile. 

Reproducible: Always

Steps to Reproduce:
1. emerge media-plugins/vdr-dvd

Actual Results:  
^[[32;01m * ^[[39;49;00mPackage:    media-plugins/vdr-dvd-0.3.7_pre20090106
^[[32;01m * ^[[39;49;00mRepository: gentoo
^[[32;01m * ^[[39;49;00mMaintainer: vdr@gentoo.org media-tv@gentoo.org
^[[32;01m * ^[[39;49;00mUSE:        elibc_glibc kernel_linux userland_GNU x86
^[[32;01m * ^[[39;49;00mFEATURES:   sandbox
 ^[[32;01m*^[[0m Compiling against
 ^[[32;01m*^[[0m        vdr-1.6.0-2 [API version 1.6.0]
>>> Unpacking source...
>>> Unpacking vdr-dvd-cvs-20090106.tar.bz2 to /var/tmp/portage/media-plugins/vdr-dvd-0.3.7_pre20090106/work
>>> Source unpacked in /var/tmp/portage/media-plugins/vdr-dvd-0.3.7_pre20090106/work
>>> Preparing source in /var/tmp/portage/media-plugins/vdr-dvd-0.3.7_pre20090106/work/dvd-cvs-20090106 ...
 ^[[32;01m*^[[0m Applying vdr-dvd-0.3.7_pre20090106-compile_warnings.diff ...
^[[A^[[170C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
 ^[[32;01m*^[[0m Patching Makefile
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-plugins/vdr-dvd-0.3.7_pre20090106/work/dvd-cvs-20090106 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-plugins/vdr-dvd-0.3.7_pre20090106/work/dvd-cvs-20090106 ...
make -j1 all LOCALEDIR=/var/tmp/portage/media-plugins/vdr-dvd-0.3.7_pre20090106/work/tmp-locale LIBDIR=/var/tmp/portage/media-plugins/vdr-dvd-0.3.7_pre20090106/work/dvd-cvs-20090106 TMPDIR=/var/tmp/portage/media-plugins/vdr-dvd-0.3.7_pre20090106/temp
c++ -march=c3-2 -O2 -pipe -fomit-frame-pointer -fPIC -O3 -c -DCONFDIR=\"/etc/vdr\" -DUSE_CHANNELSCAN -DUSE_CMDRECCMDI18N -DUSE_CMDSUBMENU -DUSE_CUTTERLIMIT -DUSE_CUTTERQUEUE -DUSE_CUTTIME -DUSE_DDEPGENTRY -DUSE_DELTIMESHIFTREC -DUSE_DOLBYINREC -DUSE_DVBPLAYER -DUSE_DVBSETUP -DUSE_DVDARCHIVE -DUSE_DVLRECSCRIPTADDON -DUSE_DVLVIDPREFER -DUSE_DVLFRIENDLYFNAMES -DUSE_HARDLINKCUTTER -DUSE_JUMPPLAY -DUSE_LIEMIEXT -DUSE_LIRCSETTINGS -DUSE_LIVEBUFFER -DUSE_LNBSHARE -DUSE_MAINMENUHOOKS -DUSE_SETUP -DUSE_OSDMAXITEMS -DUSE_PINPLUGIN -DUSE_PLUGINMISSING -DUSE_PLUGINPARAM -DUSE_SETTIME -DUSE_SOURCECAPS -DUSE_SORTRECORDS -DUSE_SYNCEARLY -DUSE_TIMERCMD -DUSE_TIMERINFO -DUSE_TTXTSUBS -DUSE_VALIDINPUT -DUSE_WAREAGLEICON -DUSE_YAEPG -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"dvd"' -I/usr/include -I/usr/include -I/usr/include/dvdnav dvd.c
In file included from player-dvd.h:14:0,
                 from dvd.h:20,
                 from dvd.c:15:
/usr/include/dvdnav/dvdnav.h:284:47: error: expected ‘,’ or ‘...’ before ‘this’
make: *** [dvd.o] Error 1
emake failed
 ^[[31;01m*^[[0m ERROR: media-plugins/vdr-dvd-0.3.7_pre20090106 failed (compile phase):
 ^[[31;01m*^[[0m   emake failed
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m Call stack:
 ^[[31;01m*^[[0m     ebuild.sh, line   56:  Called src_compile
 ^[[31;01m*^[[0m   environment, line 2633:  Called vdr-plugin_src_compile
 ^[[31;01m*^[[0m   environment, line 3486:  Called vdr-plugin_src_compile 'copy_source' 'compile'
 ^[[31;01m*^[[0m   environment, line 3503:  Called die
 ^[[31;01m*^[[0m The specific snippet of code:
 ^[[31;01m*^[[0m                   emake ${BUILD_PARAMS} ${BUILD_TARGETS} LOCALEDIR="${TMP_LOCALE_DIR}" LIBDIR="${S}" TMPDIR="${T}" || die "emake failed"
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m If you need support, post the output of 'emerge --info =media-plugins/vdr-dvd-0.3.7_pre20090106',
 ^[[31;01m*^[[0m the complete build log and the output of 'emerge -pqv =media-plugins/vdr-dvd-0.3.7_pre20090106'.
 ^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/media-plugins/vdr-dvd-0.3.7_pre20090106/temp/build.log'.
 ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/media-plugins/vdr-dvd-0.3.7_pre20090106/temp/environment'.
 ^[[31;01m*^[[0m S: '/var/tmp/portage/media-plugins/vdr-dvd-0.3.7_pre20090106/work/dvd-cvs-20090106'
Comment 1 Rene Hertell 2011-12-05 00:10:08 UTC
Created attachment 294811 [details]
Build.log
Comment 2 Rene Hertell 2011-12-05 00:11:36 UTC
Sorry for the mess. Did not remember that i could add the build-log later on..
Comment 3 Rene Hertell 2011-12-05 00:12:42 UTC
HEre we go with the emerge --info

Portage 2.1.10.11 (default/linux/x86/10.0, gcc-4.5.3, glibc-2.12.2-r0, 2.6.38-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.38-gentoo-r6-i686-VIA_Nehemiah-with-gentoo-2.0.3
Timestamp of tree: Wed, 30 Nov 2011 22:30:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 3.1.6 [disabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.1-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo amielke-overlay x-portage x-layman initng
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=c3-2 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/openvpn/easy-rsa"
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/sandbox.d /etc/terminfo"
CXXFLAGS="-march=c3-2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j1"
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="/var/lib/layman/amielke-overlay /usr/local/portage /var/lib/layman /usr/local/initng-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3gp X a52 aac aalib acl acpi aio alternatechannel avi berkdb bigpatch bzip2 cccam cle266 cli cmdctrl cmdreccmdi18n cmdsubmenu cracklib crypt css cutterlimit cutterqueue cuttime cxx dbus ddepgentry deltimeshiftrec directfb divx4linux dolby-record-switch dolbyinrec dri dts dv dvb dvbplayer dvbsetup dvd dvdarchive dvdread dvlfriendlyfnames dvlrecscriptaddon dvlvidprefer enca exif faac fbcon ff-card ffmpeg ffmpeg12mc fortran freetype gdbm gif gpm hardlinkcutter iconv ieee1394 imagemagick imlib ipod iptv ipv6 java java6 jpeg jumpplay kernel-helper liemikuutio lirc lircsettings livebuffer lnbshare lzo mad mainmenuhooks matroska mmx modules mp3 mpeg mpeg4 mplayer mudflap ncurses nls nptl nptlonly ogg opengl openmp osdmaxitems pam pcre pinplugin png pppd projectx quicktime readline rtc sdl session settime setup shutdown_rewrite slang sndfile sortrecords sourcecaps sse ssl status stl submenu subtitles svg svga switchtimer syncearly sysfs tcpd theora tiff timercmd timerinfo truetype ttxtsubs type1 udev unichrome unicode usb v4l v4l2 validinput via vidix vorbis wareagleicon win32codecs x264 x86 xorg xrandr xv xvid xvmc yacoto yaepg yv12 zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="tda10046 tda10045 ttpci" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash" INPUT_DEVICES="lirc evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" LIRC_DEVICES="serial" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="via" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Rene Hertell 2011-12-26 13:05:56 UTC
Ok, i figured out this issue. I had to add this to package.keywords:

=media-libs/libdvdnav-4.1.3_p1168           ~x86
=media-libs/libdvdread-4.1.3_p1168          ~x86
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2012-01-08 12:35:06 UTC
These to /etc/portage/package.keywords and remove entries from other files for these.

<media-libs/libdvdnav-9999
<media-libs/libdvdread-9999

And

# emerge -av libdvdnav libdvdread

This will get you version 4.2.0

Can you still reproduce this bug with 4.2.0 installed?