Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 155127

Summary: emerging gnome fails w/ packages attempting to overwrite python files triggering sandbox violations
Product: Gentoo Linux Reporter: James Browning <jamesb.fe80>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: AMD64   
OS: Linux   
URL: http://www.geocities.com/countkase/foo.html
Whiteboard:
Package list:
Runtime testing required: ---

Description James Browning 2006-11-14 05:27:46 UTC
emerging packages pycairo java-bcprov ant-core libglade and cyrus-sasl (among others) fail. The packages attempt to unlink andf then overwrite python files. The attempts typically occur after configuration, but but before compilation. The compilation process is usually successful. The installation process fails due to the sandbox violations.

Portage 2.1.2_rc1-r6 (hardened/amd64/multilib, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-hardened-r1 x86_64)
=================================================================
System uname: 2.6.17-hardened-r1 x86_64 Intel(R) Celeron(R) CPU 2.66GHz
Gentoo Base System version 1.12.6
Last Sync: Mon, 13 Nov 2006 17:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/grass60/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/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg candy distlocks metadata-transfer sandbox severe sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirror.usu.edu/mirrors/gentoo/ ftp://ftp.wwc.edu/pub/mirrors/ftp.gentoo.org "
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 X acl acpi berkdb crypt dlloader dri elibc_glibc gcc64 gcj ggi gif hardened input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_vmmouse input_devices_void ipv6 jpeg jpeg2k justify kernel_linux motif mp3 mp4 mpeg mpeg2 msn msnextras multilib nls nptl nptlonly objhc offensive pam pic pmu png readline sdl ssl tcpd userland_GNU userlocales video_cards_dummy video_cards_fbdev video_cards_i810 video_cards_v4l video_cards_vesa video_cards_vga video_cards_vmware xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-14 11:24:24 UTC
We need to see some errors (and don't file mass bugs about completely unrelated ebuilds). 
Comment 2 James Browning 2006-12-03 12:48:04 UTC
This looks vaugely (kind of sort of) like bug 30725. but not really.
I am testing the suggested solution now, and it seems to work.
Comment 3 James Browning 2006-12-04 16:13:13 UTC
This definately appears to be a duplicate of bug #30725. Setting 'PYTHON_DONTCOMPILE=1' resolved all the python related errors. I have logs of the build proceses involved at http://www.geocities.com/countkase/foo.html .
If you need additional info just yell at me.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-12-04 16:29:33 UTC

*** This bug has been marked as a duplicate of 30725 ***