From: Andreas Enge <andreas@enge.fr>
To: guix-devel@gnu.org
Subject: Glib 2.38.0
Date: Mon, 30 Sep 2013 22:24:20 +0200 [thread overview]
Message-ID: <20130930202420.GA11495@debian> (raw)
Hello,
for the latest gtk+-3 version, I need glib >= 2.37.5. So I tried
to package 2.38.0.
I obtain the following error:
make[4]: Entering directory `/tmp/nix-build-glib-2.38.0.drv-1/glib-2.38.0/glib/tests'
make check-am
make[5]: Entering directory `/tmp/nix-build-glib-2.38.0.drv-1/glib-2.38.0/glib/tests'
G_TEST_SRCDIR="/tmp/nix-build-glib-2.38.0.drv-1/glib-2.38.0/glib/tests" G_TEST_BUILDDIR="/tmp/nix-build-glib-2.38.0.drv-1/glib-2.38.0/glib/tests" G_DEBUG=gc-friendly MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} % 256)) ../../glib/gtester -k --quiet -o tmpsample.xml --test-arg=--gtester-selftest G_TEST_SRCDIR="/tmp/nix-build-glib-2.38.0.drv-1/glib-2.38.0/glib/tests" G_TEST_BUILDDIR="/tmp/nix-build-glib-2.38.0.drv-1/glib-2.38.0/glib/tests" G_DEBUG=gc-friendly MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} % 256)) ../../glib/gtester
(/tmp/nix-build-glib-2.38.0.drv-1/glib-2.38.0/glib/.libs/gtester:20686): GLib-WARNING **: Failed to execute test binary: G_TEST_SRCDIR=/tmp/nix-build-glib-2.38.0.drv-1/glib-2.38.0/glib/tests: Failed to execute child process "G_TEST_SRCDIR=/tmp/nix-build-glib-2.38.0.drv-1/glib-2.38.0/glib/tests" (No such file or directory)
(/tmp/nix-build-glib-2.38.0.drv-1/glib-2.38.0/glib/.libs/gtester:20686): GLib-WARNING **: Failed to execute test binary: G_TEST_BUILDDIR=/tmp/nix-build-glib-2.38.0.drv-1/glib-2.38.0/glib/tests: Failed to execute child process "G_TEST_BUILDDIR=/tmp/nix-build-glib-2.38.0.drv-1/glib-2.38.0/glib/tests" (No such file or directory)
(/tmp/nix-build-glib-2.38.0.drv-1/glib-2.38.0/glib/.libs/gtester:20686): GLib-WARNING **: Failed to execute test binary: G_DEBUG=gc-friendly: Failed to execute child process "G_DEBUG=gc-friendly" (No such file or directory)
(/tmp/nix-build-glib-2.38.0.drv-1/glib-2.38.0/glib/.libs/gtester:20686): GLib-WARNING **: Failed to execute test binary: MALLOC_CHECK_=2: Failed to execute child process "MALLOC_CHECK_=2" (No such file or directory)
(/tmp/nix-build-glib-2.38.0.drv-1/glib-2.38.0/glib/.libs/gtester:20686): GLib-WARNING **: Failed to execute test binary: MALLOC_PERTURB_=210: Failed to execute child process "MALLOC_PERTURB_=210" (No such file or directory)
make[5]: *** [gtester-xmllint-check] Error 1
make[5]: Leaving directory `/tmp/nix-build-glib-2.38.0.drv-1/glib-2.38.0/glib/tests'
make[4]: *** [check] Error 2
make[4]: Leaving directory `/tmp/nix-build-glib-2.38.0.drv-1/glib-2.38.0/glib/tests'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory `/tmp/nix-build-glib-2.38.0.drv-1/glib-2.38.0/glib'
make[2]: *** [check] Error 2
make[2]: Leaving directory `/tmp/nix-build-glib-2.38.0.drv-1/glib-2.38.0/glib'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/tmp/nix-build-glib-2.38.0.drv-1/glib-2.38.0'
make: *** [check] Error 2
phase `check' failed after 21 seconds
builder for `/nix/store/2k0i87fa22x1djpspmpkxcvl80s3412m-glib-2.38.0.drv' failed with exit code 1
@ build-failed /nix/store/2k0i87fa22x1djpspmpkxcvl80s3412m-glib-2.38.0.drv - 1 builder for `/nix/store/2k0i87fa22x1djpspmpkxcvl80s3412m-glib-2.38.0.drv' failed with exit code 1
guix build: error: build failed: build of `/nix/store/2k0i87fa22x1djpspmpkxcvl80s3412m-glib-2.38.0.drv' failed
Notice the duplications in the command lines; the culprit seems to be the
lines in the recipe
;; Honor $(TESTS_ENVIRONMENT).
(substitute* (find-files "." "^Makefile(\\.in)?$")
(("^GTESTER[[:blank:]]*=(.*)$" _ rest)
(string-append "GTESTER = $(TESTS_ENVIRONMENT) "
rest))))
so that Makefile in glib/tests contains
GTESTER = $(TESTS_ENVIRONMENT) $(top_builddir)/glib/gtester
${GTESTER} -k --quiet -o tmpsample.xml --test-arg=--gtester-selftest ${GTESTER}
I ended up dropping these lines and all tests pass; if you have a better
solution, please feel free to modify the recipe again.
Andreas
next reply other threads:[~2013-09-30 20:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-30 20:24 Andreas Enge [this message]
2013-09-30 21:38 ` Glib 2.38.0 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=20130930202420.GA11495@debian \
--to=andreas@enge.fr \
--cc=guix-devel@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).