Subject: Re: bug#37160: guix lint --checkers=refresh fails

From: Jonathan Brielmaier <[email-masked]>
Date: Wed, 28 Aug 2019 11:36:28 +0200

On 28.08.19 00:33, Ludovic Courtès wrote:
> Hi,
>
> Jonathan Brielmaier <[email-masked]> skribis:
>
>> guix lint --checkers=refresh hello
>> Backtrace:[email-masked] [refresh]...
>>            9 (apply-smob/1 #<catch-closure 7fcdabc0a560>)
>> In ice-9/boot-9.scm:
>>     705:2  8 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
>> In ice-9/eval.scm:
>>     619:8  7 (_ #(#(#<directory (guile-user) 7fcdabcb9140>)))
>> In guix/ui.scm:
>>   1692:12  6 (run-guix-command _ . _)
>> In srfi/srfi-1.scm:
>>     640:9  5 (for-each #<procedure 7fcdaa7e9500 at guix/scripts/lin…> …)
>> In guix/scripts/lint.scm:
>>      57:4  4 (run-checkers #<package [email-masked] gnu/packages/base.s…> …)
>> In srfi/srfi-1.scm:
>>     640:9  3 (for-each #<procedure 7fcd9e787ba0 at guix/scripts/lin…> …)
>> In guix/scripts/lint.scm:
>>     64:17  2 (_ _)
>> In guix/lint.scm:
>>    1010:2  1 (check-for-updates #<package [email-masked] gnu/packages/ba…>)
>> In ice-9/boot-9.scm:
>>     829:9  0 (catch srfi-34 #<procedure 7fcd9f2c0390 at guix/lint.s…> …)
>>
>> ice-9/boot-9.scm:829:9: In procedure catch:
>> Wrong type to apply: #f
>
> I think commit 58d5f280a36e1cfddfa999d320c285726d8a8bc1 fixes it,
> doesn’t it?  :-)

My package is now on2f57fa10f4, so includes your commit. But the error
still looks very similar:

$ guix lint --checkers=refresh hello
Backtrace:[email-masked] [refresh]...
           9 (apply-smob/1 #<catch-closure 7fcbddeb4800>)
In ice-9/boot-9.scm:
    705:2  8 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
In ice-9/eval.scm:
    619:8  7 (_ #(#(#<directory (guile-user) 7fcbddf82140>)))
In guix/ui.scm:
  1692:12  6 (run-guix-command _ . _)
In srfi/srfi-1.scm:
    640:9  5 (for-each #<procedure 7fcbdbe8b0a0 at guix/scripts/lin…> …)
In guix/scripts/lint.scm:
     57:4  4 (run-checkers #<package [email-masked] gnu/packages/base.s…> …)
In srfi/srfi-1.scm:
    640:9  3 (for-each #<procedure 7fcbd3b8ca80 at guix/scripts/lin…> …)
In guix/scripts/lint.scm:
    64:17  2 (_ _)
In guix/lint.scm:
   1010:2  1 (check-for-updates #<package [email-masked] gnu/packages/ba…>)
In ice-9/boot-9.scm:
    829:9  0 (catch srfi-34 #<procedure 7fcbd3943e10 at guix/lint.s…> …)

ice-9/boot-9.scm:829:9: In procedure catch:
Wrong type to apply: #f