Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31721 - linuxtv-dvb-1.0.1 fails to compile
Summary: linuxtv-dvb-1.0.1 fails to compile
Status: RESOLVED WONTFIX
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:
: 69111 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-10-21 20:32 UTC by Q
Modified: 2005-12-10 01:11 UTC (History)
7 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 Q 2003-10-21 20:32:26 UTC
linuxtv-dvb-1.0.1 will not compile on my system, either with a 2.4 or a 2.6 kernel.

The full output from the ebuild is as follows:

>> emerge (3 of 13) 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/work
>>> Source unpacked.
cat: CVS/Root: No such file or directory
(cd driver; make)
make[1]: Entering directory
`/var/tmp/portage/linuxtv-dvb-1.0.1/work/linuxtv-dvb-1.0.1/driver'
Makefile:102: /lib/modules/2.6.0-test8/build/Rules.make: No such file or directory
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
make[1]: *** No rule to make target `/lib/modules/2.6.0-test8/build/Rules.make'.
 Stop.
make[1]: Leaving directory
`/var/tmp/portage/linuxtv-dvb-1.0.1/work/linuxtv-dvb-1.0.1/driver'
make: *** [dvb] Error 2

>>> Install linuxtv-dvb-1.0.1 into /var/tmp/portage/linuxtv-dvb-1.0.1/image/
category media-tv
Makefile:102: /lib/modules/2.6.0-test8/build/Rules.make: No such file or directory
make: *** No rule to make target `/lib/modules/2.6.0-test8/build/Rules.make'.  Stop.

!!! ERROR: media-tv/linuxtv-dvb-1.0.1 failed.
!!! Function src_install, Line 35, Exitcode 2
!!! (no error message)

I have an Athlon XP 2600+ processor with 512MB of RAM.

Reproducible: Always
Steps to Reproduce:
1.emerge mythtv
2.
3.

Actual Results:  
This fails on linuxtv-dvb (as above).

Expected Results:  
Should compile normally.

Have tried to compile both with a symlink in /usr/src pointing to both a 2.4x
times kernel and a 2.6x (test8) kernel. I have had no sucess in either instance.

Mutimedia device support is enabled in my kernel and all avaiable digital TV
cards have been selected as modules.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-10-22 14:51:27 UTC
works here fine with 2.4.x

please paste 2.4.x error message
Comment 2 Q 2003-10-22 16:02:44 UTC
Sorry, you want me to do what? install a 2.4 kernel?

I think I may have unintentionally misled you a little. I have not attempted
to compile while using a 2.4x kernel All I did was change the linux symlink
in /usr/src to point to a 2.4x kernel, which often solves these kinds of
problems. (Not altogether advisable in the longer term though I guess). This
may well be a kernel 2.6 specific bug - as many such applications appear
to be broken in this way when compiled witha 2.6 kernel in place.

I'm afraid physically installing and running a 2.4x kernel is not possible
at this time. I have reverted in this way in the past and this destroyed
both sound and my ati video drivers. I could not install them again, even
if I emerged and unmerged them mutiple times over.

I will just have to struggle on I expect until some focus is given to the
sheer numbers of applications that are incompatable with 2.6 kernel sources.

Q
Comment 3 Max Kalika (RETIRED) gentoo-dev 2003-10-22 17:02:08 UTC
Is the 2.4 kernel to which the link points configured and compiled?
Comment 4 Q 2003-10-22 17:11:25 UTC
Yes it has been compiled, just as I would compile any other kernel.

Q
Comment 5 Max Kalika (RETIRED) gentoo-dev 2003-10-27 20:20:42 UTC
The build system in 2.6 has changed and no longer has a Rules.make file which
linuxtv-dvb needs to build. My guess is that it won't work with 2.6 even
if it builds.  I don't know if this can be fixed on the gentoo side -- may
have to wait for upstream to port it over.
Comment 6 Max Kalika (RETIRED) gentoo-dev 2003-10-27 21:19:53 UTC
Also according to http://www.linuxtv.org/download/dvb/ DVB support is now
native in 2.6.  There are some dependencies to resolve on the gentoo side,
but at least you should be able to build a driver.
Comment 7 Max Kalika (RETIRED) gentoo-dev 2003-12-03 07:49:19 UTC
Ok, i've removed dvb support from the mythtv ebuild a while back.  Besides which, these drivers are already in 2.6.  If this bug is still relavant, please reopen.  I'm closing it for now.
Comment 8 Jukka Palko 2004-05-28 21:40:40 UTC
A sort of related bug, vdr depends on linuxtv-dvb:
DEPEND="media-tv/linuxtv-dvb
        sys-libs/ncurses
        lirc? ( app-misc/lirc )
        media-libs/jpeg"

As I am compiling my Epia based system directly to 2.6.5-gentoo-r1, this should not be necessary. With epia motherboards, it's sort of nicer to go directly to 2.6 kernel. ;)
Comment 9 Konstantin Münning 2004-07-23 09:40:47 UTC
To the Comment #7 From Max Kalika  2003-12-03 07:49 PST:

