From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E4305138334 for ; Thu, 19 Dec 2019 17:37:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BDF96E0900; Thu, 19 Dec 2019 17:37:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 66C19E07FE for ; Thu, 19 Dec 2019 17:37:34 +0000 (UTC) Received: from pomiot (c142-245.icpnet.pl [85.221.142.245]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 982FD34D708; Thu, 19 Dec 2019 17:37:32 +0000 (UTC) Message-ID: Subject: Re: [gentoo-dev] Needs ideas: Upcoming circular dependency: expat <> CMake From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Date: Thu, 19 Dec 2019 18:37:28 +0100 In-Reply-To: <1c21f87e-ccea-cabc-5c19-1414aaf029a5@gentoo.org> References: <1a722f8f-36b5-c313-b6e1-eac75e0839c5@gentoo.org> <85c9df6f-fcf5-61d7-90af-a375f5c75088@gentoo.org> <20191218235822.5b036cf2@sf> <8a987393-685c-b9d8-df19-471603fbe10b@gentoo.org> <97ea301701198a8a81d7b65a23b2757783d11d6d.camel@gentoo.org> <1c21f87e-ccea-cabc-5c19-1414aaf029a5@gentoo.org> Organization: Gentoo Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-LsTIPmiBD0z9tiNd7grM" User-Agent: Evolution 3.32.5 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 X-Archives-Salt: 5348340a-1d15-421d-8896-399c9bd7fd3c X-Archives-Hash: c6e098ba8dffba47bc15aec6d21cb6a7 --=-LsTIPmiBD0z9tiNd7grM Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 2019-12-19 at 18:28 +0100, Sebastian Pipping wrote: > Hey! >=20 >=20 > On 19.12.19 17:03, Micha=C5=82 G=C3=B3rny wrote: > > > B) Introduce USE flag "system-expat" to CMake similar to existing > > > flag "system-jsoncpp", have it off by default, keep reminding > > > CMake upstream to update their bundle > > >=20 > > > [..] > >=20 > > It violates the policy on bundled libraries. >=20 > Same for the dev-util/cmake-bootstrap approach, right? >=20 >=20 > > What's worse, the awful > > USE flags solution means that most of the Gentoo devs end up using > > bundled libraries just because people are manually required to figure > > out what to do in order to disable them. >=20 > I didn't say that it's perfect :) It's the same approach that we have > have with the system-jsoncpp USE flag already so that was considered > good enough at some point in the past. I guess we want the same for > Expat and jsoncpp? Which alternative do you see as better than a new > flag system-expat? >=20 Just because someone did something crappy, it doesn't mean it was considered 'good enough'. It was just a cheap hack that someone once did just to get it over with and stop caring. Not a good solution we should keep copying. We have a better alternative that lets us limit the impact on the users. Why not use it? --=20 Best regards, Micha=C5=82 G=C3=B3rny --=-LsTIPmiBD0z9tiNd7grM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQGTBAABCgB9FiEEx2qEUJQJjSjMiybFY5ra4jKeJA4FAl37tVhfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEM3 NkE4NDUwOTQwOThEMjhDQzhCMjZDNTYzOUFEQUUyMzI5RTI0MEUACgkQY5ra4jKe JA7R8Af/eV30HmWrYY096Xu4WyYg7rY//O5KX0Yo3qb0ztn6VqlNEy4QLr3BQ9wX ByMUJwfvJ3lC2pL/IKWsWGTIFzfhf0oqc4dkxL2D6SsXJOUIzxhNtM7nja+v2861 ajWVffGuNNwgJW0Ms5I/B9N7S4X1MuD4ZAudG1hxfEbr1gRYa7nag8cE9c3xgqcE NtEuKM8JQevMYi6GvATD1Qmn2Tf1DA44LGB99hhQm6U3xPHYTOfZcxdMpZkRE1z1 6RoamawjVURbtd+Z+SVkibM1V2/qzuscu8VgW1QC8g79F2pLsG7k+L7G248P4hqQ 1GnG4RGE36MI+nMRGi2KwflNPLbUCA== =FBtT -----END PGP SIGNATURE----- --=-LsTIPmiBD0z9tiNd7grM--