Github messages for voidlinux
 help / color / mirror / Atom feed
From: BikyAlex <BikyAlex@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [LOW PRIORITY] Libreoffice 7.2.3.2 template compilation issue
Date: Fri, 04 Feb 2022 04:23:50 +0100	[thread overview]
Message-ID: <20220204032350.0326InPVHT5TpMMk8jYkCRoWYPt4dqZOW545xBtJ1WY@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35352@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 3064 bytes --]

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. 

  parent reply	other threads:[~2022-02-04  3:23 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-02  6:10 [ISSUE] " BikyAlex
2022-02-02  9:48 ` ericonr
2022-02-02 12:58 ` BikyAlex
2022-02-04  3:23 ` BikyAlex [this message]
2022-02-05  6:54 ` BikyAlex
2022-06-23  2:15 ` github-actions
2022-06-23  4:08 ` ericonr
2022-06-23 11:25 ` BikyAlex
2022-06-24 22:27 ` BikyAlex
2022-06-25  0:35 ` ericonr
2022-09-23  2:14 ` github-actions
2022-12-23  1:56 ` aarch64: " github-actions
2022-12-23  2:01 ` classabbyamp
2022-12-23  2:15 ` BikyAlex
2022-12-23  2:33 ` BikyAlex
2022-12-23 11:23 ` classabbyamp
2022-12-23 11:58 ` BikyAlex
2022-12-23 12:22 ` BikyAlex
2023-02-10  5:03 ` [ISSUE] [CLOSED] aarch64: Libreoffice " BikyAlex
2023-02-10  5:03 ` BikyAlex

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220204032350.0326InPVHT5TpMMk8jYkCRoWYPt4dqZOW545xBtJ1WY@z \
    --to=bikyalex@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).