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 45AEB13832E for ; Thu, 11 Aug 2016 14:58:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0480821C08B; Thu, 11 Aug 2016 14:58:10 +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 1D7D721C06C for ; Thu, 11 Aug 2016 14:58:09 +0000 (UTC) Received: from [192.168.2.10] (85.253.86.24.cable.starman.ee [85.253.86.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: leio) by smtp.gentoo.org (Postfix) with ESMTPSA id D88F8340A15 for ; Thu, 11 Aug 2016 14:58:06 +0000 (UTC) Message-ID: <1470927479.5563.16.camel@gentoo.org> Subject: Re: [gentoo-dev] libpcre.so.3 - Compatibility with Debian From: Mart Raudsepp To: gentoo-dev@lists.gentoo.org Date: Thu, 11 Aug 2016 17:57:59 +0300 In-Reply-To: <22444.22978.952581.582549@a1i15.kph.uni-mainz.de> References: <20160811001053.5b98e44a@symphony.aura-online.co.uk> <22444.18637.297626.134016@a1i15.kph.uni-mainz.de> <20160811111141.16bdfcd5@red.yakaraplc.local> <22444.22978.952581.582549@a1i15.kph.uni-mainz.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.3 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 Content-Transfer-Encoding: 8bit X-Archives-Salt: c116294c-df24-47de-895e-265e832cdf9e X-Archives-Hash: 5c72d2666d094fd1884a93860ed50902 Ühel kenal päeval, N, 11.08.2016 kell 12:56, kirjutas Ulrich Mueller: > > > > > > On Thu, 11 Aug 2016, James Le Cuirot wrote: > > > > Have you asked Debian why they are doing that? > > > I did find out but had since forgotten. Here it is: > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=380725#10 > > So they are aware of the issue since 10 years, but chose not to fix > it? Seriously, there's no good reason to dance to their tune then. It's not to dance to Debians tune, it's to dance to Valve tunes, which happens to create its runtimes from Ubuntu packages. I strongly believe that it's important to have such a use case as Steam work problem-free in Gentoo. It's currently too messy, with and without using steam runtime. In the former case (using steam runtime), there are incompatibilities between libraries found in the steam runtime, and those that it doesn't include and assumes the system provides (primarily mesa and deps); each steam runtime version you get to hack around things by removing a small selection of libraries from the steam runtime dir to get stuff working; a 1-2 month old upgrade I haven't even managed to get to work yet on a more up to date machine. In the latter case (forcing to not use steam runtime), it's near impossible right now to get a set of 32bit binaries to satisfy even steam client itself without lots of trial and error, let alone some 32bit game. > > I'm fine with putting it in libpcre-debian package as kentnl > > suggested. > > I still think that the libpcre.so.3 compatibility link shouldn't be > installed in a generally visible location. Install it in a specific > directory instead, and start your binary with a wrapper which will > add that directory to LD_LIBRARY_PATH. Isn't this a use case for ldscripts, e.g like gen_usr_ldscript toolchain.eclass function does, except for pointing libpcre.so.3 to libpcre.so.1 (so can't use that eclass function, but could just pre- create one to $FILESDIR if it works)? The important points should be: 1) No compilation/linking done on Gentoo should possibly end up with putting libpcre.so.3 in its DT_NEEDED 2) libpcre.so should link to libpcre.so.1 If we can satisfy these, I don't see a reason to mess around with some extra package. Debian reasoning of having stuck with libpcre.so.3 historically is sound as well, especially if upstream will never use that, given libpcre2.so.x or however they soname pcre2-10+. Also, given PCRE2, and given debians todays situation with this, I would also technically choose not to change this, as things should migrate over to PCRE2. Mart