| View previous topic :: View next topic |
| Author |
Message |
Frautoincnam Apprentice

Joined: 19 May 2017 Posts: 294
|
Posted: Tue Jan 25, 2022 11:36 pm Post subject: can't rebuild app-office/libreoffice-7.1.7.2 |
|
|
Hi,
emerge -DauUN world wants to re-emerge libreoffice
[ebuild R ] app-office/libreoffice-7.1.7.2 ELIBC="(-FreeBSD%)"
But it always fails. I disabled ccache, distcc, and MAKEOPTS="-j1" but nothing better.
I have 4Gb RAM, 12Gb swap and 12G disk space.
I don't know what to try, except using binary package (that I would rather avoid).
| Code: | [UIA] modules/BasicIDE
S=/var/tmp/portage/app-office/libreoffice-7.1.7.2/work/libreoffice-7.1.7.2 && I=$S/instdir && W=$S/
workdir && /usr/bin/python3.9 $S/bin/gla11y -P $S/ -f $S/solenv/sanitizers/ui/modules/BasicIDE.f
alse -s $S/solenv/sanitizers/ui/modules/BasicIDE.suppr --widgets-suffixignored +ValueSet,HBox,VBox,
ToolBox,Preview,PreviewWin,PreviewWindow,PrevWindow --widgets-button +svtlo-ManagedMenuButton --fat
al-all --not-fatal-type duplicate-mnemonic --not-fatal-type labelled-by-and-mnemonic --not-fatal-ty
pe orphan-label -o $W/UIConfig/modules/BasicIDE.a11yerrors $S/basctl/uiconfig/basicide/ui/basicmacr
odialog.ui $S/basctl/uiconfig/basicide/ui/breakpointmenus.ui $S/basctl/uiconfig/basicide/ui/codecom
plete.ui $S/basctl/uiconfig/basicide/ui/combobox.ui $S/basctl/uiconfig/basicide/ui/defaultlanguage.
ui $S/basctl/uiconfig/basicide/ui/deletelangdialog.ui $S/basctl/uiconfig/basicide/ui/dialogpage.ui
$S/basctl/uiconfig/basicide/ui/dockingorganizer.ui $S/basctl/uiconfig/basicide/ui/dockingstack.ui $
S/basctl/uiconfig/basicide/ui/dockingwatch.ui $S/basctl/uiconfig/basicide/ui/exportdialog.ui $S/bas
ctl/uiconfig/basicide/ui/gotolinedialog.ui $S/basctl/uiconfig/basicide/ui/importlibdialog.ui $S/bas
ctl/uiconfig/basicide/ui/libpage.ui $S/basctl/uiconfig/basicide/ui/managebreakpoints.ui $S/basctl/u
iconfig/basicide/ui/managelanguages.ui $S/basctl/uiconfig/basicide/ui/modulepage.ui $S/basctl/uicon
fig/basicide/ui/newlibdialog.ui $S/basctl/uiconfig/basicide/ui/organizedialog.ui $S/basctl/uiconfig
/basicide/ui/sortmenu.ui
make[1]: *** [/var/tmp/portage/app-office/libreoffice-7.1.7.2/work/libreoffice-7.1.7.2/solenv/gbuil
d/UIConfig.mk:159: /var/tmp/portage/app-office/libreoffice-7.1.7.2/work/libreoffice-7.1.7.2/workdir
/UIConfig/modules/BasicIDE.a11yerrors] Segmentation fault
|
I submitted a bug : https://bugs.gentoo.org/832072 |
|
| Back to top |
|
 |
figueroa Advocate


Joined: 14 Aug 2005 Posts: 2980 Location: Edge of marsh USA
|
Posted: Wed Jan 26, 2022 4:22 am Post subject: |
|
|
Is swap a separate partition? Is there clutter from past failures in /var/tmp/portage? You may just be running out of space. Can you put /var/tmp/portage somewhere else (another partition, external drive) with more free space?
Share output from "emerge --info libreoffice" _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
| Back to top |
|
 |
Frautoincnam Apprentice

