This is an automated email from the ASF dual-hosted git repository.

michaelsembwever pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-builds.git


The following commit(s) were added to refs/heads/trunk by this push:
     new d0f2316  ninja-fix – fix <5.0 artifact building, bullseye apt sources 
for end-of-life
d0f2316 is described below

commit d0f23168add29f0c16e6ff157354f42485800f74
Author: Mick Semb Wever <[email protected]>
AuthorDate: Sun Sep 6 12:40:06 2026 +0200

    ninja-fix – fix <5.0 artifact building, bullseye apt sources for end-of-life
    
    Take main and bullseye-updates from archive.debian.org, and 
bullseye-security from the 20260901T000000Z snapshot. security.debian.org still 
serves indexes whose pool files are deleted, and archive.debian.org has no 
bullseye-security; without the snapshot the base image's installed libc6, 
perl-base and gnupg are newer than the archive and libc6-dev, perl and gnupg2 
cannot resolve.
---
 docker/bullseye-image.docker | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/docker/bullseye-image.docker b/docker/bullseye-image.docker
index 03ada47..9d27bea 100644
--- a/docker/bullseye-image.docker
+++ b/docker/bullseye-image.docker
@@ -22,6 +22,17 @@ RUN echo 'APT::Acquire::Retries "99";' > 
/etc/apt/apt.conf.d/80-retries
 RUN echo 'Acquire::http::Timeout "60";' > /etc/apt/apt.conf.d/80proxy.conf
 RUN echo 'Acquire::ftp::Timeout "60";' >> /etc/apt/apt.conf.d/80proxy.conf
 
+# bullseye reached end-of-life on 2026-08-31, take main and bullseye-updates 
from the archive.
+# bullseye-security is not on archive.debian.org, and the indexes still served 
by
+# security.debian.org name pool files that have been deleted, so take it from 
a snapshot dated
+# just after end-of-life. The base image already has those security versions 
installed, so
+# without this source apt cannot resolve libc6-dev, perl or gnupg2 against the 
older archive.
+# Both the archive and the snapshot serve Release files past their Valid-Until.
+RUN echo 'deb http://archive.debian.org/debian bullseye main' > 
/etc/apt/sources.list \
+    && echo 'deb http://archive.debian.org/debian bullseye-updates main' >> 
/etc/apt/sources.list \
+    && echo 'deb 
http://snapshot.debian.org/archive/debian-security/20260901T000000Z 
bullseye-security main' >> /etc/apt/sources.list \
+    && echo 'Acquire::Check-Valid-Until "false";' > 
/etc/apt/apt.conf.d/80no-check-valid-until
+
 # install deps
 RUN until apt-get update \
         && apt-get -y install ant build-essential curl devscripts ed git 
python2 sudo apt-transport-https gpg ; \


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to