guix-devel
[Top][All Lists]
Advanced

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

on running/building hydra


From: Jan Nieuwenhuizen
Subject: on running/building hydra
Date: Fri, 09 Sep 2016 19:49:49 +0200

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 <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar®  http://AvatarAcademy.nl  



reply via email to

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