Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 272714 - media-video/vdr-1.6.0_p2-r3 fails to compile with linux-headers 2.6.29
Summary: media-video/vdr-1.6.0_p2-r3 fails to compile with linux-headers 2.6.29
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo VDR Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-05 01:09 UTC by Sven Schwyn (svoop)
Modified: 2009-07-09 01:07 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 Sven Schwyn (svoop) 2009-06-05 01:09:33 UTC
When trying to compile vdr-1.6.0_p2-r3, the following error occurs:

make[1]: Entering directory `/var/tmp/portage/media-video/vdr-1.6.0_p2-r3/work/vdr-1.6.0/libsi'
g++ -march=athlon64 -msse3 -O2 -pipe -c -DCONFDIR=\"/etc/vdr\" -DUSE_CHANNELSCAN -DUSE_CMDSUBMENU -DUSE_DELTIMESHIFTREC -DUSE_SETUP -DUSE_PLUGINMISSING -DUSE_YAEPG  -I/usr/include  util.c
msgmerge -U --no-wrap --no-location --backup=none -q po/ca_ES.po po/vdr.pot
g++ -march=athlon64 -msse3 -O2 -pipe -c -DCONFDIR=\"/etc/vdr\" -DUSE_CHANNELSCAN -DUSE_CMDSUBMENU -DUSE_DELTIMESHIFTREC -DUSE_SETUP -DUSE_PLUGINMISSING -DUSE_YAEPG  -I/usr/include  si.c
/usr/include/linux/dvb/frontend.h:92: error: ‘__u8’ does not name a type
/usr/include/linux/dvb/frontend.h:93: error: ‘__u8’ does not name a type
/usr/include/linux/dvb/frontend.h:98: error: ‘__u8’ does not name a type
/usr/include/linux/dvb/frontend.h:99: error: ‘__u8’ does not name a type
/usr/include/linux/dvb/frontend.h:330: error: ‘__u8’ does not name a type
make: *** [vdr.o] Error 1
make: g++ -march=athlon64 -msse3 -O2 -pipe -c -DCONFDIR=\"/etc/vdr\" -DUSE_CHANNELSCAN -DUSE_CMDSUBMENU -DUSE_DELTIMESHIFTREC -DUSE_SETUP -DUSE_PLUGINMISSING -DUSE_YAEPG  -I/usr/include  section.c
*** Waiting for unfinished jobs....
g++ -march=athlon64 -msse3 -O2 -pipe -c -DCONFDIR=\"/etc/vdr\" -DUSE_CHANNELSCAN -DUSE_CMDSUBMENU -DUSE_DELTIMESHIFTREC -DUSE_SETUP -DUSE_PLUGINMISSING -DUSE_YAEPG  -I/usr/include  descriptor.c
ar ru libsi.a util.o si.o section.o descriptor.o
ar: creating libsi.a
make[1]: Leaving directory `/var/tmp/portage/media-video/vdr-1.6.0_p2-r3/work/vdr-1.6.0/libsi'
 * 
 * ERROR: media-video/vdr-1.6.0_p2-r3 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line 2712:  Called _eapi0_src_compile
 *               ebuild.sh, line  591:  Called _eapi2_src_compile
 *               ebuild.sh, line  625:  Called die
 * The specific snippet of code:
 *   		emake || die "emake failed"


Reproducible: Always

Steps to Reproduce:




Portage 2.1.6.11 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.29-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4000+-with-glibc2.2.5
Timestamp of tree: Thu, 04 Jun 2009 17:25:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.4-r13, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 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.29
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -msse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /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/udev/rules.d"
CXXFLAGS="-march=athlon64 -msse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de es fr"
MAKEOPTS="-j3"
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/layman/sunrise /usr/local/portage/layman/voip /usr/local/portage/layman/bitcetera /usr/local/portage/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="16bit X X509 aac acl alsa amd64 aotuv apache2 bash-completion berkdb bigpatch bluetooth bzip2 cairo ccache cdda cddb cdparanoia chroot cli cmdsubmenu cracklib crypt css ctype cups curl curlwrappers dar64 deltimeshiftrec dri dts dvb dvd dvdr dvdread encode exif expat fam flac flatfile fortran gd gdbm gif glitz gpm gtk icecast iconv idea imagemagick imlib innodb ipv6 isdnlog jpeg jpeg2k libwww lirc live lm_sensors mad maildir mbrola mhash midi mime mmx mp3 mpeg mudflap multilib mysql mysqli ncurses network nls nocd nptl nptlonly ogg opengl openmp pam pcntl pcre pdf perl pg-intdatetime php png postgres pppd python quicktime readline reflection rrdtool rtc sdl session setup setup-plugin sharedmem sndfile soap sockets sox speex spl sqlite3 sse sse2 ssl subversion symlink sysfs tcpd tiff tokenizer truetype unicode usb v4l v4l2 vcd vhosts vorbis webdav webdav-neon webdav-serf xanim xml xmlrpc xorg xpm xsl xv xvid yaepg yp zaptel zlib" ALSA_CARDS="hda-intel" 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="alias auth_basic auth_digest authn_default authn_file 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 log_config mem_cache mime mime_magic negotiation proxy proxy_balancer proxy_http rewrite setenvif speling unique_id usertrack vhost_alias" DVB_CARDS="tda10046" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de es fr" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ed Tomlinson 2009-06-06 00:48:12 UTC
Same error here
Comment 2 Joerg Bornkessel (RETIRED) gentoo-dev 2009-06-06 05:15:59 UTC
Your Version of linux-headers please,

is it linux-headers-2.6.29, then plz change the summary line

Summary:media-video/vdr-1.6.0_p2-r3 fails to compile with linux-headers-2.6.29

vdr-1.6.x is not designd for >=linux-headers-2.6.29,

Comment 3 Sven Schwyn (svoop) 2009-06-06 08:01:25 UTC
Indeed, I've upped to linux-headers-2.6.29 to resolve another issue. 

Q: Is it okay to have gentoo-sources and linux-headers diverge significantly (e.b. 2.6.29 and 2.6.27, both stable)?
Comment 4 Matthias Schwarzott gentoo-dev 2009-06-08 20:08:26 UTC
(In reply to comment #2)
> vdr-1.6.x is not designd for >=linux-headers-2.6.29,
> 
Why that?

I guess there is bug in some specific version combinations of sys-kernel/linux-headers and most likely sys-libs/glibc regarding some of the defined integer types like __u8.
This makes DVB headers files unusable.

To reproduce the bug please specifiy the glibc and linux-headers version that make VDR fail to compile.
Please also give the use-flags you use for VDR. (emerge -pv vdr)

Most likely this is the same issue as described here:
http://linuxtv.org/pipermail/vdr/2009-April/020022.html
Comment 5 SpanKY gentoo-dev 2009-06-08 21:05:35 UTC
make sure you have libcap-2.16-r1
Comment 6 Albert Gall 2009-07-07 03:02:48 UTC
(In reply to comment #5)
> make sure you have libcap-2.16-r1
> 

With libcap-2.16-r1 works fine.
Comment 7 Sven Schwyn (svoop) 2009-07-07 13:00:00 UTC
Same here, works with libcap-2.16-r1.