Skip to content

Commit 683e145

Browse files
author
Seth Landry
authored
Fix build issue on Ubuntu 24.04 (#834)
Fixes #833 Update workflow and documentation to address build issues on Ubuntu 24.04. * **README.md** - Add a note to use Ubuntu 22.04 as a temporary fix for build issues on Ubuntu 24.04. - Mention the issue related to the GitHub Actions runner update. * **.github/workflows/c-cpp.yml** - Change `runs-on` from `ubuntu-latest` to `ubuntu-22.04` for the job `build_on_ubuntu_boost_183_gcc_x86`. * **Dockerfile** - Update base image from `ubuntu:jammy` to `ubuntu:22.04`. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/COVESA/vsomeip/issues/833?shareId=XXXX-XXXX-XXXX-XXXX).
1 parent fcb9c24 commit 683e145

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/c-cpp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
build_on_ubuntu_boost_183_gcc_x86:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-22.04
1212
steps:
1313
- name: Ubuntu - Install boost 1.83.0 with gcc and x86
1414
uses: MarkusJx/install-boost@v2.4.4

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:jammy
1+
FROM ubuntu:22.04
22
SHELL ["/bin/bash", "-xec"]
33
RUN export DEBIAN_FRONTEND=noninteractive;\
44
apt-get update;\

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ cmake -DENABLE_SIGNAL_HANDLING=1 ..
9292
```
9393
In the default setting, the application has to take care of shutting down vSomeIP in case these signals are received.
9494

95+
###### Note on Ubuntu 24.04 Build Issues
96+
97+
If you encounter build issues on Ubuntu 24.04, consider using Ubuntu 22.04 as a temporary fix. This is due to the ongoing transition of the GitHub Actions runner to Ubuntu 24.04, which may cause compatibility issues.
9598

9699
##### Build Instructions for Android
97100

0 commit comments

Comments
 (0)