Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74522 - Emerge gives a compile error while compiling libdvb.
Summary: Emerge gives a compile error while compiling libdvb.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-15 09:36 UTC by trin
Modified: 2005-08-06 05:05 UTC (History)
0 users

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 trin 2004-12-15 09:36:41 UTC
I got the following output:
]# emerge libdvb
Calculating dependencies ...done!
>>> emerge (1 of 2) media-tv/linuxtv-dvb-1.0.1 to /
>>> md5 src_uri ;-) linuxtv-dvb-1.0.1.tar.gz
 * 
 * Please make sure that the following option is enabled
 * in your current kernel 'Multimedia devices'
 * and /usr/src/linux point's to your current kernel
 * or make will die.
 * 
>>> Unpacking source...
>>> Unpacking linuxtv-dvb-1.0.1.tar.gz to /var/tmp/portage/linuxtv-dvb-1.0.1/wor
k
>>> Source unpacked.
cat: CVS/Root: No such file or directory
(cd driver; make)
make[1]: Entering directory `/vardisk/tmp/portage/linuxtv-dvb-1.0.1/work/linuxtv
-dvb-1.0.1/driver'
Makefile:102: /lib/modules/2.6.9-gentoo-r6/build/Rules.make: No such file or dir
ectory
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule
.
make[1]: *** No rule to make target `/lib/modules/2.6.9-gentoo-r6/build/Rules.ma
ke'.  Stop.
make[1]: Leaving directory `/vardisk/tmp/portage/linuxtv-dvb-1.0.1/work/linuxtv-
dvb-1.0.1/driver'
make: *** [dvb] Error 2
>>> Test phase [not enabled]: media-tv/linuxtv-dvb-1.0.1

>>> Install linuxtv-dvb-1.0.1 into /var/tmp/portage/linuxtv-dvb-1.0.1/image/ cat
egory media-tv
Makefile:102: /lib/modules/2.6.9-gentoo-r6/build/Rules.make: No such file or dir
ectory
make: *** No rule to make target `/lib/modules/2.6.9-gentoo-r6/build/Rules.make'
.  Stop.

!!! ERROR: media-tv/linuxtv-dvb-1.0.1 failed.
!!! Function src_install, Line 34, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1. emerge libdvb
 --> got the error
Actual Results:  
]# emerge libdvb
Calculating dependencies ...done!
>>> emerge (1 of 2) media-tv/linuxtv-dvb-1.0.1 to /
>>> md5 src_uri ;-) linuxtv-dvb-1.0.1.tar.gz
 * 
 * Please make sure that the following option is enabled
 * in your current kernel 'Multimedia devices'
 * and /usr/src/linux point's to your current kernel
 * or make will die.
 * 
>>> Unpacking source...
>>> Unpacking linuxtv-dvb-1.0.1.tar.gz to /var/tmp/portage/linuxtv-dvb-1.0.1/wor
k
>>> Source unpacked.
cat: CVS/Root: No such file or directory
(cd driver; make)
make[1]: Entering directory `/vardisk/tmp/portage/linuxtv-dvb-1.0.1/work/linuxtv
-dvb-1.0.1/driver'
Makefile:102: /lib/modules/2.6.9-gentoo-r6/build/Rules.make: No such file or dir
ectory
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule
.
make[1]: *** No rule to make target `/lib/modules/2.6.9-gentoo-r6/build/Rules.ma
ke'.  Stop.
make[1]: Leaving directory `/vardisk/tmp/portage/linuxtv-dvb-1.0.1/work/linuxtv-
dvb-1.0.1/driver'
make: *** [dvb] Error 2
>>> Test phase [not enabled]: media-tv/linuxtv-dvb-1.0.1

>>> Install linuxtv-dvb-1.0.1 into /var/tmp/portage/linuxtv-dvb-1.0.1/image/ cat
egory media-tv
Makefile:102: /lib/modules/2.6.9-gentoo-r6/build/Rules.make: No such file or dir
ectory
make: *** No rule to make target `/lib/modules/2.6.9-gentoo-r6/build/Rules.make'
.  Stop.

!!! ERROR: media-tv/linuxtv-dvb-1.0.1 failed.
!!! Function src_install, Line 34, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

Expected Results:  
libdvb successfully installed!

I tried to install the usbvision driver for my wintv-usb device. During the
installation i got the problem that i need to install newer version of the
dvb-drivers. That's wy I tried to install the libdvb.
Comment 1 Manuel Lauss 2004-12-23 04:22:32 UTC
I'm not sure it is wise to use the linuxtv-dvb ebuild at all with kernel-2.6,
since these drivers are already in the kernel tree (and the drivers in the
kernel are slightly more up-to-date anyway)

Recompile your kernel with the appropriate DVB drivers selected, and for the time
being, remove the linuxtv-dvb dependency in the approriate libdvb ebuild
(that is what I did)

hope this helps!
Comment 2 Matthias Schwarzott gentoo-dev 2005-08-06 05:05:11 UTC
libdvb now does not depend unconditionally on linuxtv-dvb.  
See Bug #98672 comment #4.