| Summary: | dev-lang/python: segfaults when building app-office/libreoffice-7.1.7.2 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Christophe PEREZ <chris> |
| Component: | Current packages | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | CC: | jstein, office, sam |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
emerge_log
emerge -info |
||
Created attachment 763637 [details]
emerge -info
make[1]: *** [/var/tmp/portage/app-office/libreoffice-7.1.7.2/work/libreoffice-7.1.7.2/solenv/gbuild/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 Oh dear. How about the version in ~arch? (In reply to Sam James from comment #2) > make[1]: *** > [/var/tmp/portage/app-office/libreoffice-7.1.7.2/work/libreoffice-7.1.7.2/ > solenv/gbuild/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 > > Oh dear. 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.false -s $S/solenv/sanitizers/ui/modules/BasicIDE.suppr --widgets-suffixignored +ValueSet,HBox,VBox,ToolBox,Preview,PreviewWin,PreviewWindow,PrevWindow --widgets-button +svtlo-ManagedMenuButton --fatal-all --not-fatal-type duplicate-mnemonic --not-fatal-type labelled-by-and-mnemonic --not-fatal-type orphan-label -o $W/UIConfig/modules/BasicIDE.a11yerrors $S/basctl/uiconfig/basicide/ui/basicmacrodialog.ui $S/basctl/uiconfig/basicide/ui/breakpointmenus.ui $S/basctl/uiconfig/basicide/ui/codecomplete.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/basctl/uiconfig/basicide/ui/gotolinedialog.ui $S/basctl/uiconfig/basicide/ui/importlibdialog.ui $S/basctl/uiconfig/basicide/ui/libpage.ui $S/basctl/uiconfig/basicide/ui/managebreakpoints.ui $S/basctl/uiconfig/basicide/ui/managelanguages.ui $S/basctl/uiconfig/basicide/ui/modulepage.ui $S/basctl/uiconfig/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/gbuild/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 ... Python is segfaulting? I wondeer if you can get a coredump? https://wiki.gentoo.org/wiki/Debugging (In reply to Sam James from comment #3) > How about the version in ~arch? I'll give it a try. Few hours to wait for the result Thanks (In reply to Christophe PEREZ from comment #5) > (In reply to Sam James from comment #3) > > How about the version in ~arch? > > I'll give it a try. > > Few hours to wait for the result > > Thanks Same error with app-office/libreoffice-7.2.5.2 (In reply to Sam James from comment #4) > I wondeer if you can get a coredump? https://wiki.gentoo.org/wiki/Debugging That seems very complicated for me (especially with my understanding of English) It is sad to read that you have problems with the software. The situation seems to be a bit more complicate and requires some analysis. We can not help you efficiently via bug tracker. The bug tracker aims rather on specific problems in .ebuilds and less on individual systems. I have had very good experience on the gentoo IRC [1] with questions like this. Of course there are also forums and mailing lists [2,3]. I hope you understand, that I will close the bug here therefore and wish you good luck on one of the mentioned channels [4]. Please reopen the ticket in order to provide an indication for an specific error in an ebuild or any gentoo related product. [1] https://www.gentoo.org/get-involved/irc-channels/ [2] https://forums.gentoo.org/ [3] https://www.gentoo.org/get-involved/mailing-lists/all-lists.html [4] https://www.gentoo.org/support/ Now, I have the same problem on my own PC, with RAM 32G and 35G disk space.
when updating to app-office/libreoffice-7.2.5.2
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% /
Same error, on 2 PC, weird
I've already posted on forums but no answer: https://forums.gentoo.org/viewtopic-p-8690574.html (In reply to Christophe PEREZ from comment #10) > I've already posted on forums but no answer: > https://forums.gentoo.org/viewtopic-p-8690574.html As explained there, I was able to compile libreoffice with PYTHON_SINGLE_TARGET="python3_10" (In reply to Christophe PEREZ from comment #11) > (In reply to Christophe PEREZ from comment #10) > > I've already posted on forums but no answer: > > https://forums.gentoo.org/viewtopic-p-8690574.html > > As explained there, I was able to compile libreoffice with > PYTHON_SINGLE_TARGET="python3_10" That sounds a lot like somehow your Python 3.9 was miscompiled. I don't know why. Does re-compiling Python 3.9 help? emerge -v1 dev-lang/python:3.9? (In reply to Sam James from comment #12) > That sounds a lot like somehow your Python 3.9 was miscompiled. I don't know > why. > > Does re-compiling Python 3.9 help? emerge -v1 dev-lang/python:3.9? Do you really think? I have the problem on 3 different computers anyway, with the same error, and exclusively on libreoffice. I can try after having recompiled python, but I admit that I believe very little in it anyway. (In reply to Christophe PEREZ from comment #13) > (In reply to Sam James from comment #12) > > That sounds a lot like somehow your Python 3.9 was miscompiled. I don't know > > why. > > > > Does re-compiling Python 3.9 help? emerge -v1 dev-lang/python:3.9? > > Do you really think? > I have the problem on 3 different computers anyway, with the same error, and > exclusively on libreoffice. > > I can try after having recompiled python, but I admit that I believe very > little in it anyway. Python shouldn't be segfaulting ever. Python 3.10 working is suspicious. Trying to obtain a backtrace is the only way we can definitely know. It would help to know how you configure your machines. Can you reproduce this from a stage3? Give us instructions? (In a chroot) (In reply to Sam James from comment #14) > (In reply to Christophe PEREZ from comment #13) > > (In reply to Sam James from comment #12) > > > That sounds a lot like somehow your Python 3.9 was miscompiled. I don't know > > > why. > > > > > > Does re-compiling Python 3.9 help? emerge -v1 dev-lang/python:3.9? > > > > Do you really think? > > I have the problem on 3 different computers anyway, with the same error, and > > exclusively on libreoffice. > > > > I can try after having recompiled python, but I admit that I believe very > > little in it anyway. > > Python shouldn't be segfaulting ever. Python 3.10 working is suspicious. > Trying to obtain a backtrace is the only way we can definitely know. > > It would help to know how you configure your machines. Can you reproduce > this from a stage3? Give us instructions? (In a chroot) We really need this information to debug further. Please let us know if you can get it or if you need help obtaining it. |
Created attachment 763636 [details] emerge_log 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.