Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 326185 - sci-chemistry/psi: sandbox violation — attempts to install man pages directly
Summary: sci-chemistry/psi: sandbox violation — attempts to install man pages directly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Chemistry-Related Packages
URL: http://sourceforge.net/tracker/?func=...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-29 16:52 UTC by James Cloos
Modified: 2010-07-06 11:35 UTC (History)
1 user (show)

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


Attachments
emerge --info =sci-chemistry/psi-3.4.0 (emerge.info,5.64 KB, text/plain)
2010-06-30 00:46 UTC, James Cloos
Details
Compressed build log of sci-chem/psi 3.4.0 (psi-3.4.0:20100629-160935.log.xz,50.52 KB, application/octet-stream)
2010-06-30 00:54 UTC, James Cloos
Details
build.log (psi-3.4.0:20100629-160935.log,1.85 MB, text/plain)
2010-06-30 06:54 UTC, Justin Lecher (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James Cloos 2010-06-29 16:52:18 UTC
I get this sandbox log file from an emerge attempt of sci-chemistry/psi-3.4.0: 

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: /usr/share/man/man1/intder.1
A: /usr/share/man/man1/intder.1
R: /usr/share/man/man1/intder.1
C: /bin/cp intder.1 /usr/share/man/man1/intder.1 

F: open_wr
S: deny
P: /usr/share/man/man1/nonbonded.1
A: /usr/share/man/man1/nonbonded.1
R: /usr/share/man/man1/nonbonded.1
C: /bin/cp nonbonded.1 /usr/share/man/man1/nonbonded.1 


All of the Makefile.in files have $(DESTDIR) in the path when installing man pages, except for:

psi3/src/bin/intder/Makefile.in
psi3/src/bin/nonbonded/Makefile.in

and psi3/doc/doxygen/Makefile.in lacks DESTDIR in its install_html block.

The URL above is to an upstream bug on the issue.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2010-06-29 21:48:34 UTC
I cannot reproduce it here. Please pass the build.log and emerge --info =sci-chemistry/psi-3.4.0
Comment 2 James Cloos 2010-06-30 00:46:32 UTC
Created attachment 236983 [details]
emerge --info =sci-chemistry/psi-3.4.0

The emerge --info as requested.
Comment 3 James Cloos 2010-06-30 00:54:26 UTC
Created attachment 236985 [details]
Compressed build log of sci-chem/psi 3.4.0

The build log, as requested.

I had to compress it due to tiny upload bandwidth.

I only just noticed tha bangs rather than OK after running autoheader, and that configure has a hard time with (the profile default) LDFLAGS.

But the lack of DESTDIR in those Makefile.in file means that no matter what, if make install_man is run, a sandbox violation has to occur.  I don’t know why you couldn’t replicate.
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2010-06-30 06:54:33 UTC
Created attachment 237005 [details]
build.log
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2010-06-30 06:56:44 UTC
Thanks for those thuings. I uncompressed the build.log.
It is quite strange. For me it doesn't install any man pages at all. Will take a look later.
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2010-07-06 11:35:14 UTC
+*psi-3.4.0-r1 (06 Jul 2010)
+
+  06 Jul 2010; Justin Lecher <jlec@gentoo.org> +files/3.4.0-ldflags.patch,
+  -psi-3.4.0.ebuild, +files/3.4.0-man_paths.patch,
+  +files/3.4.0-parallel_fix.patch, +psi-3.4.0-r1.ebuild:
+  Prll build fix, sanbox violation fix, #326185, LDFLAGS respected, thanks
+  to Xarthisius providing the patches
+