-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Libreoffice fails to build on aarch64 (pinebook pro) #19642
Comments
You should update your system. The packages |
@pullmoll thanks. Now I get an error like:
I even tried adding |
This is a native build, it should be |
|
Did you run this command inside chroot?
…On 19 March 2020 04:26:18 GMT+07:00, Anjan Momi ***@***.***> wrote:
`grep -r /usr/aarch64 /usr/lib/pkgconfig` returns nothing.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#19642 (comment)
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
@sgn running inside a chroot also returns nothing. |
It's postgresql.
|
@sgn thank you for investigating. I will rebuild on my pinebook pro and let you know if this issue has been fixed. |
Does the updated postgresql fix this issue? I don't have any strong enough arm64 device to build libre office. I merely found about postgresql when cross-compile other package. |
@sgn
I added |
FWIW I ordered a Pinebook Pro laptop in march and expect to receive it in the not too far future. I hope I can then take care of issues with building Void packages on aarch64. |
I'm working on cross-compiling LibreOffice, firebird is heavily patched, Building on RPi3 and QEMU is too slow for me. |
pkg_cv_LIBEXSLT_LIBS='-L/usr/aarch64-linux-musl/usr/lib -lexslt -lxslt -lxml2'
pkg_cv_LIBXSLT_LIBS='-L/usr/aarch64-linux-musl/usr/lib -lxslt -lxml2'
pkg_cv_XMLSEC_LIBS='-L/usr/aarch64-linux-musl/usr/lib -lxmlsec1-nss -lxmlsec1 -lltdl -lxslt -lxml2 -lplds4 -lplc4 -lnspr4 -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4' But this is about |
@anjandev Please try to build again. I'm building in QEMU now, |
I do not run void on my pinebook pro anymore because I needed libreoffice.
Someone else will have to confirm that this bug has gone away.
Thanks for your work
|
Maybe someone can help me make sense of this error. I'd like to think the compilation was mostly completed. Took about 2 hours to get to this stage compiling on RK3399/Pinebook Pro. |
Can you check dmesg? You were probably OOM killed. You should try building with less jobs. |
Indeed, 6 makejobs turned out to be too many and the process was reaped by the OOM killer. After ~12 hours(!) compilation using 3 makejobs, LibreOffice was successfully built & packaged. https://branon.me/share/ZGNjZTI.png Haven't tested extensively yet, but Writer and Draw both launch and are able to save documents. I think we're good to go! Many thanks. |
System
Expected behavior
running
./xbps-src pkg libreoffice
on an aarch64 computer compiles libreoffice.Actual behavior
Steps to reproduce the behavior
Try to compile libreoffice on an aarch64 computer. The libreoffice package doesnt support cross compilation.
The text was updated successfully, but these errors were encountered: