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 
<[email protected]> 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: [email protected] [email protected] [email protected] [email protected]
+ [email protected] [email protected] [email protected] [email protected]
+ [email protected] [email protected] [email protected]
+ [email protected] [email protected] [email protected] [email protected]
+ [email protected] [email protected] [email protected] [email protected]
+ [email protected] [email protected] [email protected] [email protected] [email protected]
+ [email protected] [email protected] [email protected] [email protected]
--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



  • bug#54773: Bug Dennis Seidler via Bug reports for GNU Guix
    • bug#54773: Bug zimoun

Reply via email to