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

Docker compilation fails due to lack of release file (Fixable) #1096

Closed
marcs-feh opened this issue Dec 27, 2023 · 1 comment · Fixed by #1347
Closed

Docker compilation fails due to lack of release file (Fixable) #1096

marcs-feh opened this issue Dec 27, 2023 · 1 comment · Fixed by #1347

Comments

@marcs-feh
Copy link

Running ./build_with_docker.sh results in the following error when UBUNTU_VERSION is 20.10:

Select Build Type: Debug/Release: Release
STEP 1/7: FROM ubuntu:22.10
STEP 2/7: ARG DEPS
--> Using cache 2d33c60390984c9f50796c50647e7efd9da61457a2160dcd8689a58f2488a2bd
--> 2d33c6039098
STEP 3/7: RUN export DEBIAN_FRONTEND=noninteractive && export TERM=xterm && apt-get update && apt-get install -y build-essential cmake zlib1g zlib1g-dev          $DEPS && 	rm -rf /var/lib/apt/lists/*
Ign:1 http://security.ubuntu.com/ubuntu kinetic-security InRelease
Ign:2 http://archive.ubuntu.com/ubuntu kinetic InRelease
Ign:3 http://archive.ubuntu.com/ubuntu kinetic-updates InRelease
Err:4 http://security.ubuntu.com/ubuntu kinetic-security Release
  404  Not Found [IP: 185.125.190.39 80]
Ign:5 http://archive.ubuntu.com/ubuntu kinetic-backports InRelease
Err:6 http://archive.ubuntu.com/ubuntu kinetic Release
  404  Not Found [IP: 91.189.91.82 80]
Err:7 http://archive.ubuntu.com/ubuntu kinetic-updates Release
  404  Not Found [IP: 91.189.91.82 80]
Err:8 http://archive.ubuntu.com/ubuntu kinetic-backports Release
  404  Not Found [IP: 91.189.91.82 80]
Reading package lists...
E: The repository 'http://security.ubuntu.com/ubuntu kinetic-security Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu kinetic Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu kinetic-updates Release' does not have a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu kinetic-backports Release' does not have a Release file.
Error: building at STEP "RUN export DEBIAN_FRONTEND=noninteractive && export TERM=xterm && apt-get update && apt-get install -y build-essential cmake zlib1g zlib1g-dev          $DEPS && 	rm -rf /var/lib/apt/lists/*": while running runtime: exit status 100

This can however be fixed by rolling back the Ubuntu version slightly back to the newest LTS release (20.04). Setting UBUNTU_VERSION="20.04" in the script fixed the problem.

@ellipse12
Copy link
Contributor

while rolling it back fixes the above error it does not build the project successfully(at least from what I have tried) as Ubuntu 20.04 (aka Jammy) does not have LLVM-17 as a package, which is required by the most recent version of the compiler. Also using UBUNTU_VERSION="latest" (or 24.04-noble) works too make the image; but libclang-rt-17-dev seems to have the same problem it did back in 14 (detailed here and here).

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 a pull request may close this issue.

2 participants