Skip to content

Commit 36ad58f

Browse files
committed
Downgrade 9 and 10 to bullseye
Add smoke test to help prevent the same error ```console $ apt-get --version apt-get: /usr/local/lib64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /lib/x86_64-linux-gnu/libapt-private.so.0.0) apt-get: /usr/local/lib64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /lib/x86_64-linux-gnu/libapt-pkg.so.6.0) ```
1 parent 9da3c87 commit 36ad58f

File tree

8 files changed

+27
-10
lines changed

8 files changed

+27
-10
lines changed

10/Dockerfile

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

11/Dockerfile

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

12/Dockerfile

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

13/Dockerfile

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

9/Dockerfile

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dockerfile.template

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,9 @@ RUN set -ex; \
133133
RUN set -ex; \
134134
# this filename needs to sort higher than all the architecture filenames ("aarch64-...", "armeabi...", etc)
135135
{ echo '/usr/local/lib64'; echo '/usr/local/lib'; } > /etc/ld.so.conf.d/000-local-lib.conf; \
136-
ldconfig -v
136+
ldconfig -v; \
137+
# smoke test to make sure the libs from /usr/local don't break Debian
138+
apt-get --version
137139

138140
# ensure that alternatives are pointing to the new compiler and that old one is no longer used
139141
RUN set -ex; \

versions.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"10": {
33
"compression": "xz",
44
"debian": {
5-
"version": "bookworm"
5+
"version": "bullseye"
66
},
77
"eol": "2023-12-28",
88
"lastModified": "2022-06-28",
@@ -38,7 +38,7 @@
3838
"9": {
3939
"compression": "xz",
4040
"debian": {
41-
"version": "bookworm"
41+
"version": "bullseye"
4242
},
4343
"eol": "2023-11-27",
4444
"lastModified": "2022-05-27",

versions.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ set -Eeuo pipefail
33

44
# defaultDebianSuite gets auto-declared below
55
declare -A debianSuites=(
6+
# the libc created by gcc is too old for a newer Debian
7+
# $ apt --version
8+
# apt: /usr/local/lib64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found
9+
[10]="bullseye"
10+
[9]="bullseye"
611
)
712

813
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"

0 commit comments

Comments
 (0)