Gentoo Archives: gentoo-portage-dev

From: Brian Dolbec <dolsen@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] erroneous behavior in 2-style USE dependencies?
Date: Tue, 16 Jun 2020 19:42:34
Message-Id: 20200616124229.048eb73e@storm
In Reply to: [gentoo-portage-dev] erroneous behavior in 2-style USE dependencies? by "michael.lienhardt"
1 On Tue, 16 Jun 2020 20:43:44 +0200 (CEST)
2 "michael.lienhardt" <michael.lienhardt@×××××××.net> wrote:
3
4 > <div style="font-family:Arial, Helvetica, sans-serif;
5 > font-size:12px;">‌Dear all,<br> <br>
6 > My bad for not noticing it sooner, but when there is a dependency
7 > like "&gt;=sys-fs/udev-208-r1:0/0[static-libs?]" (that occurs in
8 > virtual/libgudev-215-r3), since 'static-libs' is not a use flags of
9 > sys-fs/udev-242, it is silently not considered during dependency
10 > solving by emerge.<br> However, the PMS states:<br> &nbsp;- it is an
11 > error for a use dependency to be applied to an ebuild which does not
12 > have the flag in question in <span
13 > class="ectt-1000">IUSE_REFERENCEABLE</span><br> &nbsp;- For EAPIs
14 > listed in table&nbsp;<a
15 > href="https://dev.gentoo.org/~ulm/pms/head/pms.html#x1-56001r4">5.4</a>
16 > as not supporting profile defined <span class="ectt-1000">IUSE
17 > </span>injection, <span class="ectt-1000">IUSE_REFERENCEABLE
18 > </span>is equal to the calculated <span class="ectt-1000">IUSE
19 > </span>value. For EAPIs where profile defined <span
20 > class="ectt-1000">IUSE </span>injection is supported, <span
21 > class="ectt-1000">IUSE_REFERENCEABLE </span>is equal to <span
22 > class="ectt-1000">IUSE_EFFECTIVE<br> And 'static-libs' is not in the
23 > IUSE_EFFECTIVE of </span>sys-fs/udev-242 (that ebuild has
24 > EAPI=6).<br> So it seems to me that this current behavior of emerge
25 > should be considered an error, no? Or the PMS should be updated?<br>
26 > <br> Best,<br> Michael</div>
27
28 Please do NOT send html emails. text only please

Replies

Subject Author
Re: [gentoo-portage-dev] erroneous behavior in 2-style USE dependencies? Michael Lienhardt <michael.lienhardt@×××××××.net>