--- Begin Message ---
Subject: |
Wrong type argument in "guix lint -c archival" |
Date: |
Sat, 2 Jan 2021 23:14:01 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 |
When running "guix lint -c archival ugrep" I get this backtrace show below.
Expected behavior: No crash, but a useful error message.
Reproduce:
* Guix 947aed127a48ef41bab3bdbb4252eb2a56dafc10 (2021-01-01 13:55:11)
* ugrep (new package) see http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45614
$ ./pre-inst-env guix lint ugrep -c archival
…
Backtrace:grep@3.1.1 [archival]...
In ice-9/boot-9.scm:
1736:10 15 (with-exception-handler _ _ #:unwind? _ # _)
In unknown file:
14 (apply-smob/0 #<thunk 7f1688172740>)
In ice-9/boot-9.scm:
718:2 13 (call-with-prompt _ _ #<procedure default-prompt-handle?>)
In ice-9/eval.scm:
619:8 12 (_ #(#(#<directory (guile-user) 7f1687daff00>)))
In guix/ui.scm:
2127: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 7f1685072a20 at ic?> ?)
In srfi/srfi-1.scm:
634:9 8 (for-each #<procedure 7f1685dc8880 at guix/scripts/lin?> ?)
In guix/scripts/lint.scm:
65:4 7 (run-checkers #<package ugrep@3.1.1 /home/hartmut/deve?> ?)
In srfi/srfi-1.scm:
634:9 6 (for-each #<procedure 7f16756f69f0 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 string-prefix?: Wrong type argument in position 2
(expecting string): #<unspecified>
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#45615: Wrong type argument in "guix lint -c archival" |
Date: |
Thu, 21 Jan 2021 11:25:08 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Hi!
Ludovic Courtès <ludo@gnu.org> skribis:
> For the record, I reported the issue here:
>
> https://github.com/aconchillo/guile-json/issues/69
>
> It was promptly fixed and released in 4.5.1, but at first sight this
> version introduces other issues. To be continued…
Updated Guile-JSON in commit 5f7f4e16d64135291fc5b3d12e57476a52a97105,
followed by a test specifically for this issue in
5225732b9b54ffa92b9d199246b87dae666a3f77.
Thanks,
Ludo’.
--- End Message ---