GNU bug report logs -
#54773
Bug
Previous Next
Full log
View this message in rfc822 format
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 <at> gnu.org> wrote:
> 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.
[...]
> 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:
--8<---------------cut here---------------start------------->8---
$ guix show guix | recsel -p dependencies
dependencies: autoconf <at> 2.69 automake <at> 1.16.3 bzip2 <at> 1.0.8 disarchive <at> 0.4.0
+ gettext-minimal <at> 0.21 glibc-utf8-locales <at> 2.33 gnutls <at> 3.7.2 graphviz <at> 2.49.0
+ guile-avahi <at> 0.4.0-1.6d43caf guile-gcrypt <at> 0.3.0 guile-git <at> 0.5.2
+ guile-json <at> 4.5.2 guile-lib <at> 0.2.7 guile-lzlib <at> 0.0.2 guile-lzma <at> 0.1.1
+ guile-sqlite3 <at> 0.1.2 guile-ssh <at> 0.15.1 guile-zlib <at> 0.1.0 guile-zstd <at> 0.1.1
+ guile <at> 3.0.8 gzip <at> 1.10 help2man <at> 1.48.5 libgcrypt <at> 1.8.8 pkg-config <at> 0.29.2
+ po4a <at> 0.63 sqlite <at> 3.36.0 texinfo <at> 6.7 util-linux <at> 2.37.2
--8<---------------cut here---------------end--------------->8---
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
This bug report was last modified 3 years and 35 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.