Joined: 19 May 2017 Posts: 294
|
Posted: Wed Jan 26, 2022 2:35 pm Post subject: |
|
|
| figueroa wrote: | | Is swap a separate partition? |
Yes.
2 in reallity
| Code: | # swapon
NAME TYPE SIZE USED PRIO
/dev/sdb2 partition 3,9G 18,2M -2
/dev/sda6 partition 7,5G 0B -3 |
| Quote: | | Is there clutter from past failures in /var/tmp/portage? |
| Code: | # du -sh /var/tmp/portage/*
328K /var/tmp/portage/dev-lang
37M /var/tmp/portage/media-libs
4,0K /var/tmp/portage/state
8,0K /var/tmp/portage/sys-libs
8,0K /var/tmp/portage/x11-libs |
| Quote: | | You may just be running out of space. |
Really ? Disk space ?
| Code: |
# df /var/tmp/portage/
Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
/dev/root 106G 93G 14G 88% / |
| Quote: | | Can you put /var/tmp/portage somewhere else (another partition, external drive) with more free space? |
Honestly, I wonder if it's useful
| Quote: | | Share output from "emerge --info libreoffice" |
Already provided in https://832072.bugs.gentoo.org/attachment.cgi?id=763637 |
|
| Back to top |
|
 |
Frautoincnam Apprentice

Joined: 19 May 2017 Posts: 294
|
Posted: Fri Feb 04, 2022 10:36 pm Post subject: |
|
|
Now, I have the same problem on my own PC, with RAM 32G and 35G disk space.
with app-office/libreoffice-7.2.5.2
| Code: | 18:34:01 root@coffee ~ # LANG=C free -g
total used free shared buff/cache available
Mem: 31 4 16 0 11 26
Swap: 32 0 32
18:34:22 root@coffee ~ # LANG=C df
Filesystem Size Used Avail Use% Mounted on
/dev/root 197G 160G 35G 83% / |
|
|
| Back to top |
|
 |
figueroa Advocate


Joined: 14 Aug 2005 Posts: 2980 Location: Edge of marsh USA
|
Posted: Sat Feb 05, 2022 3:39 am Post subject: |
|
|
I guess it's not disk space. I also upgraded to libreoffice-7.2.5.2 today, but with no issues. I only have half of your RAM and used -j8. Very interesting. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
| Back to top |
|
 |
Frautoincnam Apprentice

Joined: 19 May 2017 Posts: 294
|
Posted: Sat Feb 05, 2022 3:45 am Post subject: |
|
|
So, may be some USE flag ?
| Code: | | [ebuild U ] app-office/libreoffice-7.2.5.2::gentoo [7.1.7.2::gentoo] USE="branding cups dbus googledrive gtk java ldap mariadb pdfimport -accessibility (-base) -bluetooth -clang (-coinmp) -custom-cflags -debug -eds (-firebird) -gstreamer -kde -odk -postgres -test -vulkan" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10" 0 KiB |
|
|
| Back to top |
|
 |
figueroa Advocate


Joined: 14 Aug 2005 Posts: 2980 Location: Edge of marsh USA
|
Posted: Sat Feb 05, 2022 4:19 am Post subject: |
|
|
Maybe. There are some differences. Here is what I build:
| Code: | | [ebuild R ] app-office/libreoffice-7.2.5.2::gentoo USE="branding cups dbus gtk mariadb pdfimport -accessibility (-base) -bluetooth -clang (-coinmp) -custom-cflags -debug -eds (-firebird) -googledrive -gstreamer -java -kde -ldap -odk -postgres -test -vulkan" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10" |
The only USE flag I change in package.use is +pdfimport.
My make.conf flags are:
| Code: | | USE="dv elogind gimp heif nas oss postscript tcpd v4l zstd -bluetooth -gnome -ipv6 -kde -pulseaudio -samba -systemd linguas_en linguas_en_US" |
_________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
| Back to top |
|
 |
Frautoincnam Apprentice

Joined: 19 May 2017 Posts: 294
|
Posted: Sat Feb 05, 2022 4:29 am Post subject: |
|
|
I tried disabling some USE, but not better.
I'm now trying with :
| Code: | | PYTHON_SINGLE_TARGET="python3_10" emerge libreoffice |
And no error for the moment :
| Code: | $ genlop -c
Currently merging 1 out of 1
* app-office/libreoffice-7.2.5.2
current merge time: 24 minutes and 10 seconds.
ETA: 19 minutes and 38 seconds. |
Wait & see...
But, how do you select python now ? There is no more "eselect python" |
|
| Back to top |
|
 |
figueroa Advocate


