From owner-svn-ports-all@freebsd.org Sat Dec 16 18:04:19 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 84318E89A60; Sat, 16 Dec 2017 18:04:19 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 058466C97F; Sat, 16 Dec 2017 18:04:19 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: by mail-wm0-x236.google.com with SMTP id t8so22676672wmc.3; Sat, 16 Dec 2017 10:04:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version; bh=yWCG9bMld8M+N8sKie/NJ9U1KuWxZLflnY9q4ZCiYIQ=; b=I95ow4yxvG9gVchwaauRLdf+oYddeONu3OMDZX6PmqoAJPwaIp3sPXkkyzKWCgKj3G cRkgXJBA0JfaiZmGEO8bphaz/vrPyOmfr59LrwwzBAqr2qUPlk5kRxkvPy16xsGChijd jFZEJrYodcvexeNUWf535cOSfDDGhrJmD1mekBaqjjjTdZuf/R2jTshD1ZRzuXpvxjjK fSWhtmXKYUpj2HYIPGpR2QTP+FcRMnrD3WC1mTaGY/H/hULGfNNCBOtl0PNPEJrDR8Su siCs8T5TIGkzkdSNx/WKzRBxBLUCLYR55iklWbkg5hDwYcmgfIrozcMfAiTr60EqeFA1 jLcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version; bh=yWCG9bMld8M+N8sKie/NJ9U1KuWxZLflnY9q4ZCiYIQ=; b=glomlwxtobMEFeHFYOLekHrptMZ26chN9kH/kocnrliPqYZ5DZHntJyWJElJpS5QfQ Xtxiz/wMtLmnEW6u3xg4JOhGMtsQc9BAGaah8py61fGdbeWr3tcTllgmMR5BcQcVsRQM IbEF0nHo2ja2lp9BSHZUWzsEjcI8If8eAtnWBfE6cTDtCZ/TAdInsvPhHM9rk68s/sRR 4RQqq40jA6aanQOut1shsVjrUXhpR+JOO/b0s5DlBFAkPtQusrOd5iIgkuRH5HTZtlWc BnVVInHY5eRFg2tGmGJTMKATIMTKa9OizS/6/WdEH5YLcVmmaRbMW/9EB7ZroEAlzD8u vFjg== X-Gm-Message-State: AKGB3mJ+yCUxsfQ6au06qP4HOtge669wHX+E3X0kbqQKVmoSe+oV1PTQ soee1TZf5bzaEBZM3xc1ce9XXl71 X-Google-Smtp-Source: ACJfBotE0rG4HC/KvsuqaCiRwN8t6WAiQ5WNzYcP5KGZqVmWo1Yif977voV2japAkaiC71rljvqPcA== X-Received: by 10.80.176.70 with SMTP id i64mr22764078edd.187.1513447457211; Sat, 16 Dec 2017 10:04:17 -0800 (PST) Received: from dragon.local ([41.247.179.198]) by smtp.googlemail.com with ESMTPSA id a16sm8098740edd.19.2017.12.16.10.04.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 16 Dec 2017 10:04:16 -0800 (PST) From: David Naylor To: Mathieu Arnold Cc: Ben Woods , Mathieu Arnold , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r456124 - head/Mk/Uses Date: Sat, 16 Dec 2017 20:04:13 +0200 Message-ID: <1574411.Wb6BNVem1R@dragon.local> Organization: Private User-Agent: KMail/4.14.10 (FreeBSD/11.1-RELEASE-p1; KDE/4.14.30; amd64; ; ) In-Reply-To: <582dc2e0-9d68-c5ed-ba00-a686ee6df812@FreeBSD.org> References: <201712121231.vBCCVBLY044497@repo.freebsd.org> <582dc2e0-9d68-c5ed-ba00-a686ee6df812@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2351254.BLXQiu4i2Y"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Dec 2017 18:04:19 -0000 --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--