guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `make check` fails when trying to build from Git


From: Ludovic Courtès
Subject: Re: `make check` fails when trying to build from Git
Date: Thu, 09 May 2024 15:49:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Hi Ashvith,

(Cc: guix-devel.)

Thanks for the logs!  They show two test failures:

Ashvith Shetty <ashvithshetty10@gmail.com> skribis:

> test-name: terminal-string-width Japanese
> location: /home/ashvith/Desktop/guix/tests/syscalls.scm:590
> source:
> + (test-equal
> +   "terminal-string-width Japanese"
> +   6
> +   (terminal-string-width "???"))
> expected-value: 6
> actual-value: 3
> result: FAIL

This one happens when *not* running in a UTF-8-capable locale.  We
should arrange so that the test is skipped in that case.

> + cmp t-download-2080 /home/ashvith/Desktop/guix/README
> + guix download file:///does-not-exist 
> file:///home/ashvith/Desktop/guix/README
> guix download: error: file:///home/ashvith/Desktop/guix/README: extraneous 
> argument
> + cd /tmp/tmp.yMJjm0ZbQf
> + git init
> Initialized empty Git repository in /tmp/tmp.yMJjm0ZbQf/.git/
> + touch test
> + git config user.name User
> + git config user.email user@domain
> + git add test
> + git commit -m Commit
> fatal: either user.signingkey or gpg.ssh.defaultKeyCommand needs to be 
> configured
> + rm -rf /tmp/tmp.yMJjm0ZbQf
> + rm -f t-download-2080
> + rm -rf t-archive-dir-2080
> FAIL tests/guix-download.sh (exit status: 128)

This one seems to have to do with your own ~/.gitconfig.  We should
arrange so that Git doesn’t read ~/.gitconfig for these tests.

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]