From 4b12f08ec32b72fedc0d9c52e7d708a043e3630f Mon Sep 17 00:00:00 2001 From: chylli-deriv Date: Mon, 7 Sep 2026 10:15:34 +0800 Subject: [PATCH] chore: build perl 5.26.2 on Debian 13 (trixie) Configure records the build host's library set in $Config{perllibs}, and every later XS build links against it. The committed perl was built on bullseye, so perllibs still contains -lnsl. Debian 13 no longer ships libnsl.so via libc6-dev, so on a trixie userland every XS link probe fails with "cannot find -lnsl" -- XML::Parser and ZMQ::LibZMQ3 stop configuring, which breaks downstream CI. Build on debian:trixie so the recorded library set matches the runtime environment. Verified locally in a debian:trixie container (gcc 14.2.0) with the two existing patches and no new ones: Configure / make / make test / make install all pass perllibs='-lpthread -ldl -lm -lcrypt -lutil -lc' (no -lnsl) XML::Parser@2.46 and ZMQ::LibZMQ3@1.19 install without libnsl-dev Co-Authored-By: Claude Opus 5 --- .github/workflows/build_workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_workflow.yml b/.github/workflows/build_workflow.yml index 5d15295b..325c4097 100644 --- a/.github/workflows/build_workflow.yml +++ b/.github/workflows/build_workflow.yml @@ -11,7 +11,7 @@ jobs: build: runs-on: ubuntu-latest # Maybe here is a blocker container: - image: debian:bullseye + image: debian:trixie defaults: run: shell: bash -le {0}