From fc12816e080db15492436b42ba83e794b606238a Mon Sep 17 00:00:00 2001 From: Eliah Kagan Date: Wed, 13 Nov 2024 19:05:28 -0500 Subject: [PATCH 1/3] See if libssl3:amd64 is all we need --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 754f610ae55..9e3b3b5c4fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -154,7 +154,7 @@ jobs: run: | dpkg --add-architecture amd64 # For 64-bit Node.js, for actions. apt-get update - apt-get install --no-install-recommends -y build-essential ca-certificates cmake curl git jq libssl-dev nodejs:amd64 pkgconf + apt-get install --no-install-recommends -y build-essential ca-certificates cmake curl git jq libssl-dev libssl3:amd64 pkgconf - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable with: From d18f6fd1e969b29fd16b88c08865482cbbdcd53f Mon Sep 17 00:00:00 2001 From: Eliah Kagan Date: Wed, 13 Nov 2024 19:09:37 -0500 Subject: [PATCH 2/3] Temporarily omit even libssl3:amd64 With only `libssl3:amd64` and its dependencies, `actions/checkout` did fail, but with a different error than before, showing a clear error about a missing library, `libstdc++`. /usr/bin/docker exec c1e55a75713e2c4fd08241fae9f4fecbe3cbb179be45174b3138390a1238090e sh -c "cat /etc/*release | grep ^ID" /__e/node20/bin/node: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory Before trying adding that, I want to check that enabling `amd64` in `dpkg` has the expected *no effect* on the error messages, compared to not enabling it. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9e3b3b5c4fb..778330f7668 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -154,7 +154,7 @@ jobs: run: | dpkg --add-architecture amd64 # For 64-bit Node.js, for actions. apt-get update - apt-get install --no-install-recommends -y build-essential ca-certificates cmake curl git jq libssl-dev libssl3:amd64 pkgconf + apt-get install --no-install-recommends -y build-essential ca-certificates cmake curl git jq libssl-dev pkgconf - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable with: From 530d563abfa1ead99805cdf96525af3246e67335 Mon Sep 17 00:00:00 2001 From: Eliah Kagan Date: Wed, 13 Nov 2024 19:19:02 -0500 Subject: [PATCH 3/3] Install libstdc++6:amd64 in the container This does not add back libssl3:amd64 yet, in case it is not needed, though I expect that it will be needed. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 778330f7668..5e0fcf86899 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -154,7 +154,7 @@ jobs: run: | dpkg --add-architecture amd64 # For 64-bit Node.js, for actions. apt-get update - apt-get install --no-install-recommends -y build-essential ca-certificates cmake curl git jq libssl-dev pkgconf + apt-get install --no-install-recommends -y build-essential ca-certificates cmake curl git jq libssl-dev libstdc++6:amd64 pkgconf - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable with: