Commit graph r-builds/builder/package.alpine-324
Author SHA1 Message Date
a2a6a4f7ef
fix(alpine): declare xz-dev so R can start after a clean install
libR.so links against liblzma, but the Alpine package never declared a
dependency on it. The list carried `# - liblzma-dev`, the Debian name,
which does not exist on Alpine and so had been commented out rather than
translated. The result is a package that installs cleanly and then fails
on every invocation:

  Error loading shared library liblzma.so.5: No such file or directory
    (needed by /opt/R/4.6.1/lib/R/lib/libR.so)
  Error relocating /opt/R/4.6.1/lib/R/lib/libR.so: lzma_code: symbol not found

Replace it with xz-dev, the Alpine equivalent, which pulls xz-libs, the
package that owns liblzma.so.5. Keep the -dev variant to match every other
entry in the list, which are -dev so that CRAN packages can be installed
from source on the target.

Verified by repackaging the currently published r-4.6.1_1_aarch64.apk with
this dependency list and installing it into a clean alpine:3.22 container:
R now starts with no manually added packages, where before it did not.
2026-09-18 09:08:12 +02:00
d34684260f feat: add alpine-3.24 build config (#5)
All checks were successful
ci/crow/cron/build/1 Pipeline was successful
ci/crow/cron/build/2 Pipeline was successful
ci/crow/cron/build/4 Pipeline was successful
ci/crow/cron/build/6 Pipeline was successful
ci/crow/cron/build/7 Pipeline was successful
ci/crow/cron/build/10 Pipeline was successful
ci/crow/cron/build/11 Pipeline was successful
ci/crow/cron/build/13 Pipeline was successful
ci/crow/cron/build/14 Pipeline was successful
ci/crow/cron/build/15 Pipeline was successful
ci/crow/cron/build/16 Pipeline was successful
ci/crow/cron/build/17 Pipeline was successful
ci/crow/cron/build/18 Pipeline was successful
ci/crow/cron/build/5 Pipeline was successful
ci/crow/cron/build/12 Pipeline was successful
ci/crow/cron/build/3 Pipeline was successful
ci/crow/cron/build/8 Pipeline was successful
ci/crow/cron/build/9 Pipeline was successful
## Summary

Adds an `alpine-3.24` build configuration, mirroring the existing `alpine-3.23` setup.

- `builder/Dockerfile.alpine-324` — `FROM alpine:3.24`, `OS_IDENTIFIER=alpine-324`, copies `package.alpine-324`
- `builder/package.alpine-324` — nfpm spec (identical to 323)
- `builder/docker-compose.yml` — new `alpine-324` service
- `Makefile` `PLATFORMS` and `Justfile` `build-r-alpine-324` target
- `.crow/build.yaml` — alpine-324 matrix entries (arm64 + amd64), newest-first

Existing alpine-322/323 matrix entries are left intact.

Reviewed-on: #5
2026-06-12 13:46:11 +00:00