Bug

  • Done
  • quality assurance status badge
Details
3 participants
  • Dennis Seidler
  • Ludovic Courtès
  • zimoun
Owner
unassigned
Submitted by
Dennis Seidler
Severity
normal
D
D
Dennis Seidler wrote on 7 Apr 2022 19:31
(address . bug-guix@gnu.org)
CAHRpFDtn4_jsEgoQuK7pRhu7DmGNSgErPkJhknJfRD46YksPHQ@mail.gmail.com
Versions:
guile-json 4.5.2 out
/gnu/store/grjvqx3xfjlczak7j3gsdf0q4wf7fnw6-guile-json-4.5.2
guile-git 0.5.2 out
/gnu/store/b9srz33q8nxfchf93qbs2qpal0a0fmdk-guile-git-0.5.2
guile-avahi 0.4.0-1.6d43caf out
/gnu/store/xh1za68mijfc9n5qfp78ysry8ma3qh79-guile-avahi-0.4.0-1.6d43caf
guile-lzlib 0.0.2 out
/gnu/store/s1k8dd9bgya7hdcy9bp556a63dsx44z3-guile-lzlib-0.0.2
guile-zlib 0.1.0 out
/gnu/store/i03bxwialv5vzvfwrm0mrnnxli4lswys-guile-zlib-0.1.0
guile-sqlite3 0.1.2 out
/gnu/store/zla19n28n59riyg1yvwhcj7w90zb9gdq-guile-sqlite3-0.1.2
guile-gcrypt 0.3.0 out
/gnu/store/60jl4xry9c93j9l0rr7nkvbw7dihjz4k-guile-gcrypt-0.3.0
guile2.2-gnutls 3.7.2 out
/gnu/store/4zcmnfk1wqnlac2qypgxaixcqxhny16n-guile2.2-gnutls-3.7.2
guile2.2-ncurses 3.0 out
/gnu/store/d771rqrl8cr96drwqshzjyp182xzrgdr-guile2.2-ncurses-3.0
guile2.2-reader 0.6.3 out
/gnu/store/hpnnawj5s0si93nsbm2r5mjnry2kc327-guile2.2-reader-0.6.3
guile2.2-lib 0.2.7 out
/gnu/store/vchqzk55nd1fvcmpcbhfbc43j8vkigyn-guile2.2-lib-0.2.7
guile 3.0.8 out
/gnu/store/1jgcbdzx2ss6xv59w55g3kr3x4935dfb-guile-3.0.8
gnutls 3.7.2 out
/gnu/store/zl9wf0zwq2ka9rpmayp53hnp2mn460xf-gnutls-3.7.2
gcc 11.2.0 out
/gnu/store/rhwx78cp1s8nbi93b6p5xpdfd7rpq969-gcc-11.2.0
make 4.3 out
/gnu/store/xijziz8r87baiz87vc9sm04lwadwf4ls-make-4.3
libgcrypt 1.8.8 out
/gnu/store/3kl94m3ksm45a880b6lnn3kagk857lj9-libgcrypt-1.8.8
sqlite 3.37.0 out
/gnu/store/jd6nn2c8ln5flv4vwl7pp1w804w2i9wj-sqlite-3.37.0
zlib 1.2.11 out
/gnu/store/8qv5kb2fgm4c3bf70zcg9l6hkf3qzpw9-zlib-1.2.11


============================================================================
Testsuite summary for GNU Guix 1.3.0.17414-e777c
============================================================================
# TOTAL: 2145
# PASS: 2136
# SKIP: 7
# XFAIL: 1
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to bug-guix@gnu.org
============================================================================
make[4]: *** [Makefile:5947: test-suite.log] Fehler 1
make[4]: Verzeichnis „/home/denyosef/guix“ wird verlassen
make[3]: *** [Makefile:6055: check-TESTS] Fehler 2
make[3]: Verzeichnis „/home/denyosef/guix“ wird verlassen
make[2]: *** [Makefile:6304: check-am] Fehler 2
:
Attachment: file
Attachment: test-suite.log
Z
Z
zimoun wrote on 8 Apr 2022 14:10
8635in22u4.fsf@gmail.com
Hi,

