From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH] gnu: wrap-python3: Use a bash wrapper for 'python3-config'. (was: python-pycairo in core-updates) Date: Sun, 16 Oct 2016 14:14:07 -0400 Message-ID: <20161016181407.GA5150@jasmine> References: <87d1mxn33e.fsf@gnu.org> <87inwpwq1r.fsf@member.fsf.org> <87lh1ki3p5.fsf@gnu.org> <87k2d9ou6u.fsf_-_@member.fsf.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvpwq-0000HH-LL for guix-devel@gnu.org; Sun, 16 Oct 2016 14:14:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bvpwn-0004cO-9L for guix-devel@gnu.org; Sun, 16 Oct 2016 14:14:12 -0400 Content-Disposition: inline In-Reply-To: <87k2d9ou6u.fsf_-_@member.fsf.org> 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: =?utf-8?B?5a6L5paH5q2m?= Cc: guix-devel On Sun, Oct 16, 2016 at 11:21:13AM +0800, 宋文武 wrote: > >> Hi, python-wrapper has a broken `python3-config', which > >> output cflags to the wrapper instead of the origin python3, > >> leading the build failure of python-pycairo. > > > > So it appears to resolve the CFLAGS it returns relative to its own > > argv[0] or /proc/self/exe, right? > > > > Eventually we should fix this and reinstate this commit, but reverting > > it was the right thing in the short term. > > Here is a fix: > > From b7badcf695fcb245224ffdf51cdb016b45f9a2a5 Mon Sep 17 00:00:00 2001 > From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= > Date: Sun, 16 Oct 2016 10:44:29 +0800 > Subject: [PATCH] gnu: wrap-python3: Use a bash wrapper for 'python3-config'. > > See > for details. > > * gnu/packages/python.scm (wrap-python3)[arguments]: Use a bash wrapper > instead of a symlink for python3-config. I can confirm that python-pycairo builds with this patch applied to core-updates.