Summary: | Unable to merge binary due to old/unused use flags being set | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | William L. Thomson Jr. <wlt-ml> |
Component: | [OLD] Unspecified | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
William L. Thomson Jr.
2015-08-04 22:42:19 UTC
That flag being set on the system the binary is built on that causes the issue. Once I removed the superserver flag from the env. Merging on systems that still have that flag set now works. But as previously mentioned, I could not re-emerge the binary on the very same system it was built on, when the unused USE flag was set. ws wlt # emerge -pkv firebird These are the packages that would be merged, in order: Calculating dependencies... done! [binary U ] dev-db/firebird-3.0.0.31896_beta2::wlt [2.5.3.26780.0-r1::gentoo] USE="(-client) -debug -doc -examples -xinetd (-superserver%*)" 0 KiB You can see superserver flag is still present in the env, but does not effect the binary from merging. Since the ebuild does not contain that use flag. Not sure why it screws up on the host system the package was built on. But I can now emerge the binary on the system it was built with, with or without that flag set. If I recompile again with the unused USE flag set, then I will not be able to use that binary on anything. From my perspective, this is working as intended. You are asking portage to install firebird without any enabled flags, but the only binary package you have is firebird with enabled superserver flag. Of course it's incompatible. But let's see what portage developers think. No, I am saying portage should only care about USE flags that exist in an ebuild. Ones that may be in the env left over from older versions of ebuilds, dropped USE flags, should not have any effect. I am not suggesting it should ignore USE flags that exist in an ebuild. This has to do with dropped USE flags. It could be any package really, and I have many binary packages. This was just an example of a USE flag being dropped, and how portage handles that with binary packages. This might have happened, when I still had a revision of the ebuild with the USE flag. Between a bunch of re-emerging working on the ebuild, might have not re-emerged after edit of removing USE flags. I am checking on that now, and will see about closing as invalid if I confirm that to be the case. I have to recompile with USE flag set and then check the binary. Which I am doing now, and will follow up ASAP. Looks like that was the case. Though even now after a few merges back to back, finally the use flag no longer shows, though set in env. Seems it was retained a bit after being dropped from ebuild. superserver USE flag set dev ~ # emerge -pkv firebird These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-db/firebird-3.0.0.31896_beta2::wlt USE="(-client) -debug -doc -examples -xinetd (-superserver%*)" 0 KiB Rebuild package, dev / # emerge -qv firebird >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-db/firebird-3.0.0.31896_beta2::wlt >>> Installing (1 of 1) dev-db/firebird-3.0.0.31896_beta2::wlt dev ~ # emerge -pkv firebird These are the packages that would be merged, in order: Calculating dependencies... done! [binary R ] dev-db/firebird-3.0.0.31896_beta2::wlt USE="(-client) -debug -doc -examples -xinetd (-superserver%*)" 0 KiB Setting superserver USE flag not set dev ~ # nano /etc/portage/package.use dev ~ # emerge -pkv firebird These are the packages that would be merged, in order: Calculating dependencies... done! [binary R ] dev-db/firebird-3.0.0.31896_beta2::wlt USE="(-client) -debug -doc -examples -xinetd (-superserver%*)" 0 KiB dev ~ # emerge -qv firebird * IMPORTANT: 8 news items need reading for repository 'gentoo'. * Use eselect news read to view new items. >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-db/firebird-3.0.0.31896_beta2::wlt >>> Installing (1 of 1) dev-db/firebird-3.0.0.31896_beta2::wlt dev ~ # emerge -pkv firebird These are the packages that would be merged, in order: Calculating dependencies... done! [binary R ] dev-db/firebird-3.0.0.31896_beta2::wlt USE="(-client) -debug -doc -examples -xinetd" 0 KiB |