Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111540 - dev-lang/swi-prolog-lite-5.5.36-31567 fails with sandbox violation
Summary: dev-lang/swi-prolog-lite-5.5.36-31567 fails with sandbox violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Prolog project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-05 04:28 UTC by UncleOwen
Modified: 2005-12-01 01:18 UTC (History)
5 users (show)

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 UncleOwen 2005-11-05 04:28:59 UTC
# emerge -v swi-prolog-lite
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-lang/swi-prolog-lite-5.5.36 to /
>>> md5 files   ;-) swi-prolog-lite-5.1.13.ebuild
>>> md5 files   ;-) swi-prolog-lite-5.3.14.ebuild
>>> md5 files   ;-) swi-prolog-lite-5.0.10.ebuild
>>> md5 files   ;-) swi-prolog-lite-5.2.11.ebuild
>>> md5 files   ;-) swi-prolog-lite-5.5.36.ebuild
>>> md5 files   ;-) swi-prolog-lite-5.4.7.ebuild
>>> md5 files   ;-) files/digest-swi-prolog-lite-5.0.10
>>> md5 files   ;-) files/digest-swi-prolog-lite-5.1.13
>>> md5 files   ;-) files/digest-swi-prolog-lite-5.2.11
>>> md5 files   ;-) files/digest-swi-prolog-lite-5.3.14
>>> md5 files   ;-) files/destdir.patch
>>> md5 files   ;-) files/swi-prolog-lite-5.4.7-install.patch
>>> md5 files   ;-) files/digest-swi-prolog-lite-5.4.7
>>> md5 files   ;-) files/swi-prolog-lite-5.2.11-parallel-build.patch
>>> md5 files   ;-) files/swi-prolog-lite-5.3.14-parallel-build.patch
>>> md5 files   ;-) files/digest-swi-prolog-lite-5.5.36
>>> md5 files   ;-) files/swi-prolog-lite-5.5.30-runtime-build.patch
>>> md5 src_uri ;-) pl-5.5.36.tar.gz
>>> Unpacking source...
>>> Unpacking pl-5.5.36.tar.gz to /var/tmp/portage/swi-prolog-lite-5.5.36/work
[...]
gmake[1]: Entering directory
`/var/tmp/portage/swi-prolog-lite-5.5.36/work/pl-5.5.36/packages/ltx2htm'
../plld.sh -O2 -Wall   -DHAVE_CONFIG_H -D__SWI_PROLOG__   -c -o tex.o tex.c
../plld.sh -O2 -Wall   -DHAVE_CONFIG_H -D__SWI_PROLOG__   -c -o psfile.o psfile.c
../plld.sh -shared -o tex.so tex.o psfile.o
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld:
warning: creating a DT_TEXTREL in object.
mkdir -p /usr/lib/latex2html/lib/i686-linux-gnu
ACCESS DENIED  mkdir:     /usr/lib/latex2html
mkdir: cannot create directory `/usr/lib/latex2html': Permission denied
gmake[1]: *** [install] Error 1
gmake[1]: Leaving directory
`/var/tmp/portage/swi-prolog-lite-5.5.36/work/pl-5.5.36/packages/ltx2htm'
[...]
>>> Completed installing swi-prolog-lite-5.5.36 into
/var/tmp/portage/swi-prolog-lite-5.5.36/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-dev-lang_-_swi-prolog-lite-5.5.36-26665.log"

mkdir:     /usr/lib/latex2html
--------------------------------------------------------------------------------
# cat /var/log/sandbox/sandbox-dev-lang_-_swi-prolog-lite-5.5.36-26665.log
mkdir:     /usr/lib/latex2html

Reproducible: Always
Steps to Reproduce:
Comment 1 Tassilo Horn 2005-11-09 02:47:08 UTC
Here the same. Normally I use FEATURES="sandbox ccache fixpackages userpriv 
usersandbox", but I've tried with FEATURES="sandbox ccache fixpackages", too. 
I still get this violation. 
Comment 2 Keri Harris gentoo-dev 2005-11-13 00:01:29 UTC
Another sandbox error occurs with USE="gmp" 
 
gmake[1]: Entering directory 
`/var/tmp/portage/swi-prolog-lite-5.5.36/work/pl-5.5.36/packages/mp' 
mkdir -p /usr/lib/pl-5.5.36/lib/i686-linux-gnu 
ACCESS DENIED  mkdir:     /usr/lib/pl-5.5.36 
mkdir: cannot create directory `/usr/lib/pl-5.5.36': Permission denied 
 
Comment 3 Howard B. Golden 2005-11-19 20:44:22 UTC
I received both errors. I used the following workaround: I added the following
lines to the start of the src_install function:

addpredict /usr/lib/latex2html/lib
addpredict /usr/lib/pl-5.5.36

Is this sufficient?
Comment 4 SpanKY gentoo-dev 2005-12-01 00:44:33 UTC
depends on your definition of 'sufficient' ... it wont be added to the ebuild if
that's what you mean ;)
Comment 5 SpanKY gentoo-dev 2005-12-01 01:18:39 UTC
should be fixed with 5.5.39