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

Debian 12 breaks arm build #542

Open
Jepson2k opened this issue Dec 19, 2024 · 0 comments
Open

Debian 12 breaks arm build #542

Jepson2k opened this issue Dec 19, 2024 · 0 comments
Assignees
Milestone

Comments

@Jepson2k
Copy link
Collaborator

What is the problem? (Here is where you provide a complete Traceback.)
GCC 10 was phased out for GCC 12 on debian 12 (bookworm) broken docker image build on arm:

 > [stage-1  5/27] RUN if [ "arm64" = "arm64" ]; then     apt-get update && apt-get install -y gcc-10-x86-64-linux-gnu; fi;:
0.326 Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
0.375 Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
0.424 Get:4 http://deb.debian.org/debian bookworm/main arm64 Packages [8688 kB]
0.754 Get:5 http://deb.debian.org/debian bookworm-updates/main arm64 Packages [8844 B]
0.778 Get:6 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages [232 kB]


1.744 Building dependency tree...
1.801 Reading state information...
1.803 E: Unable to locate package gcc-10-x86-64-linux-gnu

Please provide some information about your environment.
At minimum we would like the following information on your platform and Python environment:

  • Platform: ofrak-core-dev.yml docker build on Mac (arm-based)

If you've discovered it, what is the root cause of the problem?
gcc-10-x86-64-linux-gnu is no longer available from apt repositories in debian 12.
How often does the issue happen?
Everytime when building the docker image.
What are the steps to reproduce the issue?
Ideally, give us a short script that reproduces the issue.
run make image on an arm based device.

How would you implement this fix?
chnage gcc-10-x86-64-linux-gnu -> gcc-12-x86-64-linux-gnu in the patchmaker dockerstub

Are there any (reasonable) alternative approaches?
Sure we can pull gcc 10 from backport repositories, although I'm not sure of the compatibility.

Are you interested in implementing it yourself?
yes

@rbs-jacob rbs-jacob linked a pull request Jan 6, 2025 that will close this issue
1 task
@rbs-jacob rbs-jacob added this to the 3.3.0 Release milestone Jan 6, 2025
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