Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 538958 - app-emulation/qemu: softmmu/user deps should be pulled in only when they're active
Summary: app-emulation/qemu: softmmu/user deps should be pulled in only when they're a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo QEMU Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-05 19:05 UTC by Anthoine Bourgeois
Modified: 2015-03-28 04:15 UTC (History)
1 user (show)

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


Attachments
include dependencies only if targets need it (qemu-2.1.2-r3.ebuild.patch,2.23 KB, patch)
2015-02-05 19:05 UTC, Anthoine Bourgeois
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anthoine Bourgeois 2015-02-05 19:05:16 UTC
Created attachment 395628 [details, diff]
include dependencies only if targets need it

Hello,

I try to build a qemu like describe in the Gentoo Embedded Handbook: https://www.gentoo.org/proj/en/base/embedded/handbook/index.xml?part=1&chap=5

Because I only need qemu-arm, I deactivate all softmmu targets and I only leave arm user target. I also deactivate all use flags except "static-user".
I build my package with "emerge -B qemu" and I merge it with "ROOT=/my/root emerge -K qemu".

On the last command portage asks me the build the pixman dependency. As pixman is only needed to softmmu, I fix the ebuild to include targets dependencies if there is at least one target selected.
Comment 1 SpanKY gentoo-dev 2015-02-15 01:58:42 UTC
Comment on attachment 395628 [details, diff]
include dependencies only if targets need it

this patch is broken for a number of reasons
Comment 2 SpanKY gentoo-dev 2015-02-15 01:59:50 UTC
this isn't specific to pixman.  it applies to all the split deps.
Comment 3 SpanKY gentoo-dev 2015-03-28 04:06:56 UTC
fixing this makes the depend string like 70k long (it's 4k now).  but i don't know if there is any other answer :(.
Comment 4 SpanKY gentoo-dev 2015-03-28 04:15:41 UTC
should be all set now in the tree; thanks for the report!

Commit message: Put softmmu/user deps behind the respective flags so we do not pull in one set when they are not enabled
http://sources.gentoo.org/app-emulation/qemu/qemu-9999.ebuild?r1=1.94&r2=1.95