;;; (APPIMAGE-drv #<derivation /gnu/store/0h8njy75dqg9fix4rzy5d0g0slfc80c4-check-appimage-with-localstatedir.drv => /gnu/store/p8mjz31q7pl2zprhg633mrd16fjgjzyy-check-appimage-with-localstatedir 7f2620f1af00>)
/home/maxim/src/guix-master/tests/pack.scm:170:23: warning: importing module (guix config) from the host
substitute: 
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'...   0.0%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 100.0%
substitute: 
substitute: looking for substitutes on 'https://ci.guix.gnu.org'...   0.0%
substitute: looking for substitutes on 'https://ci.guix.gnu.org'... 100.0%
substitute: 
substitute: looking for substitutes on 'https://substitutes.nonguix.org'...   0.0%
substitute: looking for substitutes on 'https://substitutes.nonguix.org'... 100.0%
@ build-started /gnu/store/0h8njy75dqg9fix4rzy5d0g0slfc80c4-check-appimage-with-localstatedir.drv - x86_64-linux /var/log/guix/drvs/0h//8njy75dqg9fix4rzy5d0g0slfc80c4-check-appimage-with-localstatedir.drv 29970
Failed to run /tmp/guix-build-check-appimage-with-localstatedir.drv-0/appimage_extracted_6e6d6d6e334ba7c664e0fcbca7a73389/AppRun: No such file or directory
builder for `/gnu/store/0h8njy75dqg9fix4rzy5d0g0slfc80c4-check-appimage-with-localstatedir.drv' failed to produce output path `/gnu/store/p8mjz31q7pl2zprhg633mrd16fjgjzyy-check-appimage-with-localstatedir'
@ build-failed /gnu/store/0h8njy75dqg9fix4rzy5d0g0slfc80c4-check-appimage-with-localstatedir.drv - 1 builder for `/gnu/store/0h8njy75dqg9fix4rzy5d0g0slfc80c4-check-appimage-with-localstatedir.drv' failed to produce output path `/gnu/store/p8mjz31q7pl2zprhg633mrd16fjgjzyy-check-appimage-with-localstatedir'
test-name: appimage + localstatedir
location: /home/maxim/src/guix-master/tests/pack.scm:368
source:
+ (test-assert
+   "appimage + localstatedir"
+   (let ((guile (package-derivation store %bootstrap-guile)))
+     (run-with-store
+       store
+       (mlet* %store-monad
+              ((guile (set-guile-for-build (default-guile)))
+               (profile
+                 ->
+                 (profile
+                   (content
+                     (packages->manifest (list guile-3.0 glibc)))
+                   (hooks '())
+                   (locales? #f)))
+               (image (self-contained-appimage
+                        "guile-appimage"
+                        profile
+                        #:entry-point
+                        "bin/guile"
+                        #:localstatedir?
+                        #t
+                        #:extra-options
+                        '(#:relocatable? #t)))
+               (check (gexp->derivation
+                        "check-appimage-with-localstatedir"
+                        (gexp (begin
+                                (system*
+                                  (ungexp image)
+                                  "--appimage-extract-and-run"
+                                  "-c"
+                                  (object->string
+                                    `(call-with-output-file
+                                       (ungexp output)
+                                       (lambda (port)
+                                         (display
+                                           "Hello from Guile!\n"
+                                           port)))))
+                                (system* (ungexp image) "--appimage-extract")
+                                (exit (file-exists?
+                                        "squashfs-root/var/guix/db/db.sqlite")))))))
+              (mbegin
+                %store-monad
+                (built-derivations
+                  (list (pk 'APPIMAGE-drv check)))
+                (return
+                  (string=?
+                    (call-with-input-file
+                      (derivation->output-path check)
+                      get-string-all)
+                    "Hello from Guile!\n"))))
+       #:guile-for-build
+       guile)))
actual-value: #f
actual-error:
+ (%exception
+   #<&store-protocol-error message: "build of `/gnu/store/0h8njy75dqg9fix4rzy5d0g0slfc80c4-check-appimage-with-localstatedir.drv' failed" status: 1>)
result: FAIL

Generated by apteryx using scpaste at Tue Nov 18 16:09:04 2025. JST. (original)