Hi Nick,

I don't know why this is failing. Maybe you ran out of disk space?

You can use a prebuilt version of the devcontainer from
ghcr.io/gem5/devcontainer:bootcamp-2024. See
https://github.com/orgs/gem5/packages/container/package/devcontainer

Cheers,
Jason

On Thu, Aug 8, 2024 at 3:50 PM Beser, Nicholas D. via gem5-users <
gem5-users@gem5.org> wrote:

> I have been reviewing the bootcamp 2024 data set and trying to build a
> version for both the X86 and Arm64 (Jetson Orin Nano). The older bootcamp
> 2022 had a set of docker commands that built the entire system. I had been
> using that docker environment interactively. I noticed that the bootcamp
> 2024 had a warning not to do interactive operation. I could see that the
> examples run the builds via docker, storing the results on the computer
> system. While I don’t have  a problem with that, the setup seems to require
> the Workspace directory from github, and not allow other disk
> organizations. I also ran into some problems with some of the docker builds
> (gcc-13 failed). The Jetson Orin Nano also had some issues (gcc-13, and the
> gpu builds failed.
>
>
>
> Are there any alternative builds for gem5 along the lines of bootcamp 2022?
>
>
>
> Here is the error message from gcc-13 on a x86 system:
>
> Building gcc-13
>
> [+] Building 1.7s (6/9)
> docker:default
>
> => [internal] load build definition from Dockerfile
> 0.0s
>
> => => transferring dockerfile: 2.63kB
> 0.0s
>
> => [internal] load metadata for docker.io/library/ubuntu:22.04
> 0.2s
>
> => [internal] load .dockerignore
> 0.0s
>
> => => transferring context: 2B
> 0.0s
>
> => [1/6] FROM docker.io/library/ubuntu:22.04@sha256:340d9b015b194dc6e2a
> 0.0s
>
> => CACHED [2/6] RUN apt -y update &&     apt -y install software-proper
> 0.0s
>
> => ERROR [3/6] RUN update-alternatives --install     /usr/bin/g++ g++ /
> 1.2s
>
> ------
>
>
>  > [3/6] RUN update-alternatives --install     /usr/bin/g++ g++
> /usr/bin/g++- 100:
>
> 0.976 update-alternatives: error: alternative path /usr/bin/g++- doesn't
> exist
>
> ------
>
> Dockerfile:46
>
> --------------------
>
>   45 |
>
>   46 | >>> RUN update-alternatives --install \
>
>   47 | >>>     /usr/bin/g++ g++ /usr/bin/g++- 100
>
>   48 |     RUN update-alternatives --install \
>
> --------------------
>
> ERROR: failed to solve: process "/bin/sh -c update-alternatives
> --install     /usr/bin/g++ g++ /usr/bin/g++- 100" did not complete
> successfully: exit code: 2
>
> ERROR: Service 'gcc-13' failed to build : Build failed
>
>
>
> Nick
>
>
> _______________________________________________
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
>
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to