Subject: guix lint -c archival icecat fails
From: Luis Felipe <[email-masked]>
To: "[email-masked]" <[email-masked]>
Date: Sun, 21 Mar 2021 14:05:26 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

I get the following exception when I run the command:

★★★★★★★★★★★★★★★★★★★★
$ guix lint -c archival icecat
Backtrace:[email-masked] [archival]...
          12 (primitive-load "/home/yo/.config/guix/current/bin/guix")
In guix/ui.scm:
  2164:12 11 (run-guix-command _ . _)
In ice-9/boot-9.scm:
  1736:10 10 (with-exception-handler _ _ #:unwind? _ # _)
  1731:15  9 (with-exception-handler #<procedure 7f2cbbe951b0 at ic…> …)
In srfi/srfi-1.scm:
    634:9  8 (for-each #<procedure 7f2cbbe985c0 at guix/scripts/lin…> …)
In guix/scripts/lint.scm:
     65:4  7 (run-checkers #<package [email-masked] g…> …)
In srfi/srfi-1.scm:
    634:9  6 (for-each #<procedure 7f2cbcb78d50 at guix/scripts/lin…> …)
In guix/scripts/lint.scm:
    74:21  5 (_ _)
In guix/lint.scm:
   1225:4  4 (check-archival _)
   1092:2  3 (call-with-networking-fail-safe _ _ _)
In ice-9/boot-9.scm:
  1736:10  2 (with-exception-handler _ _ #:unwind? _ # _)
  1669:16  1 (raise-exception _ #:continuable? _)
  1667:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1667:16: In procedure raise-exception:
In procedure bv-length: Wrong type argument in position 1 (expecting bytevector): #f
★★★★★★★★★★★★★★★★★★★★

This is using the following Guix System

★★★★★★★★★★★★★★★★★★★★
OS: Guix System 1ab03fb74505458e7754dce338a5da29dc754d80 x86_64
Kernel: 5.11.7-gnu

Generation 31	Mar 19 2021 13:03:16	(current)
  guix 1ab03fb
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 1ab03fb74505458e7754dce338a5da29dc754d80
★★★★★★★★★★★★★★★★★★★★

More information about the cause of the exception is provided by zimoun in https://lists.gnu.org/archive/html/guix-devel/2021-03/msg00417.html.

---
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/