Jump to content

Docker build: Segmentation fault (core dumped)


Recommended Posts

Hi there,


  I am trying to build the image using docker, but I get several "Segmentation fault (core dumped)" error messages and as result the build gets interrupted.


Would like to stick to docker build (I am running of fedora 39, and it automatically selects docker), as it looks to be far more efficient rather than running it into a VM.


Any idea on how could I get rid of this issue?


Thanks is advance!



Link to comment
Share on other sites

you can try 

compile.sh PREFER_DOCKER=no


note that the docs specify  Ubuntu Jammy 22.04



I did this:

the catch is, building it in a systemd-nspawn container cannot use loop devices, hence, the build will fail at building the image, but it does the other 90% compiling things.

and fail to make the image at the end


Edited by ag123
Link to comment
Share on other sites

On 11/28/2023 at 2:31 PM, Andrea said:

However the build seems to fail while installing packages, not building the image.


I think the problem is Qemu on host machine. If host is not exactly what its recommended, something like that could cause issues. Try PREFER_DOCKER=yes



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines