| Summary: | app-office/libreoffice-4.1.1.2 - parallel make failure with FEATURES=userpriv | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Greg Turner <gmturner007> |
| Component: | Current packages | Assignee: | Gentoo Office Team <office> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Is your distdir on different partition than buildroot? It tries to hardlink the file and then it fails. And it seems there are even more issues with hardlinking there. So this issue needs to be reported upstream and fixed there. Current workaround is USE=-odk *** This bug has been marked as a duplicate of bug 481784 *** |
On my system if I run MAKEOPTS=-j1 ebuild "$(portageq envvar PORTDIR \ )"/app-office/libreoffice/libreoffice-4.1.1.2.ebuild \ clean compile it might or might not work, depending on I know not what factors. The normal failure message is: touch: setting times of '/var/tmp/portage/app-office/libreoffice-4.1.1.2/work/libreoffice-4.1.1.2/instdir/unxlngx6.pro/sdk/classes/win/unowinreg.dll': Operation not permitted make[1]: *** [/var/tmp/portage/app-office/libreoffice-4.1.1.2/work/libreoffice-4.1.1.2/instdir/unxlngx6.pro/sdk/classes/win/unowinreg.dll] Error 1 make[1]: *** Deleting file `/var/tmp/portage/app-office/libreoffice-4.1.1.2/work/libreoffice-4.1.1.2/instdir/unxlngx6.pro/sdk/classes/win/unowinreg.dll' After this failure there is no file to be found at the indicated location. I will get this reliably if I just emerge (with MAKEOPTS="-j24 -l16", my default, or with MAKEOPTS="-j1" -- no difference it would seem). Make emerge --info is too large to post and might make you skeptical anyhow :) -- but my FEATURES include userpriv, sandbox, and usersandbox. No amount of playing with filesystem mount options, linux security stuff, nor sandbox or usersandbox FEATURES seem to make any difference. I have not attempted to get to the bottom of it. FEATURES=-userpriv works around it. Reproducible: Sometimes Steps to Reproduce: FEATURES=userpriv emerge -1 =app-office/libreoffice-4.1.1.2 Actual Results: see above Expected Results: $? == 0