From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Bavier Subject: Re: [PATCH] Wrap binaries in perl build system. Date: Tue, 15 Nov 2016 22:39:15 -0600 Message-ID: <20161115223915.5cb51d59@centurylink.net> References: <20161112172446.5571-1-alex@pompo.co> Reply-To: bavier@member.fsf.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52669) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c6s0I-0000bl-9N for guix-devel@gnu.org; Tue, 15 Nov 2016 23:39:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c6s0F-0000V0-7a for guix-devel@gnu.org; Tue, 15 Nov 2016 23:39:22 -0500 Received: from mail.centurylink.net ([205.219.233.9]:35144 helo=smtp.centurylink.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c6s0F-0000UP-2M for guix-devel@gnu.org; Tue, 15 Nov 2016 23:39:19 -0500 In-Reply-To: <20161112172446.5571-1-alex@pompo.co> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Alex Sassmannshausen Cc: guix-devel@gnu.org, Alex Sassmannshausen On Sat, 12 Nov 2016 18:24:45 +0100 Alex Sassmannshausen wrote: > Hello, > > Perl, like Python and Guile, uses an environmental variable to make libraries > accessible to binaries. For this purpose, binaries need to be wrapped with an > executable which sets the env variable appropriately. > > This patch implements the same functionality that the Python build side code > already has (I pretty much lifted it from there). > > This works nicely in my tests (a package I will submit once this has been > merged). > > Comments welcome, I don't recall specifically why this hasn't been done all along, but IIRC there was some concern that, perl coming up in so many places as it does, setting the perl environment variable at the application level could adversely pollute the environments of packages farther down. I don't know of any examples where this has actually caused problems, however, so I'd support building a branch and seeing what happens. 2cents, `~Eric