unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#49912: Logs for tests/pack.scm failure
@ 2021-08-06  8:58 Sjors Provoost
  0 siblings, 0 replies; only message in thread
From: Sjors Provoost @ 2021-08-06  8:58 UTC (permalink / raw)
  To: 49912, contact


[-- Attachment #1.1: Type: text/plain, Size: 2708 bytes --]

Hi Carl & Guix folks,

I built Guix 1.3.0 from source on Ubuntu 20.04 with help from Carl. It was built with Guile 3.

During the bootstrap it failed to build /gnu/store/2nvaxgs0rdxfkrwklh622ggaxg0wap6n-bash-mesboot0-2.05b.drv with "make: *** No rule to make target `bash'.  Stop.", after some warnings ("warning: no binary for interpreter `perl' found in $PATH").

I decided to run "make check" first before trying to debug the above. Most passed, except tests/pack.scm, tests/guix-git-authenticate.sh and tests/guix-pack-relocatable.sh. Zooming in on the first one, I ran that and attached the logs.

It attached the logs of one of the failing tests.

Cheers,

Sjors




$ make check TESTS="tests/pack.scm" SCM_LOG_DRIVER_FLAGS="--brief=no"
make  check-recursive
make[1]: Entering directory '/home/sjimmie/src/guix'
Making check in po/guix
make[2]: Entering directory '/home/sjimmie/src/guix/po/guix'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/home/sjimmie/src/guix/po/guix'
Making check in po/packages
make[2]: Entering directory '/home/sjimmie/src/guix/po/packages'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/home/sjimmie/src/guix/po/packages'
make[2]: Entering directory '/home/sjimmie/src/guix'
Compiling Scheme modules...
make  check-TESTS check-local
make[3]: Entering directory '/home/sjimmie/src/guix'
make[4]: Entering directory '/home/sjimmie/src/guix'
PASS: tests/pack.scm - self-contained-tarball
FAIL: tests/pack.scm - self-contained-tarball + localstatedir
FAIL: tests/pack.scm - self-contained-tarball + localstatedir, UTF-8 file names
FAIL: tests/pack.scm - docker-image + localstatedir
FAIL: tests/pack.scm - squashfs-image + localstatedir
============================================================================
Testsuite summary for GNU Guix 1.3.0
============================================================================
# TOTAL: 5
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  4
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to bug-guix@gnu.org
============================================================================
make[4]: *** [Makefile:6069: test-suite.log] Error 1
make[4]: Leaving directory '/home/sjimmie/src/guix'
make[3]: *** [Makefile:6177: check-TESTS] Error 2
make[3]: Leaving directory '/home/sjimmie/src/guix'
make[2]: *** [Makefile:6420: check-am] Error 2
make[2]: Leaving directory '/home/sjimmie/src/guix'
make[1]: *** [Makefile:5954: check-recursive] Error 1
make[1]: Leaving directory '/home/sjimmie/src/guix'
make: *** [Makefile:6422: check] Error 2



[-- Attachment #1.2.1: Type: text/html, Size: 4150 bytes --]

[-- Attachment #1.2.2: test.log --]
[-- Type: application/octet-stream, Size: 48690 bytes --]

$ cat test-suite.log
======================================
   GNU Guix 1.3.0: ./test-suite.log
======================================

# TOTAL: 5
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  4
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: tests/pack
================

test-name: self-contained-tarball
location: /home/sjimmie/src/guix/tests/pack.scm:63
source:
+ (test-assert
+   "self-contained-tarball"
+   (let ((guile (package-derivation %store %bootstrap-guile)))
+     (run-with-store
+       %store
+       (mlet* %store-monad
+              ((profile
+                 ->
+                 (profile
+                   (content
+                     (packages->manifest (list %bootstrap-guile)))
+                   (hooks '())
+                   (locales? #f)))
+               (tarball
+                 (self-contained-tarball
+                   "pack"
+                   profile
+                   #:symlinks
+                   '(("/bin/Guile" -> "bin/guile"))
+                   #:compressor
+                   %gzip-compressor
+                   #:archiver
+                   %tar-bootstrap))
+               (check (gexp->derivation
+                        "check-tarball"
+                        (with-imported-modules
+                          '((guix build utils))
+                          (gexp (begin
+                                  (use-modules
+                                    (guix build utils)
+                                    (srfi srfi-1))
+                                  (define store
+                                    (string-append
+                                      "."
+                                      (%store-directory)
+                                      "/"))
+                                  (define (canonical? file)
+                                    (let ((st (lstat file)))
+                                      (or (not (string-prefix? store file))
+                                          (eq? 'symlink (stat:type st))
+                                          (and (= 1 (stat:mtime st))
+                                               (zero? (logand
+                                                        146
+                                                        (stat:mode st)))))))
+                                  (define bin
+                                    (string-append
+                                      "."
+                                      (ungexp profile)
+                                      "/bin"))
+                                  (setenv
+                                    "PATH"
+                                    (string-append
+                                      (ungexp %tar-bootstrap)
+                                      "/bin"))
+                                  (system* "tar" "xvf" (ungexp tarball))
+                                  (mkdir (ungexp output))
+                                  (exit (and (file-exists?
+                                               (string-append bin "/guile"))
+                                             (file-exists? store)
+                                             (every canonical?
+                                                    (find-files
+                                                      "."
+                                                      (const #t)
+                                                      #:directories?
+                                                      #t))
+                                             (string=?
+                                               (string-append
+                                                 (ungexp %bootstrap-guile)
+                                                 "/bin")
+                                               (readlink bin))
+                                             (string=?
+                                               (string-append
+                                                 ".."
+                                                 (ungexp profile)
+                                                 "/bin/guile")
+                                               (readlink "bin/Guile"))))))))))
+              (built-derivations (list check)))
+       #:guile-for-build
+       guile)))
actual-value: #t
result: PASS

building path(s) `/gnu/store/s94hyrv1vgllxir5niiyzfc9g80l5kcd-bzip2-mesboot-1.0.8'
starting phase `set-SOURCE-DATE-EPOCH'
phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds
starting phase `set-paths'
environment variable `PATH' set to `/gnu/store/mza3q27yrm2zldksmhq1nj9s4m5zql0j-make-mesboot0-3.80/bin:/gnu/store/nrxrng6fpjlz8zkiw6z6ihwj26smp132-tcc-boot0-0.9.26-1103-g6e62e0e/bin:/gnu/store/prkqai3zwh3shlqpll6xyncmmqpj49dd-gash-boot-0.2.0/bin:/gnu/store/zsz0mj4jdsz4l511d368hwx2d9wrg4my-gash-utils-boot-0.1.0/bin:/gnu/store/x2iy3ka299sk1x97an783jl4pfbn60pj-bootar-1a/bin:/gnu/store/lgi9x15a0w35mcpd7g1kb9274r6wy4pv-guile-bootstrap-2.0/bin'
environment variable `C_INCLUDE_PATH' set to `/gnu/store/nrxrng6fpjlz8zkiw6z6ihwj26smp132-tcc-boot0-0.9.26-1103-g6e62e0e/include'
environment variable `LIBRARY_PATH' set to `/gnu/store/nrxrng6fpjlz8zkiw6z6ihwj26smp132-tcc-boot0-0.9.26-1103-g6e62e0e/lib:/gnu/store/prkqai3zwh3shlqpll6xyncmmqpj49dd-gash-boot-0.2.0/lib:/gnu/store/zsz0mj4jdsz4l511d368hwx2d9wrg4my-gash-utils-boot-0.1.0/lib:/gnu/store/x2iy3ka299sk1x97an783jl4pfbn60pj-bootar-1a/lib:/gnu/store/lgi9x15a0w35mcpd7g1kb9274r6wy4pv-guile-bootstrap-2.0/lib'
phase `set-paths' succeeded after 0.0 seconds
starting phase `install-locale'
warning: failed to install 'en_US.utf8' locale: Invalid argument
phase `install-locale' succeeded after 0.0 seconds
starting phase `unpack'
bzip2-1.0.8/blocksort.c
bzip2-1.0.8/huffman.c
bzip2-1.0.8/crctable.c
bzip2-1.0.8/randtable.c
bzip2-1.0.8/compress.c
bzip2-1.0.8/decompress.c
bzip2-1.0.8/bzlib.c
bzip2-1.0.8/bzip2.c
bzip2-1.0.8/bzip2recover.c
bzip2-1.0.8/bzlib.h
bzip2-1.0.8/bzlib_private.h
bzip2-1.0.8/Makefile
bzip2-1.0.8/LICENSE
bzip2-1.0.8/bzip2.1
bzip2-1.0.8/bzip2.1.preformatted
bzip2-1.0.8/bzip2.txt
bzip2-1.0.8/words0
bzip2-1.0.8/words1
bzip2-1.0.8/words2
bzip2-1.0.8/words3
bzip2-1.0.8/sample1.ref
bzip2-1.0.8/sample2.ref
bzip2-1.0.8/sample3.ref
bzip2-1.0.8/sample1.bz2
bzip2-1.0.8/sample2.bz2
bzip2-1.0.8/sample3.bz2
bzip2-1.0.8/dlltest.c
bzip2-1.0.8/manual.html
bzip2-1.0.8/manual.pdf
bzip2-1.0.8/manual.ps
bzip2-1.0.8/README
bzip2-1.0.8/README.COMPILATION.PROBLEMS
bzip2-1.0.8/README.XML.STUFF
bzip2-1.0.8/CHANGES
bzip2-1.0.8/libbz2.def
bzip2-1.0.8/libbz2.dsp
bzip2-1.0.8/dlltest.dsp
bzip2-1.0.8/makefile.msc
bzip2-1.0.8/unzcrash.c
bzip2-1.0.8/spewG.c
bzip2-1.0.8/mk251.c
bzip2-1.0.8/bzdiff
bzip2-1.0.8/bzdiff.1
bzip2-1.0.8/bzmore
bzip2-1.0.8/bzmore.1
bzip2-1.0.8/bzgrep
bzip2-1.0.8/bzgrep.1
bzip2-1.0.8/Makefile-libbz2_so
bzip2-1.0.8/bz-common.xsl
bzip2-1.0.8/bz-fo.xsl
bzip2-1.0.8/bz-html.xsl
bzip2-1.0.8/bzip.css
bzip2-1.0.8/entities.xml
bzip2-1.0.8/manual.xml
bzip2-1.0.8/format.pl
bzip2-1.0.8/xmlproc.sh
phase `unpack' succeeded after 5.8 seconds
starting phase `scripted-patch'
phase `scripted-patch' succeeded after 0.0 seconds
starting phase `bootstrap'
no 'configure.ac' or anything like that, doing nothing
phase `bootstrap' succeeded after 0.0 seconds
starting phase `patch-usr-bin-file'
phase `patch-usr-bin-file' succeeded after 0.0 seconds
starting phase `patch-source-shebangs'
patch-shebang: ./bzdiff: changing `/bin/sh' to `/gnu/store/prkqai3zwh3shlqpll6xyncmmqpj49dd-gash-boot-0.2.0/bin/sh'
patch-shebang: ./bzgrep: changing `/bin/sh' to `/gnu/store/prkqai3zwh3shlqpll6xyncmmqpj49dd-gash-boot-0.2.0/bin/sh'
patch-shebang: ./bzmore: changing `/bin/sh' to `/gnu/store/prkqai3zwh3shlqpll6xyncmmqpj49dd-gash-boot-0.2.0/bin/sh'
patch-shebang: ./format.pl: warning: no binary for interpreter `perl' found in $PATH
patch-shebang: ./xmlproc.sh: changing `/bin/bash' to `/gnu/store/prkqai3zwh3shlqpll6xyncmmqpj49dd-gash-boot-0.2.0/bin/bash'
phase `patch-source-shebangs' succeeded after 0.0 seconds
starting phase `configure'
phase `configure' succeeded after 0.0 seconds
starting phase `patch-generated-file-shebangs'
patch-shebang: ./format.pl: warning: no binary for interpreter `perl' found in $PATH
patch-makefile-SHELL: ./Makefile: changing `SHELL' from `/bin/sh' to `/gnu/store/prkqai3zwh3shlqpll6xyncmmqpj49dd-gash-boot-0.2.0/bin/sh'
phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
starting phase `build'
make: stat:Makefile: sterror: unknown error
make: *** No rule to make target `bzip2'.  Stop.
command "make" "CC=tcc -I ." "AR=tcc -ar" "bzip2" "PREFIX=/gnu/store/s94hyrv1vgllxir5niiyzfc9g80l5kcd-bzip2-mesboot-1.0.8" failed with status 2
builder for `/gnu/store/hifim0h1p7nw81mg6rl00g9q0m6vr0qw-bzip2-mesboot-1.0.8.drv' failed with exit code 1
building path(s) `/gnu/store/qgin29ghzk0z2z6hj6gpg4jx1gx6d6dg-acl-2.2.53.tar.gz'
cannot build derivation `/gnu/store/6nqc2f1jvr6f6y1c9pqsm6ddx8jrgfnf-bash-minimal-5.0.16.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/1wld08ibgbxciq2wqlfrfs7i87p1lcbq-binutils-2.34.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/9z04i2yfif9wx69g88254xylfi2xrlnp-bzip2-1.0.8.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/0khkqdc4bcr9nbyg7h45hxspy6j14909-coreutils-8.32.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/m9yqd2aspkhabvhdl3sc42f8vh1ls1ps-diffutils-3.7.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/3jwiqbgrhrgalvks0hjkhbmf6vz2q3qs-file-5.38.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/rkbjigda3mpbb8gcxrgjdnmm1wnfq48y-findutils-4.7.0.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/fyazyla09myashz9dv10w21y77b8nlqz-gawk-5.0.1.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/ajb7id4hpgxxsm8lpihpf3ljhngynw7z-gcc-7.5.0.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/szrk3i56cwshfn531n64i7643kx8q987-glibc-2.31.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/1q5y6a4dbzmpa0iypidkyy309j6jl6c6-gmp-6.2.0.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/rk9inw2kf9mrqly2xprkxardpxcmhbjv-grep-3.4.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/7hj8kbsqkm3qcpd8dyayx1c53r59ma2v-guile-3.0.2.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/9cdwvkm2r7nf9864qk32fa9g7bj0565x-gzip-1.10.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/qw8xr6frw3xikp5hc25q8ddwv6l7vk5v-gzip-1.10.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/aw32gpxkpq326kmxp28l9ihsqm86icha-libgc-8.0.4.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/ha6k697mn6x947aady229n2xc5ascili-libltdl-2.4.6.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/852hgz8h2ha710sv8db8azqkk8s8k0x3-libunistring-0.9.10.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/3gjjkdq3ll76lffa2563xx62h4w9cxks-linux-libre-headers-5.4.20.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/fgn6d4mhn5bbzd0b17i0l592jqkav14i-make-4.3.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/gb91yqixlm04kcm3v930b7sjxzdgac6r-patch-2.7.6.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/6nvm10nv6wlkpyzdw0ja8llnn0c3afpb-sed-4.8.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/c5risfnmnqm45a29vi7n1f4wggjv3zsp-tar-1.32.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/szjp1fkk8m5n2jzvkfnjvmi429c1b56b-xz-5.2.4.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/9mf76m44l60km9jihwspa23zilxhd6jq-check-tarball.drv': 1 dependencies couldn't be built
test-name: self-contained-tarball + localstatedir
location: /home/sjimmie/src/guix/tests/pack.scm:122
source:
+ (test-assert
+   "self-contained-tarball + localstatedir"
+   (let ((guile (package-derivation store %bootstrap-guile)))
+     (run-with-store
+       store
+       (mlet* %store-monad
+              ((guile (set-guile-for-build (default-guile)))
+               (profile
+                 (profile-derivation
+                   (packages->manifest (list %bootstrap-guile))
+                   #:hooks
+                   '()
+                   #:locales?
+                   #f))
+               (tarball
+                 (self-contained-tarball
+                   "tar-pack"
+                   profile
+                   #:localstatedir?
+                   #t))
+               (check (gexp->derivation
+                        "check-tarball"
+                        (gexp (let ((bin (string-append
+                                           "."
+                                           (ungexp profile)
+                                           "/bin")))
+                                (setenv
+                                  "PATH"
+                                  (string-append
+                                    (ungexp %tar-bootstrap)
+                                    "/bin"))
+                                (system* "tar" "xvf" (ungexp tarball))
+                                (mkdir (ungexp output))
+                                (exit (and (file-exists?
+                                             "var/guix/db/db.sqlite")
+                                           (string=?
+                                             (string-append
+                                               (ungexp %bootstrap-guile)
+                                               "/bin")
+                                             (readlink bin)))))))))
+              (built-derivations (list check)))
+       #:guile-for-build
+       guile)))
actual-value: #f
actual-error:
+ (%exception
+   #<&store-protocol-error message: "build of `/gnu/store/9mf76m44l60km9jihwspa23zilxhd6jq-check-tarball.drv' failed" status: 100>)
result: FAIL

/home/sjimmie/src/guix/tests/pack.scm:159:23: warning: importing module (guix config) from the host
building path(s) `/gnu/store/s94hyrv1vgllxir5niiyzfc9g80l5kcd-bzip2-mesboot-1.0.8'
starting phase `set-SOURCE-DATE-EPOCH'
phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds
starting phase `set-paths'
environment variable `PATH' set to `/gnu/store/mza3q27yrm2zldksmhq1nj9s4m5zql0j-make-mesboot0-3.80/bin:/gnu/store/nrxrng6fpjlz8zkiw6z6ihwj26smp132-tcc-boot0-0.9.26-1103-g6e62e0e/bin:/gnu/store/prkqai3zwh3shlqpll6xyncmmqpj49dd-gash-boot-0.2.0/bin:/gnu/store/zsz0mj4jdsz4l511d368hwx2d9wrg4my-gash-utils-boot-0.1.0/bin:/gnu/store/x2iy3ka299sk1x97an783jl4pfbn60pj-bootar-1a/bin:/gnu/store/lgi9x15a0w35mcpd7g1kb9274r6wy4pv-guile-bootstrap-2.0/bin'
environment variable `C_INCLUDE_PATH' set to `/gnu/store/nrxrng6fpjlz8zkiw6z6ihwj26smp132-tcc-boot0-0.9.26-1103-g6e62e0e/include'
environment variable `LIBRARY_PATH' set to `/gnu/store/nrxrng6fpjlz8zkiw6z6ihwj26smp132-tcc-boot0-0.9.26-1103-g6e62e0e/lib:/gnu/store/prkqai3zwh3shlqpll6xyncmmqpj49dd-gash-boot-0.2.0/lib:/gnu/store/zsz0mj4jdsz4l511d368hwx2d9wrg4my-gash-utils-boot-0.1.0/lib:/gnu/store/x2iy3ka299sk1x97an783jl4pfbn60pj-bootar-1a/lib:/gnu/store/lgi9x15a0w35mcpd7g1kb9274r6wy4pv-guile-bootstrap-2.0/lib'
phase `set-paths' succeeded after 0.0 seconds
starting phase `install-locale'
warning: failed to install 'en_US.utf8' locale: Invalid argument
phase `install-locale' succeeded after 0.0 seconds
starting phase `unpack'
bzip2-1.0.8/blocksort.c
bzip2-1.0.8/huffman.c
bzip2-1.0.8/crctable.c
bzip2-1.0.8/randtable.c
bzip2-1.0.8/compress.c
bzip2-1.0.8/decompress.c
bzip2-1.0.8/bzlib.c
bzip2-1.0.8/bzip2.c
bzip2-1.0.8/bzip2recover.c
bzip2-1.0.8/bzlib.h
bzip2-1.0.8/bzlib_private.h
bzip2-1.0.8/Makefile
bzip2-1.0.8/LICENSE
bzip2-1.0.8/bzip2.1
bzip2-1.0.8/bzip2.1.preformatted
bzip2-1.0.8/bzip2.txt
bzip2-1.0.8/words0
bzip2-1.0.8/words1
bzip2-1.0.8/words2
bzip2-1.0.8/words3
bzip2-1.0.8/sample1.ref
bzip2-1.0.8/sample2.ref
bzip2-1.0.8/sample3.ref
bzip2-1.0.8/sample1.bz2
bzip2-1.0.8/sample2.bz2
bzip2-1.0.8/sample3.bz2
bzip2-1.0.8/dlltest.c
bzip2-1.0.8/manual.html
bzip2-1.0.8/manual.pdf
bzip2-1.0.8/manual.ps
bzip2-1.0.8/README
bzip2-1.0.8/README.COMPILATION.PROBLEMS
bzip2-1.0.8/README.XML.STUFF
bzip2-1.0.8/CHANGES
bzip2-1.0.8/libbz2.def
bzip2-1.0.8/libbz2.dsp
bzip2-1.0.8/dlltest.dsp
bzip2-1.0.8/makefile.msc
bzip2-1.0.8/unzcrash.c
bzip2-1.0.8/spewG.c
bzip2-1.0.8/mk251.c
bzip2-1.0.8/bzdiff
bzip2-1.0.8/bzdiff.1
bzip2-1.0.8/bzmore
bzip2-1.0.8/bzmore.1
bzip2-1.0.8/bzgrep
bzip2-1.0.8/bzgrep.1
bzip2-1.0.8/Makefile-libbz2_so
bzip2-1.0.8/bz-common.xsl
bzip2-1.0.8/bz-fo.xsl
bzip2-1.0.8/bz-html.xsl
bzip2-1.0.8/bzip.css
bzip2-1.0.8/entities.xml
bzip2-1.0.8/manual.xml
bzip2-1.0.8/format.pl
bzip2-1.0.8/xmlproc.sh
phase `unpack' succeeded after 5.8 seconds
starting phase `scripted-patch'
phase `scripted-patch' succeeded after 0.0 seconds
starting phase `bootstrap'
no 'configure.ac' or anything like that, doing nothing
phase `bootstrap' succeeded after 0.0 seconds
starting phase `patch-usr-bin-file'
phase `patch-usr-bin-file' succeeded after 0.0 seconds
starting phase `patch-source-shebangs'
patch-shebang: ./bzdiff: changing `/bin/sh' to `/gnu/store/prkqai3zwh3shlqpll6xyncmmqpj49dd-gash-boot-0.2.0/bin/sh'
patch-shebang: ./bzgrep: changing `/bin/sh' to `/gnu/store/prkqai3zwh3shlqpll6xyncmmqpj49dd-gash-boot-0.2.0/bin/sh'
patch-shebang: ./bzmore: changing `/bin/sh' to `/gnu/store/prkqai3zwh3shlqpll6xyncmmqpj49dd-gash-boot-0.2.0/bin/sh'
patch-shebang: ./format.pl: warning: no binary for interpreter `perl' found in $PATH
patch-shebang: ./xmlproc.sh: changing `/bin/bash' to `/gnu/store/prkqai3zwh3shlqpll6xyncmmqpj49dd-gash-boot-0.2.0/bin/bash'
phase `patch-source-shebangs' succeeded after 0.0 seconds
starting phase `configure'
phase `configure' succeeded after 0.0 seconds
starting phase `patch-generated-file-shebangs'
patch-shebang: ./format.pl: warning: no binary for interpreter `perl' found in $PATH
patch-makefile-SHELL: ./Makefile: changing `SHELL' from `/bin/sh' to `/gnu/store/prkqai3zwh3shlqpll6xyncmmqpj49dd-gash-boot-0.2.0/bin/sh'
phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
starting phase `build'
make: stat:Makefile: sterror: unknown error
make: *** No rule to make target `bzip2'.  Stop.
command "make" "CC=tcc -I ." "AR=tcc -ar" "bzip2" "PREFIX=/gnu/store/s94hyrv1vgllxir5niiyzfc9g80l5kcd-bzip2-mesboot-1.0.8" failed with status 2
builder for `/gnu/store/hifim0h1p7nw81mg6rl00g9q0m6vr0qw-bzip2-mesboot-1.0.8.drv' failed with exit code 1
building path(s) `/gnu/store/qgin29ghzk0z2z6hj6gpg4jx1gx6d6dg-acl-2.2.53.tar.gz'
cannot build derivation `/gnu/store/6nqc2f1jvr6f6y1c9pqsm6ddx8jrgfnf-bash-minimal-5.0.16.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/1wld08ibgbxciq2wqlfrfs7i87p1lcbq-binutils-2.34.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/9z04i2yfif9wx69g88254xylfi2xrlnp-bzip2-1.0.8.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/0khkqdc4bcr9nbyg7h45hxspy6j14909-coreutils-8.32.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/m9yqd2aspkhabvhdl3sc42f8vh1ls1ps-diffutils-3.7.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/3jwiqbgrhrgalvks0hjkhbmf6vz2q3qs-file-5.38.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/rkbjigda3mpbb8gcxrgjdnmm1wnfq48y-findutils-4.7.0.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/fyazyla09myashz9dv10w21y77b8nlqz-gawk-5.0.1.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/ajb7id4hpgxxsm8lpihpf3ljhngynw7z-gcc-7.5.0.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/szrk3i56cwshfn531n64i7643kx8q987-glibc-2.31.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/1q5y6a4dbzmpa0iypidkyy309j6jl6c6-gmp-6.2.0.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/rk9inw2kf9mrqly2xprkxardpxcmhbjv-grep-3.4.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/7hj8kbsqkm3qcpd8dyayx1c53r59ma2v-guile-3.0.2.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/9cdwvkm2r7nf9864qk32fa9g7bj0565x-gzip-1.10.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/qw8xr6frw3xikp5hc25q8ddwv6l7vk5v-gzip-1.10.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/aw32gpxkpq326kmxp28l9ihsqm86icha-libgc-8.0.4.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/ha6k697mn6x947aady229n2xc5ascili-libltdl-2.4.6.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/852hgz8h2ha710sv8db8azqkk8s8k0x3-libunistring-0.9.10.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/3gjjkdq3ll76lffa2563xx62h4w9cxks-linux-libre-headers-5.4.20.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/fgn6d4mhn5bbzd0b17i0l592jqkav14i-make-4.3.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/gb91yqixlm04kcm3v930b7sjxzdgac6r-patch-2.7.6.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/6nvm10nv6wlkpyzdw0ja8llnn0c3afpb-sed-4.8.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/c5risfnmnqm45a29vi7n1f4wggjv3zsp-tar-1.32.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/szjp1fkk8m5n2jzvkfnjvmi429c1b56b-xz-5.2.4.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/0syr6fadmaf01d6x24rk21jr1jcfmx8f-check-tarball.drv': 1 dependencies couldn't be built
test-name: self-contained-tarball + localstatedir, UTF-8 file names
location: /home/sjimmie/src/guix/tests/pack.scm:145
source:
+ (test-assert
+   "self-contained-tarball + localstatedir, UTF-8 file names"
+   (let ((guile (package-derivation store %bootstrap-guile)))
+     (run-with-store
+       store
+       (mlet* %store-monad
+              ((guile (set-guile-for-build (default-guile)))
+               (tree (interned-file-tree
+                       `("directory-with-utf8-file-names"
+                         directory
+                         ("α" regular (data "alpha"))
+                         ("λ" regular (data "lambda")))))
+               (tarball
+                 (self-contained-tarball
+                   "tar-pack"
+                   tree
+                   #:localstatedir?
+                   #t))
+               (check (gexp->derivation
+                        "check-tarball"
+                        (with-extensions
+                          (list guile-sqlite3 guile-gcrypt)
+                          (with-imported-modules
+                            (source-module-closure '((guix store database)))
+                            (gexp (begin
+                                    (use-modules
+                                      (guix store database)
+                                      (rnrs io ports)
+                                      (srfi srfi-1))
+                                    (define (valid-file? basename data)
+                                      (define file
+                                        (string-append
+                                          "./"
+                                          (ungexp tree)
+                                          "/"
+                                          basename))
+                                      (string=?
+                                        (call-with-input-file
+                                          (pk 'file file)
+                                          get-string-all)
+                                        data))
+                                    (setenv
+                                      "PATH"
+                                      (string-append
+                                        (ungexp %tar-bootstrap)
+                                        "/bin"))
+                                    (system* "tar" "xvf" (ungexp tarball))
+                                    (sql-schema
+                                      (ungexp
+                                        (local-file
+                                          (search-path
+                                            %load-path
+                                            "guix/store/schema.sql"))))
+                                    (with-database
+                                      "var/guix/db/db.sqlite"
+                                      db
+                                      (setenv
+                                        "GUIX_LOCPATH"
+                                        (ungexp-native
+                                          (file-append
+                                            glibc-utf8-locales
+                                            "/lib/locale")))
+                                      (setlocale LC_ALL "en_US.utf8")
+                                      (mkdir (ungexp output))
+                                      (exit (and (every valid-file?
+                                                        '("α" "λ")
+                                                        '("alpha" "lambda"))
+                                                 (integer?
+                                                   (path-id
+                                                     db
+                                                     (ungexp tree)))))))))))))
+              (built-derivations (list check)))
+       #:guile-for-build
+       guile)))
actual-value: #f
actual-error:
+ (%exception
+   #<&store-protocol-error message: "build of `/gnu/store/0syr6fadmaf01d6x24rk21jr1jcfmx8f-check-tarball.drv' failed" status: 100>)
result: FAIL

building path(s) `/gnu/store/s94hyrv1vgllxir5niiyzfc9g80l5kcd-bzip2-mesboot-1.0.8'
starting phase `set-SOURCE-DATE-EPOCH'
phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds
starting phase `set-paths'
environment variable `PATH' set to `/gnu/store/mza3q27yrm2zldksmhq1nj9s4m5zql0j-make-mesboot0-3.80/bin:/gnu/store/nrxrng6fpjlz8zkiw6z6ihwj26smp132-tcc-boot0-0.9.26-1103-g6e62e0e/bin:/gnu/store/prkqai3zwh3shlqpll6xyncmmqpj49dd-gash-boot-0.2.0/bin:/gnu/store/zsz0mj4jdsz4l511d368hwx2d9wrg4my-gash-utils-boot-0.1.0/bin:/gnu/store/x2iy3ka299sk1x97an783jl4pfbn60pj-bootar-1a/bin:/gnu/store/lgi9x15a0w35mcpd7g1kb9274r6wy4pv-guile-bootstrap-2.0/bin'
environment variable `C_INCLUDE_PATH' set to `/gnu/store/nrxrng6fpjlz8zkiw6z6ihwj26smp132-tcc-boot0-0.9.26-1103-g6e62e0e/include'
environment variable `LIBRARY_PATH' set to `/gnu/store/nrxrng6fpjlz8zkiw6z6ihwj26smp132-tcc-boot0-0.9.26-1103-g6e62e0e/lib:/gnu/store/prkqai3zwh3shlqpll6xyncmmqpj49dd-gash-boot-0.2.0/lib:/gnu/store/zsz0mj4jdsz4l511d368hwx2d9wrg4my-gash-utils-boot-0.1.0/lib:/gnu/store/x2iy3ka299sk1x97an783jl4pfbn60pj-bootar-1a/lib:/gnu/store/lgi9x15a0w35mcpd7g1kb9274r6wy4pv-guile-bootstrap-2.0/lib'
phase `set-paths' succeeded after 0.0 seconds
starting phase `install-locale'
warning: failed to install 'en_US.utf8' locale: Invalid argument
phase `install-locale' succeeded after 0.0 seconds
starting phase `unpack'
bzip2-1.0.8/blocksort.c
bzip2-1.0.8/huffman.c
bzip2-1.0.8/crctable.c
bzip2-1.0.8/randtable.c
bzip2-1.0.8/compress.c
bzip2-1.0.8/decompress.c
bzip2-1.0.8/bzlib.c
bzip2-1.0.8/bzip2.c
bzip2-1.0.8/bzip2recover.c
bzip2-1.0.8/bzlib.h
bzip2-1.0.8/bzlib_private.h
bzip2-1.0.8/Makefile
bzip2-1.0.8/LICENSE
bzip2-1.0.8/bzip2.1
bzip2-1.0.8/bzip2.1.preformatted
bzip2-1.0.8/bzip2.txt
bzip2-1.0.8/words0
bzip2-1.0.8/words1
bzip2-1.0.8/words2
bzip2-1.0.8/words3
bzip2-1.0.8/sample1.ref
bzip2-1.0.8/sample2.ref
bzip2-1.0.8/sample3.ref
bzip2-1.0.8/sample1.bz2
bzip2-1.0.8/sample2.bz2
bzip2-1.0.8/sample3.bz2
bzip2-1.0.8/dlltest.c
bzip2-1.0.8/manual.html
bzip2-1.0.8/manual.pdf
bzip2-1.0.8/manual.ps
bzip2-1.0.8/README
bzip2-1.0.8/README.COMPILATION.PROBLEMS
bzip2-1.0.8/README.XML.STUFF
bzip2-1.0.8/CHANGES
bzip2-1.0.8/libbz2.def
bzip2-1.0.8/libbz2.dsp
bzip2-1.0.8/dlltest.dsp
bzip2-1.0.8/makefile.msc
bzip2-1.0.8/unzcrash.c
bzip2-1.0.8/spewG.c
bzip2-1.0.8/mk251.c
bzip2-1.0.8/bzdiff
bzip2-1.0.8/bzdiff.1
bzip2-1.0.8/bzmore
bzip2-1.0.8/bzmore.1
bzip2-1.0.8/bzgrep
bzip2-1.0.8/bzgrep.1
bzip2-1.0.8/Makefile-libbz2_so
bzip2-1.0.8/bz-common.xsl
bzip2-1.0.8/bz-fo.xsl
bzip2-1.0.8/bz-html.xsl
bzip2-1.0.8/bzip.css
bzip2-1.0.8/entities.xml
bzip2-1.0.8/manual.xml
bzip2-1.0.8/format.pl
bzip2-1.0.8/xmlproc.sh
phase `unpack' succeeded after 5.8 seconds
starting phase `scripted-patch'
phase `scripted-patch' succeeded after 0.0 seconds
starting phase `bootstrap'
no 'configure.ac' or anything like that, doing nothing
phase `bootstrap' succeeded after 0.0 seconds
starting phase `patch-usr-bin-file'
phase `patch-usr-bin-file' succeeded after 0.0 seconds
starting phase `patch-source-shebangs'
patch-shebang: ./bzdiff: changing `/bin/sh' to `/gnu/store/prkqai3zwh3shlqpll6xyncmmqpj49dd-gash-boot-0.2.0/bin/sh'
patch-shebang: ./bzgrep: changing `/bin/sh' to `/gnu/store/prkqai3zwh3shlqpll6xyncmmqpj49dd-gash-boot-0.2.0/bin/sh'
patch-shebang: ./bzmore: changing `/bin/sh' to `/gnu/store/prkqai3zwh3shlqpll6xyncmmqpj49dd-gash-boot-0.2.0/bin/sh'
patch-shebang: ./format.pl: warning: no binary for interpreter `perl' found in $PATH
patch-shebang: ./xmlproc.sh: changing `/bin/bash' to `/gnu/store/prkqai3zwh3shlqpll6xyncmmqpj49dd-gash-boot-0.2.0/bin/bash'
phase `patch-source-shebangs' succeeded after 0.0 seconds
starting phase `configure'
phase `configure' succeeded after 0.0 seconds
starting phase `patch-generated-file-shebangs'
patch-shebang: ./format.pl: warning: no binary for interpreter `perl' found in $PATH
patch-makefile-SHELL: ./Makefile: changing `SHELL' from `/bin/sh' to `/gnu/store/prkqai3zwh3shlqpll6xyncmmqpj49dd-gash-boot-0.2.0/bin/sh'
phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
starting phase `build'
make: stat:Makefile: sterror: unknown error
make: *** No rule to make target `bzip2'.  Stop.
command "make" "CC=tcc -I ." "AR=tcc -ar" "bzip2" "PREFIX=/gnu/store/s94hyrv1vgllxir5niiyzfc9g80l5kcd-bzip2-mesboot-1.0.8" failed with status 2
builder for `/gnu/store/hifim0h1p7nw81mg6rl00g9q0m6vr0qw-bzip2-mesboot-1.0.8.drv' failed with exit code 1
building path(s) `/gnu/store/qgin29ghzk0z2z6hj6gpg4jx1gx6d6dg-acl-2.2.53.tar.gz'
cannot build derivation `/gnu/store/6nqc2f1jvr6f6y1c9pqsm6ddx8jrgfnf-bash-minimal-5.0.16.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/1wld08ibgbxciq2wqlfrfs7i87p1lcbq-binutils-2.34.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/9z04i2yfif9wx69g88254xylfi2xrlnp-bzip2-1.0.8.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/0khkqdc4bcr9nbyg7h45hxspy6j14909-coreutils-8.32.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/m9yqd2aspkhabvhdl3sc42f8vh1ls1ps-diffutils-3.7.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/3jwiqbgrhrgalvks0hjkhbmf6vz2q3qs-file-5.38.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/rkbjigda3mpbb8gcxrgjdnmm1wnfq48y-findutils-4.7.0.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/fyazyla09myashz9dv10w21y77b8nlqz-gawk-5.0.1.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/ajb7id4hpgxxsm8lpihpf3ljhngynw7z-gcc-7.5.0.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/szrk3i56cwshfn531n64i7643kx8q987-glibc-2.31.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/1q5y6a4dbzmpa0iypidkyy309j6jl6c6-gmp-6.2.0.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/rk9inw2kf9mrqly2xprkxardpxcmhbjv-grep-3.4.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/7hj8kbsqkm3qcpd8dyayx1c53r59ma2v-guile-3.0.2.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/9cdwvkm2r7nf9864qk32fa9g7bj0565x-gzip-1.10.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/qw8xr6frw3xikp5hc25q8ddwv6l7vk5v-gzip-1.10.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/aw32gpxkpq326kmxp28l9ihsqm86icha-libgc-8.0.4.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/ha6k697mn6x947aady229n2xc5ascili-libltdl-2.4.6.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/852hgz8h2ha710sv8db8azqkk8s8k0x3-libunistring-0.9.10.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/3gjjkdq3ll76lffa2563xx62h4w9cxks-linux-libre-headers-5.4.20.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/fgn6d4mhn5bbzd0b17i0l592jqkav14i-make-4.3.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/gb91yqixlm04kcm3v930b7sjxzdgac6r-patch-2.7.6.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/6nvm10nv6wlkpyzdw0ja8llnn0c3afpb-sed-4.8.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/c5risfnmnqm45a29vi7n1f4wggjv3zsp-tar-1.32.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/szjp1fkk8m5n2jzvkfnjvmi429c1b56b-xz-5.2.4.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/mbgfm50vrjwqbpx45an6bpw8a32q5l59-check-tarball.drv': 1 dependencies couldn't be built
test-name: docker-image + localstatedir
location: /home/sjimmie/src/guix/tests/pack.scm:196
source:
+ (test-assert
+   "docker-image + localstatedir"
+   (let ((guile (package-derivation store %bootstrap-guile)))
+     (run-with-store
+       store
+       (mlet* %store-monad
+              ((guile (set-guile-for-build (default-guile)))
+               (profile
+                 (profile-derivation
+                   (packages->manifest (list %bootstrap-guile))
+                   #:hooks
+                   '()
+                   #:locales?
+                   #f))
+               (tarball
+                 (docker-image
+                   "docker-pack"
+                   profile
+                   #:symlinks
+                   '(("/bin/Guile" -> "bin/guile"))
+                   #:localstatedir?
+                   #t))
+               (check (gexp->derivation
+                        "check-tarball"
+                        (with-imported-modules
+                          '((guix build utils))
+                          (gexp (begin
+                                  (use-modules
+                                    (guix build utils)
+                                    (ice-9 match))
+                                  (define bin
+                                    (string-append
+                                      "."
+                                      (ungexp profile)
+                                      "/bin"))
+                                  (setenv
+                                    "PATH"
+                                    (string-append
+                                      (ungexp %tar-bootstrap)
+                                      "/bin"))
+                                  (mkdir "base")
+                                  (with-directory-excursion
+                                    "base"
+                                    (invoke "tar" "xvf" (ungexp tarball)))
+                                  (match (find-files "base" "layer.tar")
+                                         ((layer) (invoke "tar" "xvf" layer)))
+                                  (when (and (file-exists?
+                                               (string-append bin "/guile"))
+                                             (file-exists?
+                                               "var/guix/db/db.sqlite")
+                                             (file-is-directory? "tmp")
+                                             (string=?
+                                               (string-append
+                                                 (ungexp %bootstrap-guile)
+                                                 "/bin")
+                                               (pk 'binlink (readlink bin)))
+                                             (string=?
+                                               (string-append
+                                                 (ungexp profile)
+                                                 "/bin/guile")
+                                               (pk 'guilelink
+                                                   (readlink "bin/Guile"))))
+                                        (mkdir (ungexp output)))))))))
+              (built-derivations (list check)))
+       #:guile-for-build
+       guile)))
actual-value: #f
actual-error:
+ (%exception
+   #<&store-protocol-error message: "build of `/gnu/store/mbgfm50vrjwqbpx45an6bpw8a32q5l59-check-tarball.drv' failed" status: 100>)
result: FAIL

building path(s) `/gnu/store/s94hyrv1vgllxir5niiyzfc9g80l5kcd-bzip2-mesboot-1.0.8'
starting phase `set-SOURCE-DATE-EPOCH'
phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds
starting phase `set-paths'
environment variable `PATH' set to `/gnu/store/mza3q27yrm2zldksmhq1nj9s4m5zql0j-make-mesboot0-3.80/bin:/gnu/store/nrxrng6fpjlz8zkiw6z6ihwj26smp132-tcc-boot0-0.9.26-1103-g6e62e0e/bin:/gnu/store/prkqai3zwh3shlqpll6xyncmmqpj49dd-gash-boot-0.2.0/bin:/gnu/store/zsz0mj4jdsz4l511d368hwx2d9wrg4my-gash-utils-boot-0.1.0/bin:/gnu/store/x2iy3ka299sk1x97an783jl4pfbn60pj-bootar-1a/bin:/gnu/store/lgi9x15a0w35mcpd7g1kb9274r6wy4pv-guile-bootstrap-2.0/bin'
environment variable `C_INCLUDE_PATH' set to `/gnu/store/nrxrng6fpjlz8zkiw6z6ihwj26smp132-tcc-boot0-0.9.26-1103-g6e62e0e/include'
environment variable `LIBRARY_PATH' set to `/gnu/store/nrxrng6fpjlz8zkiw6z6ihwj26smp132-tcc-boot0-0.9.26-1103-g6e62e0e/lib:/gnu/store/prkqai3zwh3shlqpll6xyncmmqpj49dd-gash-boot-0.2.0/lib:/gnu/store/zsz0mj4jdsz4l511d368hwx2d9wrg4my-gash-utils-boot-0.1.0/lib:/gnu/store/x2iy3ka299sk1x97an783jl4pfbn60pj-bootar-1a/lib:/gnu/store/lgi9x15a0w35mcpd7g1kb9274r6wy4pv-guile-bootstrap-2.0/lib'
phase `set-paths' succeeded after 0.0 seconds
starting phase `install-locale'
warning: failed to install 'en_US.utf8' locale: Invalid argument
phase `install-locale' succeeded after 0.0 seconds
starting phase `unpack'
bzip2-1.0.8/blocksort.c
bzip2-1.0.8/huffman.c
bzip2-1.0.8/crctable.c
bzip2-1.0.8/randtable.c
bzip2-1.0.8/compress.c
bzip2-1.0.8/decompress.c
bzip2-1.0.8/bzlib.c
bzip2-1.0.8/bzip2.c
bzip2-1.0.8/bzip2recover.c
bzip2-1.0.8/bzlib.h
bzip2-1.0.8/bzlib_private.h
bzip2-1.0.8/Makefile
bzip2-1.0.8/LICENSE
bzip2-1.0.8/bzip2.1
bzip2-1.0.8/bzip2.1.preformatted
bzip2-1.0.8/bzip2.txt
bzip2-1.0.8/words0
bzip2-1.0.8/words1
bzip2-1.0.8/words2
bzip2-1.0.8/words3
bzip2-1.0.8/sample1.ref
bzip2-1.0.8/sample2.ref
bzip2-1.0.8/sample3.ref
bzip2-1.0.8/sample1.bz2
bzip2-1.0.8/sample2.bz2
bzip2-1.0.8/sample3.bz2
bzip2-1.0.8/dlltest.c
bzip2-1.0.8/manual.html
bzip2-1.0.8/manual.pdf
bzip2-1.0.8/manual.ps
bzip2-1.0.8/README
bzip2-1.0.8/README.COMPILATION.PROBLEMS
bzip2-1.0.8/README.XML.STUFF
bzip2-1.0.8/CHANGES
bzip2-1.0.8/libbz2.def
bzip2-1.0.8/libbz2.dsp
bzip2-1.0.8/dlltest.dsp
bzip2-1.0.8/makefile.msc
bzip2-1.0.8/unzcrash.c
bzip2-1.0.8/spewG.c
bzip2-1.0.8/mk251.c
bzip2-1.0.8/bzdiff
bzip2-1.0.8/bzdiff.1
bzip2-1.0.8/bzmore
bzip2-1.0.8/bzmore.1
bzip2-1.0.8/bzgrep
bzip2-1.0.8/bzgrep.1
bzip2-1.0.8/Makefile-libbz2_so
bzip2-1.0.8/bz-common.xsl
bzip2-1.0.8/bz-fo.xsl
bzip2-1.0.8/bz-html.xsl
bzip2-1.0.8/bzip.css
bzip2-1.0.8/entities.xml
bzip2-1.0.8/manual.xml
bzip2-1.0.8/format.pl
bzip2-1.0.8/xmlproc.sh
phase `unpack' succeeded after 5.7 seconds
starting phase `scripted-patch'
phase `scripted-patch' succeeded after 0.0 seconds
starting phase `bootstrap'
no 'configure.ac' or anything like that, doing nothing
phase `bootstrap' succeeded after 0.0 seconds
starting phase `patch-usr-bin-file'
phase `patch-usr-bin-file' succeeded after 0.0 seconds
starting phase `patch-source-shebangs'
patch-shebang: ./bzdiff: changing `/bin/sh' to `/gnu/store/prkqai3zwh3shlqpll6xyncmmqpj49dd-gash-boot-0.2.0/bin/sh'
patch-shebang: ./bzgrep: changing `/bin/sh' to `/gnu/store/prkqai3zwh3shlqpll6xyncmmqpj49dd-gash-boot-0.2.0/bin/sh'
patch-shebang: ./bzmore: changing `/bin/sh' to `/gnu/store/prkqai3zwh3shlqpll6xyncmmqpj49dd-gash-boot-0.2.0/bin/sh'
patch-shebang: ./format.pl: warning: no binary for interpreter `perl' found in $PATH
patch-shebang: ./xmlproc.sh: changing `/bin/bash' to `/gnu/store/prkqai3zwh3shlqpll6xyncmmqpj49dd-gash-boot-0.2.0/bin/bash'
phase `patch-source-shebangs' succeeded after 0.0 seconds
starting phase `configure'
phase `configure' succeeded after 0.0 seconds
starting phase `patch-generated-file-shebangs'
patch-shebang: ./format.pl: warning: no binary for interpreter `perl' found in $PATH
patch-makefile-SHELL: ./Makefile: changing `SHELL' from `/bin/sh' to `/gnu/store/prkqai3zwh3shlqpll6xyncmmqpj49dd-gash-boot-0.2.0/bin/sh'
phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
starting phase `build'
make: stat:Makefile: sterror: unknown error
make: *** No rule to make target `bzip2'.  Stop.
command "make" "CC=tcc -I ." "AR=tcc -ar" "bzip2" "PREFIX=/gnu/store/s94hyrv1vgllxir5niiyzfc9g80l5kcd-bzip2-mesboot-1.0.8" failed with status 2
builder for `/gnu/store/hifim0h1p7nw81mg6rl00g9q0m6vr0qw-bzip2-mesboot-1.0.8.drv' failed with exit code 1
building path(s) `/gnu/store/qgin29ghzk0z2z6hj6gpg4jx1gx6d6dg-acl-2.2.53.tar.gz'
cannot build derivation `/gnu/store/6nqc2f1jvr6f6y1c9pqsm6ddx8jrgfnf-bash-minimal-5.0.16.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/1wld08ibgbxciq2wqlfrfs7i87p1lcbq-binutils-2.34.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/9z04i2yfif9wx69g88254xylfi2xrlnp-bzip2-1.0.8.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/0khkqdc4bcr9nbyg7h45hxspy6j14909-coreutils-8.32.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/m9yqd2aspkhabvhdl3sc42f8vh1ls1ps-diffutils-3.7.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/3jwiqbgrhrgalvks0hjkhbmf6vz2q3qs-file-5.38.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/rkbjigda3mpbb8gcxrgjdnmm1wnfq48y-findutils-4.7.0.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/fyazyla09myashz9dv10w21y77b8nlqz-gawk-5.0.1.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/ajb7id4hpgxxsm8lpihpf3ljhngynw7z-gcc-7.5.0.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/szrk3i56cwshfn531n64i7643kx8q987-glibc-2.31.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/1q5y6a4dbzmpa0iypidkyy309j6jl6c6-gmp-6.2.0.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/rk9inw2kf9mrqly2xprkxardpxcmhbjv-grep-3.4.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/7hj8kbsqkm3qcpd8dyayx1c53r59ma2v-guile-3.0.2.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/9cdwvkm2r7nf9864qk32fa9g7bj0565x-gzip-1.10.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/qw8xr6frw3xikp5hc25q8ddwv6l7vk5v-gzip-1.10.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/aw32gpxkpq326kmxp28l9ihsqm86icha-libgc-8.0.4.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/ha6k697mn6x947aady229n2xc5ascili-libltdl-2.4.6.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/852hgz8h2ha710sv8db8azqkk8s8k0x3-libunistring-0.9.10.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/3gjjkdq3ll76lffa2563xx62h4w9cxks-linux-libre-headers-5.4.20.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/fgn6d4mhn5bbzd0b17i0l592jqkav14i-make-4.3.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/gb91yqixlm04kcm3v930b7sjxzdgac6r-patch-2.7.6.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/6nvm10nv6wlkpyzdw0ja8llnn0c3afpb-sed-4.8.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/c5risfnmnqm45a29vi7n1f4wggjv3zsp-tar-1.32.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/szjp1fkk8m5n2jzvkfnjvmi429c1b56b-xz-5.2.4.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/nbmaim1zrnafpnc3kb64pip727kkrpyk-check-tarball.drv': 1 dependencies couldn't be built
test-name: squashfs-image + localstatedir
location: /home/sjimmie/src/guix/tests/pack.scm:237
source:
+ (test-assert
+   "squashfs-image + localstatedir"
+   (let ((guile (package-derivation store %bootstrap-guile)))
+     (run-with-store
+       store
+       (mlet* %store-monad
+              ((guile (set-guile-for-build (default-guile)))
+               (profile
+                 (profile-derivation
+                   (packages->manifest (list %bootstrap-guile))
+                   #:hooks
+                   '()
+                   #:locales?
+                   #f))
+               (image (squashfs-image
+                        "squashfs-pack"
+                        profile
+                        #:symlinks
+                        '(("/bin" -> "bin"))
+                        #:localstatedir?
+                        #t))
+               (check (gexp->derivation
+                        "check-tarball"
+                        (with-imported-modules
+                          '((guix build utils))
+                          (gexp (begin
+                                  (use-modules
+                                    (guix build utils)
+                                    (ice-9 match))
+                                  (define bin
+                                    (string-append
+                                      "."
+                                      (ungexp profile)
+                                      "/bin"))
+                                  (setenv
+                                    "PATH"
+                                    (string-append
+                                      (ungexp squashfs-tools)
+                                      "/bin"))
+                                  (invoke "unsquashfs" (ungexp image))
+                                  (with-directory-excursion
+                                    "squashfs-root"
+                                    (when (and (file-exists?
+                                                 (string-append bin "/guile"))
+                                               (file-exists?
+                                                 "var/guix/db/db.sqlite")
+                                               (string=?
+                                                 (string-append
+                                                   (ungexp %bootstrap-guile)
+                                                   "/bin")
+                                                 (pk 'binlink (readlink bin)))
+                                               (string=?
+                                                 (string-drop
+                                                   (string-append
+                                                     (ungexp profile)
+                                                     "/bin")
+                                                   1)
+                                                 (pk 'guilelink
+                                                     (readlink "bin"))))
+                                          (mkdir (ungexp output))))))))))
+              (built-derivations (list check)))
+       #:guile-for-build
+       guile)))
actual-value: #f
actual-error:
+ (%exception
+   #<&store-protocol-error message: "build of `/gnu/store/nbmaim1zrnafpnc3kb64pip727kkrpyk-check-tarball.drv' failed" status: 100>)
result: FAIL

[-- Attachment #1.2.3: Type: text/html, Size: 13143 bytes --]

[-- Attachment #2: Message signed with OpenPGP --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-06 17:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-06  8:58 bug#49912: Logs for tests/pack.scm failure Sjors Provoost

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).