Skip to content

Fix build/package error in ubuntu22.04 - #96

Merged
Zhihua Lai (doctorlai-msrc) merged 4 commits into
devfrom
fixdocker
May 28, 2025
Merged

Zhihua Lai (doctorlai-msrc) merged 4 commits into
devfrom
fixdocker

Conversation

@doctorlai-msrc

@doctorlai-msrc Zhihua Lai (doctorlai-msrc) commented May 28, 2025 •

Copy link
Copy Markdown
Collaborator

This PR:

  1. fixes the docker build problem emerging at ubuntu22.04 (see errors below)
  2. removes wget from ubuntu22 and 24 since it is not needed.
  3. adds --no-cache to docker build command in github action to avoid docker uses the old caching layers.

10 3.314 Get:45 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 llvm-14-tools amd64 1:14.0.0-1ubuntu1.1 [404 kB]
10 3.318 Get:46 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libz3-dev amd64 4.8.12-1 [72.2 kB]
10 3.319 Get:47 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 llvm-14-dev amd64 1:14.0.0-1ubuntu1.1 [37.8 MB]
10 4.067 E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/glibc/libc6-i386_2.35-0ubuntu3.10_amd64.deb 404 Not Found [IP: 91.189.91.83 80]
10 4.067 E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/glibc/libc6-dev-i386_2.35-0ubuntu3.10_amd64.deb 404 Not Found [IP: 91.189.91.83 80]
10 4.067 E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/glibc/libc6-x32_2.35-0ubuntu3.10_amd64.deb 404 Not Found [IP: 91.189.91.83 80]
10 4.067 E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/glibc/libc6-dev-x32_2.35-0ubuntu3.10_amd64.deb 404 Not Found [IP: 91.189.91.83 80]
10 4.067 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
10 4.067 Fetched 85.8 MB in 3s (31.2 MB/s)
10 ERROR: process "/bin/bash -c apt install -y clang gcc-multilib" did not complete successfully: exit code: 100

@doctorlai-msrc Zhihua Lai (doctorlai-msrc) changed the title Fix package error in ubtun22 Fix build/package error in ubuntu22.04 May 28, 2025
@doctorlai-msrc
Zhihua Lai (doctorlai-msrc) marked this pull request as ready for review May 28, 2025 13:54
@doctorlai-msrc
Zhihua Lai (doctorlai-msrc) enabled auto-merge (squash) May 28, 2025 13:56
@doctorlai-msrc
Zhihua Lai (doctorlai-msrc) deleted the fixdocker branch May 28, 2025 15:13
Xenofon Foukas (xfoukas) added a commit that referenced this pull request Jun 2, 2025
* Add branch instructions in CONTRIBUTING.md and Update ADO pipeline triggers (#78)

* Add Github Action Pipeline and Fixed INITIALIZE_SUBMODULES (#64)

* Add Debug build configuration testing to CI pipeline (#57)

---------

Co-authored-by: Zhihua Lai <[email protected]>
Co-authored-by: Xenofon Foukas <[email protected]>

* Add helper function for fixed points (#71) (#85)

Co-authored-by: Zhihua Lai <[email protected]>

* Fixes for tests to pass when cmake build type is Release (#86)

This fixes issue #79. When the cmake build type is not defined it defaults to Release.
Given that the tests rely on assert() to pass, the PR also undefs NDEBUG in the release build flags to prevent the optimizer from removing the assert() calls.

* Improve Validation Error Messages in Linked Map (#82)

* Matt/dev: MAX_NUM_HOOKS to 128 (#91)

* Add helper function for fixed points (#71)

* Increase MAX_NUM_HOOKS from 64 to 128 (#90)

---------

Co-authored-by: Zhihua Lai <[email protected]>

* Refactor run_lcm_subproc by removing memory allocation with new/delete. (#93)

* Fix build/package error in ubuntu22.04 (#96)

* Add native support for ARM builds (#59)

---------

Co-authored-by: Zhihua Lai <[email protected]>
Co-authored-by: Xenofon Foukas <[email protected]>
Co-authored-by: Connor Settle <[email protected]>
Co-authored-by: Zhihua Lai <[email protected]>

* Bugfix: perf time measurement API with invalid times (#102)

* Bump ubpf to the latest version (#103)

* Matt/issue94 (#95)

* Remove ado correctness + move to cloud agents (#100)

* Sync dev with main (#105)

* Add helper function for fixed points (#71)

* Increase MAX_NUM_HOOKS from 64 to 128 (#90)


---------

Co-authored-by: Zhihua Lai <[email protected]>
Co-authored-by: matthewbalkwill <[email protected]>

---------

Co-authored-by: Zhihua Lai <[email protected]>
Co-authored-by: Xiaochuan Ye <[email protected]>
Co-authored-by: matthewbalkwill <[email protected]>
Co-authored-by: Anita Tenjarla <[email protected]>
Co-authored-by: Zhihua Lai <[email protected]>
Co-authored-by: Connor Settle <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants