Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64775 - media-tv/linuxtv-dvb-1.1.1 does not build kernel modules for gentoo-dev-sources-2.6.8-r4
Summary: media-tv/linuxtv-dvb-1.1.1 does not build kernel modules for gentoo-dev-sourc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-20 10:32 UTC by John Ross Hunt
Modified: 2005-12-09 14:07 UTC (History)
1 user (show)

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


Attachments
Here's the build log (5186-linuxtv-dvb-1.1.1.log,12.47 KB, text/plain)
2004-09-20 10:33 UTC, John Ross Hunt
Details
media-video/vdr-1.2.6-r1.ebuild (vdr-1.2.6-r1.ebuild,1.24 KB, text/plain)
2004-10-05 09:13 UTC, Christoph Brill (egore) (RESIGNED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Ross Hunt 2004-09-20 10:32:05 UTC
media-tv/linuxtv-dvb-1.1.1 emerges and installs itself, but the kernel module does not get built due to an error -- which the ebuild fails to catch.


Reproducible: Always
Steps to Reproduce:
1. emerge =media-tv/linuxtv-dvb-1.1.1
2. package install without kernel module
3. scratch head in frustration

Actual Results:  
The package installed itself with the kernel module missing.

Expected Results:  
It should have installed the kernel module.  Or, since the kernel module is
apparently part of the 2.6 series, the ebuild should have refused to build at
all.  I'm not sure which is the proper behavior.

Portage 2.0.51_rc1 (default-x86-2004.0, gcc-3.4.1, glibc-2.3.4.20040808-r0,
2.6.8-gentoo-r4 i686)
=================================================================
System uname: 2.6.8-gentoo-r4 i686 Pentium III (Coppermine)
Gentoo Base System version 1.5.3
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://gentoo.chem.wisc.edu/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="S3TC X aac aalib accessibility acl adns aim alsa antlr apm arts async
audiofile avi bcel berkdb bitmap-fonts blender-game bonobo bsh bzlib cddb cdf
cdparanoia cdr clanJavaScript clanVoice cmucl codecs crypt cscope cups curl dga
dillo directfb divx4linux djbfft doc dts dv dvb dvd dvdr editor edl encode
escreen esd evo exif expat f77 faac faad fam fbcon fbdev fdftk ffmpeg fftw flac
fluidsynth fmod foomaticdb freetts freetype fs gb gcj gd gdbm gif gimp gimpprint
gkrellm glade glgd glut gmp gnome gnomedb gphoto2 gpm graphviz gs gstreamer gtk
gtk2 gtkhtml guile hbci icq icu idea ieee1394 image imagemagick imlib imlib2
ipcs jabber jack java javadoc javamail javascript jbig jce jdepend joystick jp2
jpeg jsch jython kde kerberos krb4 ladcca lcms ldap libcaca libdsk libg++ libgda
libsamplerate libwww live lm_sensors log4j lufsusermount lynxkeymap lzo lzw
lzw-tiff mad makecheck matroska mbrola md5sum mdb mikmod mixer mmap mmx mng mono
motif mozaccess mozcalendar mozdevelop mozilla mozp3p mozplaintext mozsvg
mozxmlterm mp3 mpeg mpeg4 mpi mplayer msdav msn music nas native ncurses net
netcdf network nls nntp no-opts nocd nptl ntlm nvidia objc ocaml offensive ofx
oggvorbis openal opengl opie optional-tasks oscar oss pam pcap pda pdflib perl
physfs plotutils png pnp portaudio ppds pthreads python qt quicktime quotes
readline regexp rhino rogue rtc ruby samba sasl scanner sdk sdl silc slang slp
smime snmp soundtouch sox speedo speex spell sqlite src sse ssl svg svga szip
t1lib tcltk tcpd tetex tga theora threads tidy tiff timidity tlen tools
transcode truetype type1 unicode usb uudeview v4l v4l2 vim-with-x wifi wmf
wsconvert wxwin wxwindows x86 xalan xatrix xerces xine xml xml2 xmms xosd xpm
xprint xrandr xsl xv xvid xvmc yahoo yv12 zlib video_cards_nvidia"
Comment 1 John Ross Hunt 2004-09-20 10:33:10 UTC
Created attachment 40021 [details]
Here's the build log
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2004-09-20 22:09:07 UTC
I don't have any hardware to test on.. I'll make some tweaks and package.mask it if you're willing to be my tester John.
Comment 3 Antonio 2004-09-21 03:38:14 UTC
Same problem on my machine

Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8-gentoo-r3)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 AMD Athlon(tm) MP 1700+
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /opt/resin/conf /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/lib/jboss /var/qmail/control /var/spool/fax/etc /var/www/localhost/htdocs/mythweb/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/mirror/gentoo/ ftp://planetmirror.com/pub/gentoo/"
MAKEOPTS="-j3"                  
PKGDIR="/usr/portage/packages"  
PORTAGE_TMPDIR="/var/tmp"       
PORTDIR="/usr/portage"          
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X X509 Xaw3d aac aalib acl acpi acpi4linux aim alsa amd apache2 apm arts audiofile avi berkdb bitmap-fonts blender-game bonobo cddb cdparanoia cdr clamav clisp cmucl codecs crypt cups curl devfs26 dillo divx4linux doc dv dvb dvd dvdr dvdread emacs emacs-w3 encode escreen esd etwin evms2 evo exif f77 faac faad fam ffmpeg flac flash fluidsynth fmod foomaticdb ftp gcl gd gdbm geoip ggi gif gimp gimpprint gnome gnomedb gnuplot gphoto2 gpm gs gstreamer gtk gtk2 gtkhtml guile hbci high-ints icq imagemagick imap imlib imlib2 ipv6 jabber jack java javamail javascript jpeg justify kadu-modules kadu-voice kde kerberos lcms ldirectord libdsk libg++ libgda libwww live ltsp lzo lzw-tiff mad mbox mcal mdb mikmod mime ming mmx mmx2 mng monkey motif mozaccess mozcalendar mozilla mozsvg mpeg mpeg4 mplayer msdav msn mysql mythtv nas ncurses net network nls nptl ntlm nvidia oav odbc offensive ofx oggvorbis openal opengl oscar oss pam pdf pdflib perl php pic png portaudio posix postgres ppds pthreads python qt quicktime readline rtc ruby samba sasl scanner sdl silverxp slang slp sndfile speex spell sqlite sse sse2 ssl stats svg svga tcltk tcpd tetex theora tiff timidity transcode truetype type1 unicode usb v4l v4l2 virus-scan vnc wmf wxwindows x86 xface xfs xine xinerama xml xml2 xmms xosd xpm xprint xrandr xv xvid yahoo zlib"
Comment 4 Antonio 2004-09-21 03:39:28 UTC
If i compile this ebuild on my kernel that is enable dvb driver is a problem ?
Comment 5 Antonio 2004-09-21 03:42:00 UTC
libdvb depend on linuxtv-dvb-1.0.1, is possible to compile with linuxtv-dvb-1.1.1 ?
Comment 6 Christoph Brill (egore) (RESIGNED) 2004-09-27 11:12:13 UTC
linuxtv-dvb is already in 2.6.x kernels (read http://www.linuxtv.org:81/download/dvb/ ). So there is no need to install media-tv/linuxtv-dvb.
Comment 7 Christoph Brill (egore) (RESIGNED) 2004-09-27 23:11:48 UTC
Can one of you tell me why you are trying to emerge linuxtv-dvb on a 2.6 kernel?
Comment 8 John Ross Hunt 2004-10-04 17:03:58 UTC
Sure, 'emerge -Dupv world' tries to build it every time -- even though I have linux26-headers-2.6.8.1 and gentoo-dev-sources-2.6.8-r4 installed.  Perhaps, the check in the ebuild source is working properly?
Comment 9 John Ross Hunt 2004-10-04 17:05:53 UTC
Pardon me, "is not working properly" is what I meant to say.
Comment 10 Christoph Brill (egore) (RESIGNED) 2004-10-04 21:55:35 UTC
On my system having a 2.6 kernel and having 2.6 or 2.4 headers installed linuxtv-dvb never was installed.

What does 'emerge -pC linuxtv-dvb' give you?
Comment 11 John Ross Hunt 2004-10-04 22:07:57 UTC
# emerge -pC linuxtv-dvb

>>> These are the packages that I would unmerge:

--- Couldn't find linuxtv-dvb to unmerge.

>>> unmerge: No packages selected for removal.
Comment 12 Christoph Brill (egore) (RESIGNED) 2004-10-05 09:12:23 UTC
Ok, I guess I found your problem. Are you using vdr 1.2.6, right? This ebuild depends on linuxtv-dvb. Now you got 3 options:

1.)Try using the gentoo-de overlay (I know, they are german but you can take instrucions from http://www.gentoo.de/main/de/downloads.xml and if you are in doubt: ask here) and emerge vdr 1.3.* (since their ebuilds detects if you are using a 2.6 or 2.4+linuxtv-dvb).

2.)Try the fixed ebuild I'll attach in a few seconds. (Note: Someone please add it to portage, should help many frustrated vdr users)

3.)If you are not using vdr, I guess you have to do a 

find . -type f -exec grep -il "linuxtv" {} \;

and see if it prints out any program you are using and remove the dependecy to media-video/linuxtv-dvb

Hope that helps
Comment 13 Christoph Brill (egore) (RESIGNED) 2004-10-05 09:13:17 UTC
Created attachment 41150 [details]
media-video/vdr-1.2.6-r1.ebuild

Enhanced existing ebuild for kernel detection, please add to portage!
Comment 14 John Ross Hunt 2005-04-26 17:02:50 UTC
Please take my name off this bug.  I'm retired.
Comment 15 Matthias Schwarzott gentoo-dev 2005-12-09 14:07:56 UTC
Included versions of linuxtv-dvb should not build any modules for Kernel 2.6.  
 
Next revision will die when trying to compile against kernel 2.6.