[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#59519: LibreOffice 7.3.5.2 fails to build on i686-linux
From: |
Kaelyn |
Subject: |
bug#59519: LibreOffice 7.3.5.2 fails to build on i686-linux |
Date: |
Fri, 25 Nov 2022 19:50:11 +0000 |
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