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 142E9138334 for ; Fri, 18 Jan 2019 23:31:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 82C77E09EC; Fri, 18 Jan 2019 23:31:46 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 37043E09E8 for ; Fri, 18 Jan 2019 23:31:44 +0000 (UTC) Received: from grubbs.orbis-terrarum.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 19275335D04 for ; Fri, 18 Jan 2019 23:31:43 +0000 (UTC) Received: (qmail 3758 invoked by uid 10000); 18 Jan 2019 23:31:39 -0000 Date: Fri, 18 Jan 2019 23:31:39 +0000 From: "Robin H. Johnson" To: gentoo-dev@lists.gentoo.org Cc: multilib , qa Subject: Re: [gentoo-dev] [RFC] Replacing binary-only SLOTs with separate packages Message-ID: References: <1547842414.839.23.camel@gentoo.org> 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 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="8cpS+6Cx+xtICsjy" Content-Disposition: inline In-Reply-To: <1547842414.839.23.camel@gentoo.org> User-Agent: Mutt/1.11.1 (2018-12-01) X-Archives-Salt: f6ef8465-ceaf-4028-b0b8-9611ee229f30 X-Archives-Hash: 188f515df72b46714d7b3f876cda45d3 --8cpS+6Cx+xtICsjy Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 18, 2019 at 09:13:34PM +0100, Micha=C5=82 G=C3=B3rny wrote: > Firstly, it is confusing to developers. Let's analyze the dependencies > on dev-libs/openssl. A quick grep reveals seven patterns. They are > listed below, along with occurrence counts and percentages: >=20 > dev-libs/openssl 278 7.8% } > dev-libs/openssl:* 49 1.4% } 14.2% > dev-libs/openssl:=3D 178 5.0% } > dev-libs/openssl:0 660 18.6% > dev-libs/openssl:0=3D 2381 67.0% > dev-libs/openssl:0/0 4 0.1% > dev-libs/openssl:0/1.1 2 0.1% This was based just on ebuilds right? > So apparently 14.2% of dependencies allow any slot of OpenSSL which is > most likely wrong, and 1.4% explicitly claim that's what the package > wants. This could be valid only if e.g. the package supported multiple > ABIs of OpenSSL libraries and used dlopen() with a few possible SONAMEs > which I honestly doubt any of those packages is doing. There's a valid case for accepting ANY openssl: tooling that explicitly calls the binary tools provided by OpenSSL, and does link or dlopen any of the openssl libraries. Such usage has to be careful, because it could depend on OpenSSL compile-time options, like 'srp', which used to depend on USE=3Dbindist. Your solution however will also improve this case. --=20 Robin Hugh Johnson Gentoo Linux: Dev, Infra Lead, Foundation Treasurer E-Mail : robbat2@gentoo.org GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85 GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136 --8cpS+6Cx+xtICsjy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Robbat2 @ Orbis-Terrarum Networks - The text below is a digital signature. If it doesn't make any sense to you, ignore it. iQKTBAABCgB9FiEEveu2pS8Vb98xaNkRGTlfI8WIJsQFAlxCYdpfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEJE RUJCNkE1MkYxNTZGREYzMTY4RDkxMTE5Mzk1RjIzQzU4ODI2QzQACgkQGTlfI8WI JsTMtBAAn1x3C/RBw3SEVKSuZcTYs7RsVBoqJWAXu02SQqGeW+3CShrZXgC6CdyI CzqhacdSc6uuJjmWdjR/K2Z/YpUmIPXyrTgaHYDcYxfsrVBm8alzGIxd0WjN5iRn 9NU+76qUXd0szBKHK2G0DX+Q2PRHMdsMrxRC5m25jv6AXJurWv19/2bhGJq3b8mj /XFsJLHbPszVTyJXf2WghcSSS7ulcGqa1C6QpM6+yDh2TPKaf8dbaeQvN7ffOkfK se8JVrKLKjmu8bltaCMeyj11c/kvMZZL9oSEW62oIUYjxB6JpK0Ef1tK6+fCaEjn /2HY/MdE+gVj5bvsduRQiY3+veyHhCFewU0DXbx/WFFQ2OH/r3GXjBCBy3qbajyT Owpl1338gHdu3yhKv1jXJaDHyS9fXKqT1Q7OiIiUx8zFSBb4bnZ5Y/DP7te4sayL 0w7bhWMCICWIBlJSV3czh3x/FaeYj3xkN/DiVWR6Hq3lIPRkCTgdIJdYh1RcX97m OXxAi12zvsaD1tyS0wiX6X/hnGH4cgnn1Ej2ghB6eyFDVqUHeKGodO3CPsq+TbBI FxLG47XoSnHA+IqJYgB2wrWc5W02SrdUeFzxGBqAguEGXUL4UN+7KH3HfWcYkx4c 9TpZaa5MQC9XP5SY9QyLpMVcOBp3QvWan9qFZANRF+b20jLvfpk= =k7fp -----END PGP SIGNATURE----- --8cpS+6Cx+xtICsjy--