unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Cook, Malcolm" <MEC@stowers.org>
To: "'Ludovic Courtès'" <ludo@gnu.org>
Cc: Guix-devel <guix-devel@gnu.org>, "'bug-guix@gnu.org'" <bug-guix@gnu.org>
Subject: RE: Test suite failures building 0.10.0 on CentOS7
Date: Wed, 30 Mar 2016 22:37:55 +0000	[thread overview]
Message-ID: <b663a59849944874a8d36fe4ee59d621@exchsrv2.sgc.loc> (raw)
In-Reply-To: <8760w3bre5.fsf@gnu.org>

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

Thanks Ludo',

Thanks for the reminder about https://www.gnu.org/software/guix/manual/html_node/Running-the-Test-Suite.html    I note there too that I should be emailing bug-guix@gnu.org instead of guix-devel.  I've cc:ed it this time.  What is the best going forward?

I am building the release from git since I want to ./configure with a non-standard --localstatedir of /gnu/var  (where /gnu is shared and nfs mounted and will be used across multiple linux computational servers).  
Perhaps is there another way to effect this?  Without reviewing all the code I did not know how to determine this. 

In any case I have reduced the issues by adding to my install mantra:

	export ACLOCAL_PATH=/usr/share/aclocal # as per https://www.gnu.org/software/guix/manual/guix.html#Building-from-Git

So now only one test fails, guix-lint, before I "give up" as progress on `make check` seems halted (0 cpu per top, yet still build processes including daemons running).

Most oddly, there is no .log file for this test, though one DOES exist in the tests subdirectory.  It ends like this:

	ERROR: In procedure string-append:
	ERROR: In procedure string-append: Wrong type (expecting string): #f'
	+ rm -rf t-guix-lint-2602
	./test-env: line 1:  2601 Terminated              "/tmp/tmp.zS2DFhXOOe/pre-inst-env" "/tmp/tmp.zS2DFhXOOe/guix-daemon" --disable-chroot --substitute-urls="$GUIX_BINARY_SUBSTITUTE_URL"

I have attached it in its entirety.

There is no test-suite.log file.  Is this because I interrupted the `make check` build before all test 

I have the following CentOS7 rpms since either they are listed https://www.gnu.org/software/guix/manual/html_node/Requirements.html#Requirements  or I found I needed them.

sudo yum -y info ${guixRpmDeps} | grep -P '^(Name.*|Version.*|)$' 

Name        : autoconf
Version     : 2.69

Name        : automake
Version     : 1.13.4

Name        : bzip2
Version     : 1.0.6

Name        : gettext
Version     : 0.18.2.1

Name        : gettext-devel
Version     : 0.18.2.1

Name        : gnupg2
Version     : 2.0.22

Name        : gnutls
Version     : 3.3.8

Name        : graphviz
Version     : 2.30.1

Name        : guile
Version     : 2.0.9

Name        : guile-devel
Version     : 2.0.9

Name        : help2man
Version     : 1.41.1

Name        : libgcrypt-devel
Version     : 1.5.3

Name        : make
Version     : 3.82

Name        : pkgconfig
Version     : 0.27.1

Name        : sqlite
Version     : 3.7.17

Name        : sqlite-devel
Version     : 3.7.17

Name        : texinfo
Version     : 5.1

Name        : texinfo-tex
Version     : 5.1

Name        : gettext-devel
Version     : 0.18.2.1

Name        : gnutls
Version     : 3.3.8

Name        : graphviz
Version     : 2.30.1

Name        : guile
Version     : 2.0.9

Name        : guile-devel
Version     : 2.0.9

Name        : libgcrypt-devel
Version     : 1.5.3

Name        : pkgconfig
Version     : 0.27.1

Name        : sqlite
Version     : 3.7.17

Name        : sqlite-devel
Version     : 3.7.17


I'm up to here before I killed the check:

