Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 415343 - app-office/libreoffice-3.5.3.2 fails to build with sandbox enabled tries to create /res
Summary: app-office/libreoffice-3.5.3.2 fails to build with sandbox enabled tries to c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-10 08:14 UTC by Martin Jansa
Modified: 2012-05-10 09:25 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Jansa 2012-05-10 08:14:59 UTC
It was building fine few days ago, but now it fails:

[ebuild   R    ] app-office/libreoffice-3.5.3.2  USE="branding cups dbus graphite gstreamer gtk java jemalloc kde nsplugin opengl pdfimport svg vba webdav xmlsec (-aqua) -binfilter -eds -gnome -mysql -nlpsolver -odk -postgres -test" 0 kB

****************************************************************************
*
* LibreOffice configuration finished.
*
****************************************************************************
To build, issue:
make

To install when the build is finished, issue:
make install

If you want to develop LibreOffice, you might prefer:
make dev-install

If you want to run the smoketest, issue:
make check

>>> Source configured.
>>> Compiling source in /tmp/tmpfs/portage/app-office/libreoffice-3.5.3.2/work/libreoffice-core-3.5.3.2 ...
perl "/tmp/tmpfs/portage/app-office/libreoffice-3.5.3.2/work/libreoffice-core-3.5.3.2/helpcontent2/helpers/create_ilst.pl" -dir=default_images/res/helpimg > "//res/img/helpimg.ilst"
ACCESS DENIED  open_wr:      /res/img/helpimg.ilst
ISE:write_logfile unable to append logfile
ISE open_wr(//res/img/helpimg.ilst): Permission denied
        abs_path: /res/img/helpimg.ilst
        res_path: /res/img/helpimg.ilst
/usr/lib64/libsandbox.so(+0x30d2)[0x7fa2cdfe30d2]
/usr/lib64/libsandbox.so(+0x314a)[0x7fa2cdfe314a]
/usr/lib64/libsandbox.so(+0x45bc)[0x7fa2cdfe45bc]
/usr/lib64/libsandbox.so(open+0x7c)[0x7fa2cdfe66dc]
/bin/bash[0x460d3c]
/bin/bash(do_redirections+0x5a)[0x46161a]
/bin/bash(execute_command_internal+0x1f5a)[0x42d18a]
/bin/bash[0x430013]
/bin/bash(execute_command_internal+0xa26)[0x42bc56]
/bin/bash(execute_command+0x4e)[0x42f88e]
/proc/17988/cmdline: /bin/bash /usr/lib64/portage/bin/ebuild.sh compile

/tmp/tmpfs/portage/app-office/libreoffice-3.5.3.2/temp/environment: line 8684: 17988 Aborted                 perl "${S}/helpcontent2/helpers/create_ilst.pl" -dir=default_images/res/helpimg > "${path}/helpimg.ilst"
make[1]: Entering directory `/tmp/tmpfs/portage/app-office/libreoffice-3.5.3.2/work/libreoffice-core-3.5.3.2'
make[1]: `/tmp/tmpfs/portage/app-office/libreoffice-3.5.3.2/work/libreoffice-core-3.5.3.2/Env.Host.sh' is up to date.
make[1]: Leaving directory `/tmp/tmpfs/portage/app-office/libreoffice-3.5.3.2/work/libreoffice-core-3.5.3.2'
make[1]: Entering directory `/tmp/tmpfs/portage/app-office/libreoffice-3.5.3.2/work/libreoffice-core-3.5.3.2'
touch /tmp/tmpfs/portage/app-office/libreoffice-3.5.3.2/work/libreoffice-core-3.5.3.2/src.downloaded

If the file /res/img/helpimg.ilst exists (e.g. if user tries to build it once with sandbox disabled) it shows this error and continues, if it doesn't exist it's fatal and ends immediately.

And the file it's creating:

jama ~ # find /res/
/res/
/res/img
/res/img/helpimg.ilst


Reproducible: Always
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2012-05-10 09:25:11 UTC
Fixed in cvs, i had typo in name of the file that was sourced.