Joined: 14 Aug 2005 Posts: 2980 Location: Edge of marsh USA
|
Posted: Sat Feb 05, 2022 4:40 am Post subject: |
|
|
I don't select PYTHON anywhere. I'm using bog standard defaults for amd64 stable. But, I do HAVE eselect-python. When it was no longer standard, I added it.
| Code: | $ eselect python list
Available Python interpreters, in order of preference:
[1] python3.9
[2] python3.10 (fallback)
|
I don't use it, I just keep it for old-time sake. It lets me look.
| Code: | | app-eselect/eselect-python |
_________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
| Back to top |
|
 |
Frautoincnam Apprentice

Joined: 19 May 2017 Posts: 294
|
Posted: Sat Feb 05, 2022 4:48 am Post subject: |
|
|
The compilation finally ended well with python3_10.
I guess they have good reason for removing eselect-python by default.
So I used /etc/portage/env/python3_10.conf
| Code: | | PYTHON_SINGLE_TARGET="python3_10" | for app-office/libreoffice
Thank you for your help.
If anyone wants to add a further explanation, please feel free to do so. |
|
| Back to top |
|
 |
figueroa Advocate


Joined: 14 Aug 2005 Posts: 2980 Location: Edge of marsh USA
|
Posted: Sat Feb 05, 2022 4:57 am Post subject: |
|
|
Amazing. Update your bug report. I wonder what the bug people think about this? _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
| Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 54508 Location: 56N 3W
|
Posted: Sat Feb 05, 2022 1:18 pm Post subject: |
|
|
Frautoincnam,
eselect python does not manage python versions for software installed by portage
python-exec does that. Its a wrapper around all portage installed python packages.
eselect python used to set the order in which the various installed python slots would be offered to non portage installed python things. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
| Back to top |
|
 |
Frautoincnam Apprentice

Joined: 19 May 2017 Posts: 294
|
Posted: Sat Feb 05, 2022 3:39 pm Post subject: |
|
|
| figueroa wrote: | | Amazing. Update your bug report. I wonder what the bug people think about this? |
I'll do it.
| NeddySeagoon wrote: |
Frautoincnam,
eselect python does not manage python versions for software installed by portage
python-exec does that. Its a wrapper around all portage installed python packages.
eselect python used to set the order in which the various installed python slots would be offered to non portage installed python things. |
Thanks for these informations.
Although I'm not sure I understand everything.
In my case, I don't select any particular version of python because I don't see the point of it, what should I have done to solve my problem and compile libreoffice with python3-10 in this case? |
|
| Back to top |
|
 |
asturm Developer

Joined: 05 Apr 2007 Posts: 9014
|
Posted: Sat Feb 05, 2022 3:55 pm Post subject: |
|
|
| If PYTHON_SINGLE_TARGET is not set in package.use, then profile default is used which is currently 3.9. |
|
| Back to top |
|
 |
Frautoincnam Apprentice

Joined: 19 May 2017 Posts: 294
|
Posted: Sat Feb 05, 2022 4:11 pm Post subject: |
|
|
| asturm wrote: | | If PYTHON_SINGLE_TARGET is not set in package.use, then profile default is used which is currently 3.9. |
Yes, and libreoffice doesn't compile, for me, on 3 PC/gentoo. |
|
| Back to top |
|
 |
asturm Developer

Joined: 05 Apr 2007 Posts: 9014
|
Posted: Sat Feb 05, 2022 6:06 pm Post subject: |
|
|
| I'm not sure what your problem is, but since we do not have dozens of bugs reported about LO not building for months (this would have been the case for lots of users by now, and we do not have other segfaults reported like that - and after all, 3.9 is what was used for creating libreoffice-bin as well), I am assuming there is no 'global' problem here. |
|
| Back to top |
|
 |
Frautoincnam Apprentice

Joined: 19 May 2017 Posts: 294
|
Posted: Sat Feb 05, 2022 9:06 pm Post subject: |
|
|
| asturm wrote: | | I'm not sure what your problem is, but since we do not have dozens of bugs reported about LO not building for months (this would have been the case for lots of users by now, and we do not have other segfaults reported like that - and after all, 3.9 is what was used for creating libreoffice-bin as well), I am assuming there is no 'global' problem here. |
I'm quite sure you're right. That's not what I meant either.
I just want to say that it's not installation specific, it's common to several of my systems, and so there is a more general reason in my installations that I have the problem everywhere.
My comments were mainly made to spur research leads from those who master the subject, which is not my case. |
|
| Back to top |
|
 |
