Repository navigation
Fix git-annex build dependencies and test environment - #298
yarikoptic-gitmate wants to merge 2 commits into
Conversation
Since git-annex 10.20261005 (upstream cac57ad "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 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JSwNgwK1r3h7xSYGduuhRa
|
Build git-annex on Ubuntu / build-package fails here with the same error as on master: That is expected, and this PR cannot make it pass:
What this PR can check is whether the new image builds, i.e. whether I am not re-running the Ubuntu job: it would fail the same way until the new image is published. After the merge and image push, the next Ubuntu run, scheduled or dispatched, should pick it up. Generated by Claude Code |
|
Build git-annex on Windows / test-datalad (release) still fails, but for a different reason (job). The psutil change fixed the original failure: All three involve a temp path that the runner gives in 8.3 short form ( This is a datalad bug on Windows, not a git-annex one, and this PR has no clean fix for it:
The datalad-side fix belongs with datalad/datalad#7954. I am not re-running the job, since the failure is deterministic. Generated by Claude Code |
|
Build git-annex on macOS / test-annex (custom-config1, macos-15-intel) failed (job). git-annex deadlocked inside its own test suite. In the testremote group This does not appear to be caused by this PR:
So this looks like a rare, timing-dependent STM deadlock in git-annex itself, here with stall detection on the slower Intel runner. No fix exists yet. GitHub only allows re-running failed jobs once a run has finished, so I will re-run it once after this macOS run completes. If it fails the same way again, it is a reproducible upstream bug worth reporting to git-annex. Generated by Claude Code |
dce8290 to
d76543b
Compare
…lows 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 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JSwNgwK1r3h7xSYGduuhRa
d76543b to
e3295ec
Compare
Summary
git-annex 10.20261005 (upstream cac57ad, "Support building with crypton 1.1.0") now always Build-Depends on
ram, the fork ofmemorythat crypton >= 1.1.0 switched to. That broke every build at dependency resolution.ram-0.22.0tostack.yaml. This PR therefore no longer carries a stack.yaml patch.Cabal-8010 … missing … ram. This PR fixes that.The Debian build still uses crypton 1.0.4, so git-annex keeps importing
memory.ramonly has to be present to satisfy the dependency.Changes
buildenv (
ff29fb9c8d):DEBIAN_SNAPSHOTto 20261006;apt-get install libghc-ram-dev, whichbuild-depdoes not pull in.forky provides
libghc-ram-dev0.19.0-1. Otherwise the bump left the toolchain alone: ghc 9.10.3, crypton 1.0.4 and git 2.53.0 are unchanged. The image only gets published frommaster, so the Ubuntu build picks this up after merge.template (
e3295ec2fe): the template now uses the samedawidd6/action-send-mailv21 pin as the generated workflows. Dependabot's bump in [gh-actions](deps): Bump dawidd6/action-send-mail from 17 to 21 #292 only edited the generated files, so regenerating would have reverted it. The generated workflows are unchanged.The datalad psutil warning that broke
test_run_datalad_helpis not handled here. datalad 1.7.1 no longer emits it at import time.🤖 Generated with Claude Code
https://claude.ai/code/session_01JSwNgwK1r3h7xSYGduuhRa