Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177973 - dev-python/PyQt4-4.2 sandbox violation
Summary: dev-python/PyQt4-4.2 sandbox violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-10 21:39 UTC by Guillaume Ramelet
Modified: 2007-05-11 11:43 UTC (History)
1 user (show)

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


Attachments
proposed fix (PyQt4-4.2-r1.ebuild,1.81 KB, text/plain)
2007-05-10 22:19 UTC, Knut Franke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Ramelet 2007-05-10 21:39:50 UTC
during the emerge,

cp -f uic/widget-plugins/qwt.py /var/tmp/portage/dev-python/PyQt4-4.2/image///usr/lib/python2.4/site-packages/PyQt4/uic/widget-plugins/qwt.py
cp -f uic/widget-plugins/qaxcontainer.py /var/tmp/portage/dev-python/PyQt4-4.2/image///usr/lib/python2.4/site-packages/PyQt4/uic/widget-plugins/qaxcontainer.py
cp -f pyuic4 /var/tmp/portage/dev-python/PyQt4-4.2/image///usr/bin/pyuic4
make[1]: Leaving directory `/var/tmp/portage/dev-python/PyQt4-4.2/work/PyQt-x11-gpl-4.2/pyuic'
make[1]: Entering directory `/var/tmp/portage/dev-python/PyQt4-4.2/work/PyQt-x11-gpl-4.2/pylupdate'
cp -f pylupdate4 /var/tmp/portage/dev-python/PyQt4-4.2/image///usr/bin/pylupdate4
make[1]: Leaving directory `/var/tmp/portage/dev-python/PyQt4-4.2/work/PyQt-x11-gpl-4.2/pylupdate'
make[1]: Entering directory `/var/tmp/portage/dev-python/PyQt4-4.2/work/PyQt-x11-gpl-4.2/pyrcc'
cp -f pyrcc4 /var/tmp/portage/dev-python/PyQt4-4.2/image///usr/bin/pyrcc4
make[1]: Leaving directory `/var/tmp/portage/dev-python/PyQt4-4.2/work/PyQt-x11-gpl-4.2/pyrcc'
make[1]: Entering directory `/var/tmp/portage/dev-python/PyQt4-4.2/work/PyQt-x11-gpl-4.2/designer'
ACCESS DENIED  mkdir:     /usr/lib/qt4/plugins/designer
mkdir: cannot create directory `/usr/lib/qt4/plugins/designer/': Permission denied
make[1]: *** [install_target] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-python/PyQt4-4.2/work/PyQt-x11-gpl-4.2/designer'
make: *** [install] Error 2

!!! ERROR: dev-python/PyQt4-4.2 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_install
  ebuild.sh, line 1061:   Called qa_call 'src_install'
  ebuild.sh, line 44:   Called src_install
  PyQt4-4.2.ebuild, line 50:   Called die

!!! install failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-python/PyQt4-4.2/temp/build.log'.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-dev-python_-_PyQt4-4.2-13457.log"

mkdir:     /usr/lib/qt4/plugins/designer (symlink to /usr/lib/qt4/plugins/)
--------------------------------------------------------------------------------




Reproducible: Always




[root@gui - 23:39:31 - ~/files_2_save] # emerge --info
Portage 2.1.2.7 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r2, 2.6.20-gentoo-r6 i686)
=================================================================
System uname: 2.6.20-gentoo-r6 i686 AMD Athlon(TM) MP 2400+
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 10 May 2007 18:30:09 +0000
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-mp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon-mp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="fr_FR.UTF-8"
LC_ALL="C"
LINGUAS="fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/layman/musicbrainz /usr/local/layman/xeffects /usr/local/layman/lapis /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex 3dnowext X a52 aac acpi alsa apm arts artswrappersuid asf avahi avi bash-completion berkdb bigger-fonts bindist bitmap-fonts bonobo bootsplash browserplugin bzip2 cairo calendar cdparanoia cdr chroot cli cracklib crypt cups curl dbus dga directfb divx4linux dri dv dvb dvd dvdr dvdread encode esd evo exif fam fbcon ffmpeg flac foomaticdb fortran gdbm ggi gif glitz glut gnome gphoto2 gpm gstreamer gtk gtk2 hal iconv imap imlib isdnlog jack java jbig jikes jpeg jpeg2k kde kdeenablefinal kdexdeltas kipi lcms libcaca libg++ lm_sensors logitech-mouse mad midi mmx mmxext mng mono motif mp3 mpeg nas ncurses nls nptl nptlonly nvidia ogg oggvorbis opengl oss pam pcre pdf perl png ppds pppd python qt qt3 qt4 quicktime readline real reflection ruby samba sdl session slp sndfile spell spl sqlite sqlite3 sse ssl svg svga tcltk tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs wmf x86 xcb xml2 xorg xosd xv xvid yaz zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard evdev mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Knut Franke 2007-05-10 22:19:51 UTC
Created attachment 118813 [details]
proposed fix

I've changed the "make install" line to read

make DESTDIR=${D} INSTALL_ROOT=${D} install || die "install failed"

where the INSTALL_ROOT variable is being used by designer/Makefile. Not elegant, but it works for me.
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2007-05-10 22:48:55 UTC
committed the fix. thanks for the report.
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2007-05-11 11:43:53 UTC
closing as fixed.  please reopen if the issue persists.