From mboxrd@z Thu Jan 1 00:00:00 1970 From: iyzsong@member.fsf.org (=?utf-8?B?5a6L5paH5q2m?=) Subject: Re: [PATCH] gnu: wrap-python3: Use a bash wrapper for 'python3-config'. Date: Mon, 17 Oct 2016 18:58:22 +0800 Message-ID: <87r37fw8c1.fsf@member.fsf.org> References: <87d1mxn33e.fsf@gnu.org> <87inwpwq1r.fsf@member.fsf.org> <87lh1ki3p5.fsf@gnu.org> <87k2d9ou6u.fsf_-_@member.fsf.org> <20161016181407.GA5150@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36547) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bw5dB-0004vp-2Q for guix-devel@gnu.org; Mon, 17 Oct 2016 06:58:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bw5d7-00076X-7T for guix-devel@gnu.org; Mon, 17 Oct 2016 06:58:57 -0400 Received: from smtp24.openmailbox.org ([62.4.1.58]:57625 helo=smtp9.openmailbox.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bw5d7-00076F-2G for guix-devel@gnu.org; Mon, 17 Oct 2016 06:58:53 -0400 In-Reply-To: <20161016181407.GA5150@jasmine> (Leo Famulari's message of "Sun, 16 Oct 2016 14:14:07 -0400") 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: Leo Famulari Cc: guix-devel Leo Famulari writes: > On Sun, Oct 16, 2016 at 11:21:13AM +0800, =E5=AE=8B=E6=96=87=E6=AD=A6 wro= te: >> >> 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. >>=20 >> Here is a fix:=20 >> >> From b7badcf695fcb245224ffdf51cdb016b45f9a2a5 Mon Sep 17 00:00:00 2001 >> From: =3D?UTF-8?q?=3DE5=3DAE=3D8B=3DE6=3D96=3D87=3DE6=3DAD=3DA6?=3D >> Date: Sun, 16 Oct 2016 10:44:29 +0800 >> Subject: [PATCH] gnu: wrap-python3: Use a bash wrapper for 'python3-con= fig'. >>=20 >> See >> for details. >>=20 >> * 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. Pushed, thanks for the confirming :-)