Andrea Posted November 27, 2023 Posted November 27, 2023 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! Andrea 0 Quote
Werner Posted November 27, 2023 Posted November 27, 2023 Without full logs debugging is somewhere between hard and impossible. 0 Quote
ag123 Posted November 28, 2023 Posted November 28, 2023 (edited) you can try compile.sh PREFER_DOCKER=no note that the docs specify Ubuntu Jammy 22.04 https://docs.armbian.com/Developer-Guide_Build-Preparation/ 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 November 28, 2023 by ag123 0 Quote
Andrea Posted November 28, 2023 Author Posted November 28, 2023 @Werner you are absolutely right. https://paste.next.armbian.com/odemumewas 0 Quote
Andrea Posted November 28, 2023 Author Posted November 28, 2023 @ag123 thanks for the hint, I will give it a try event though I am running Fedora. However the build seems to fail while installing packages, not building the image. 0 Quote
Igor Posted December 15, 2023 Posted December 15, 2023 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 0 Quote
Andrea Posted December 15, 2023 Author Posted December 15, 2023 Hi @Igor, thanks for the hint. I thought PREFER_DOCKER=yes was the default, however I will give it a try. Host OS is Fedora 39, kernel 6.5.12-300.fc39.x86_64 and qemu version 2:8.1.1-1.fc39. Kind regards 0 Quote
Recommended Posts
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.