Ezka77 / xen-orchestra-ce

:whale: Docker & docker-compose files to deploy Xen Orchestra Community Edition (ie: from sources)
GNU General Public License v3.0
94 stars 33 forks source link

ARM build issue a runtime limit #50

Open Ezka77 opened 1 year ago

Ezka77 commented 1 year ago

The build fails with a "file in wrong format" message on ld step with the libfuse, it seems to be the first error:

#52 1189.3 make: Entering directory '/home/node/xen-orchestra/node_modules/fuse-native/build'
#52 1189.3   CC(target) Release/obj.target/fuse/fuse-native.o
#52 1189.3   SOLINK_MODULE(target) Release/obj.target/fuse.node
#52 1189.3 /usr/lib/gcc/aarch64-alpine-linux-musl/11.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /home/node/xen-orchestra/node_modules/fuse-shared-library-linux/libfuse/lib/libfuse.so: error adding symbols: file in wrong format
#52 1189.3 collect2: error: ld returned 1 exit status

It will required to dig a bit on this as this libfuse works on x86_64.

Ezka77 commented 1 year ago

Well using the fix_fuse_dependancy_arm branch from the xoa repos works on my machine (at least the build en in success), started a build on github will see ... as XOA team have a patch in progress I'll wait it comes live on master to merge this.

The build takes ages --> the npm install step hit the runtime limit ARM64 Build

gb-123-git commented 1 year ago

Hi ! Has the patch become live ? Any chance that this is fixed ? I would love to try your docker image on a RaspberryPi as a test. :)

Ezka77 commented 1 year ago

Well you can find that by yourself: https://github.com/vatesfr/xen-orchestra/pull/6431 but I didn't follow this topic and in this repo the same issue is still open https://github.com/ronivay/xen-orchestra-docker/issues/17

To be short the answer is yes, and it seems to be still no.

But you can try to build the image and see if it works for you on a RPi ? you can build it on any architecture it uses qemu to build for arm64.