Subject: Re: Test suite failures building 0.10.0 on CentOS7 - building from git

From: [email-masked] (Ludovic Courtès)
Date: Tue, 24 May 2016 14:46:55 +0200

Hi, Malcolm,

And apologies for the delay!

"Cook, Malcolm" <[email-masked]> skribis:

> It has been far too long that I followed up on this.  I have just now return to this project.  
>
> Setting HOME, as you last suggested, got me past the `make check` problems from before.  Thank you.
>
> However,  `make check` still apparently halts after:
>
> ....
> PASS: tests/guix-package-net.sh
> PASS: tests/guix-package.sh
> PASS: tests/guix-build.sh
> PASS: tests/guix-environment.sh
> PASS: tests/builders.scm
>
> The tests apparently stop running.  Top agrees with me.

Could you try again and run ‘pstree’ at this point, so we see exactly
what’s going on?

> At this point, all checks have PASSed  except guix-lint.sh, which is the single file tarred up in checkFAIL.tar.gz
>
> LOG.tar.gz contains logs of stdout/stderr from each step so far: bookstrap, configure, make, make check. and also a file detailing the version of RPM installed on my CentOS 7 box.

tests/guix-lint.log reads this:

--8<---------------cut here---------------start------------->8---
++ guix lint dummy
accepted connection from pid 1580, user mec
+ out='t-guix-lint-1510/foo.scm:10:17: dummy-42: sentences in description should be followed by two spaces; possible infraction at 13
t-guix-lint-1510/foo.scm:9:14: dummy-42: synopsis should start with an upper-case letter or digit
t-guix-lint-1510/foo.scm:9:14: dummy-42: synopsis should not start with the package name
;;; Failed to autoload make-session in (gnutls):
;;; ERROR: missing interface for module (gnutls)
Backtrace:
In ice-9/boot-9.scm:

[...]

In guix/cve.scm:
  76: 3 [call-with-cve-port # 864000 ...]
In guix/http-client.scm:
 303: 2 [#<procedure 3ce5000 at guix/http-client.scm:324:6 args> system-error ...]
 238: 1 [loop #]
In guix/build/download.scm:
 256: 0 [tls-wrap #<input-output: socket 10> "static.nvd.nist.gov"]

guix/build/download.scm:256:17: In procedure tls-wrap:
guix/build/download.scm:256:17: In procedure module-lookup: Unbound variable: make-session'
--8<---------------cut here---------------end--------------->8---

This error is due to the fact that GnuTLS (which is needed by the ‘cve’
linter) is missing on the system, but tests/guix-lint.sh shouldn’t be
testing the ‘cve’ linter in the first place.  Fixed in
a61cd1d0fd642c45bc61ef52f09d8f62ce3976b8.

Thanks!

Ludo’.