Subject: bug#53230: Disable authentication seems broken

From: Andrew Tropin <[email-masked]>
Date: Fri, 14 Jan 2022 10:05:40 +0300

On 2022-01-13 23:15, Ludovic Courtès wrote:

> Andrew Tropin <[email-masked]> skribis:
>
>> A day ago I found out that I can't pull/time-machine from my local guix
>> repo with patches.  After running guix time-machine -C ./channels ...,
>> guix reported the following:
>>
>> Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
>> guix time-machine: warning: channel authentication disabled
>> Computing Guix derivation for 'x86_64-linux'... -
>> Backtrace:
>>           18 (primitive-load "/home/bob/.config/guix/current/bin/guix")
>> In guix/ui.scm:
>>    2206:7 17 (run-guix . _)
>>   2169:10 16 (run-guix-command _ . _)
>> In ice-9/boot-9.scm:
>>   1752:10 15 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
>>   1747:15 14 (with-exception-handler #<procedure 7f66dc8711b0 at ice-9/boot-9.…> …)
>> In guix/store.scm:
>>     671:3 13 (_)
>> In ice-9/boot-9.scm:
>>   1752:10 12 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
>> In guix/store.scm:
>>    658:37 11 (thunk)
>> In guix/status.scm:
>>     802:4 10 (call-with-status-report _ _)
>> In guix/store.scm:
>>    1320:8  9 (call-with-build-handler _ _)
>>    1320:8  8 (call-with-build-handler #<procedure 7f66dc887840 at guix/ui.scm:…> …)
>>   2123:24  7 (run-with-store #<store-connection 256.99 7f66dc829460> _ # _ # _ # …)
>> In guix/inferior.scm:
>>    817:16  6 (_ _)
>> In guix/store.scm:
>>   1995:38  5 (_ #<store-connection 256.99 7f66ca72bdc0>)
>>    1468:0  4 (add-temp-root #<store-connection 256.99 7f66ca72bdc0> #<derivatio…>)
>> In guix/serialization.scm:
>>    130:20  3 (write-store-path #<derivation /gnu/store/pqn1xr6882907b41j6mybvs…> …)
>> In unknown file:
>>            2 (string->utf8 #<derivation /gnu/store/pqn1xr6882907b41j6mybvsg4218…>)
>> In ice-9/boot-9.scm:
>>   1685:16  1 (raise-exception _ #:continuable? _)
>>   1685:16  0 (raise-exception _ #:continuable? _)
>>
>> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
>> In procedure string->utf8: Wrong type argument in position 1 (expecting
>> string): #<derivation /gnu/store/pqn1xr6882907b41j6mybvsg4218kc0k-profile.drv =>
>> /gnu/store/3hc33q0xlajd75l52grsg8dg1ais2hss-profile 7f66cb7eaeb0>
>
> Fixed in b1fc98d6b063a117fe2bcc19a60c8b9a48301593, thanks!
>

Thank you very much!  Tested this commit, --disable-authentication works
now!)

-- 
Best regards,
Andrew Tropin