Thanks for the report. What is the Guix revision? And the Git commit
against which you are running the test suite?


On Thu, 07 Apr 2022 at 19:31, Dennis Seidler via Bug reports for GNU Guix <bug-guix@gnu.org> wrote:

Toggle quote (15 lines)
> Syntax error: unexpected token : (ghc-options (-Wall)) (at line 11, column 2)
> Syntax error: unexpected end of input
>
> ;;; (fail #f #f)
> test-name: hackage->guix-package test mixed layout
> location: /home/denyosef/guix/tests/hackage.scm:284
> source:
> + (test-assert
> + "hackage->guix-package test mixed layout"
> + (eval-test-with-cabal
> + test-cabal-mixed-layout
> + match-ghc-foo))
> actual-value: #f
> result: XFAIL

This one is expected. No bug here, IMHO.


[...]

Toggle quote (39 lines)
> FAIL: tests/guix-hash
> =====================
>
> + guix hash --version
> guix hash (GNU Guix) 1.3.0.17414-e777c
> Copyright (C) 2022 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.
> + tmpdir=guix-hash-17836
> + trap 'rm -rf "$tmpdir"' EXIT
> ++ guix hash /dev/null
> + test 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73 = 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73
> ++ echo -n
> ++ guix hash -
> + test 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73 = 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73
> ++ guix hash -f nix-base32 /dev/null
> + test 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73 = 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73
> ++ guix hash -f hex /dev/null
> + test e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 = e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
> ++ guix hash -f base32 /dev/null
> + test 4oymiquy7qobjgx36tejs35zeqt24qpemsnzgtfeswmrw6csxbkq = 4oymiquy7qobjgx36tejs35zeqt24qpemsnzgtfeswmrw6csxbkq
> ++ guix hash -H sha512 -f hex /dev/null
> + test cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e = cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
> ++ guix hash -H sha1 -f base64 /dev/null
> + test 2jmj7l5rSw0yVb/vlWAYkK/YBwk= = 2jmj7l5rSw0yVb/vlWAYkK/YBwk=
> ++ guix hash /dev/null /home/denyosef/guix/README
> ++ guix hash /dev/null
> ++ guix hash /home/denyosef/guix/README
> + test '0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73
> 14qjv26jsbh4v648g095ig6ahczk7c9bas23ci1i60ljy8m1gx8p' = '0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73
> 14qjv26jsbh4v648g095ig6ahczk7c9bas23ci1i60ljy8m1gx8p'
> + guix hash
> guix hash: error: no arguments specified
> ++ guix hash -S git -H sha1 -f hex /dev/null
> ;;; Failed to autoload git-hash-file in (disarchive git-hash):
> ;;; no code for module (disarchive git-hash)
> Backtrace:

[...]

I cannot reproduce. It is because you are missing the disarchive
dependency; as you can see, Guix requires it:

Toggle snippet (10 lines)
$ guix show guix | recsel -p dependencies
dependencies: autoconf@2.69 automake@1.16.3 bzip2@1.0.8 disarchive@0.4.0
+ gettext-minimal@0.21 glibc-utf8-locales@2.33 gnutls@3.7.2 graphviz@2.49.0
+ guile-avahi@0.4.0-1.6d43caf guile-gcrypt@0.3.0 guile-git@0.5.2
+ guile-json@4.5.2 guile-lib@0.2.7 guile-lzlib@0.0.2 guile-lzma@0.1.1
+ guile-sqlite3@0.1.2 guile-ssh@0.15.1 guile-zlib@0.1.0 guile-zstd@0.1.1
+ guile@3.0.8 gzip@1.10 help2man@1.48.5 libgcrypt@1.8.8 pkg-config@0.29.2
+ po4a@0.63 sqlite@3.36.0 texinfo@6.7 util-linux@2.37.2

Well, you generated the environment by manually install the
dependencies. Instead, using “guix shell -D guix” does all the job for
you.

If you confirm the source of the bug, I propose to close. WDYT?


Cheers,
simon
L
L
Ludovic Courtès wrote on 20 Apr 2022 22:03
control message for bug #54773
(address . control@debbugs.gnu.org)
87a6cfo72z.fsf@gnu.org
tags 54773 notabug
close 54773
quit
?