From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: GLib: GIO's tests fail Date: Mon, 07 Jan 2013 22:01:40 +0100 Message-ID: <87d2xgzozv.fsf@gnu.org> References: <87mwwvm3cp.fsf@karetnikov.org> <87zk0scxd9.fsf@gnu.org> <87hamw2uk0.fsf@karetnikov.org> <87d2xjtzub.fsf@gnu.org> <87y5g44yp9.fsf@karetnikov.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsJpH-0006pv-ST for bug-guix@gnu.org; Mon, 07 Jan 2013 16:01:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TsJpG-00047p-N9 for bug-guix@gnu.org; Mon, 07 Jan 2013 16:01:43 -0500 Received: from mail1-relais-roc.national.inria.fr ([192.134.164.82]:43042) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsJpG-00047d-HD for bug-guix@gnu.org; Mon, 07 Jan 2013 16:01:42 -0500 In-Reply-To: <87y5g44yp9.fsf@karetnikov.org> (Nikita Karetnikov's message of "Mon, 07 Jan 2013 13:47:30 -0500") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Nikita Karetnikov Cc: bug-guix@gnu.org Hi Nikita, Nikita Karetnikov skribis: > I removed '#:phases' from 'arguments' and added '#:configure-flags': > > (arguments `(#:configure-flags '("--disable-modular-tests" > "--disable-rebuilds"))) I guess this disables parts of the test suite. That=E2=80=99s OK as a first stab, but eventually we may want to actually fix the problem. ;-) > /bin/sh: line 19: python2.5: command not found > make[4]: *** [install-codegenPYTHON] Error 127 [...] > AFAICT, the problem is the lack of 'python' in Guix. Indeed. > Here is a corresponding snippet from Nixpkgs: > > # * Make it build without python > # Problem: an example (test?) program needs it. > # Possible solution: disable compilation of this example somehow > # Reminder: add 'sed -e 's@python2\.[0-9]@python@' -i > # $out/bin/gtester-report' to postInstall if this is solved > > buildNativeInputs =3D [ perl pkgconfig gettext python ]; > > Is it possible to solve this without 'python'? Is there a --disable-python switch or something? If not, you could check whether it=E2=80=99s just a tiny little thing that needs to be patche= d to avoid the dependency. Or... you can add a package for Python. :-) Thanks, Ludo=E2=80=99.