New comment by BikyAlex on void-packages repository https://github.com/void-linux/void-packages/issues/35352#issuecomment-1029602389 Comment: Update. So I had tried compiling LO again. I remembered when I was (cross-)compiling Void Linux for the Pi 4 on my old x86 PC when I still had one, I had issues with my long uptimes and probably with unapplied updates due to no reboots. This time I had 9 days uptime on my Pi. A reboot solved that before. So a reboot later and trying to recompile... and it fails with the same error. ``` => libreoffice-7.2.3.2_2: running pre-build hook: 02-script-wrapper ... => libreoffice-7.2.3.2_2: running do_build ... mkdir -p /builddir/libreoffice-7.2.3.2/instdir /builddir/libreoffice-7.2.3.2/solenv/bin/install-gdb-printers -a /builddir/libreoffice-7.2.3.2/instdir -c make -j 1 -rs -f /builddir/libreoffice-7.2.3.2/Makefile.gbuild build [build PRL] CustomTarget/postprocess/images/sorted.lst [build PRL] CustomTarget/postprocess/images/commandimagelist.ilst [build PRL] CustomTarget/postprocess/images/images_breeze.zip [build PRL] CustomTarget/postprocess/images/images_breeze_dark.zip [truncated] [build PRL] CustomTarget/postprocess/images/images_sifr_svg.zip [build PRL] CustomTarget/postprocess/images/images_sukapura.zip [build PRL] CustomTarget/postprocess/images/images_sukapura_svg.zip [build GAL] backgrounds terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException' make[1]: *** [/builddir/libreoffice-7.2.3.2/solenv/gbuild/Gallery.mk:56: /builddir/libreoffice-7.2.3.2/workdir/Gallery/backgrounds.done] Error 1 make: *** [Makefile:287: build] Error 2 => ERROR: libreoffice-7.2.3.2_2: do_build: 'make ${makejobs} ${make_build_target}' exited with 2 => ERROR: in do_build() at srcpkgs/libreoffice/template:523 ``` I had nothing else open, other than my DE and a terminal, so I was using around 150 MB at best, then left LibreOffice to compile and I haven't touched the PC. It should have had around 7.5 GB dedicated to compiling. It's likely that the gallery stuff just doesn't like aarch64. Any ideas? Should try compiling in a chroot? Or should I try compiling in a Void aarch64 LXD container? I still slightly doubt it's going to make a difference. I don't really want to expend development resources from Void on this, which is why I added low priority in the title. If I knew what to fix, I'd fix it and contribute back. One thing I researched is that the com:sun:star:uno exception is a Java thing. Maybe some Java dependencies are made for x86 and they fail to run on ARM. That could be one thing. Another one I found is that some people had issues opening up libreoffice because their ~/.config/ folder was for some reason not owned by them. And the last one I found was on OpenOffice that someone was using the UnoRuntime API in a wrong way. I guess I may as well give LO compilation a try in an LXD clean environment, so I can make sure it's not something from the xbps-src side, related to one of the previous LO compilations.