Summary: | dev-java/icedtea-7.2.1 ignores USE flags | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Richard Yao (RETIRED) <ryao> |
Component: | Current packages | Assignee: | Andrew John Hughes <gnu_andrew> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | caster, pyxlcy, sping |
Priority: | Normal | Keywords: | Bug |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Richard Yao (RETIRED)
![]() Seems dev-java/icedtea-7.2.1 always requires all the X libraries and cups at build time. http://icedtea.classpath.org/wiki/BuildRequirements If you have the X USE flag disabled, X support will only be removed in src_install(), after icedtea is already built: --- # Ensures HeadlessGraphicsEnvironment is used. if ! use X; then rm -r jre/lib/$(get_system_arch)/xawt || die fi --- So the X USE flag only affects runtime dependencies, not build time dependencies. The cups / alsa USE flag... I don't see any references of them in the ebuild, except in RDEPEND. cups is needed for X, but I don't know what alsa is used for. Maybe it's somehow used in an eclass the ebuild inherits? --- # cups is needed for X. #390945 #390975 --- The modified meaning of flags is explained in metadata.xml - they affect only runtime and the behavior is useful for binpkg users. We don't have the manpower to make the flags work also at buildtime and upstream doesn't see this as a priority. Patches are welcome, or suggestions how to communicate this better than metadata.xml local use descriptions. *** Bug 419543 has been marked as a duplicate of this bug. *** |