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 91F4213832E for ; Thu, 18 Aug 2016 05:45:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 223EF21C088; Thu, 18 Aug 2016 05:45:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2081321C06A for ; Thu, 18 Aug 2016 05:45:33 +0000 (UTC) Received: from [192.168.1.2] (c-73-53-75-119.hsd1.wa.comcast.net [73.53.75.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: zlg) by smtp.gentoo.org (Postfix) with ESMTPSA id DA674340C3E for ; Thu, 18 Aug 2016 05:45:31 +0000 (UTC) Subject: Re: [gentoo-dev] libpcre.so.3 - Compatibility with Debian To: gentoo-dev@lists.gentoo.org References: <20160811001053.5b98e44a@symphony.aura-online.co.uk> <20160811175331.1ffdef04@katipo2.lan> From: Daniel Campbell Message-ID: <5a544151-fa67-ebf4-f703-4e08ecefa08a@gentoo.org> Date: Wed, 17 Aug 2016 22:45:29 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 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 MIME-Version: 1.0 In-Reply-To: <20160811175331.1ffdef04@katipo2.lan> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="BTloEXlUw17j43EEJhe1ILi2F2rp5FiIe" X-Archives-Salt: bf5a34dc-e1af-4131-a68f-3a36eadf7e40 X-Archives-Hash: cf6cf8d33dabfcb7fbdf632735461b51 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --BTloEXlUw17j43EEJhe1ILi2F2rp5FiIe Content-Type: multipart/mixed; boundary="rojl046HhGiiI6XOied8gTf8fqCMjNRXS" From: Daniel Campbell To: gentoo-dev@lists.gentoo.org Message-ID: <5a544151-fa67-ebf4-f703-4e08ecefa08a@gentoo.org> Subject: Re: [gentoo-dev] libpcre.so.3 - Compatibility with Debian References: <20160811001053.5b98e44a@symphony.aura-online.co.uk> <20160811175331.1ffdef04@katipo2.lan> In-Reply-To: <20160811175331.1ffdef04@katipo2.lan> --rojl046HhGiiI6XOied8gTf8fqCMjNRXS Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 08/10/2016 10:53 PM, Kent Fredric wrote: > On Thu, 11 Aug 2016 00:10:53 +0100 > James Le Cuirot wrote: >=20 >> Hello all, >> >> We, like almost everyone else and presumably upstream, install PCRE 8 >> as libpcre.so.1. Debian, for reasons best known to themselves, install= >> it as libpcre.so.3. With Ubuntu still being the most widely accepted >> "standard" Linux desktop, this presents a problem when dealing with >> pre-compiled binaries. >> >> I have been working on a script to replace the rather lacking >> steam-games-meta ebuild (see steam-overlay). I'm very excited about >> releasing it soon as I think it is a major step forwards in our >> ability to easily run Steam without the official Ubuntu-based runtime.= >> >> Before I put it out there, I'd like to get Alien Isolation working >> properly. It links to libpcre.so.3. Hacking the binary might work but >> this isn't ideal and not always an option as some games use Valve's >> anti-cheat system, which is ruthless. >> >> I have found that creating a symlink in /usr/lib that points >> to /lib/libpcre.so.1 works, except that when you run ldconfig, it >> automatically creates another symlink from /usr/lib/libpcre.so.1 to >> libpcre.so.3. If you create the first symlink in /lib instead then the= >> existing /lib/libpcre.so.1 holds after running ldconfig. The latter >> location is therefore probably preferable. >> >> Would anyone have any issue with adding this to our libpcre package? I= >> don't foresee any problems. libpcre.so would obviously still point to >> libpcre.so.1. I'm pretty sure there will never be another libpcre.so.3= >> as upstream have released PCRE2 as libpcre2, effectively an entirely >> separate library. >> >> I could create a Steam-specific package for this but that would mean >> adding some additional Steam-specific location to ld.so.conf, which >> I'm trying to avoid. It would be nice to solve this generally anyway. >> >> Thoughts? >> >=20 > I'd say this is the sort of thing that has more application than just > steam. >=20 > I'd just suggest a libpcre-debian package, which provides the .so via > symlink and dependency mechanisms. >=20 > That way *if* anything happens in the future, we can just introduce > blockers in the right place. >=20 > Then the applicable stuff depends on libpcre-debian for the forseeable > future. >=20 > And this way, if debian do anything else magical, we can probably copy > them and build a libpcre like they do for interop. >=20 > Essentially, the point here is to see debians libpcre is a competing > implementation, even though we can locally pretend they're not at the > technical level, it works as " conceptual model " for the problem we > have. >=20 Bam, +1 from me. It technically adds package "bloat", but Steam already requires a lot of finagling. Requiring a package that's explicitly designed to mimic Debian makes it easier to figure out what's wrong, should any bugs crop up. --=20 Daniel Campbell - Gentoo Developer OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net fpr: AE03 9064 AE00 053C 270C 1DE4 6F7A 9091 1EA0 55D6 --rojl046HhGiiI6XOied8gTf8fqCMjNRXS-- --BTloEXlUw17j43EEJhe1ILi2F2rp5FiIe Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXtUt5AAoJEAEkDpRQOeFwHJ8QAKFXJNDBlnVB+SMCt9nnBjWt oQLB2vBb7eAWzLSvh84dT/9AorPIj64EsNpsyisdBWew6rIFPRuTmQ7WqRGZmJqd HEEmdmGjAVGbk89rc3b13zWC49fN74Uzn3tB18CsA8TBxpZ4OV6XKEwlgIYhrBnW zNkh4AdFN2lEP/Po+wzXFY6ojUdqIpzTm5QM0aRDXnGrXww9ExokJ2pNYeDLEaK1 KHUHmlkLRhaceXcZ2PoMxFBRsucu0FHGvLhvy+92me8/lU7FRn+V7+YhC2uOUqAi 1kl7n+fHXCmmXaCAom0w9RI7YEtt/YjsVxr/vOZyR9Dmvyj9MhvksR8GTtxbj7C0 vguqnKEcPwnDOk70V8ixxDvGDNTPTeOLg3EI2BFCu3aKyXnrvrCPr4l4R1c3NkuS qcjshiLEq6GbLzsMuMoC74bQVfnnpnh6x6q2OkY9RmoWik1trtw3/uj5STKwD5GC 7WCGd/wbdnuUyA5eHwvsmCeMPwnMeai7vc6sWRDbe5Xn7TuJCKiYXyZtuVi2PMV7 TFbtKNI9x1iIFmpuQFbJzL1LhPDkt2ZeQNA8ONpz17riC2oPykaro/job+NHpNCp xSxhIy7yx2uHsYEJ32staYIENsxL1X3SpCsD2cKFEa01m66vI16AS6H0mZCzUbA6 hgBJkXmhKuArQvYwrxgT =KPY7 -----END PGP SIGNATURE----- --BTloEXlUw17j43EEJhe1ILi2F2rp5FiIe--