Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 22.04, GNU C++ 13.1.0 removed from image 20240514.2.1 #9866

Closed
1 of 14 tasks
marcalff opened this issue May 16, 2024 · 3 comments
Closed
1 of 14 tasks

Ubuntu 22.04, GNU C++ 13.1.0 removed from image 20240514.2.1 #9866

marcalff opened this issue May 16, 2024 · 3 comments

Comments

@marcalff
Copy link

marcalff commented May 16, 2024

Description

This is a regression, GCC 13.1.0 was removed.

See commit:

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 11
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

Image: ubuntu-22.04
Version: 20240514.2.0

Is it regression?

Build succeeds with:

  Image: ubuntu-22.04
  Version: 20240422.1.0

Expected behavior

GNU C++ 13.1.0 available

Actual behavior

GNU C++ 13.1.0 was available before, and was removed.

Repro steps

CI build break in opentelemetry-cpp

https://github.com/open-telemetry/opentelemetry-cpp/actions/runs/9108384703/job/25039040061?pr=2669#logs

CMake Error at /usr/local/share/cmake-3.29/Modules/CMakeDetermineCCompiler.cmake:49 (message):
  Could not find compiler set in environment variable CC:

  /usr/bin/gcc-13.
@erik-bershel
Copy link
Contributor

Hey @marcalff!

It's an expected behaviour. We removed external PPA with GCC-9 and GCC-13 from the image. See there: #9679
You have two options:

  • to use beta image Ubuntu-24.04
  • to install GCC 13 in runtime

It will take about three minutes:

          sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
          sudo apt-get update -y
          sudo apt-get install gcc-13

@marcalff
Copy link
Author

Hi @erik-bershel

Thanks for the quick reply.

I am willing to accept there is a good reason for this, but calling this "expected behavior" is another story.

Now looking to upgrade our CI to use Ubuntu-24.04 then.

jwillemsen added a commit to RemedyIT/taox11 that referenced this issue May 16, 2024
gcc-13 has been removed from ubuntu-22.04, see actions/runner-images#9866
jwillemsen added a commit to RemedyIT/axcioma that referenced this issue May 16, 2024
gcc-13 has been removed from ubuntu-22.04, see actions/runner-images#9866
@erik-bershel erik-bershel mentioned this issue May 16, 2024
11 tasks
Lemongrass3110 pushed a commit to rathena/rathena that referenced this issue May 18, 2024
Add a separate job to run specifically for GCC 13 in Ubuntu 24.04 as the package was removed from Ubuntu 22.04.

Related issue actions/runner-images#9866
@hartwork
Copy link

hartwork commented May 19, 2024

@actions I've been quite happy with most of GitHub Actions so far but dropping GCC 13 from ubuntu-22.04 images is breaking API contracts, breaking existing CI across the board — were you really not aware of the consequences? None of these runs were suppose to fail in the first place…

…and now I'm forced to deal with that change in time or every new push and pull request will be red — ouch!

Please think again next time you're breaking CI for everyone, thank you.

CC @rpodgorny @kaixiong @hannob

mos9527 added a commit to mos9527/SonyHeadphonesClient that referenced this issue May 25, 2024
Fixed CI (actions/runner-images#9866)
Added option to toggle Capture Voice During a Phone Call
*NOTE: Tested only on WF-1000XM5
Added some debug markers
lukasberbuer added a commit to open62541pp/open62541pp that referenced this issue May 25, 2024
lukasberbuer added a commit to open62541pp/open62541pp that referenced this issue May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants