all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jan Nieuwenhuizen <janneke@gnu.org>
To: guix-devel@gnu.org
Subject: on running/building hydra
Date: Fri, 09 Sep 2016 19:49:49 +0200	[thread overview]
Message-ID: <87inu5ufnm.fsf@gnu.org> (raw)

Hi!

Trying to build hydra, I get

    `/gnu/store/lbcfs5201dszjv6sy8y1frafjhjivwpc-hydra-20150407.4c0e3e4/testFile configure.ac is read-only; trying to patch anyway
    patching file configure.ac
    File tests/Makefile.am is read-only; trying to patch anyway
    patching file tests/Makefile.am
    Hunk #1 FAILED at 1.
    1 out of 2 hunks FAILED -- saving rejects to file tests/Makefile.am.rej

I tried many things like

    (add-after 'unpack 'chmod (lambda _ (system* "chmod" "-R" "+w" ".")))

until bavier clued me in on the fact that unpack+patch are monolithic
(urgh: why is that!?).

I had to choose between creating my own upstream of hydra with fixed
permissions (ugh) or trying a newer version.  I decided to first try to
building the latest hydra from git and found two perl packages that do
not build due to tests failing:

perl-gd:

diff --git a/gnu/packages/gd.scm b/gnu/packages/gd.scm
index b1bbc22..4ba0194 100644
--- a/gnu/packages/gd.scm
+++ b/gnu/packages/gd.scm
@@ -106,6 +106,7 @@ most common applications of GD involve website development.")
                                    (string-append "--lib_" i "_path="
                                                   (assoc-ref %build-inputs i)))
                                  '("zlib" "png" "ft" "jpeg" "fontconfig"))
+       #:tests? #f ;; Failed 1/2 test programs. 1/12 subtests failed.
        #:phases (alist-cons-after
                  'configure 'clear-autogenerated-files
                  (lambda _


and perl-image-magick:

diff --git a/gnu/packages/imagemagick.scm b/gnu/packages/imagemagick.scm
index f824abf..b62552f 100644
--- a/gnu/packages/imagemagick.scm
+++ b/gnu/packages/imagemagick.scm
@@ -124,7 +124,8 @@ text, lines, polygons, ellipses and Bézier curves.")
     (native-inputs `(("pkg-config" ,pkg-config)))
     (inputs `(("imagemagick" ,imagemagick)))
     (arguments
-     `(#:phases
+     `(#:tests? #f ;;Failed 2/23 test programs. 2/353 subtests failed.
+       #:phases
        (modify-phases %standard-phases
          (add-before
           'configure 'image-magick-flags

Now, hydra compile fails because nix headers have changed

    g++ -DHAVE_CONFIG_H -I. -I../..    -I/gnu/store/nbxs29rnw876d0zbv3bgiqwwwm0w3xlp-nix-1.11.2/include/nix -g -O2 -std=c++11 -MT hydra-eval-jobs.o -MD -MP -MF .deps/hydra-eval-jobs.Tpo -c -o hydra-eval-jobs.o hydra-eval-jobs.cc
    hydra-eval-jobs.cc: In function ?void findJobsWrapped(nix::EvalState&, nix::JSONObject&, const AutoArgs&, nix::Value&, const string&)?:
    hydra-eval-jobs.cc:156:46: error: ?class nix::EvalState? has no member named ?store?
                     if (!pathExists(root)) state.store->addPermRoot(drvPath, root, false);
                                                  ^
but I'm not sure if I can update nix.  Do we depend on a specific
version here?

I could do with some clues here.

Greetings,
Jan

-- 
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar®  http://AvatarAcademy.nl  

             reply	other threads:[~2016-09-09 17:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-09 17:49 Jan Nieuwenhuizen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-09-09 17:50 on running/building hydra Jan Nieuwenhuizen

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

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

  git send-email \
    --in-reply-to=87inu5ufnm.fsf@gnu.org \
    --to=janneke@gnu.org \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.