[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GLib: GIO's tests fail
From: |
Nikita Karetnikov |
Subject: |
Re: GLib: GIO's tests fail |
Date: |
Mon, 07 Jan 2013 13:47:20 -0500 |
Hi,
I removed '#:phases' from 'arguments' and added '#:configure-flags':
(arguments `(#:configure-flags '("--disable-modular-tests"
"--disable-rebuilds")))
Now './pre-inst-env guix-build -K glib' fails with the following errors:
/tmp/nix-build-2ihs5vivxkm0b7v6p7g5h6pqrwz3c1fj-glib-2.34.drv-2/glib-2.34.3/libtool:
line 1102: ldconfig: command not found
[...]
/bin/sh: line 19: python2.5: command not found
make[4]: *** [install-codegenPYTHON] Error 127
make[4]: Leaving directory
`/tmp/nix-build-2ihs5vivxkm0b7v6p7g5h6pqrwz3c1fj-glib-2.34.drv-2/glib-2.34.3/gio/gdbus-2.0/codegen'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory
`/tmp/nix-build-2ihs5vivxkm0b7v6p7g5h6pqrwz3c1fj-glib-2.34.drv-2/glib-2.34.3/gio/gdbus-2.0/codegen'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/tmp/nix-build-2ihs5vivxkm0b7v6p7g5h6pqrwz3c1fj-glib-2.34.drv-2/glib-2.34.3/gio'
make[1]: *** [install] Error 2
make[1]: Leaving directory
`/tmp/nix-build-2ihs5vivxkm0b7v6p7g5h6pqrwz3c1fj-glib-2.34.drv-2/glib-2.34.3/gio'
make: *** [install-recursive] Error 1
AFAICT, the problem is the lack of 'python' in Guix.
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'?
Nikita
pgpTB6SRW6dux.pgp
Description: PGP signature