Of course this bug is still relevant. I have no idea why you have closed it as almost any dvb app (libdvb vdr) depends on linuxtv-dvb and ignores the fact that dvb support is included in 2.6-kernels and linuxtv-dvb-1.0.1 still fails to compile when using a 2.6-kernel (I just tried).

Am I the only one who tries to use dvb (with 2.6-kernel) or why is this bug now over half a year still unresolved?

Maybe this should be forwarded to the maintainers of the libdvb vdr ebuilds?
Comment 10 Leonid Podolny 2004-10-27 02:37:10 UTC
Still unresolved.
Comment 11 Roger 2005-01-08 16:44:41 UTC
Ditto. This bug is still prevelant with the ebuild marked stable:
linuxtv-dvb-1.0.1

This depend is called when calling:


/usr/portage/media-libs/libdvb/libdvb-0.5.*.ebuild

Which is a depend of mythtv & mythtvfrontend.

I am guessing there should be an "if/then" to check for kernel version embedded within the DEPEND section (if even possible?).

I'm going to comment these depends out now to see if it works.
Comment 12 Roger 2005-01-08 16:50:13 UTC
My bag.  dvb was within my USE field of /etc/make.conf!  doh!!

Simply removing dvb from the USE of /etc/make.conf resolved this dependency error.
Comment 13 Doug Goldstein (RETIRED) gentoo-dev 2005-01-17 16:39:14 UTC
*** Bug 69111 has been marked as a duplicate of this bug. ***
Comment 14 Doug Goldstein (RETIRED) gentoo-dev 2005-01-17 16:40:52 UTC
Well no Gentoo developer has the hardware or the resources to do testing on this... soo as a result.. It's untouched. I'm honestly close to just removing it from the tree. If some user wants to do the research and testing on hardware. Then I'll correct the ebuilds and let you test them until we get it working 100%.

Otherwise, it'll idle until March-ish, when I'll pull it from the tree.
Comment 15 Doug Goldstein (RETIRED) gentoo-dev 2005-01-17 16:53:23 UTC
Problem I find is that www.linuxtv.org gives me no info. And another DVB site just gives code snapshots. No real substance. No real info.

All the driver snapshots I find out there... are they unified? or just for each different card? Infact... how many cards are out there that work? do any even work?

Isn't the new digital broadcast bit going to break this entirely that the FCC is enforcing in 4 months?
Comment 16 alex f 2005-01-17 18:12:43 UTC
The broadcastflag is USA-only, right? A good starting point for recent information about dvb is /usr/src/linux/Documentation/dvb, at least for 2.6 kernels (also very important for udev users). linuxtv-dvb the kernel modules aren't needed for 2.6 anymore and the userland apps are available as a seperate tarball somewhere (don't know where right now, but I found them not long ago). I guess keeping these userland tools would be enough.
Comment 17 Nick O 2005-05-12 09:07:44 UTC
I had this same issue (on amd64) but 1.1.1-r1 seems to work fine
Comment 18 Jason Ahrens 2005-06-16 07:25:14 UTC
Have not tested using it yet, but 1.1.1-r1 resolved the build-issue on x86. 
Comment 19 Stian Skjelstad 2005-07-28 03:49:54 UTC
>  * 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.

> Makefile:102: /lib/modules/2.6.0-test8/build/Rules.make: No such file or directory
> make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.

Well, /lib/modules/2.x.x/build is supposed to be a symlink to the kernel-source
used to build the kernel-modules found below this directory (which is a better
approach than /usr/src/linux, since you can select kernel-versions from
/lib/modules or uname).

make modules_install   inside kernel-source installs modules, and creates this
symlink.

Or do:

mkdir -p /lib/modules/2.6.0-test8/
ln -s /usr/src/linux-2.6.0-test8 /lib/modules/2.6.0-test8/build/
Comment 20 Stian Skjelstad 2005-07-28 03:52:49 UTC
(In reply to comment #7)
> Ok, i've removed dvb support from the mythtv ebuild a while back.  Besides
which, these drivers are already in 2.6.  If this bug is still relavant, please
reopen.  I'm closing it for now.

Could the ebuild just be dummy if it detects that the running kernel is a 2.6
and print a nice info message about the case?
Comment 21 Jakub Moc (RETIRED) gentoo-dev 2005-10-25 15:10:58 UTC
Please mark 1.1.1-r1 stable on x86 and amd64 (it's stable everywhere else) and
close this really stale bug. What's the point of having broken ebuild marked
stable and working one unstable?
Comment 22 Luis Medinas (RETIRED) gentoo-dev 2005-12-09 19:24:54 UTC
marked stable on amd64
Comment 23 Matthias Schwarzott gentoo-dev 2005-12-10 01:11:01 UTC
1.1.1-r1 marked stable on all archs being keyworded here. 
 
So now 1.0.1 will be removed and this bug closed.