[jdk17] RFR: 8269148: Update minor GCC version in GitHub Actions pipeline
Xin Liu
xliu at openjdk.java.net
Tue Jun 22 19:38:28 UTC 2021
On Tue, 22 Jun 2021 17:20:14 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> It seems Ubuntu had bumped the version for GCC, so GHA started to fail with e.g.:
>
>
> The following packages have unmet dependencies:
> g++-10-s390x-linux-gnu : Depends: gcc-10-s390x-linux-gnu-base (= 10.2.0-5ubuntu1~20.04cross1) but 10.3.0-1ubuntu1~20.04cross1 is to be installed
> gcc-10-s390x-linux-gnu : Depends: cpp-10-s390x-linux-gnu (= 10.2.0-5ubuntu1~20.04cross1) but 10.3.0-1ubuntu1~20.04cross1 is to be installed
> Depends: gcc-10-s390x-linux-gnu-base (= 10.2.0-5ubuntu1~20.04cross1) but 10.3.0-1ubuntu1~20.04cross1 is to be installed
> E: Unable to correct problems, you have held broken packages.
> Error: Process completed with exit code 100.
>
>
> I believe we should just update to `10.3.0-1ubuntu1~20.04`.
>
> Additional testing:
> - [x] GitHub Actions, package installation steps work
> - [ ] GitHub Actions, the builds complete
.github/workflows/submit.yml line 175:
> 173: run: |
> 174: sudo apt-get update
> 175: sudo apt-get install gcc-10=10.3.0-1ubuntu1~20.04 g++-10=10.3.0-1ubuntu1~20.04 libxrandr-dev libxtst-dev libcups2-dev libasound2-dev
One dummy question:
Why do we need to specify the real package name here?
If we install gcc-10, I think apt system will pick up the latest gcc-10 for us.
-------------
PR: https://git.openjdk.java.net/jdk17/pull/120
More information about the build-dev
mailing list