unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Kaelyn via Bug reports for GNU Guix <bug-guix@gnu.org>
To: "59519@debbugs.gnu.org" <59519@debbugs.gnu.org>
Subject: bug#59519: LibreOffice 7.3.5.2 fails to build on i686-linux
Date: Fri, 25 Nov 2022 19:50:11 +0000	[thread overview]
Message-ID: <dguL29yZIxbUVcdKS3Q2brbIsrTihwT9P7B-UTKxPBP6T80ZUONLScXpYFkrLXouAKlY0W1gmxgdnqCZRolV8GHYXioxy5rDDtZf2BI4hQo=@protonmail.com> (raw)
In-Reply-To: <87mt8hfwp0.fsf@inria.fr>

Hi,

I was able to build libreoffice for i686-linux by adding "--enable-lto" and "--without-galleries" to the configure flags. The former seemed to resolve the linking issue, and the latter was to deal with the build failing because of 0 themes being found.

That error was:
[build GAL] backgrounds
[build GAL] sounds
[build MOD] postprocess
Work on gallery 'file:///tmp/guix-build-libreoffice-7.3.5.2.drv-0/libreoffice-7.3.5.2/workdir/Gallery/backgrounds'
Existing themes: 0
make[1]: *** [/tmp/guix-build-libreoffice-7.3.5.2.drv-0/libreoffice-7.3.5.2/solenv/gbuild/Gallery.mk:57: /tmp/guix-build-libreoffice-7.3.5.2.drv-0/libreoffice-7.3.5.2/workdir/Gallery/backgrounds.done] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [/tmp/guix-build-libreoffice-7.3.5.2.drv-0/libreoffice-7.3.5.2/solenv/gbuild/Gallery.mk:57: /tmp/guix-build-libreoffice-7.3.5.2.drv-0/libreoffice-7.3.5.2/workdir/Gallery/sounds.done] Error 1
make: *** [Makefile:289: build] Error 2
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("-j" "24" "gtk_update_icon_cache=true") exit-status: 2 term-signal: #f stop-signal: #f> 
phase `build' failed after 954.9 seconds
command "make" "-j" "24" "gtk_update_icon_cache=true" failed with status 2

And a basic patch to add the two flags:
diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm
index 8343f8ffc6..9ded4b5e5e 100644
--- a/gnu/packages/libreoffice.scm
+++ b/gnu/packages/libreoffice.scm
@@ -1235,6 +1235,8 @@ (define (install-appdata app)
          ;; when our default compiler is >=GCC 6.
          "--disable-pdfium"
          "--without-doxygen"
+         "--enable-lto"
+         ;; "--without-galleries"
          "--enable-build-opensymbol")))
     (native-inputs
      (list bison





  parent reply	other threads:[~2022-11-25 19:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-23 16:43 bug#59519: LibreOffice 7.3.5.2 fails to build on i686-linux Ludovic Courtès
2022-11-24 18:37 ` Ricardo Wurmus
2022-11-25  9:18   ` Ricardo Wurmus
2022-11-25 19:50 ` Kaelyn via Bug reports for GNU Guix [this message]
2022-11-25 19:54 ` Kaelyn via Bug reports for GNU Guix
2022-11-26  2:02 ` Kaelyn via Bug reports for GNU Guix
2022-11-26 22:15   ` Tobias Geerinckx-Rice via Bug reports for GNU Guix

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to='dguL29yZIxbUVcdKS3Q2brbIsrTihwT9P7B-UTKxPBP6T80ZUONLScXpYFkrLXouAKlY0W1gmxgdnqCZRolV8GHYXioxy5rDDtZf2BI4hQo=@protonmail.com' \
    --to=bug-guix@gnu.org \
    --cc=59519@debbugs.gnu.org \
    --cc=kaelyn.alexi@protonmail.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).