erroneous behavior in 2-style USE dependencies?

"michael.lienhardt" <[email protected]>
Newsgroups gmane.linux.gentoo.portage.devel
Message-ID <1294751375.973920.1592333024223@wlpnf0202>
<div style="font-family:Arial, Helvetica, sans-serif; font-size:12px;">‌Dear all,<br>
<br>
My bad for not noticing it sooner, but when there is a dependency like "&gt;=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.<br>
However, the PMS states:<br>
&nbsp;- it is an error for a use dependency to be applied to an ebuild which does not have the flag in question in <span class="ectt-1000">IUSE_REFERENCEABLE</span><br>
&nbsp;- For EAPIs listed in table&nbsp;<a href="https://dev.gentoo.org/~ulm/pms/head/pms.html#x1-56001r4">5.4</a> as not supporting profile defined <span class="ectt-1000">IUSE </span>injection, <span class="ectt-1000">IUSE_REFERENCEABLE </span>is equal to the calculated <span class="ectt-1000">IUSE </span>value. For EAPIs where profile defined <span class="ectt-1000">IUSE </span>injection is supported, <span class="ectt-1000">IUSE_REFERENCEABLE </span>is equal to <span class="ectt-1000">IUSE_EFFECTIVE<br>
And 'static-libs' is not in the IUSE_EFFECTIVE of </span>sys-fs/udev-242 (that ebuild has EAPI=6).<br>
So it seems to me that this current behavior of emerge should be considered an error, no? Or the PMS should be updated?<br>
<br>
Best,<br>
Michael</div>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.