Skip to content

Commit

Permalink
Downgrade 9 and 10 to bullseye
Browse files Browse the repository at this point in the history
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)
```
  • Loading branch information
yosifkit committed Jun 15, 2023
1 parent 9da3c87 commit 36ad58f
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 10 deletions.
6 changes: 4 additions & 2 deletions 10/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion 11/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion 12/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion 13/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions 9/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@ RUN set -ex; \
RUN set -ex; \
# this filename needs to sort higher than all the architecture filenames ("aarch64-...", "armeabi...", etc)
{ echo '/usr/local/lib64'; echo '/usr/local/lib'; } > /etc/ld.so.conf.d/000-local-lib.conf; \
ldconfig -v
ldconfig -v; \
# smoke test to make sure the libs from /usr/local don't break Debian
apt-get --version

# ensure that alternatives are pointing to the new compiler and that old one is no longer used
RUN set -ex; \
Expand Down
4 changes: 2 additions & 2 deletions versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"10": {
"compression": "xz",
"debian": {
"version": "bookworm"
"version": "bullseye"
},
"eol": "2023-12-28",
"lastModified": "2022-06-28",
Expand Down Expand Up @@ -38,7 +38,7 @@
"9": {
"compression": "xz",
"debian": {
"version": "bookworm"
"version": "bullseye"
},
"eol": "2023-11-27",
"lastModified": "2022-05-27",
Expand Down
5 changes: 5 additions & 0 deletions versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ set -Eeuo pipefail

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

cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"
Expand Down

0 comments on commit 36ad58f

Please sign in to comment.