bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GLib: GIO's tests fail


From: Ludovic Courtès
Subject: Re: GLib: GIO's tests fail
Date: Mon, 07 Jan 2013 22:01:40 +0100
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux)

Hi Nikita,

Nikita Karetnikov <address@hidden> 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’s 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 'address@hidden@python@' -i
> #       $out/bin/gtester-report' to postInstall if this is solved
>
>   buildNativeInputs = [ 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’s just a tiny little thing that needs to be patched to
avoid the dependency.

Or...  you can add a package for Python.  :-)

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]