PASS: tests/base64.scm
PASS: tests/sets.scm
PASS: tests/hash.scm
PASS: tests/base32.scm
PASS: tests/pki.scm
PASS: tests/pk-crypto.scm
PASS: tests/cpio.scm
PASS: tests/gnu-maintenance.scm
PASS: tests/upstream.scm
PASS: tests/substitute.scm
PASS: tests/grafts.scm
PASS: tests/ui.scm
PASS: tests/snix.scm
PASS: tests/build-utils.scm
PASS: tests/utils.scm
PASS: tests/records.scm
PASS: tests/hackage.scm
PASS: tests/cran.scm
PASS: tests/gremlin.scm
PASS: tests/syscalls.scm
PASS: tests/scripts.scm
PASS: tests/elpa.scm
PASS: tests/size.scm
PASS: tests/nar.scm
PASS: tests/file-systems.scm
PASS: tests/cve.scm
PASS: tests/union.scm
SKIP: tests/containers.scm
PASS: tests/import-utils.scm
PASS: tests/system.scm
PASS: tests/services.scm
PASS: tests/challenge.scm
PASS: tests/scripts-build.scm
PASS: tests/guix-download.sh
PASS: tests/guix-hash.sh
SKIP: tests/guix-environment-container.sh
PASS: tests/profiles.scm
PASS: tests/guix-authenticate.sh
PASS: tests/monads.scm
PASS: tests/lint.scm
PASS: tests/graph.scm
PASS: tests/gexp.scm
FAIL: tests/guix-lint.sh
PASS: tests/guix-register.sh
PASS: tests/guix-archive.sh
PASS: tests/derivations.scm
PASS: tests/guix-daemon.sh
PASS: tests/guix-graph.sh
PASS: tests/store.scm
PASS: tests/packages.scm
PASS: tests/guix-system.sh
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



 > -----Original Message-----
 > From: Ludovic Courtès [mailto:ludo@gnu.org]
 > Sent: Wednesday, March 30, 2016 4:14 PM
 > To: Cook, Malcolm <MEC@stowers.org>
 > Cc: Guix-devel <guix-devel@gnu.org>
 > Subject: Re: Test suite failures building 0.10.0 on CentOS7
 > 
 > "Cook, Malcolm" <MEC@stowers.org> skribis:
 > 
 > > I am building and testing as follows:
 > >
 > > env -i PATH=${PATH} bash ## build in a clean shell
 > > bld=$(mktemp -d) ## in a clean, new, empty directory
 > > cd $bld
 > > git clone git://git.savannah.gnu.org/guix.git  --branch v0.10.0  guix@v0.10.0
 > > cd guix@v0.10.0
 > 
 > Since you’re building the release, I strongly recommend using the
 > release tarball at <ftp://alpha.gnu.org/gnu/guix/guix-0.10.0.tar.gz>
 > instead of a Git checkout.  The release tarball is “bootstrapped”, so
 > you wouldn’t have to run ./bootstrap, and we’d be safer overall.  :-)
 > 
 > > make -j20   |& tee  LOGS/make.log
 > > make -j20 check |& tee  LOGS/make.check.log
 > 
 > It wouldn’t make a big difference in this case, but in the future it’d
 > be best to return the .log files as mentioned at
 > <https://www.gnu.org/software/guix/manual/html_node/Running-the-Test-
 > Suite.html>.	
 > 
 > > tests/builders.log:configure: error: in `/tmp/guix-build-make-boot0-4.1.drv-
 > 0/make-4.1':
 > > tests/builders.log:configure: error: C compiler cannot create executables
 > 
 > This appears to be the crux of the problem.
 > 
 > Could you run this command from the build tree:
 > 
 >   ./test-env guix build -e '(@@ (gnu packages commencement) gnu-make-
 > boot0)' -K
 > 
 > This should fail with the same error as above, but it should leave a
 > directory called /tmp/guix-build-make-boot0-4.1.drv-0; could you post
 > the make-4.1/config.log file from that directory?
 > 
 > Thank you for your report!
 > 
 > Ludo’.

[-- Attachment #2: guix-lint.log --]
[-- Type: application/octet-stream, Size: 2631 bytes --]

+ guix lint --version
guix lint (GNU Guix) 0.10.0
Copyright (C) 2016 the Guix authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
+ module_dir=t-guix-lint-2602
+ mkdir t-guix-lint-2602
+ trap 'rm -rf t-guix-lint-2602' EXIT
+ cat
+ GUIX_PACKAGE_PATH=t-guix-lint-2602
+ export GUIX_PACKAGE_PATH
++ guix lint dummy
accepted connection from pid 2638, user mec
+ out='t-guix-lint-2602/foo.scm:10:17: dummy-42: sentences in description should be followed by two spaces; possible infraction at 13
t-guix-lint-2602/foo.scm:9:14: dummy-42: synopsis should start with an upper-case letter or digit
t-guix-lint-2602/foo.scm:9:14: dummy-42: synopsis should not start with the package name
Backtrace:
In ice-9/eval.scm:
 432: 19 [eval # #]
In ice-9/boot-9.scm:
2320: 18 [save-module-excursion #<procedure 1933d40 at ice-9/boot-9.scm:3961:3 ()>]
3966: 17 [#<procedure 1933d40 at ice-9/boot-9.scm:3961:3 ()>]
1645: 16 [%start-stack load-stack ...]
1650: 15 [#<procedure 1931060 ()>]
In unknown file:
   ?: 14 [primitive-load "/tmp/tmp.zS2DFhXOOe/scripts/guix"]
In guix/ui.scm:
1188: 13 [run-guix-command lint "dummy"]
In srfi/srfi-1.scm:
 619: 12 [for-each #<procedure 28bde20 at guix/scripts/lint.scm:889:20 (spec)> #]
 619: 11 [for-each #<procedure 46d26c0 at guix/scripts/lint.scm:800:14 (checker)> #]
In guix/scripts/lint.scm:
 630: 10 [check-vulnerabilities #]
 624: 9 [#<procedure 28ba1e0 at guix/scripts/lint.scm:622:4 (package)> #]
In unknown file:
   ?: 8 [force #<promise #<procedure 28ba2c0 at guix/scripts/lint.scm:620:16 ()>>]
In guix/scripts/lint.scm:
 621: 7 [#<procedure 28ba2c0 at guix/scripts/lint.scm:620:16 ()>]
In ice-9/boot-9.scm:
 157: 6 [catch srfi-34 #<procedure 28ba3c0 at guix/scripts/lint.scm:602:2 ()> ...]
 157: 5 [catch getaddrinfo-error ...]
In srfi/srfi-1.scm:
 646: 4 [append-map #<procedure read-vulnerabilities (uri ttl)> (# #) ...]
 601: 3 [map #<procedure read-vulnerabilities (uri ttl)> (# #) (518400 10800)]
In guix/cve.scm:
  76: 2 [call-with-cve-port # 518400 ...]
In guix/http-client.scm:
 300: 1 [http-fetch/cached # # 518400 ...]
In unknown file:
   ?: 0 [string-append #f "/http/" "Fjb931UJRoTPOjHq6hc1oawK9bCopdhOoX9grKLx71Q="]

ERROR: In procedure string-append:
ERROR: In procedure string-append: Wrong type (expecting string): #f'
+ rm -rf t-guix-lint-2602
./test-env: line 1:  2601 Terminated              "/tmp/tmp.zS2DFhXOOe/pre-inst-env" "/tmp/tmp.zS2DFhXOOe/guix-daemon" --disable-chroot --substitute-urls="$GUIX_BINARY_SUBSTITUTE_URL"

       reply	other threads:[~2016-03-30 22:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <0296d40916d54cf5ac592c9620b6be17@exchsrv2.sgc.loc>
     [not found] ` <8760w3bre5.fsf@gnu.org>
2016-03-30 22:37   ` Cook, Malcolm [this message]
2016-03-31  8:00     ` Test suite failures building 0.10.0 on CentOS7 Ludovic Courtès
2016-04-18 17:44       ` bug#23165: " 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=b663a59849944874a8d36fe4ee59d621@exchsrv2.sgc.loc \
    --to=mec@stowers.org \
    --cc=bug-guix@gnu.org \
    --cc=guix-devel@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).