Frautoincnam Apprentice

Joined: 19 May 2017 Posts: 294
|
Posted: Wed Feb 23, 2022 6:25 pm Post subject: |
|
|
And now, a new world update fail on libreoffice with :
| Code: | BUILD SUCCESSFUL
Total time: 13 seconds
[PRJ] hsqldb
touch /var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2/workdir/ExternalProject/hsqldb.done
mkdir -p /var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2/workdir/Package/prepared/ && touch /var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2/workdir/Package/prepared/hsqldb_project
touch /var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2/workdir/UnpackedTarball/hsqldb/lib/hsqldb.jar
/bin/cp --no-dereference --force --preserve=timestamps /var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2/workdir/UnpackedTarball/hsqldb/lib/hsqldb.jar /var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2/instdir/program/classes/hsqldb.jar
[JCS] Jar/sdbc_hsqldb
S=/var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2 && I=$S/instdir && W=$S/workdir && mkdir -p $W/JavaClassSet/Jar/sdbc_hsqldb/ && rm -rf $W/JavaClassSet/Jar/sdbc_hsqldb/* && RESPONSEFILE=/var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/temp/gbuild.mUs1EQ && /opt/openjdk-bin-11/bin/javac -J-Xmx128M -encoding utf8 --release 8 -Xlint:-options -classpath "$I/program/classes/hsqldb.jar:$W/JavaClassSet/Jar/sdbc_hsqldb" -d $W/JavaClassSet/Jar/sdbc_hsqldb @$RESPONSEFILE && rm -f $RESPONSEFILE && touch $W/JavaClassSet/Jar/sdbc_hsqldb/done
S=/var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2 && I=$S/instdir && W=$S/workdir && mkdir -p $W/JavaClassSet/Jar/sdbc_hsqldb/META-INF && echo Manifest-Version: 1.0 > $W/JavaClassSet/Jar/sdbc_hsqldb/META-INF/MANIFEST.MF && $S/solenv/bin/write_classpath.sh "$W/JavaClassSet/Jar/sdbc_hsqldb/META-INF/MANIFEST.MF" hsqldb.jar .. && echo "Solar-Version: 7.2.5.2" >> $W/JavaClassSet/Jar/sdbc_hsqldb/META-INF/MANIFEST.MF && mkdir -p $I/program/classes/ && cd $W/JavaClassSet/Jar/sdbc_hsqldb && jar cfm $I/program/classes/sdbc_hsqldb.jar $W/JavaClassSet/Jar/sdbc_hsqldb/META-INF/MANIFEST.MF META-INF com && cd ./ && jar uf $I/program/classes/sdbc_hsqldb.jar org || (rm -f $I/program/classes/sdbc_hsqldb.jar; false)
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f3d29846200, pid=20524, tid=20527
#
# JRE version: OpenJDK Runtime Environment Temurin-11.0.14+9 (11.0.14+9) (build 11.0.14+9)
# Java VM: OpenJDK 64-Bit Server VM Temurin-11.0.14+9 (11.0.14+9, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C 0x00007f3d29846200
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2/workdir/JavaClassSet/Jar/sdbc_hsqldb/hs_err_pid20524.log
Compiled method (c1) 243 172 3 java.lang.CharacterDataLatin1::getProperties (11 bytes)
total in heap [0x00007f3d68e00b10,0x00007f3d68e00e98] = 904
relocation [0x00007f3d68e00c88,0x00007f3d68e00cb8] = 48
main code [0x00007f3d68e00cc0,0x00007f3d68e00dc0] = 256
stub code [0x00007f3d68e00dc0,0x00007f3d68e00df0] = 48
metadata [0x00007f3d68e00df0,0x00007f3d68e00df8] = 8
scopes data [0x00007f3d68e00df8,0x00007f3d68e00e18] = 32
scopes pcs [0x00007f3d68e00e18,0x00007f3d68e00e78] = 96
dependencies [0x00007f3d68e00e78,0x00007f3d68e00e80] = 8
nul chk table [0x00007f3d68e00e80,0x00007f3d68e00e98] = 24
#
# If you would like to submit a bug report, please visit:
# https://github.com/adoptium/adoptium-support/issues
#
make[1]: *** [/var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2/connectivity/Jar_sdbc_hsqldb.mk:11: /var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2/instdir/program/classes/sdbc_hsqldb.jar] Error 1
rm /var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2/workdir/CustomTarget/i18npool/breakiterator/edit_word.brk /var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2/workdir/CustomTarget/i18npool/breakiterator/edit_word_hu.brk /var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2/workdir/CustomTarget/i18npool/breakiterator/dict_word_he.brk /var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2/workdir/CustomTarget/i18npool/breakiterator/count_word.txt /var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2/workdir/CustomTarget/i18npool/breakiterator/sent.brk /var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2/workdir/CustomTarget/i18npool/breakiterator/edit_word.txt /var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2/workdir/CustomTarget/i18npool/breakiterator/count_word.brk /var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2/workdir/CustomTarget/i18npool/breakiterator/dict_word_nodash.txt /var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2/workdir/CustomTarget/i18npool/breakiterator/line.txt /var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2/workdir/CustomTarget/i18npool/breakiterator/dict_word.brk /var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2/workdir/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.brk /var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2/workdir/CustomTarget/i18npool/breakiterator/dict_word_nodash.brk /var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2/workdir/CustomTarget/i18npool/breakiterator/line.brk /var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2/workdir/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.txt /var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2/workdir/CustomTarget/i18npool/breakiterator/edit_word_hu.txt /var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2/workdir/CustomTarget/i18npool/breakiterator/edit_word_he.txt /var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2/workdir/CustomTarget/i18npool/breakiterator/dict_word_he.txt /var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2/workdir/CustomTarget/i18npool/breakiterator/sent.txt /var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2/workdir/CustomTarget/i18npool/breakiterator/dict_word_hu.txt /var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2/workdir/CustomTarget/i18npool/breakiterator/dict_word.txt /var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2/workdir/CustomTarget/i18npool/breakiterator/dict_word_hu.brk /var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2/workdir/CustomTarget/i18npool/breakiterator/edit_word_he.brk
make[1]: Leaving directory '/var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/work/libreoffice-7.2.5.2'
make: *** [Makefile:287: build] Error 2
* ERROR: app-office/libreoffice-7.2.5.2-r1::gentoo failed (compile phase):
* (no error message)
|
| Code: | # emerge -pvq libreoffice
[ebuild U ] app-office/libreoffice-7.2.5.2-r1 [7.2.5.2] USE="branding cups dbus googledrive gtk java mariadb pdfimport -accessibility (-base) -bluetooth -clang (-coinmp) -custom-cflags -debug -eds (-firebird) -gstreamer -kde -ldap -odk -postgres -test -vulkan" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9" |
| Code: | # emerge --info libreoffice
DÉSACTIVATION suspend
Portage 3.0.30 (python 3.9.9-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-11.2.0, glibc-2.33-r7, 5.15.23-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-5.15.23-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q8200_@_2.33GHz-with-glibc2.33
KiB Mem: 4035872 total, 3164360 free
KiB Swap: 11948496 total, 11654292 free
Timestamp of repository gentoo: Wed, 23 Feb 2022 08:45:01 +0000
Head commit of repository gentoo: a5ced49662efdc5b2ab7b991398797cd24bafe69
sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
distcc 3.4 x86_64-pc-linux-gnu [enabled]
ccache version 4.5.1 [enabled]
app-misc/pax-utils: 1.3.3::gentoo
app-shells/bash: 5.1_p16::gentoo
dev-java/java-config: 2.3.1::gentoo
dev-lang/perl: 5.34.0-r6::gentoo
dev-lang/python: 2.7.18_p13::gentoo, 3.9.9-r1::gentoo, 3.10.0_p1-r1::gentoo
dev-lang/rust: 1.58.1::gentoo
dev-util/ccache: 4.5.1::gentoo
dev-util/cmake: 3.22.2::gentoo
dev-util/meson: 0.60.3::gentoo
sys-apps/baselayout: 2.7-r3::gentoo
sys-apps/openrc: 0.44.10::gentoo
sys-apps/sandbox: 2.25::gentoo
sys-devel/autoconf: 2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake: 1.16.4::gentoo
sys-devel/binutils: 2.37_p1-r2::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/clang: 13.0.0::gentoo
sys-devel/gcc: 11.2.0::gentoo
sys-devel/gcc-config: 2.5-r1::gentoo
sys-devel/libtool: 2.4.6-r6::gentoo
sys-devel/lld: 13.0.0::gentoo
sys-devel/llvm: 13.0.0::gentoo
sys-devel/make: 4.3::gentoo
sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc: 2.33-r7::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://portage.novazur.fr/gentoo-portage
priority: -1000
sync-rsync-verify-max-age: 24
sync-rsync-verify-jobs: 1
sync-rsync-verify-metamanifest: yes
sync-rsync-extra-opts:
guru
location: /var/lib/layman/guru
masters: gentoo
priority: 50
novazur
location: /var/lib/layman/novazur
masters: gentoo
priority: 50
Installed sets: @kde, @net_gkrellm
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --keep-going"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live ccache config-protect-if-modified distcc distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://mirrors.rit.edu/gentoo/"
LANG="fr_FR.iso885915@euro"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr fr_FR"
MAKEOPTS="-j5"
PKGDIR="/other/portage/pkgdir/"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl activities aim alsa amd64 audiofile bash-completion branding bzip2 cairo caps cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr dvdread eds elogind encode evo exif fbcon ffmpeg firefox flac gdbm gif gphoto2 gtk gui iconv icu imagemagick imlib jabber java jpeg kde kwallet lcms libglvnd libnotify libsamplerate libtirpc lm_sensors mad matroska mng mp3 mp4 mpeg multilib ncurses nls nptl nptlonly nsplugin ogg oggvorbis openal opengl openmp pam pango pcre pdf plasma png policykit portaudio qml qt5 readline scanner sdl seccomp sndfile sox speex spell split-usr ssl startup-notification svg theora tiff truetype udev udisks unicode upower usb v4l vorbis widgets wxwidgets x264 x265 xattr xcb xcomposite xinerama xml xpm xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2020" ALSA_CARDS="hda-intel nvidia" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev libinput" KERNEL="linux" L10N="fr fr_FR" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" SANE_BACKENDS="net" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
=================================================================
Package Settings
=================================================================
app-office/libreoffice-7.2.5.2::gentoo was built with the following:
USE="branding cups dbus googledrive gtk java mariadb pdfimport -accessibility (-base) -bluetooth -clang (-coinmp) -custom-cflags -debug -eds (-firebird) -gstreamer -kde -ldap -odk -postgres -test -vulkan" ABI_X86="(64)" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9"
FEATURES="sandbox xattr preserve-libs fixlafiles unknown-features-warn merge-sync binpkg-docompress unmerge-logs userpriv binpkg-dostrip distlocks strict config-protect-if-modified network-sandbox parallel-fetch ebuild-locks buildpkg-live unmerge-orphans userfetch news usersync protect-owned ipc-sandbox usersandbox qa-unresolved-soname-deps multilib-strict pid-sandbox sfperms ccache distcc binpkg-logs assume-digests" |
My last try with :
| Code: | | MAKEOPTS="-j1" FEATURES="-ccache -distcc" emerge -1uUN libreoffice |
|
|
| Back to top |
|
 |
figueroa Advocate


Joined: 14 Aug 2005 Posts: 2980 Location: Edge of marsh USA
|
Posted: Wed Feb 23, 2022 6:36 pm Post subject: |
|
|
My recent update to same version required me to use -j1, which succeeded. I usually run at -j8. I tried -j4, which failed, then -j1, which took long, but worked. LibreOffice is getting hairy to build. My USE flags are "branding cups dbus gtk mariadb pdfimport -accessibility -base -bluetooth -clang -coinmp -custom-cflags -debug -eds -firebird -googledrive -gstreamer -java -kde -ldap -odk -postgres -test -vulkan" though I only set "pdfimport" in package.use. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
| Back to top |
|
 |
asturm Developer

Joined: 05 Apr 2007 Posts: 9014
|
Posted: Wed Feb 23, 2022 7:03 pm Post subject: |
|
|
| figueroa wrote: | | LibreOffice is getting hairy to build. |
It takes barely more than 15min to build on modern hardware. You need to adapt your MAKEOPTS to realistic expectations about your system, simple as that. |
|
| Back to top |
|
 |
Frautoincnam Apprentice

Joined: 19 May 2017 Posts: 294
|
Posted: Wed Feb 23, 2022 7:05 pm Post subject: |
|
|
| Frautoincnam wrote: |
My last try with :
| Code: | | MAKEOPTS="-j1" FEATURES="-ccache -distcc" emerge -1uUN libreoffice |
|
|
|
| Back to top |
|
 |
figueroa Advocate


Joined: 14 Aug 2005 Posts: 2980 Location: Edge of marsh USA
|
Posted: Wed Feb 23, 2022 8:37 pm Post subject: |
|
|
| asturm wrote: | | figueroa wrote: | | LibreOffice is getting hairy to build. |
It takes barely more than 15min to build on modern hardware. You need to adapt your MAKEOPTS to realistic expectations about your system, simple as that. |
I'm happy for your 15 min hardware. I'm not so well off when it comes to compiling big hairy programs. I'm not complaining; I don't hang out in the terminal window while it's working. I just don't like it when it fails with reasonable settings. Everything else I've had to compile in the last year, did fine with 'MAKEOPTS="-j8 -l5"' and 'EMERGE_DEFAULT_OPTS="--jobs=1 --load-average=5 --autounmask=n"' but for the recent LibreOffice it failed at -j8, then -j4, and -j2 in-turn, then finally completed with -j1.
My OK hardware is noted in my sig.
| Code: | $ qlop -c libreoffice
app-office/libreoffice: 1:48:17 average for 16 merges
app-office/libreoffice: 29s average for 1 unmerge
total: 28:53:14 for 16 merges, 1 unmerge
|
_________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
| Back to top |
|
 |
figueroa Advocate


Joined: 14 Aug 2005 Posts: 2980 Location: Edge of marsh USA
|
Posted: Wed Feb 23, 2022 8:46 pm Post subject: |
|
|
| Frautoincnam wrote: | | Frautoincnam wrote: |
My last try with :
| Code: | | MAKEOPTS="-j1" FEATURES="-ccache -distcc" emerge -1uUN libreoffice |
|
|
Are you using kde/plasma on the desktop? I noticed you are on the plasma profile. Do you need USE=googledrive gtk java? Shouldn't you have set +kde?
The only reason I build LibreOffice myself is for +pdfimport. I find it useful. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
| Back to top |
|
 |
Frautoincnam Apprentice

Joined: 19 May 2017 Posts: 294
|
Posted: Wed Feb 23, 2022 10:20 pm Post subject: |
|
|
| figueroa wrote: |
Are you using kde/plasma on the desktop? |
Yes.
| Quote: | | I noticed you are on the plasma profile. Do you need USE=googledrive gtk java? |
Yes. All those USES are choices.
gtk is because I couldn't use kde.
| Quote: | | Shouldn't you have set +kde? |
Some years ago, I had to disable kde, because of the file explorer was buggy.
I never tried re-enabling it again since.
| Quote: | | The only reason I build LibreOffice myself is for +pdfimport. I find it useful. |
Same for me. I need it too.
I tried again compiling libreoffice, with ccache and distcc (my default), but I stopped displaymanager before, and unloaded nvidia module, to have only 76Mb used from my 4Gb RAM.
| Code: | # LANG=C free -m
total used free shared buff/cache available
Mem: 3941 76 2584 0 1280 3798 |
And emerge finished well
| Code: | # genlop -t libreoffice | tail -n3
Wed Feb 23 17:20:28 2022 >>> app-office/libreoffice-7.2.5.2-r1
merge time: 1 hour, 16 minutes and 30 seconds. |
I suppose that with the next version, it may be even complicated to find more available memory space.
Swap is not the solution, I have 12Gb swap space. |
|
| Back to top |
|
 |
asturm Developer

Joined: 05 Apr 2007 Posts: 9014
|
Posted: Thu Feb 24, 2022 3:25 pm Post subject: |
|
|
| figueroa wrote: | | asturm wrote: | | figueroa wrote: | | LibreOffice is getting hairy to build. |
It takes barely more than 15min to build on modern hardware. You need to adapt your MAKEOPTS to realistic expectations about your system, simple as that. |
I'm happy for your 15 min hardware. I'm not so well off when it comes to compiling big hairy programs. I'm not complaining; I don't hang out in the terminal window while it's working. I just don't like it when it fails with reasonable settings. |
There has not been any noticable increase in resource hunger since LO 6.3. That was back in 2019. Maybe what you consider reasonable does not really match your hardware; or you have a hardware problem that is exposed under heavy load. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|