Subject: bug#52708: [BUG] Guix checkout fails `make check`

From: Ludovic Courtès <[email-masked]>
Date: Thu, 23 Dec 2021 00:23:58 +0100

Hi Christopher,

Christopher Rodriguez <[email-masked]> skribis:

> FAIL: tests/guix-git-authenticate
> =================================
>
> + '[' -d /home/ming/Downloads/guix/.git ']'
> + guile -c '(use-modules (git))
>   (member "refs/heads/keyring" (branch-list (repository-open ".")))'
> + intro_commit=9edb3f66fd807b096b48283debdcddccfea34bad
> + intro_signer='BBB0 2DDF 2CEA F6A8 0D1D  E643 A2A0 6DF2 A33A 54FA'
> + cache_key=test-24504
> + guix git authenticate 9edb3f66fd807b096b48283debdcddccfea34bad 'BBB0 2DDF 2CEA F6A8 0D1D  E643 A2A0 6DF2 A33A 54FA' --cache-key=test-24504 --stats --end=9549f0283a78fe36f2d4ff2a04ef8ad6b0c02604
> guix git: error: Git error: cannot locate remote-tracking branch 'keyring'
> FAIL tests/guix-git-authenticate.sh (exit status: 1)

It looks like your repo is missing a ‘keyring’ branch, which causes this
test failure.  Can you set up the branch as noted here:

  https://guix.gnu.org/manual/devel/en/html_node/Building-from-Git.html

and try again?

> FAIL: tests/guix-pack-relocatable
> =================================

[...]

> + guix pack -RR python-numpy python-scipy --no-grafts -n
> guix pack: error: profile contains conflicting entries for python-numpy
> guix pack: error:   first entry: [email-masked] /gnu/store/9dd0zkkwl45rmsa7b6vjb1747l57aw4y-python-numpy-1.21.3R
> guix pack: error:   second entry: [email-masked] /gnu/store/mlccgh05bf8cdinq0ilpvpdmsspq36pv-python-numpy-1.20.3R
> guix pack: error:    ... propagated from [email-masked]
> guix pack: error:    ... propagated from [email-masked]

[...]

>    314:42  3 (display-hint "Try upgrading both @code{python-numpy} ?" ?)
> In ice-9/boot-9.scm:
>   1747:15  2 (with-exception-handler #<procedure 7f5c9becbb10 at ic?> ?)
> In guix/build/syscalls.scm:
>   2282:35  1 (_)
>    2271:8  0 (terminal-window-size _)
>
> guix/build/syscalls.scm:2271:8: In procedure terminal-window-size:
> In procedure terminal-window-size: Inappropriate ioctl for device
> + chmod -Rf +w /tmp/tmp.L59DtouzZR
> + rm -rf /tmp/tmp.L59DtouzZR
> FAIL tests/guix-pack-relocatable.sh (exit status: 1)

Ah yes, this is a “known issue” since the recent merge.  We need to
adjust the test to use other packages or something.  To be continued…

Thanks,
Ludo’.