Re: erroneous behavior in 2-style USE dependencies?
Zac Medico <[email protected]>
| Newsgroups | gmane.linux.gentoo.portage.devel |
|---|---|
| Message-ID | <[email protected]> |
On 6/16/20 11:43 AM, michael.lienhardt wrote: > Dear all, > > My bad for not noticing it sooner, but when there is a dependency like > ">=sys-fs/udev-208-r1:0/0[static-libs?]" (that occurs in > virtual/libgudev-215-r3), since 'static-libs' is not a use flags of > sys-fs/udev-242, it is silently not considered during dependency solving > by emerge. > However, the PMS states: > - it is an error for a use dependency to be applied to an ebuild which > does not have the flag in question in IUSE_REFERENCEABLE > - For EAPIs listed in table 5.4 > <https://dev.gentoo.org/~ulm/pms/head/pms.html#x1-56001r4> as not > supporting profile defined IUSE injection, IUSE_REFERENCEABLE is equal > to the calculated IUSE value. For EAPIs where profile defined IUSE > injection is supported, IUSE_REFERENCEABLE is equal to IUSE_EFFECTIVE > And 'static-libs' is not in the IUSE_EFFECTIVE of sys-fs/udev-242 (that > ebuild has EAPI=6). > So it seems to me that this current behavior of emerge should be > considered an error, no? Or the PMS should be updated? It's valid as a 4-style dependency with use-dep-defaults. -- Thanks, Zac
signature.asc
(application/pgp-signature, 981 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQKTBAEBCgB9FiEE8OgXaltWzqgSupCu0HX7jBBKPSAFAl7pOj5fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEYw RTgxNzZBNUI1NkNFQTgxMkJBOTBBRUQwNzVGQjhDMTA0QTNEMjAACgkQ0HX7jBBK PSAgbw//dy2cNmx8NTKo64fA69TQhBFAA4Gwvq2GHEaE2Q+LIEZgF+Xk1rGrnFWc AjhFnxbBieiGtNRX5hTpWFCHIG/XvwqVcJc21ymbMFwWpVrNx6GD9VpWzX5WvoZH UsT2mb6gmNtQaJldOylKVWs4ohAvL2OFzO9ALu7e5ViT1Lh/Y7Gd6asETbWoSyUR T5jjfKfVz5sA0ZkNeHnbnJYxwDbcFnQwHMqpZByIh3tpAqGjVyrXSSdVjADlzS8k qj0snta/8vb0Ux1blgfBlEIuhRgpT7kFwEO0wbYLazOqJLcHzQ41dplZ4pVBjguj YydGWnu7pfTEvQOPsUjl/Hc60lpJdjp61Ttc9gC3QSqOhfkURYNzJv8OOB4PoHqX u1AMPzlpzeFxNKMwmSB5PrjSQuGXX457cYgPRhNk9GuN6gOG99AsP6PEvLYEGmNp lgXeW9gMiEunADwUymZt/EHVIfEhT/8pE7FwgJ+TqU26iiTBF1bOd5109isZQeUg W63ulrMQG9gnqDnwnjnJlydE/T4oyrHGCGbXm6Ws+n9NvU+CzLNJ56S2/H/MuJuI Mkb+n9FJtMaa+f2ZiPcfQxQSUf9C+/RHqCJKdzkn4jvo6kJHZzFgp/geNybrv1BS r0NFWSifXVd0Jhip/b1PZ3jJ8fZTasFZ95qlU2KKEnZyJGeu5Ak= =PB2n -----END PGP SIGNATURE-----