Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113056 - mpqc-2.3.0 sandbox violation
Summary: mpqc-2.3.0 sandbox violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-19 23:17 UTC by Jean Bréfort
Modified: 2005-11-20 10:18 UTC (History)
0 users

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


Attachments
ebuild with reworked install process (mpqc-2.3.0.ebuild,2.48 KB, text/plain)
2005-11-20 09:05 UTC, Markus Dittrich (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jean Bréfort 2005-11-19 23:17:59 UTC
emerge mpqc fails with sandbox access violation:

/bin/install -c -d -m 0755 /usr/lib64
ACCESS DENIED  chmod:     /usr/lib64
/bin/install: changing permissions of de `/usr/lib64': Access denied

emerge --info:
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -g -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -g -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo/"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LINGUAS="de es fr it pl zh_CN"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X alsa audiofile avi berkdb bitmap-fonts bonobo bzip2 bzlib cdr crypt
cups curl dba dvd dvdr eds emboss encode esd exif expat fam foomaticdb fortran
ftp gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 guile hal idn imagemagick
imlib ipv6 java javascript jpeg junit lcms ldap libwww lzw lzw-tiff mad mng
motif mozilla mp3 mpeg ncurses nls opengl pam pcre pdflib perl png postgres
print python quicktime readline ruby samba sdl spell ssl tcltk tcpd tetex tiff
truetype truetype-fonts type1-fonts udev usb userlocales xml2 xpm xv yaz zlib
linguas_de linguas_es linguas_fr linguas_it linguas_pl linguas_zh_CN
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Markus Dittrich (RETIRED) gentoo-dev 2005-11-20 09:05:58 UTC
Created attachment 73255 [details]
ebuild with reworked install process

Hi Jean,

Thanks much for reporting! The attached ebuild has a reworked install process 
and will hopefully solve these amd64 problems. Unfortunately, I don't have
access 
to an amd64 box so I can't test it myself hence please give it a spin.

If you still encounter sandbox violations, could you please post the file
mpqc-2.3.0/lib/LocalMakefile. Thank you!
Comment 2 Jean Bréfort 2005-11-20 09:52:02 UTC
It works for me, thanks (I added a line to build shared libraries since
ghemical-1.91 has problems with static libraries).
Comment 3 Markus Dittrich (RETIRED) gentoo-dev 2005-11-20 10:18:21 UTC
Thanks for testing and the changes are in CVS! 
Could you please post a patch with your "shared lib changes" 
so I can incorporate it into the ebuild if possible.