unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Nikita Karetnikov <nikita@karetnikov.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: bug-guix@gnu.org
Subject: Re: GLib: GIO's tests fail
Date: Mon, 07 Jan 2013 13:47:20 -0500	[thread overview]
Message-ID: <87y5g44yp9.fsf@karetnikov.org> (raw)
In-Reply-To: 87d2xjtzub.fsf@gnu.org

[-- Attachment #1: Type: text/plain, Size: 1606 bytes --]

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 's@python2\.[0-9]@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

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

  reply	other threads:[~2013-01-07 18:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-31  1:12 GLib: GIO's tests fail Nikita Karetnikov
2013-01-01 23:11 ` Ludovic Courtès
2013-01-05  3:11   ` Nikita Karetnikov
2013-01-05 15:27     ` Ludovic Courtès
2013-01-07 18:47       ` Nikita Karetnikov [this message]
2013-01-07 21:01         ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y5g44yp9.fsf@karetnikov.org \
    --to=nikita@karetnikov.org \
    --cc=bug-guix@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).