whelk-f4b7e146-0327

job failed

starting new job...


→ running command: dir='/etc/byggsteg/job-clone//whelk/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 was already at b87e1f7
✓ command finished in 0.36s


→ running command: cd /etc/byggsteg/job-clone/whelk/trunk && uname -a

Linux wolk-jjba 7.2.11-gnu #1 SMP PREEMPT_DYNAMIC 1 x86_64 GNU/Linux
✓ command finished in 0.01s


→ running command: cd /etc/byggsteg/job-clone/whelk/trunk && git log --name-status HEAD^..HEAD

commit b87e1f7aeadc7da608a9b4576f210a2b07f41789
Author: Josep Bigorra <jjbigorra@gmail.com>
Date:   Sun Nov 15 14:27:40 2026 +0100

    docs: plan the preferences window's next four steps
    
    Record the work that would make overrides reversible, module controls
    schema-driven, failed saves visible and multi-monitor bars editable.
    
    🤖 Generated with Codebuff
    Co-Authored-By: Codebuff <noreply@codebuff.com>

M       VISION.md
✓ command finished in 0.01s


→ running command: cd /etc/byggsteg/job-clone/whelk/trunk && maak test

The Meson build system
Version: 1.9.0
Source dir: /etc/byggsteg/job-clone/whelk/trunk
Build dir: /etc/byggsteg/job-clone/whelk/trunk/build
Build type: native build
Project name: whelk
Project version: 0.31.0
C compiler for the host machine: cc (gcc 14.3.0 "cc (GCC) 14.3.0")
C linker for the host machine: cc ld.bfd 2.44
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -Wpedantic: YES 
Compiler for C supports arguments -Wshadow: YES 
Compiler for C supports arguments -Wstrict-prototypes: YES 
Compiler for C supports arguments -Wmissing-prototypes: YES 
Compiler for C supports arguments -Wredundant-decls: YES 
Compiler for C supports arguments -Wimplicit-fallthrough: YES 
Compiler for C supports arguments -Wvla: YES 
Compiler for C supports arguments -Wundef: YES 
Compiler for C supports arguments -Wformat=2: YES 
Compiler for C supports arguments -Wformat-security: YES 
Compiler for C supports arguments -Werror=implicit-function-declaration: YES 
Compiler for C supports arguments -Werror=incompatible-pointer-types: YES 
Compiler for C supports arguments -Werror=int-conversion: YES 
Compiler for C supports arguments -Wno-overlength-strings: YES 
Found pkg-config: YES (/gnu/store/l0hl1hr4190blmwj2abasmcy7hpyb688-profile/bin/pkg-config) 0.29.2
Run-time dependency gtk4 found: YES 4.22.1
Run-time dependency guile-3.0 found: YES 3.0.9
Run-time dependency gtk4-layer-shell-0 found: YES 1.3.0
Run-time dependency wayland-client found: YES 1.26.0
Run-time dependency gio-unix-2.0 found: YES 2.86.5
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency pam found: NO (tried pkgconfig)

meson.build:74:10: ERROR: Dependency "pam" not found, tried pkgconfig

A full log can be found at /etc/byggsteg/job-clone/whelk/trunk/build/meson-logs/meson-log.txt

maak: error: command failed (exit code 1): guix time-machine --channels=channels.scm -- shell -m manifest.scm -- /bin/sh -c 'set -eu; rm -rf build; meson setup build; ninja -C build; meson test -C build --print-errorlogs'
        hint: Fix the command above, or run `maak --dry-run' to inspect it first.


--------------------------------------------------------------

Maak 0.14.0: the infinitely extensible command runner

Loading tasks from Maak file: /etc/byggsteg/job-clone/whelk/trunk/maak.scm

Executing Maak tasks: test


--------------------------------------------------------------

=> Running Maak task: test

  Build and run the whole test suite inside the Guix environment.

The shell wrapper only applies to the first command, so the pipeline is run by
one inner `sh -c' instead of a bare `&&': otherwise `ninja' would execute
outside the Guix environment.

The build directory is thrown away first: a tree configured by a different
Meson version makes both `meson setup' and `ninja' fail with 'build data file
... references functions or classes that don't exist'. Rebuilding from scratch
also means the passing tests are the ones that match the checked out sources.

  Execute command:
guix time-machine --channels=channels.scm -- shell -m manifest.scm -- /bin/sh -c 'set -eu; rm -rf build; meson setup build; ninja -C build; meson test -C build --print-errorlogs'

Executing: guix time-machine --channels=channels.scm -- shell -m manifest.scm -- /bin/sh -c 'set -eu; rm -rf build; meson setup build; ninja -C build; meson test -C build --print-errorlogs'
✗ command failed (exit 1) after 1.16s
inspect the job's lambda expression
(lambda()
  `((task . ("maak-test"))
    (project . "whelk")
    (branch-name . "trunk")
    (clone-url . "https://github.com/jjba23/whelk.git")))