Hi Ludovic,

Ludovic Courtès <[email protected]> writes:

> This is ‘git’, as invoked from the script, that fails.  Is there any
> indication above these lines showing clues about what went wrong?


Here is the complete output of the script:

    Returning narinfo pointing to test nar
    substitute: looking for substitutes on 'http://localhost:43331/'... 100.0%
    @ substituter-started 
/gnu/store/qq5ckrml8jaqh4x19z985yg4d69xcsfa-cfunge-0.9.0 substitute
    Returning test nar
    Downloading http://localhost:43331/example.nar...
     example.nar  536B                                                          
                                                                                
             1.3MiB/s 00:00 ▕██████████████████▏ 100.0%guix substitute: error: 
corrupt input while restoring 
'/gnu/store/guix-directory-3901632.rRZygp/restored' from #<input:hash-input 
7f3630672b80>
    @ substituter-failed 
/gnu/store/qq5ckrml8jaqh4x19z985yg4d69xcsfa-cfunge-0.9.0  fetching path 
`/gnu/store/qq5ckrml8jaqh4x19z985yg4d69xcsfa-cfunge-0.9.0' (empty status)
    Returning hello when asked for sed
    Returning sed when asked for hello
    substitute: looking for substitutes on 'http://localhost:38437/'... 100.0%
    substitute: Backtrace:
    substitute: In guix/ui.scm:
    substitute:    2514:7 19 (run-guix . _)
    substitute:   2477:10 18 (run-guix-command _ . _)
    substitute: In ice-9/boot-9.scm:
    substitute:   1784:12 17 (with-exception-handler _ _ #:unwind? _ 
#:unwind-for-type _)
    substitute:   1784:12 16 (with-exception-handler _ _ #:unwind? _ 
#:unwind-for-type _)
    substitute: In guix/scripts/substitute.scm:
    substitute:    300:26 15 (_)
    substitute: In guix/substitutes.scm:
    substitute:    433:27 14 (lookup-narinfos/diverse _ _ #<procedure 
7f9c26ee0b20 at guix/scripts/substitute.scm:277:8 (obj)> #:open-connection _ 
#:make-progress-reporter _)
    substitute:    316:10 13 (lookup-narinfos _ _ #:open-connection _ 
#:make-progress-reporter _)
    substitute: In srfi/srfi-1.scm:
    substitute:    815:23 12 (filter-map #<procedure 7f9c26ee00c0 at 
guix/substitutes.scm:316:21 (file path)> _ . _)
    substitute: In guix/substitutes.scm:
    substitute:     222:2 11 (_ 
"/tmp/guix-directory.HFzAUP/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.narinfo" 
"/gnu/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-foo")
    substitute: In ice-9/boot-9.scm:
    substitute:   1778:15 10 (with-exception-handler #<procedure 7f9c26ed8ba0 
at ice-9/boot-9.scm:1882:7 (exn)> _ #:unwind? _ #:unwind-for-type _)
    substitute: In ice-9/ports.scm:
    substitute:    439:17  9 (call-with-input-file _ _ #:binary _ #:encoding _ 
#:guess-encoding _)
    substitute: In guix/narinfo.scm:
    substitute:    145:23  8 (_ #f () () () () #f #f #f #f #f #f)
    substitute: In unknown file:
    substitute:            7 (string-tokenize #f #<undefined> #<undefined> 
#<undefined>)
    substitute: In ice-9/boot-9.scm:
    substitute:   1705:22  6 (raise-exception _ #:continuable? _)
    substitute: In guix/ui.scm:
    substitute:   1033:18  5 (_ _)
    substitute: In ice-9/boot-9.scm:
    substitute:   1705:22  4 (raise-exception _ #:continuable? _)
    substitute:   1831:13  3 (_ #<&compound-exception components: 
(#<&assertion-failure> #<&origin origin: "string-tokenize"> #<&message message: 
"Wrong type argument in position ~A (expecting ~A): ~S"> #<&irritants 
irritants: (1 "string" #f)> #<&exception-with-kind-and-args kind: 
wrong-type-arg args: ("string-tokenize" "Wrong type argument in position ~A 
(expecting ~A): ~S" (1 "string" #f) (#f))>)>)
    substitute:   1705:22  2 (raise-exception _ #:continuable? _)
    substitute: In guix/ui.scm:
    substitute:   1033:18  1 (_ _)
    substitute: In ice-9/boot-9.scm:
    substitute:   1705:22  0 (raise-exception _ #:continuable? _)
    substitute: 
    substitute: ice-9/boot-9.scm:1705:22: In procedure raise-exception:
    substitute: In procedure string-tokenize: Wrong type argument in position 1 
(expecting string): #f
    Initialized empty Git repository in 
/tmp/guix-directory.5tMmnx/channel-repo/.git/
    fatal: unable to access 
'https://codeberg.org/guix-science/guix-science.git/': server certificate 
verification failed. CAfile: none CRLfile: none
              18 (primitive-load "/home/sb/Projets/guix/test-daem…")
    In ice-9/eval.scm:
       626:19 17 (_ #<directory (guix-user) 7fb7d29ec140>)
    In srfi/srfi-1.scm:
       702:29 16 (map1 _)
       702:29 15 (map1 (("fetch-narinfos" #<procedure fetch-narinfo…>) …))
       702:29 14 (map1 (("file-uris" #<procedure file-uris-vuln? ()>) #))
       702:17 13 (map1 (("cache-key" #<procedure cache-key-vuln? ()>)))
    In ice-9/eval.scm:
        159:9 12 (_ #(#(#(#(#(#(#(#(#<directory (g…>) …) …) …) …) …) …) …))
    In ice-9/boot-9.scm:
        733:2 11 (call-with-prompt ("prompt") #<procedure 7fb7be9f8780 …> …)
      1784:12 10 (with-exception-handler _ _ #:unwind? _ # _)
    In guix/utils.scm:
       1087:8  9 (call-with-temporary-directory #<procedure 7fb7be9f8620…>)
        183:4  8 (call-with-environment-variables _ _)
    In ice-9/eval.scm:
        619:8  7 (_ #(#(#<directory (guix-user) 7fb7d29ec140> "/tmp/…" …)))
    In unknown file:
               6 (_ #<procedure 7fb7bea059c0 at ice-9/eval.scm:339:13 (a…>)
    In ice-9/boot-9.scm:
        151:2  5 (dynamic-wind #<procedure 7fb7bea06e20 at ice-9/eval.s…> …)
    In ice-9/eval.scm:
        619:8  4 (_ #(#(#<directory (guix-user) 7fb7d29ec140> # "/tm…" …)))
    In guix/build/utils.scm:
        822:6  3 (invoke _ . _)
    In ice-9/boot-9.scm:
      1705:22  2 (raise-exception _ #:continuable? _)
      1831:13  1 (_ #<&invoke-error program: "/gnu/store/aiaw9whilrny22a…>)
    In ice-9/eval.scm:
       293:34  0 (_ #(#(#<directory (guix-user) 7fb7d29ec140> #<var…>) …))
    ice-9/eval.scm:293:34: ERROR:
      1. &invoke-error:
          program: 
"/gnu/store/aiaw9whilrny22a8p83ar4ch0i97chl1-git-minimal-2.54.0/bin/git"
          arguments: ("fetch" "--" "origin" 
"5a2d9baeda971df575c017669bca8eb8faa22ebd")
          exit-status: 128
          term-signal: #f
          stop-signal: #f
    restore-file: not vulnerable
    fetch-narinfos: not vulnerable
    file-uris: vulnerable
    cache-key: error: ice-9/eval.scm:293:34: ERROR:
      1. &invoke-error:
          program: 
"/gnu/store/aiaw9whilrny22a8p83ar4ch0i97chl1-git-minimal-2.54.0/bin/git"
          arguments: ("fetch" "--" "origin" 
"5a2d9baeda971df575c017669bca8eb8faa22ebd")
          exit-status: 128
          term-signal: #f
          stop-signal: #f


PS: As I see the message "file-uris: vulnerable", should I start
worried ?



Best regards

-------
Gendre Sébastien

Attachment: signature.asc
Description: PGP signature

Reply via email to