Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 616278 - app-office/libreoffice- compile failure: ACCESS VIOLATIONS with USE=java and python 3.5
Summary: app-office/libreoffice- compile failure: ACCESS VIOLATIONS with USE=j...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
Depends on:
Reported: 2017-04-22 10:31 UTC by M. B.
Modified: 2020-11-28 00:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

build.log (app-office:libreoffice-,84.99 KB, text/x-log)
2017-04-22 10:31 UTC, M. B.
emerge --info =libreoffice- (file_616278.txt,20.37 KB, text/plain)
2017-04-22 10:32 UTC, M. B.

Note You need to log in before you can comment on or make changes to this bug.
Description M. B. 2017-04-22 10:31:22 UTC
Created attachment 470622 [details]

Occurs when trying to emerge libreoffice- with PYTHON_SINGLE_TARGET="python3_5 -python2_7 -python3_4" PYTHON_TARGETS="python2_7 python3_4 python3_5")

build.log can be seen in build.log
Comment 1 M. B. 2017-04-22 10:32:33 UTC
Created attachment 470624 [details]
emerge --info =libreoffice-
Comment 2 M. B. 2017-04-22 10:33:53 UTC
Possibly affect bug #615474.
Comment 3 Andreas Sturmlechner gentoo-dev 2017-12-05 19:06:34 UTC
Meanwhile we have and in tree, do you still have that issue?
Comment 4 Maciej Mrozowski gentoo-dev 2018-09-28 08:47:14 UTC
I have sandbox violation with libreoffice-, unrelated to Java or Python:

checking for fc-match... /usr/bin/fc-match
checking font mapping for 'Calibri'...  * ACCESS DENIED:  mkostemp:     /usr/share/fonts/util/.uuid.TMP-XXXXXX
checking font mapping for 'DejaVuSans'...  * ACCESS DENIED:  mkostemp:     /usr/share/fonts/util/.uuid.TMP-XXXXXX

/usr/share/fonts/util/ directory does not have .uuid and fc-match surely as hell tries to create one.
Not sure how this dir ended up without .uuid but runnig fc-match outside of portage creates this uuid and emerge problem goes away.

In this bug case situation is quite similar - Python interpreter surely as hell tries to pythoncompile some own modules that just happen to be used during libreoffice configure phase and for some reason are not pythoncompiled yet.

Now, why does Python interpreter actually thinks it has permissions to create/write any files? Doesn't portage use own portage user that has no affiliation to root? Or it's just expected for all site-packages/* to be pythoncompiled and in reporter's case, due to some perhaps bug in Python post-install phase, it was not the case?
Comment 5 Andreas Sturmlechner gentoo-dev 2018-09-28 10:21:48 UTC
That's unrelated, update fontconfig and it is fixed.
Comment 6 Andreas K. Hüttel gentoo-dev 2020-11-28 00:00:52 UTC
(In reply to Andreas Sturmlechner from comment #3)
> Meanwhile we have and in tree, do you still have that issue?

Seems not.