Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Libreoffice fails to build on aarch64 (pinebook pro)
@ 2020-02-29 22:36 anjandev
  2020-03-15 14:35 ` pullmoll
                   ` (24 more replies)
  0 siblings, 25 replies; 26+ messages in thread
From: anjandev @ 2020-02-29 22:36 UTC (permalink / raw)
  To: ml

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

New issue by anjandev on void-packages repository

https://github.com/void-linux/void-packages/issues/19642

Description:

### System

* xuname:  
  * Void 5.5.0_1 aarch64 Unknown notuptodate rFFF
* package:  
  * libreoffice version=6.4.0.3

### Expected behavior
running `./xbps-src pkg libreoffice` on an aarch64 computer compiles libreoffice.

### Actual behavior

```
=> vlc-3.0.8_8: removing autodeps, please wait...
=> vlc-3.0.8_8: cleaning build directory...
=> vlc: removing files from destdir...
=> libvlc: removing files from destdir...
=> vlc-devel: removing files from destdir...
=> libreoffice-6.4.0.3_1: installing host dependencies: automake-1.16.1_3 flex-2.6.4_3 gperf-3.1_2 hyphen-2.8.8_2 icu-64.2_2 libtool-2.4.6_4 openldap-2.4.49_1 which-2.21_3 gettext-0.20.1_2 xz-5.2.4_2 perl-Archive-Zip-1.67_1 pkg-config-0.29.2_2 qt5-qmake-5.13.2_2 sane-1.0.29_1 ucpp-1.3.2_1 unzip-6.0_13 wget-1.20.3_2 zip-3.0_6 python3-setuptools-41.2.0_3 git-2.25.1_1 ...
=> libreoffice-6.4.0.3_1: installing target dependencies: CoinMP-devel-1.8.4_1 apr-devel-1.7.0_3 avahi-libs-devel-0.7_9 clucene-devel-2.3.3.4_7 frameworkintegration-devel-5.67.0_1 glyphy-devel-0.0.20190307_1 gpgmepp-devel-1.13.1_2 gst-plugins-base1-devel-1.16.2_1 gtk+-devel-2.24.32_3 hunspell-devel-1.7.0_2 hyphen-devel-2.8.8_2 libXt-devel-1.2.0_1 libabw-devel-0.1.3_1 libatomic_ops-devel-7.6.10_1 libcdr-devel-0.1.5_2 libcmis-devel-0.5.2_4 libe-book-devel-0.1.3_6 libepubgen-devel-0.1.1_2 libetonyek-devel-0.1.9_3 libexttextcat-devel-3.4.5_2 libfbclient3-devel-3.0.4.33054_3 libfreehand-devel-0.1.2_2 libgcrypt-devel-1.8.5_1 libgltf-devel-0.1.0_2 libldap-devel-2.4.49_1 libmariadbclient-devel-10.1.30_7 libmspub-devel-0.1.4_5 libmwaw-devel-0.3.15_1 libnumbertext-devel-1.0.5_1 libodfgen-devel-0.1.7_2 liborcus-devel-0.15.3_1 libpagemaker-devel-0.0.4_2 libqxp-devel-0.0.2_3 librsvg-devel-2.47.1_1 libvisio-devel-0.1.7_1 libwpg-devel-0.3.3_1 libwps-devel-0.4.10_1 lpsolve-devel-5.5.2.5_2 mdds-1.5.0_2 mythes-devel-1.2.4_4 neon-devel-0.30.2_10 nss-devel-3.50_1 python3-devel-3.8.1_1 qt5-devel-5.13.2_2 redland-devel-1.0.17_4 sane-devel-1.0.29_1 telepathy-glib-devel-0.24.1_4 unixodbc-devel-2.3.7_2 vigra-devel-1.11.1_5 libcppunit-devel-1.14.0_2 qrcodegen-devel-1.5.0_2 xmlsec1-devel-1.2.29_1 gtk+3-devel-3.24.13_1 libbluetooth-devel-5.52_1 postgresql-libs-devel-9.6.17_1 vlc-devel-3.0.8_8 ...
=> libreoffice-6.4.0.3_1: removing autodeps, please wait...
=> ERROR: libreoffice-6.4.0.3_1: failed to install 'CoinMP-devel-1.8.4_1' dependency! (error 8)
libavcodec-4.2.2_1: broken, unresolvable shlib `libx265.so.179'
Transaction aborted due to unresolved shlibs.
=> ERROR: Please see above for the real error, exiting...
```

### Steps to reproduce the behavior
Try to compile libreoffice on an aarch64 computer. The libreoffice package doesnt support cross compilation.


^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Libreoffice fails to build on aarch64 (pinebook pro)
  2020-02-29 22:36 [ISSUE] Libreoffice fails to build on aarch64 (pinebook pro) anjandev
@ 2020-03-15 14:35 ` pullmoll
  2020-03-16  4:45 ` anjandev
                   ` (23 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: pullmoll @ 2020-03-15 14:35 UTC (permalink / raw)
  To: ml

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

New comment by pullmoll on void-packages repository

https://github.com/void-linux/void-packages/issues/19642#issuecomment-599218223

Comment:
You should update your system. The packages `ffmpeg` and thus `libavcodec` ar at version/revision `4.2.2_2` and the archive [is there](https://alpha.de.repo.voidlinux.org/current/aarch64/ffmpeg-4.2.2_2.aarch64.xbps). I manually inspected [aarch64-repodata](https://alpha.de.repo.voidlinux.org/current/aarch64/aarch64-repodata) and it actually has `ffmpeg-4.2.2_2` in its `index.plist`.


^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Libreoffice fails to build on aarch64 (pinebook pro)
  2020-02-29 22:36 [ISSUE] Libreoffice fails to build on aarch64 (pinebook pro) anjandev
  2020-03-15 14:35 ` pullmoll
@ 2020-03-16  4:45 ` anjandev
  2020-03-18 10:34 ` sgn
                   ` (22 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: anjandev @ 2020-03-16  4:45 UTC (permalink / raw)
  To: ml

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

New comment by anjandev on void-packages repository

https://github.com/void-linux/void-packages/issues/19642#issuecomment-599342825

Comment:
@pullmoll thanks. Now I get an error like:

```
/usr/bin/ccache cc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -O2 -pipe -march=armv8-a -g -I/usr/aarch64-linux-gnu/usr/include -fstack-clash-protection -D_FORTIFY_SOURCE=2 -O2
-pipe -march=armv8-a -g -I/usr/aarch64-linux-gnu/usr/include -fstack-clash-protection -D_FORTIFY_SOURCE=2 -march=armv8-a
-O2 -pipe -fPIC -DCYTHON_CLINE_IN_TRACEBACK=1 -I/usr/aarch64-linux-gnu/usr/include/libxml2 -Isrc -Isrc/lxml/includes -I/usr/include/python3.8 -c src/lxml/etree.c -o build/temp.linux-aarch64-3.8/src/lxml/etree.o -w
In file included from src/lxml/etree.c:619:
src/lxml/includes/etree_defs.h:14:10: fatal error: libxml/xmlversion.h: No such file or directory
   14 | #include "libxml/xmlversion.h"
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Compile failed: command '/usr/bin/ccache' failed with exit status 1
creating tmp
cc -I/usr/aarch64-linux-gnu/usr/include/libxml2 -I/usr/include/libxml2 -c /tmp/xmlXPathInit4v92yw1b.c -o tmp/xmlXPathInit4v92yw1b.o
cc tmp/xmlXPathInit4v92yw1b.o -L/usr/aarch64-linux-gnu/usr/lib -lxml2 -o a.out
error: command '/usr/bin/ccache' failed with exit status 1
make[1]: *** [/builddir/libreoffice-6.4.1.2/external/lxml/ExternalProject_lxml.mk:25: /builddir/libreoffice-6.4.1.2/workdir/ExternalProject/lxml/build] Error 1
make: *** [Makefile:282: build] Error 2
=> ERROR: libreoffice-6.4.1.2_1: do_build: 'make ${makejobs} ${make_build_args}' exited with 2
=> ERROR:   in do_build() at srcpkgs/libreoffice/template:520
```

I even tried adding `libxml2-devel` package to makedepends in the libreoffice template.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Libreoffice fails to build on aarch64 (pinebook pro)
  2020-02-29 22:36 [ISSUE] Libreoffice fails to build on aarch64 (pinebook pro) anjandev
  2020-03-15 14:35 ` pullmoll
  2020-03-16  4:45 ` anjandev
@ 2020-03-18 10:34 ` sgn
  2020-03-18 10:35 ` sgn
                   ` (21 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: sgn @ 2020-03-18 10:34 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/19642#issuecomment-600545776

Comment:
`-I/usr/aarch64-linux-gnu/usr/include` is it correct?

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Libreoffice fails to build on aarch64 (pinebook pro)
  2020-02-29 22:36 [ISSUE] Libreoffice fails to build on aarch64 (pinebook pro) anjandev
                   ` (2 preceding siblings ...)
  2020-03-18 10:34 ` sgn
@ 2020-03-18 10:35 ` sgn
  2020-03-18 11:43 ` pullmoll
                   ` (20 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: sgn @ 2020-03-18 10:35 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/19642#issuecomment-600545776

Comment:
`-I/usr/aarch64-linux-gnu/usr/include` looks incorrect to me.

This is a native build, it should be `-I/usr/include` instead.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Libreoffice fails to build on aarch64 (pinebook pro)
  2020-02-29 22:36 [ISSUE] Libreoffice fails to build on aarch64 (pinebook pro) anjandev
                   ` (3 preceding siblings ...)
  2020-03-18 10:35 ` sgn
@ 2020-03-18 11:43 ` pullmoll
  2020-03-18 21:26 ` anjandev
                   ` (19 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: pullmoll @ 2020-03-18 11:43 UTC (permalink / raw)
  To: ml

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

New comment by pullmoll on void-packages repository

https://github.com/void-linux/void-packages/issues/19642#issuecomment-600575701

Comment:
@sgn Indeed. @anjandev Can you `grep -r /usr/aarch64 /usr/lib/pkgconfig` to see if any packages have cross build flags erroneously leaking into pkconfig files?

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Libreoffice fails to build on aarch64 (pinebook pro)
  2020-02-29 22:36 [ISSUE] Libreoffice fails to build on aarch64 (pinebook pro) anjandev
                   ` (4 preceding siblings ...)
  2020-03-18 11:43 ` pullmoll
@ 2020-03-18 21:26 ` anjandev
  2020-03-19  0:32 ` sgn
                   ` (18 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: anjandev @ 2020-03-18 21:26 UTC (permalink / raw)
  To: ml

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

New comment by anjandev on void-packages repository

https://github.com/void-linux/void-packages/issues/19642#issuecomment-600866998

Comment:
`grep -r /usr/aarch64 /usr/lib/pkgconfig` returns nothing.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Libreoffice fails to build on aarch64 (pinebook pro)
  2020-02-29 22:36 [ISSUE] Libreoffice fails to build on aarch64 (pinebook pro) anjandev
                   ` (5 preceding siblings ...)
  2020-03-18 21:26 ` anjandev
@ 2020-03-19  0:32 ` sgn
  2020-03-19 22:36 ` anjandev
                   ` (17 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: sgn @ 2020-03-19  0:32 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/19642#issuecomment-600925313

Comment:
Did you run this command inside chroot?


On 19 March 2020 04:26:18 GMT+07:00, Anjan Momi <notifications@github.com> 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:
>https://github.com/void-linux/void-packages/issues/19642#issuecomment-600866998

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Libreoffice fails to build on aarch64 (pinebook pro)
  2020-02-29 22:36 [ISSUE] Libreoffice fails to build on aarch64 (pinebook pro) anjandev
                   ` (6 preceding siblings ...)
  2020-03-19  0:32 ` sgn
@ 2020-03-19 22:36 ` anjandev
  2020-04-09  4:35 ` sgn
                   ` (16 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: anjandev @ 2020-03-19 22:36 UTC (permalink / raw)
  To: ml

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

New comment by anjandev on void-packages repository

https://github.com/void-linux/void-packages/issues/19642#issuecomment-601448870

Comment:
@sgn running inside a chroot also returns nothing.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Libreoffice fails to build on aarch64 (pinebook pro)
  2020-02-29 22:36 [ISSUE] Libreoffice fails to build on aarch64 (pinebook pro) anjandev
                   ` (7 preceding siblings ...)
  2020-03-19 22:36 ` anjandev
@ 2020-04-09  4:35 ` sgn
  2020-04-10  5:35 ` anjandev
                   ` (15 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: sgn @ 2020-04-09  4:35 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/19642#issuecomment-611322990

Comment:
It's postgresql.
```
$ /usr/bin/pg_config --cppflags
-D_GNU_SOURCE -I/usr/aarch64-linux-gnu/usr/include/libxml2
```

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Libreoffice fails to build on aarch64 (pinebook pro)
  2020-02-29 22:36 [ISSUE] Libreoffice fails to build on aarch64 (pinebook pro) anjandev
                   ` (8 preceding siblings ...)
  2020-04-09  4:35 ` sgn
@ 2020-04-10  5:35 ` anjandev
  2020-04-14  9:51 ` sgn
                   ` (14 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: anjandev @ 2020-04-10  5:35 UTC (permalink / raw)
  To: ml

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

New comment by anjandev on void-packages repository

https://github.com/void-linux/void-packages/issues/19642#issuecomment-611886184

Comment:
@sgn thank you for investigating. I will rebuild on my pinebook pro and let you know if this issue has been fixed.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Libreoffice fails to build on aarch64 (pinebook pro)
  2020-02-29 22:36 [ISSUE] Libreoffice fails to build on aarch64 (pinebook pro) anjandev
                   ` (9 preceding siblings ...)
  2020-04-10  5:35 ` anjandev
@ 2020-04-14  9:51 ` sgn
  2020-04-14 10:26 ` anjandev
                   ` (13 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: sgn @ 2020-04-14  9:51 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/19642#issuecomment-613341585

Comment:
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.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Libreoffice fails to build on aarch64 (pinebook pro)
  2020-02-29 22:36 [ISSUE] Libreoffice fails to build on aarch64 (pinebook pro) anjandev
                   ` (10 preceding siblings ...)
  2020-04-14  9:51 ` sgn
@ 2020-04-14 10:26 ` anjandev
  2020-05-15 21:15 ` pullmoll
                   ` (12 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: anjandev @ 2020-04-14 10:26 UTC (permalink / raw)
  To: ml

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

New comment by anjandev on void-packages repository

https://github.com/void-linux/void-packages/issues/19642#issuecomment-613357164

Comment:
@sgn 
I got the following error:

```
libreoffice__do_build.log
mkdir -p /builddir/libreoffice-6.4.1.2/instdir
/builddir/libreoffice-6.4.1.2/solenv/bin/install-gdb-printers -a /builddir/libreoffice-6.4.1.2/instdir -c
make -j 1  -rs -f /builddir/libreoffice-6.4.1.2/Makefile.gbuild  build
Building lxml version 4.1.1.
Building without Cython.
Using build configuration of libxslt 1.1.34
Building against libxml2/libxslt in the following directory: /usr/aarch64-linux-gnu/usr/lib
running build
running build_py
copying src/lxml/includes/lxml-version.h -> build/lib.linux-aarch64-3.8/lxml/includes
running build_ext
building 'lxml.etree' extension
/usr/bin/ccache cc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -O2 -pipe -march=armv8-a -g -I/usr/aarch64-linux-gnu/usr/include -fstack-clash-protection -D_FORTIFY_SOURCE=2 -O2 -pipe -march=armv8-a -g -I/usr/aarch64-linux-gnu/usr/include -fstack-clash-protection -D_FORTIFY_SOURCE=2 -march=armv8-a -O2 -pipe -fPIC -DCYTHON_CLINE_IN_TRACEBACK=1 -I/usr/aarch64-linux-gnu/usr/include/libxml2 -Isrc -Isrc/lxml/includes -I/usr/include/python3.8 -c src/lxml/etree.c -o build/temp.linux-aarch64-3.8/src/lxml/etree.o -w
In file included from src/lxml/etree.c:619:
src/lxml/includes/etree_defs.h:14:10: fatal error: libxml/xmlversion.h: No such file or directory
   14 | #include "libxml/xmlversion.h"
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Compile failed: command '/usr/bin/ccache' failed with exit status 1
cc -I/usr/aarch64-linux-gnu/usr/include/libxml2 -I/usr/include/libxml2 -c /tmp/xmlXPathInitpysnh1sy.c -o tmp/xmlXPathInitpysnh1sy.o
cc tmp/xmlXPathInitpysnh1sy.o -L/usr/aarch64-linux-gnu/usr/lib -lxml2 -o a.out
error: command '/usr/bin/ccache' failed with exit status 1
make[1]: *** [/builddir/libreoffice-6.4.1.2/external/lxml/ExternalProject_lxml.mk:25: /builddir/libreoffice-6.4.1.2/workdir/ExternalProject/lxml/build] Error 1
make: *** [Makefile:282: build] Error 2
=> ERROR: libreoffice-6.4.1.2_1: do_build: 'make ${makejobs} ${make_build_args}' exited with 2
=> ERROR:   in do_build() at srcpkgs/libreoffice/template:520
```

I added `libxml2-devel` to try to fix this but it still returned the error above.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Libreoffice fails to build on aarch64 (pinebook pro)
  2020-02-29 22:36 [ISSUE] Libreoffice fails to build on aarch64 (pinebook pro) anjandev
                   ` (11 preceding siblings ...)
  2020-04-14 10:26 ` anjandev
@ 2020-05-15 21:15 ` pullmoll
  2020-05-16  1:43 ` sgn
                   ` (11 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: pullmoll @ 2020-05-15 21:15 UTC (permalink / raw)
  To: ml

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

New comment by pullmoll on void-packages repository

https://github.com/void-linux/void-packages/issues/19642#issuecomment-629490155

Comment:
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.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Libreoffice fails to build on aarch64 (pinebook pro)
  2020-02-29 22:36 [ISSUE] Libreoffice fails to build on aarch64 (pinebook pro) anjandev
                   ` (12 preceding siblings ...)
  2020-05-15 21:15 ` pullmoll
@ 2020-05-16  1:43 ` sgn
  2020-05-19 14:44 ` sgn
                   ` (10 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: sgn @ 2020-05-16  1:43 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/19642#issuecomment-629570591

Comment:
I'm working on cross-compiling LibreOffice, firebird is heavily patched,
working on LibreOffice itself now.
https://github.com/sgn/void-packages/tree/firebird3-cross-compile

Building on RPi3 and QEMU is too slow for me.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Libreoffice fails to build on aarch64 (pinebook pro)
  2020-02-29 22:36 [ISSUE] Libreoffice fails to build on aarch64 (pinebook pro) anjandev
                   ` (13 preceding siblings ...)
  2020-05-16  1:43 ` sgn
@ 2020-05-19 14:44 ` sgn
  2020-05-19 14:59 ` sgn
                   ` (9 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: sgn @ 2020-05-19 14:44 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/19642#issuecomment-630867716

Comment:
```sh
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'
```

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Libreoffice fails to build on aarch64 (pinebook pro)
  2020-02-29 22:36 [ISSUE] Libreoffice fails to build on aarch64 (pinebook pro) anjandev
                   ` (14 preceding siblings ...)
  2020-05-19 14:44 ` sgn
@ 2020-05-19 14:59 ` sgn
  2020-05-21 15:27 ` sgn
                   ` (8 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: sgn @ 2020-05-19 14:59 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/19642#issuecomment-630867716

Comment:
```sh
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 `LDFLAGS` not `CFLAGS` :/

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Libreoffice fails to build on aarch64 (pinebook pro)
  2020-02-29 22:36 [ISSUE] Libreoffice fails to build on aarch64 (pinebook pro) anjandev
                   ` (15 preceding siblings ...)
  2020-05-19 14:59 ` sgn
@ 2020-05-21 15:27 ` sgn
  2020-05-21 17:48 ` anjandev
                   ` (7 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: sgn @ 2020-05-21 15:27 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/19642#issuecomment-632149619

Comment:
@anjandev Please try to build again. I'm building in QEMU now,
depsite it's very slow, it's very positive.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Libreoffice fails to build on aarch64 (pinebook pro)
  2020-02-29 22:36 [ISSUE] Libreoffice fails to build on aarch64 (pinebook pro) anjandev
                   ` (16 preceding siblings ...)
  2020-05-21 15:27 ` sgn
@ 2020-05-21 17:48 ` anjandev
  2020-09-15  1:46 ` KeepBotting
                   ` (6 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: anjandev @ 2020-05-21 17:48 UTC (permalink / raw)
  To: ml

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

New comment by anjandev on void-packages repository

https://github.com/void-linux/void-packages/issues/19642#issuecomment-632250012

Comment:
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


^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Libreoffice fails to build on aarch64 (pinebook pro)
  2020-02-29 22:36 [ISSUE] Libreoffice fails to build on aarch64 (pinebook pro) anjandev
                   ` (17 preceding siblings ...)
  2020-05-21 17:48 ` anjandev
@ 2020-09-15  1:46 ` KeepBotting
  2020-09-15  1:48 ` ericonr
                   ` (5 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: KeepBotting @ 2020-09-15  1:46 UTC (permalink / raw)
  To: ml

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

New comment by KeepBotting on void-packages repository

https://github.com/void-linux/void-packages/issues/19642#issuecomment-692410878

Comment:
This doesn't appear to be resolved yet with version=7.0.1.2

```
[build CXX] vcl/unx/gtk3/gtk3gtkdata.cxx
[build CXX] vcl/unx/gtk3/gtk3gtkinst.cxx
[build CXX] vcl/unx/gtk3/gtk3gtksys.cxx
[build CXX] vcl/unx/gtk3/cairo_gtk3_cairo.cxx
[build CXX] vcl/unx/gtk3/gtk3gtkprintwrapper.cxx
[build CXX] vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
[build CXX] vcl/unx/gtk3/gtk3salprn-gtk.cxx
[build CXX] vcl/unx/gtk3/gtk3gtkframe.cxx
[build CXX] vcl/unx/gtk3/gtk3gtkobject.cxx
[build CXX] vcl/unx/gtk3/gtk3gtksalmenu.cxx
[build CXX] vcl/unx/gtk3/gtk3glomenu.cxx
[build CXX] vcl/unx/gtk3/gtk3gloactiongroup.cxx
[build CXX] vcl/unx/gtk3/gtk3hudawareness.cxx
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[1]: *** [/builddir/libreoffice-7.0.1.2/solenv/gbuild/LinkTarget.mk:301: /builddir/libreoffice-7.0.1.2/workdir/CxxObject/vcl/unx/gtk3/gtk3gtkinst.o] Error 1
make[1]: *** Deleting file '/builddir/libreoffice-7.0.1.2/workdir/CxxObject/vcl/unx/gtk3/gtk3gtkinst.o'
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:282: build] Error 2
=> ERROR: libreoffice-7.0.1.2_1: do_build: 'make ${makejobs} ${make_build_args}' exited with 2
=> ERROR:   in do_build() at srcpkgs/libreoffice/template:523
```

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.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Libreoffice fails to build on aarch64 (pinebook pro)
  2020-02-29 22:36 [ISSUE] Libreoffice fails to build on aarch64 (pinebook pro) anjandev
                   ` (18 preceding siblings ...)
  2020-09-15  1:46 ` KeepBotting
@ 2020-09-15  1:48 ` ericonr
  2020-09-15  1:49 ` ericonr
                   ` (4 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: ericonr @ 2020-09-15  1:48 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/19642#issuecomment-692411317

Comment:
Can you check dmesg? You were probably OOM killed.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Libreoffice fails to build on aarch64 (pinebook pro)
  2020-02-29 22:36 [ISSUE] Libreoffice fails to build on aarch64 (pinebook pro) anjandev
                   ` (19 preceding siblings ...)
  2020-09-15  1:48 ` ericonr
@ 2020-09-15  1:49 ` ericonr
  2020-09-15  1:49 ` ericonr
                   ` (3 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: ericonr @ 2020-09-15  1:49 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/19642#issuecomment-692411317

Comment:
Can you check dmesg? You were probably OOM killed. Basically you should try building with less jobs.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Libreoffice fails to build on aarch64 (pinebook pro)
  2020-02-29 22:36 [ISSUE] Libreoffice fails to build on aarch64 (pinebook pro) anjandev
                   ` (20 preceding siblings ...)
  2020-09-15  1:49 ` ericonr
@ 2020-09-15  1:49 ` ericonr
  2020-09-15 13:44 ` KeepBotting
                   ` (2 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: ericonr @ 2020-09-15  1:49 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/19642#issuecomment-692411317

Comment:
Can you check dmesg? You were probably OOM killed. You should try building with less jobs.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Libreoffice fails to build on aarch64 (pinebook pro)
  2020-02-29 22:36 [ISSUE] Libreoffice fails to build on aarch64 (pinebook pro) anjandev
                   ` (21 preceding siblings ...)
  2020-09-15  1:49 ` ericonr
@ 2020-09-15 13:44 ` KeepBotting
  2020-09-15 13:47 ` KeepBotting
  2020-09-15 14:10 ` [ISSUE] [CLOSED] " q66
  24 siblings, 0 replies; 26+ messages in thread
From: KeepBotting @ 2020-09-15 13:44 UTC (permalink / raw)
  To: ml

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

New comment by KeepBotting on void-packages repository

https://github.com/void-linux/void-packages/issues/19642#issuecomment-692410878

Comment:
~~This doesn't appear to be resolved yet with version=7.0.1.2~~

```
[build CXX] vcl/unx/gtk3/gtk3gtkdata.cxx
[build CXX] vcl/unx/gtk3/gtk3gtkinst.cxx
[build CXX] vcl/unx/gtk3/gtk3gtksys.cxx
[build CXX] vcl/unx/gtk3/cairo_gtk3_cairo.cxx
[build CXX] vcl/unx/gtk3/gtk3gtkprintwrapper.cxx
[build CXX] vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
[build CXX] vcl/unx/gtk3/gtk3salprn-gtk.cxx
[build CXX] vcl/unx/gtk3/gtk3gtkframe.cxx
[build CXX] vcl/unx/gtk3/gtk3gtkobject.cxx
[build CXX] vcl/unx/gtk3/gtk3gtksalmenu.cxx
[build CXX] vcl/unx/gtk3/gtk3glomenu.cxx
[build CXX] vcl/unx/gtk3/gtk3gloactiongroup.cxx
[build CXX] vcl/unx/gtk3/gtk3hudawareness.cxx
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[1]: *** [/builddir/libreoffice-7.0.1.2/solenv/gbuild/LinkTarget.mk:301: /builddir/libreoffice-7.0.1.2/workdir/CxxObject/vcl/unx/gtk3/gtk3gtkinst.o] Error 1
make[1]: *** Deleting file '/builddir/libreoffice-7.0.1.2/workdir/CxxObject/vcl/unx/gtk3/gtk3gtkinst.o'
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:282: build] Error 2
=> ERROR: libreoffice-7.0.1.2_1: do_build: 'make ${makejobs} ${make_build_args}' exited with 2
=> ERROR:   in do_build() at srcpkgs/libreoffice/template:523
```

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.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Libreoffice fails to build on aarch64 (pinebook pro)
  2020-02-29 22:36 [ISSUE] Libreoffice fails to build on aarch64 (pinebook pro) anjandev
                   ` (22 preceding siblings ...)
  2020-09-15 13:44 ` KeepBotting
@ 2020-09-15 13:47 ` KeepBotting
  2020-09-15 14:10 ` [ISSUE] [CLOSED] " q66
  24 siblings, 0 replies; 26+ messages in thread
From: KeepBotting @ 2020-09-15 13:47 UTC (permalink / raw)
  To: ml

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

New comment by KeepBotting on void-packages repository

https://github.com/void-linux/void-packages/issues/19642#issuecomment-692726219

Comment:
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.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [ISSUE] [CLOSED] Libreoffice fails to build on aarch64 (pinebook pro)
  2020-02-29 22:36 [ISSUE] Libreoffice fails to build on aarch64 (pinebook pro) anjandev
                   ` (23 preceding siblings ...)
  2020-09-15 13:47 ` KeepBotting
@ 2020-09-15 14:10 ` q66
  24 siblings, 0 replies; 26+ messages in thread
From: q66 @ 2020-09-15 14:10 UTC (permalink / raw)
  To: ml

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

Closed issue by anjandev on void-packages repository

https://github.com/void-linux/void-packages/issues/19642

Description:

### System

* xuname:  
  * Void 5.5.0_1 aarch64 Unknown notuptodate rFFF
* package:  
  * libreoffice version=6.4.0.3

### Expected behavior
running `./xbps-src pkg libreoffice` on an aarch64 computer compiles libreoffice.

### Actual behavior

```
=> vlc-3.0.8_8: removing autodeps, please wait...
=> vlc-3.0.8_8: cleaning build directory...
=> vlc: removing files from destdir...
=> libvlc: removing files from destdir...
=> vlc-devel: removing files from destdir...
=> libreoffice-6.4.0.3_1: installing host dependencies: automake-1.16.1_3 flex-2.6.4_3 gperf-3.1_2 hyphen-2.8.8_2 icu-64.2_2 libtool-2.4.6_4 openldap-2.4.49_1 which-2.21_3 gettext-0.20.1_2 xz-5.2.4_2 perl-Archive-Zip-1.67_1 pkg-config-0.29.2_2 qt5-qmake-5.13.2_2 sane-1.0.29_1 ucpp-1.3.2_1 unzip-6.0_13 wget-1.20.3_2 zip-3.0_6 python3-setuptools-41.2.0_3 git-2.25.1_1 ...
=> libreoffice-6.4.0.3_1: installing target dependencies: CoinMP-devel-1.8.4_1 apr-devel-1.7.0_3 avahi-libs-devel-0.7_9 clucene-devel-2.3.3.4_7 frameworkintegration-devel-5.67.0_1 glyphy-devel-0.0.20190307_1 gpgmepp-devel-1.13.1_2 gst-plugins-base1-devel-1.16.2_1 gtk+-devel-2.24.32_3 hunspell-devel-1.7.0_2 hyphen-devel-2.8.8_2 libXt-devel-1.2.0_1 libabw-devel-0.1.3_1 libatomic_ops-devel-7.6.10_1 libcdr-devel-0.1.5_2 libcmis-devel-0.5.2_4 libe-book-devel-0.1.3_6 libepubgen-devel-0.1.1_2 libetonyek-devel-0.1.9_3 libexttextcat-devel-3.4.5_2 libfbclient3-devel-3.0.4.33054_3 libfreehand-devel-0.1.2_2 libgcrypt-devel-1.8.5_1 libgltf-devel-0.1.0_2 libldap-devel-2.4.49_1 libmariadbclient-devel-10.1.30_7 libmspub-devel-0.1.4_5 libmwaw-devel-0.3.15_1 libnumbertext-devel-1.0.5_1 libodfgen-devel-0.1.7_2 liborcus-devel-0.15.3_1 libpagemaker-devel-0.0.4_2 libqxp-devel-0.0.2_3 librsvg-devel-2.47.1_1 libvisio-devel-0.1.7_1 libwpg-devel-0.3.3_1 libwps-devel-0.4.10_1 lpsolve-devel-5.5.2.5_2 mdds-1.5.0_2 mythes-devel-1.2.4_4 neon-devel-0.30.2_10 nss-devel-3.50_1 python3-devel-3.8.1_1 qt5-devel-5.13.2_2 redland-devel-1.0.17_4 sane-devel-1.0.29_1 telepathy-glib-devel-0.24.1_4 unixodbc-devel-2.3.7_2 vigra-devel-1.11.1_5 libcppunit-devel-1.14.0_2 qrcodegen-devel-1.5.0_2 xmlsec1-devel-1.2.29_1 gtk+3-devel-3.24.13_1 libbluetooth-devel-5.52_1 postgresql-libs-devel-9.6.17_1 vlc-devel-3.0.8_8 ...
=> libreoffice-6.4.0.3_1: removing autodeps, please wait...
=> ERROR: libreoffice-6.4.0.3_1: failed to install 'CoinMP-devel-1.8.4_1' dependency! (error 8)
libavcodec-4.2.2_1: broken, unresolvable shlib `libx265.so.179'
Transaction aborted due to unresolved shlibs.
=> ERROR: Please see above for the real error, exiting...
```

### Steps to reproduce the behavior
Try to compile libreoffice on an aarch64 computer. The libreoffice package doesnt support cross compilation.


^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2020-09-15 14:10 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-29 22:36 [ISSUE] Libreoffice fails to build on aarch64 (pinebook pro) anjandev
2020-03-15 14:35 ` pullmoll
2020-03-16  4:45 ` anjandev
2020-03-18 10:34 ` sgn
2020-03-18 10:35 ` sgn
2020-03-18 11:43 ` pullmoll
2020-03-18 21:26 ` anjandev
2020-03-19  0:32 ` sgn
2020-03-19 22:36 ` anjandev
2020-04-09  4:35 ` sgn
2020-04-10  5:35 ` anjandev
2020-04-14  9:51 ` sgn
2020-04-14 10:26 ` anjandev
2020-05-15 21:15 ` pullmoll
2020-05-16  1:43 ` sgn
2020-05-19 14:44 ` sgn
2020-05-19 14:59 ` sgn
2020-05-21 15:27 ` sgn
2020-05-21 17:48 ` anjandev
2020-09-15  1:46 ` KeepBotting
2020-09-15  1:48 ` ericonr
2020-09-15  1:49 ` ericonr
2020-09-15  1:49 ` ericonr
2020-09-15 13:44 ` KeepBotting
2020-09-15 13:47 ` KeepBotting
2020-09-15 14:10 ` [ISSUE] [CLOSED] " q66

Github messages for voidlinux

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/voidlinux-github

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 voidlinux-github voidlinux-github/ http://inbox.vuxu.org/voidlinux-github \
		voidlinux-github@inbox.vuxu.org
	public-inbox-index voidlinux-github

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.github.voidlinux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git