Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100340 - qemu depend on virtual/modutils when USE=-kqemu
Summary: qemu depend on virtual/modutils when USE=-kqemu
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All OS X
: High enhancement
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-26 02:25 UTC by Dick Marinus
Modified: 2005-12-23 06:34 UTC (History)
2 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 Dick Marinus 2005-07-26 02:25:31 UTC
from eclass/linux-mod.eclass:
RDEPEND="virtual/modutils
        pcmcia? ( virtual/pcmcia )"

maybe inherit linux-mod should be something like:
use kqemu && inherit linux-mod
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-07-26 02:44:57 UTC
(In reply to comment #0)

> maybe inherit linux-mod should be something like:
> use kqemu && inherit linux-mod

Not possible, the above construct breaks dependency caching. Besides,
virtual/modutils is in /usr/portage/profiles/base and thus present on every
Gentoo system (except maybe embedded), I can't see any dependency issue here.
Comment 2 Dick Marinus 2005-07-26 02:54:53 UTC
I'm using mac os x (darwin) which doesn't have modutils (as far as I know), I 
could add it to package.provided as a workaround, but I support it shouldn't 
depend on it if it isn't used. 
A package split-up (qemu-user / qemu-kqemu) might be another solution. 
Comment 3 Radek Podgorny 2005-07-26 03:36:09 UTC
Yup, me too. False depends is what is killing my embedded usage experiments (not
this ebuild but generally).
Comment 4 Luca Barbato gentoo-dev 2005-07-26 04:23:17 UTC
qemu is already split:
qemu-softmmu
qemu-user

I hardly find any use for qemu-softmmu on embedded systems, but I could agree
that could be a pain for darwin (even if darwin should have its way to load
kernel objects...)
Comment 5 Dick Marinus 2005-08-17 10:40:18 UTC
A seperate kqemu ebuild is also nice for re-emerges after a kernel update.

Please close this bug if you won't create a seperate package.
Comment 6 Luca Barbato gentoo-dev 2005-12-23 06:34:06 UTC
I'm about to commit a kqemu stand alone ebuild and qemu-0.8.0

that will solve the issue