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 on attachment 395628 [details, diff] include dependencies only if targets need it this patch is broken for a number of reasons
this isn't specific to pixman. it applies to all the split deps.
fixing this makes the depend string like 70k long (it's 4k now). but i don't know if there is any other answer :(.
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