Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 186568 - media-libs/libdvb-0.5.5.1-r3 build fails with linux-headers-2.6.22-r1
Summary: media-libs/libdvb-0.5.5.1-r3 build fails with linux-headers-2.6.22-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: sane-linux-headers
  Show dependency tree
 
Reported: 2007-07-25 10:39 UTC by Paul Taylor
Modified: 2007-07-25 12:51 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 Paul Taylor 2007-07-25 10:39:50 UTC
Output from compilation:

# emerge libdvb
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) media-libs/libdvb-0.5.5.1-r3 to /
 * libdvb-0.5.5.1.tar.gz RMD160 ;-) ...                                   [ ok ]
 * libdvb-0.5.5.1.tar.gz SHA1 ;-) ...                                     [ ok ]
 * libdvb-0.5.5.1.tar.gz SHA256 ;-) ...                                   [ ok ]
 * libdvb-0.5.5.1.tar.gz size ;-) ...                                     [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking libdvb-0.5.5.1.tar.gz ;-) ...                                 [ ok ]
>>> Unpacking source...
>>> Unpacking libdvb-0.5.5.1.tar.gz to /var/tmp/portage/media-libs/libdvb-0.5.5.1-r3/work
 * Applying libdvb-0.5.5.1-autotools.patch ...                            [ ok ]
 * Applying libdvb-0.5.5.1-rename-analyze.patch ...                       [ ok ]
 * Running eautoreconf in '/var/tmp/portage/media-libs/libdvb-0.5.5.1-r3/work/libdvb-0.5.5.1' ...
 * Running aclocal ...                                                    [ ok ]
 * Running libtoolize --copy --force --automake ...                       [ ok ]
 * Running aclocal ...                                                    [ ok ]
 * Running autoconf ...                                                   [ ok ]
 * Running autoheader ...                                                 [ ok ]
 * Running automake --add-missing --copy --foreign ...                    [ ok ]
 * Running elibtoolize in: libdvb-0.5.5.1
 *   Applying sed-1.5.6.patch ...
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/media-libs/libdvb-0.5.5.1-r3/work/libdvb-0.5.5.1 ...

[snip]

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include   -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -march=athlon64 -O2 -msse3 -mfpmath=sse -pipe -MT show_dvb_image-show_dvb_image.o -MD -MP -MF .deps/show_dvb_image-show_dvb_image.Tpo -c -o show_dvb_image-show_dvb_image.o `test -f 'show_dvb_image.c' || echo './'`show_dvb_image.c
In file included from show_dvb_image.c:32:
/usr/include/linux/dvb/video.h:100: error: expected specifier-qualifier-list before '__u32'
make[2]: *** [show_dvb_image-show_dvb_image.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/multplex.Tpo .deps/multplex.Po
mv -f .deps/main.Tpo .deps/main.Po
make[2]: Leaving directory `/var/tmp/portage/media-libs/libdvb-0.5.5.1-r3/work/libdvb-0.5.5.1/dvb-mpegtools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/libdvb-0.5.5.1-r3/work/libdvb-0.5.5.1'
make: *** [all] Error 2
 *
 * ERROR: media-libs/libdvb-0.5.5.1-r3 failed.
 * Call stack:
 *   ebuild.sh, line 1648:   Called dyn_compile
 *   ebuild.sh, line 988:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   ebuild.sh, line 662:   Called die
 *
 * emake failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-libs/libdvb-0.5.5.1-r3/temp/build.log'.


After downgrading to linux-headers-2.6.21, the build is successful.


Output from emerge --info:

# emerge --info
Portage 2.1.3_rc9 (default-linux/amd64/2007.0/desktop, gcc-4.2.0, glibc-2.6-r0, 2.6.22-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5600+
Gentoo Base System release 1.12.10
Timestamp of tree: Wed, 25 Jul 2007 06:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 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.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -msse3 -mfpmath=sse -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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -msse3 -mfpmath=sse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_AU"
LC_ALL="en_AU"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 amr asf audiofile bash-completion berkdb bitmap-fonts bzip2 bzlib cairo cdparanoia cdr cdrom chroot clamav clamd cli cracklib crypt cups curl dbus dmi dpms dri dts dv dvb dvd dvdr dvdread eds emboss encode evo exif expat extrafilters fam fame fbcon ffmpeg flac foomaticdb fortran gdbm gif gimpprint glitz glut gmp gpm gps gsl gstreamer gtk hal iconv id3 idn imagemagick imap imlib ipod ipv6 isdnlog jack java jbig jpeg jpeg2k junit kde ladspa lame lcms libg++ libsamplerate lirc lm_sensors lzo mad mailwrapper midi mjpeg mmap mmx mng mp3 mp4 mp4live mpeg mpeg2 mpeg4 msn mudflap musepack musicbrainz ncurses network nls nptl nptlonly nsplugin nvidia ogg oggvorbis openal opengl openmp pam pcre pda pdf perl pic png pppd python qt3 qt3support qt4 quicktime readline reflection regex rle schedule sdk sdl server session slang smp sndfile speex spell spl sqlite sse sse2 ssl svg symlink tcpd test theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vcd vim vim-syntax visualization vorbis vorbis-psy wavpack wmf xcb xcomposite xine xml xml2 xorg xpm xprint xscreensaver xv xvid xvmc yv12 zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Matthias Schwarzott gentoo-dev 2007-07-25 12:26:01 UTC
I will not fix this in libdvb, as it is a bug in video.h from linux-headers.

I already talked to vapier about that issue.
video.h misses 
#include <linux/types.h>
Comment 2 SpanKY gentoo-dev 2007-07-25 12:51:12 UTC
i fixed this in our patchset, but i'll push it out now in 2.6.22-r2