starting new job...
→ running command: dir='/etc/byggsteg/job-clone//heks-linux/trunk'
branch='trunk'
if ! command -v git >/dev/null 2>&1; then
echo 'byggsteg: git is not on this deployment PATH, so the clone cannot be updated' >&2
exit 1
fi
if ! cd "$dir"; then
echo "byggsteg: cannot enter the clone $dir" >&2
exit 1
fi
root=$(git rev-parse --show-toplevel 2>/dev/null)
if [ "$root" != "$(pwd -P)" ]; then
echo "byggsteg: $dir is not a git checkout; remove it and the next run clones it again" >&2
exit 1
fi
if ! origin=$(git remote get-url origin 2>/dev/null); then
echo "byggsteg: $dir has no origin remote to fetch $branch from" >&2
exit 1
fi
before=$(git rev-parse --short HEAD 2>/dev/null) || before=none
attempt=1
while :; do
if GIT_TERMINAL_PROMPT=0 git fetch --quiet origin "+refs/heads/$branch:refs/remotes/origin/$branch"; then
break
fi
if [ "$attempt" -ge 3 ]; then
echo "byggsteg: could not fetch $branch from $origin after 3 attempts; is the branch still there, and is the remote reachable?" >&2
exit 1
fi
echo "byggsteg: fetching $branch from $origin failed; retrying in $((attempt * 2))s" >&2
sleep $((attempt * 2))
attempt=$((attempt + 1))
done
if ! git checkout --quiet --force -B "$branch" FETCH_HEAD; then
echo "byggsteg: fetched $branch from $origin but could not check it out" >&2
exit 1
fi
after=$(git rev-parse --short HEAD)
if [ "$before" = "$after" ]; then
echo "byggsteg: $branch was already at $after"
else
echo "byggsteg: $branch moved from $before to $after"
fi
byggsteg: trunk moved from 60383f9 to c411ea2
→ running command: cd /etc/byggsteg/job-clone/heks-linux/trunk && uname -a
Linux wolk-jjba 7.2.11-gnu #1 SMP PREEMPT_DYNAMIC 1 x86_64 GNU/Linux
→ running command: cd /etc/byggsteg/job-clone/heks-linux/trunk && git log --name-status HEAD^..HEAD
commit c411ea238fe9c026f7bf12ed81a3eb0e6fffd36e
Author: Josep Bigorra <jjbigorra@gmail.com>
Date: Mon Nov 2 10:20:03 2026 +0100
feat(channels): pin the collection at sift 1.15.0
sift 1.15.0 is the release that compiles the formatter, the linter and the
language server's buffer half to WebAssembly, so the browser editor answers the
same questions an editor beside a checkout does.
Both halves of the collection move together, which is the rule this file has
always kept: channels.scm names the jointhefreeworld commit
(04c403f8fe1f1ff39af99b2ec37a2079017e5b6b) and
nix-jointhefreeworld-revision names the Nix one
(498335270db73052ae54731059ec3ed4e0092d69), and both carry sift 1.15.0.
M channels.scm
M maak.scm
→ running command: cd /etc/byggsteg/job-clone/heks-linux/trunk && maak ci
channels.scm:42:6: warning: channel 'jointhefreeworld' is not trusted
Updating channel 'guix' from Git repository at 'https://codeberg.org/guix/guix.git'...
Updating channel 'jointhefreeworld' from Git repository at 'https://github.com/jjba23/guix-jointhefreeworld'...
Authenticating channel 'jointhefreeworld', commits b0ac3f0 to 04c403f (1 new commit)...
warning: 'typst' is deprecated, use '(@ (gnu packages typst) typst)' instead
▕██████████████████████████████████████████████████████████████████████████████▏
warning: 'uv' is deprecated, use '(@ (gnu packages build-tools) uv)' instead
warning: 'uv' is deprecated, use '(@ (gnu packages build-tools) uv)' instead
warning: 'oniguruma' is deprecated, use '(@ (gnu packages regex) oniguruma)' instead
warning: 'oniguruma' is deprecated, use '(@ (gnu packages regex) oniguruma)' instead
Computing Guix derivation for 'x86_64-linux'...
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 100.0%
substitute:
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 0.0%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 50.0%
substitute: looking for substitutes on 'https://ci.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'... 50.0%
The following derivations will be built:
/gnu/store/zf85p84nirnd43vmd1c62wa30y28jyma-inferior-script.scm.drv
/gnu/store/ajd2z78wabgva0djbd8plz3rvh6rppc6-jointhefreeworld.drv
/gnu/store/0j2cj9khw07prw3yi6pchh80dcnyg36z-profile.drv
/gnu/store/hrx2knr7scvr5mwq0b98br84pkqqhd35-inferior-script.scm.drv
/gnu/store/bdp62jwnqfaz9hs20z88lnv47bbc07b0-profile.drv
building /gnu/store/zf85p84nirnd43vmd1c62wa30y28jyma-inferior-script.scm.drv...
building /gnu/store/ajd2z78wabgva0djbd8plz3rvh6rppc6-jointhefreeworld.drv...
building CA certificate bundle...
listing Emacs sub-directories...
building fonts directory...
building directory of Info manuals...
building profile with 2 packages...
building /gnu/store/hrx2knr7scvr5mwq0b98br84pkqqhd35-inferior-script.scm.drv...
building package cache...
building profile with 2 packages...
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 100.0%
substitute:
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 0.0%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 50.0%
substitute: looking for substitutes on 'https://ci.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'... 50.0%
The following derivations will be built:
/gnu/store/5y7yk1nqqmglv616y5z7nf270vcv8lfr-sift-1.15.0-checkout.drv
/gnu/store/ax1cp8l9vx6f81852his2n4jxjgwsrz5-sift-1.15.0.drv
/gnu/store/1f6na253vizjfh52l443nsrmndzv8yvg-profile.drv
building /gnu/store/5y7yk1nqqmglv616y5z7nf270vcv8lfr-sift-1.15.0-checkout.drv...
building /gnu/store/ax1cp8l9vx6f81852his2n4jxjgwsrz5-sift-1.15.0.drv...
100% ▕█████████████████████████████████████████████████████████████████████████▏building CA certificate bundle...
3% ▕██▍ ▏
7% ▕████▊ ▏
10% ▕███████▎ ▏
13% ▕█████████▋ ▏
17% ▕████████████▏ ▏
20% ▕██████████████▌ ▏
23% ▕█████████████████ ▏
27% ▕███████████████████▍ ▏
30% ▕█████████████████████▉ ▏
33% ▕████████████████████████▎ ▏
37% ▕██████████████████████████▊ ▏
40% ▕█████████████████████████████▏ ▏
43% ▕███████████████████████████████▋ ▏
47% ▕██████████████████████████████████ ▏
50% ▕████████████████████████████████████▌ ▏
53% ▕██████████████████████████████████████▉ ▏
57% ▕█████████████████████████████████████████▎ ▏
60% ▕███████████████████████████████████████████▊ ▏
63% ▕██████████████████████████████████████████████▏ ▏
67% ▕████████████████████████████████████████████████▋ ▏
70% ▕███████████████████████████████████████████████████ ▏
73% ▕█████████████████████████████████████████████████████▌ ▏
77% ▕███████████████████████████████████████████████████████▉ ▏
80% ▕██████████████████████████████████████████████████████████▍ ▏
83% ▕████████████████████████████████████████████████████████████▊ ▏
87% ▕███████████████████████████████████████████████████████████████▎ ▏
90% ▕█████████████████████████████████████████████████████████████████▋ ▏
93% ▕████████████████████████████████████████████████████████████████████▏ ▏
97% ▕██████████████████████████████████████████████████████████████████████▌ ▏
100% ▕█████████████████████████████████████████████████████████████████████████▏
listing Emacs sub-directories...
building fonts directory...
building directory of Info manuals...
building profile with 12 packages...
--- ./src/heks-linux/mavericks.scm
+++ ./src/heks-linux/mavericks.scm
@@ -59,37 +59,37 @@
#:use-module (scriba scriba)
#:use-module (scriba auto)
#:export (mavericks-checkout-dir mavericks-assets-dir
- mavericks-fonts-dir mavericks-typefaces
- mavericks-script-dir mavericks-script-filename
- mavericks-font-families mavericks-font-files
- mavericks-script install-mavericks-config))
-
-(define s
- (scriba-auto-logger))
-
-;; --- where the artwork is ---
-
-;; The checkout this module came out of. The modules are loaded from
-;; <checkout>/src, so the checkout is the parent of whichever @code{%load-path}
-;; entry holds @file{heks-linux/mavericks.scm}.
-;;
-;; It is resolved instead of assumed because the path is written into the
-;; generated program at render time and read back later, from whatever directory
-;; the person happens to be in: a relative @code{./resources/mavericks} would be
-;; right when it was rendered and wrong when it was used. When nothing in the
-;; load path looks like this checkout - a REPL started somewhere else, a copy
-;; loaded out of a cache - the current directory is the only answer left, and
-;; the program reports the path it got rather than failing quietly.
-(define (mavericks-checkout-dir)
- "Return the root directory of the heks-linux checkout this module came from."
- (let loop ((dirs %load-path))
- (cond
- [(null? dirs)
- (or (getcwd) "/tmp")]
- [(file-exists? (string-append (car dirs) "/heks-linux/mavericks.scm"))
- (canonicalize-path (string-append (car dirs) "/.."))]
- [else
- (loop (cdr dirs))])))
+ mavericks-fonts-dir mavericks-typefaces
+ mavericks-script-dir mavericks-script-filename
+ mavericks-font-families mavericks-font-files
+ mavericks-script install-mavericks-config))
+
+(define s
+ (scriba-auto-logger))
+
+;; --- where the artwork is ---
+
+;; The checkout this module came out of. The modules are loaded from
+;; <checkout>/src, so the checkout is the parent of whichever @code{%load-path}
+;; entry holds @file{heks-linux/mavericks.scm}.
+;;
+;; It is resolved instead of assumed because the path is written into the
+;; generated program at render time and read back later, from whatever directory
+;; the person happens to be in: a relative @code{./resources/mavericks} would be
+;; right when it was rendered and wrong when it was used. When nothing in the
+;; load path looks like this checkout - a REPL started somewhere else, a copy
+;; loaded out of a cache - the current directory is the only answer left, and
+;; the program reports the path it got rather than failing quietly.
+(define (mavericks-checkout-dir)
+ "Return the root directory of the heks-linux checkout this module came from."
+ (let loop ((dirs %load-path))
+ (cond
+ [(null? dirs)
+ (or (getcwd) "/tmp")]
+ [(file-exists? (string-append (car dirs) "/heks-linux/mavericks.scm"))
+ (canonicalize-path (string-append (car dirs) "/.."))]
+ [else
+ (loop (cdr dirs))])))
;; The artwork itself, in the checkout rather than in an installation image: the
;; typefaces in @file{fonts}. They are Apple's, they are covered by
--- ./test/veritas/unit/fontconfig-spec.scm
+++ ./test/veritas/unit/fontconfig-spec.scm
@@ -260,13 +260,13 @@
(assert-equal #:expect 0
#:got
(length (parameterize ((fontconfig-sans-aliases '()))
- (fontconfig-sans-alias-matches)))
- #:name
- "A machine that wants the stock generics gets no alias rule")
- (assert-equal #:expect 1
- #:got
- (length (parameterize ((fontconfig-sans-aliases '("sans-serif")))
- (fontconfig-sans-alias-matches)))
+ (fontconfig-sans-alias-matches)))
+ #:name
+ "A machine that wants the stock generics gets no alias rule")
+ (assert-equal #:expect 1
+ #:got
+ (length (parameterize ((fontconfig-sans-aliases '("sans-serif")))
+ (fontconfig-sans-alias-matches)))
#:name "The list should be read from the parameter"))
(test "The Alias Rule Is Read Before The Fallback Rule"
--- ./test/veritas/unit/mavericks-spec.scm
+++ ./test/veritas/unit/mavericks-spec.scm
@@ -65,62 +65,62 @@
(define (files-of-type dir suffix)
"The files directly inside @var{dir} whose name ends in @var{suffix}."
(if (file-exists? dir)
- (filter (lambda (name) (string-suffix? suffix name))
- (scandir dir (lambda (name) (not (string-prefix? "." name)))))
- '()))
-
-(define (scratch-dir name)
- "A throwaway directory named @var{name}, unique to this run."
- (format #f "/tmp/heks-mavericks-spec-~a/~a"
- (getpid) name))
-
-(define (executable? path)
- "Whether @var{path} carries any execute bit."
- (not (zero? (logand (stat:perms (stat path)) #x49))))
-
-(define mavericks-suite
- (suite "Mavericks Artwork Suite"
- (test "The Program Is A POSIX Shell Script"
- (assert-true (string-prefix? "#!/usr/bin/env sh"
- (mavericks-script))
- #:name "The program should run under any sh")
- (assert-equal #:expect #f
- #:got
- (string-contains (mavericks-script) "[[")
- #:name "It must not use bash test syntax")
- (assert-equal #:expect #f
- #:got
- (string-contains (mavericks-script) "$RANDOM")
- #:name "It must not read the bash-only RANDOM")
- (assert-true (script-occurs? "set -u")
- #:name "An unset variable should stop it, not expand to nothing"))
-
- (test "It Names Every Face The Module Promises"
- (assert-true (every-face-occurs? (mavericks-font-files))
- #:name "Every file the module lists should be in the program")
- (assert-true (every-face-occurs? (mavericks-font-families))
- #:name "And every family it promises")
- (assert-true (script-occurs? "LucidaGrande.ttc")
- #:name "The interface face should be the one the desktop is drawn in")
- (assert-true (script-occurs? "|.Keyboard|")
- #:name
- "The key glyph face keeps the dot its family name carries")
- (assert-true (not (null? (mavericks-font-families)))
- #:name "A program that installs no faces is not a program"))
-
- (test "The Faces Ship With The Checkout"
- ;; The faces are files in this repository, and the program is only worth
- ;; writing if they are: a promise in a table that names a file nobody
- ;; committed is a copy that silently installs six faces on one machine
- ;; and seven on another.
- (assert-equal #:expect '()
- #:got (absent-faces (mavericks-font-files))
- #:name "Every promised face should be in resources/mavericks/fonts")
- (assert-true (> (length (files-of-type (fonts-source-dir) ".ttf"))
- 0)
- #:name "The directory should hold more than the .ttc collections")
- (assert-true (file-exists? (format #f "~a/NOTICE"
- (mavericks-assets-dir)))
+ (filter (lambda (name) (string-suffix? suffix name))
+ (scandir dir (lambda (name) (not (string-prefix? "." name)))))
+ '()))
+
+(define (scratch-dir name)
+ "A throwaway directory named @var{name}, unique to this run."
+ (format #f "/tmp/heks-mavericks-spec-~a/~a"
+ (getpid) name))
+
+(define (executable? path)
+ "Whether @var{path} carries any execute bit."
+ (not (zero? (logand (stat:perms (stat path)) #x49))))
+
+(define mavericks-suite
+ (suite "Mavericks Artwork Suite"
+ (test "The Program Is A POSIX Shell Script"
+ (assert-true (string-prefix? "#!/usr/bin/env sh"
+ (mavericks-script))
+ #:name "The program should run under any sh")
+ (assert-equal #:expect #f
+ #:got
+ (string-contains (mavericks-script) "[[")
+ #:name "It must not use bash test syntax")
+ (assert-equal #:expect #f
+ #:got
+ (string-contains (mavericks-script) "$RANDOM")
+ #:name "It must not read the bash-only RANDOM")
+ (assert-true (script-occurs? "set -u")
+ #:name "An unset variable should stop it, not expand to nothing"))
+
+ (test "It Names Every Face The Module Promises"
+ (assert-true (every-face-occurs? (mavericks-font-files))
+ #:name "Every file the module lists should be in the program")
+ (assert-true (every-face-occurs? (mavericks-font-families))
+ #:name "And every family it promises")
+ (assert-true (script-occurs? "LucidaGrande.ttc")
+ #:name "The interface face should be the one the desktop is drawn in")
+ (assert-true (script-occurs? "|.Keyboard|")
+ #:name
+ "The key glyph face keeps the dot its family name carries")
+ (assert-true (not (null? (mavericks-font-families)))
+ #:name "A program that installs no faces is not a program"))
+
+ (test "The Faces Ship With The Checkout"
+ ;; The faces are files in this repository, and the program is only worth
+ ;; writing if they are: a promise in a table that names a file nobody
+ ;; committed is a copy that silently installs six faces on one machine
+ ;; and seven on another.
+ (assert-equal #:expect '()
+ #:got (absent-faces (mavericks-font-files))
+ #:name "Every promised face should be in resources/mavericks/fonts")
+ (assert-true (> (length (files-of-type (fonts-source-dir) ".ttf"))
+ 0)
+ #:name "The directory should hold more than the .ttc collections")
+ (assert-true (file-exists? (format #f "~a/NOTICE"
+ (mavericks-assets-dir)))
#:name "With the notice that says whose artwork it is"))
(test "The Wallpapers Do Not"
--------------------------------------------------------------
Maak 0.14.0: the infinitely extensible command runner
Loading tasks from Maak file: /etc/byggsteg/job-clone/heks-linux/trunk/maak.scm
Executing Maak tasks: ci
--------------------------------------------------------------
=> Running Maak task: ci
Ask the three questions a pipeline asks: formatted, compiling, passing.
`maak test' wraps the suite in `guix shell --container', which is what makes it
hermetic on a machine -- and what makes it impossible where the run is already
sandboxed. A Byggsteg job is itself a container, a second user namespace cannot
be created inside the first, and every pipeline run of this configuration failed
in `call-with-container' before the first test ran because of it.
So this task asks the same three questions with the container left to the
caller: `sift check' over the tree, a compile of every module, and the suite
without the wrapper (with a private HOME, so what the container was protecting
still holds). Coverage is not reported here: nothing in a pipeline reads it, and
`genhtml' failing on a machine that has no lcov is not a fact about the tests.
Execute command:
guix time-machine --channels=channels.scm -- shell -m manifest.scm -- sh -c 'set -eu
find . -maxdepth 8 -name "*.scm" -type f -print0 | xargs -0 sift check'
Executing: guix time-machine --channels=channels.scm -- shell -m manifest.scm -- sh -c 'set -eu
find . -maxdepth 8 -name "*.scm" -type f -print0 | xargs -0 sift check'
;;; note: source file /etc/byggsteg/job-clone/heks-linux/trunk/maak.scm
;;; newer than compiled /root/.cache/guile/ccache/3.0-LE-8-4.6/etc/byggsteg/job-clone/heks-linux/trunk/maak.scm.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /etc/byggsteg/job-clone/heks-linux/trunk/maak.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.6/etc/byggsteg/job-clone/heks-linux/trunk/maak.scm.go
maak: error: command failed (exit code 123): guix time-machine --channels=channels.scm -- shell -m manifest.scm -- sh -c 'set -eu
find . -maxdepth 8 -name "*.scm" -type f -print0 | xargs -0 sift check'
hint: Fix the command above, or run `maak --dry-run' to inspect it first.