Date: Sat, 16 Dec 2017 20:04:13 +0200 From: David Naylor <naylor.b.david@gmail.com> To: Mathieu Arnold <mat@freebsd.org> Cc: Ben Woods <woodsb02@gmail.com>, Mathieu Arnold <mat@freebsd.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r456124 - head/Mk/Uses Message-ID: <1574411.Wb6BNVem1R@dragon.local> In-Reply-To: <582dc2e0-9d68-c5ed-ba00-a686ee6df812@FreeBSD.org> References: <201712121231.vBCCVBLY044497@repo.freebsd.org> <CAOc73CC%2B8vTnPh4A4Ea3Jdw8ut1USKk_ekkXjZXGTHKnsG7k7Q@mail.gmail.com> <582dc2e0-9d68-c5ed-ba00-a686ee6df812@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart2351254.BLXQiu4i2Y Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" On Tuesday, 12 December 2017 20:34:44 Mathieu Arnold wrote: > Le 12/12/2017 =C3=A0 20:17, Ben Woods a =C3=A9crit : > > I=E2=80=99m not sure I fully understand this warning, so perhaps it= needs a > > few more words about =E2=80=9Cwhy=E2=80=9D? >=20 > Yes, this is warning is about a case that does not exist, but I was > tired of arguing. /snip =20 > This warning is about Python ports that: >=20 > - Do not use flavors > - Have a USES=3Dpython defined in a way that limits it to either Pyth= on 2 > *or* Python 3 > - Use USE_PYTHON=3Dconcurrent >=20 > There are actually no ports doing that. (Because it is stupid.) Please see see https://reviews.freebsd.org/D13449 for the full history,= but in=20 summary the hypothetical case this was supposed to handle was: - A port using USE_PYTHON=3Dconcurrent, but - Using it's own FLAVORS, and - Does not support PYTHON_VERSION (i.e. the default python version) In the above case UNIQUE_DEFAULT_LINK is never set to 'yes'. =20 As Mat states, there are no ports that fit this case, but you can see t= his=20 issue using the following constructed example: # cd /usr/ports/Mk # make -f bsd.port.mk -V UNIQUE_DEFAULT_LINKS USES=3Dpython:3.3+ \ USE_PYTHON=3Dconcurrent no # make -f bsd.port.mk -V UNIQUE_DEFAULT_LINKS USES=3Dpython:3.3+ \ USE_PYTHON=3D"concurrent flavors" yes --nextPart2351254.BLXQiu4i2Y Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEElI7FEaJ/AwLnmbU6rWP6jday2lUFAlo1YB1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDk0 OEVDNTExQTI3RjAzMDJFNzk5QjUzQUFENjNGQThERDZCMkRBNTUACgkQrWP6jday 2lUMGw//TUT1ZiVEjUIGMzbyj2Ffgb1OyugJj4roUYFfoglXS6dnNf6wn6YddSYW 6ituRSeK490X+fjRcogG2vu/i7PgxJyvJi6qNgIfA0MQ4qgJe+69Z1RWtqOwCpdZ fDboyDNmGDFiz0qSCJxRMWab+UmVtocd/oyjwCtDcgfaxejrFlgL5tuuS+TJYUXL ulm4BgZD2q6au6/7pSqbDqbsq5xkg2oUKUwuWaUZru146xskBh4ddF+VMEMjtR+H lAKPWvWODl2cv4e2iKCmuWBWfS8/yDAnK6rVwBAEwWs8qGeYnWi8hiWtOexzvo6X P64G5Tx2wR9GtYCt58clC8hF4PNZoKycuoId3zP1/ZsFvxRplR6ZR+oGr/eJM+Ob 15eUnSG/ZOO3oBRPSnlmZXtvX8ztRUqJ0CaqIyfQNnPPM1yMDxTpySmDqQ+6DpPb YT0ptj5DZodaWigzkPhsgoFyDn8w8q8YtrDl2lV4bkrm2PuEFF5+vapWkT7CezJk fAXIXN77S3yAH7Y40rW0f2SpJid03AlGI9DbcPvFsvmR+uTmPGm/bTIDszvGsKFM 2Zq3dcRqHuW1VPsb4VU0hwceIZA8eotwE7SBao/UzCEOEkWe8OyMLnAiPtYKalvZ 3IOUtTMqcdgXbhaerA7mLMGCONQI4h9+dzVAcYCJIPv1x/H6Psw= =swkU -----END PGP SIGNATURE----- --nextPart2351254.BLXQiu4i2Y--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1574411.Wb6BNVem1R>