I builds packages for profiles with different `IUSE_IMPLICIT`
declarations.  For example, there could be "static" profile in which I
add `-static` to LDFLAGS to link them statically.  As I don't want to
copy ebuilds to a local overlay, and add `IUSE="static"` and
`append-ldflags "-static"` in each of them.  I just use
IUSE_IMPLITIC=static, USE=static in profile.

Packages for different profiles are hosted at a common binhost.  The
problem is that emerge ignores `IUSE_IMPLICIT` effective USE flags for
binary cache. It installs packages with only respect to `IUSE` from
ebuilds.

        emerge --usepkg --buildpkg y --binpkg-respect-use=y -v nasm
        ...
|->     [binary  N     ] dev-lang/nasm-2.16.03-1::gentoo  USE="-doc" 0 KiB
|
|- wrong binary cache.

Why is that happening? Is it a bug or expected behavior?  Is
`IUSE_IMPLICIT` intended to extend IUSE flags for ebuilds in Gentoo
profiles? Why emerge with `binpkg`, `usepkg` options (features) ignores
`IUSE_EFFECTIVE` in binary cache?

-- 
LL

Reply via email to