From ff29fb9c8dab23836b09dc787f5eb92f6260f230 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 6 Oct 2026 14:23:00 +0000 Subject: [PATCH 1/2] buildenv: install libghc-ram-dev and bump DEBIAN_SNAPSHOT to 20261006 Since git-annex 10.20261005 (upstream cac57ad1fe "Support building with crypton 1.1.0") the executable unconditionally Build-Depends on ram, the fork of memory that crypton >= 1.1.0 switched to. Our debianstandalone build has failed since then (e.g. run 37441250450): Configuring git-annex-10.20261005... Error: [Cabal-8010] Encountered missing or private dependencies: ram `apt-get build-dep git-annex` follows Debian's older git-annex, which does not need ram, and the 20260924 snapshot image has no ram at all. Install libghc-ram-dev explicitly, and move the snapshot forward to today so that it is available, rather than building ram from Hackage as we do for file-io. Not verified locally: this environment cannot reach any Debian host, so the build-linux-buildenv job is the first real check that libghc-ram-dev is in forky as of 20261006. What was verified, on the current datalad/buildenv-git-annex:latest (GHC 9.10.3, crypton 1.0.4): once ram (0.22.1) is in the global package db, `./Setup configure` and a full `./Setup build` of upstream 10.20261005 succeed, and `git-annex version` still lists OsPath. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01JSwNgwK1r3h7xSYGduuhRa --- .../workflows/tools/containers/buildenv-git-annex/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tools/containers/buildenv-git-annex/Dockerfile b/.github/workflows/tools/containers/buildenv-git-annex/Dockerfile index 5ce5628d56..18094cca77 100644 --- a/.github/workflows/tools/containers/buildenv-git-annex/Dockerfile +++ b/.github/workflows/tools/containers/buildenv-git-annex/Dockerfile @@ -16,7 +16,7 @@ RUN echo 'Acquire::http::Dl-Limit "200";' >| /etc/apt/apt.conf.d/20snapshots \ # `apt-get build-dep`. The Release files on snapshots are past their # Valid-Until, hence Check-Valid-Until=false. # NB: the build-linux-buildenv workflow parses DEBIAN_SNAPSHOT for image tags. -ARG DEBIAN_SNAPSHOT=20260924T000000Z +ARG DEBIAN_SNAPSHOT=20261006T000000Z RUN set -ex; \ echo 'Acquire::Check-Valid-Until "false";' >| /etc/apt/apt.conf.d/10no-check-valid-until; \ echo 'Acquire::http::Timeout "120";' >> /etc/apt/apt.conf.d/20snapshots; \ @@ -38,6 +38,8 @@ RUN set -ex; \ apt-get update -qq; \ export DEBIAN_FRONTEND=noninteractive; \ apt-get build-dep -y -q git-annex; \ + # git-annex >= 10.20261005 Build-Depends on ram, Debian's git-annex not (yet) + apt-get install -y libghc-ram-dev; \ # Needed additional tools etc apt-get install -y devscripts quilt locales; \ # Some helper utilities just in case From e3295ec2fe5c36bd5629c34fe4fc3b04cc4a17d2 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 6 Oct 2026 21:39:42 +0000 Subject: [PATCH 2/2] CI: sync the template's action-send-mail pin with the generated workflows Dependabot's bump of dawidd6/action-send-mail to v21 (#292) only edited the generated build-*.yaml workflows, so the .j2 template still pinned the v17 SHA. Regenerating with `make -C .github/workflows/template` would therefore silently revert that bump. Set the template to the same v21 SHA; regenerating now leaves the generated workflows unchanged. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01JSwNgwK1r3h7xSYGduuhRa --- .github/workflows/template/build-{{ostype}}.yaml.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/template/build-{{ostype}}.yaml.j2 b/.github/workflows/template/build-{{ostype}}.yaml.j2 index 0ae34ada4d..ab3f5bb66f 100644 --- a/.github/workflows/template/build-{{ostype}}.yaml.j2 +++ b/.github/workflows/template/build-{{ostype}}.yaml.j2 @@ -372,7 +372,7 @@ jobs: - name: Send e-mail on failed run if: failure() && contains(fromJSON('["schedule", "workflow_dispatch"]'), github.event_name) # freeze to v17 - uses: dawidd6/action-send-mail@42942bc2f8fba4e611b459a018967a6a7c78c68c + uses: dawidd6/action-send-mail@03a02a49409134de07636216fb379a026c52991e with: server_address: ${{ secrets.NOTIFY_SMTP_HOST }} server_port: ${{ secrets.NOTIFY_SMTP_PORT }} @@ -544,7 +544,7 @@ jobs: - name: Send e-mail on failed run if: failure() && contains(fromJSON('["schedule", "workflow_dispatch"]'), github.event_name) # freeze to v17 - uses: dawidd6/action-send-mail@42942bc2f8fba4e611b459a018967a6a7c78c68c + uses: dawidd6/action-send-mail@03a02a49409134de07636216fb379a026c52991e with: server_address: ${{ secrets.NOTIFY_SMTP_HOST }} server_port: ${{ secrets.NOTIFY_SMTP_PORT }}