Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60906 - running-kernel dependency
Summary: running-kernel dependency
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-19 09:31 UTC by Benoît Segond von Banchet
Modified: 2004-08-30 03:33 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 Benoît Segond von Banchet 2004-08-19 09:31:14 UTC
Immediately after compiling kernel 2.6.8-gentoo-r1 (from Livecd minimum 2004.2, stage 1 from internet, complete build from internet) I emerged emu10k1.
This resulted in download/compile of 25 packages. The last one ended in an error:

!!! ERROR: media-sound/emu10k1-0.20.a-r5 failed.
!!! Function pkg_setup, Line 26, Exitcode 1
!!! This module is only compatible with 2.4.x kernels

Reproducible: Didn't try
Steps to Reproduce:




Expected Results:  
I expected this module not to be included in the emerge in the first place.
Comment 1 Patrick Dawson (RETIRED) gentoo-dev 2004-08-19 15:12:12 UTC
I don't see what the bug is. You tried to emerge emu10k1, but it's not compatible with 2.6.x kernels. Perhaps you expected a warning about this before it pulled in all of its dependencies? Please clarify.

Thanks.
Comment 2 Benoît Segond von Banchet 2004-08-20 06:33:17 UTC
But of course Patrick; isn't that what all this portage is about? 

Discovering that a package is not compatible during compile, after downoading and compiling and installing 24 other packages seems a bit besides the point. 

Or is my understaanding of Portage wrong?

Thanks for your attention and your time.
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2004-08-29 03:52:41 UTC
uhm... reassigning to portage team...
Comment 4 Jason Stubbs (RETIRED) gentoo-dev 2004-08-30 03:33:09 UTC
localhost jason # emerge -vp media-sound/emu10k1

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] media-sound/aumix-2.8-r2  -gpm -gtk -gtk2 +nls 0 kB
[ebuild  N    ] media-sound/emu10k1-0.20a-r5  279 kB

Most of those 25 packages was probably gtk-related and not actually needed. That's beside the point of the bug, however.

Packages are able to specify that they require <=virtual/linux-sources-2.4, but it is entirely up to the user as to what kernel it is actually compiled against. With enhancements in the design, it would be possible for a package to specify to portage requirements on the kernel at /usr/src/linux, but not at the moment.

Note, you haven't actually wasted any time if you do move to a 2.4 kernel. If you stay with 2.6, you still haven't really wasted any time if you want anything that depends on gtk, which is very likely.