Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sandbox violations after updating python to 2.5 (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
rjtupas
n00b
n00b


Joined: 26 Jul 2003
Posts: 59
Location: Coronado, CA USA

PostPosted: Sat Jul 19, 2008 7:53 am    Post subject: Sandbox violations after updating python to 2.5 (solved) Reply with quote

All,

Today I updated python to version 2.5. I followed the post-install instruction and ran python-updater. Everything seemed to be compiling well until portage tried to emerge dev-libs/boost-1.34.1-r2. I received the error below and cannot emerge the remaining packages that need updating.

Code:
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-27582.log"

unlink:    /usr/share/xml2po/docbook.pyc
open_wr:   /usr/share/xml2po/docbook.pyc
....


I have done the following:
1. Edited make.conf to set j3 to j1 and disable ccache.
2. Rebuilt sandbox.
3. Repeat python-updater.

Should I emerge with
Code:
FEATURES = -sandbox boost
?

Also, SELinux is running in permissive mode only.

TIA,

Randy

P.S. Emerge info:
Code:
Portage 2.1.4.4 (selinux/2007.0/amd64, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r6 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Timestamp of tree: Fri, 18 Jul 2008 19:45:02 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r13, 2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks loadpolicy metadata-transfer parallel-fetch sandbox selinux sesandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage"
USE="X a52 acpi alsa amd64 avahi berkdb cairo caps cdr cli cracklib crypt cups daap dbus dri dvd dvdr dvdread encode esd exif fam ffmpeg firefox flac fortran gdbm gif gnome gphoto2 gpm gstreamer gtk hal iconv ipv6 jpeg lame libnotify lm_sensors mad midi mmx mp3 mpeg mudflap musicbrainz ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png ppds python quicktime readline reflection scanner sdl selinux session spell spl sse sse2 ssl svg tagwriting tcpd tiff truetype unicode usb vorbis xml xorg xv xvid zlib" ALSA_CARDS="hda-intel" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY



Last edited by rjtupas on Sat Jul 19, 2008 8:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
El Tazar
n00b
n00b


Joined: 06 Nov 2004
Posts: 57

PostPosted: Sat Jul 19, 2008 8:41 am    Post subject: Reply with quote

Same issue here, I've never seen this sort of message before.
So far I've been forced to skip the compilation of Boost with

Code:

emerge --resume --skipfirst


After the rest of the packages finishes, I'll try to work it out.

Code:

Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 i686)
=================================================================
System uname: 2.6.24-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1.80GHz
Timestamp of tree: Fri, 18 Jul 2008 21:04:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.3.6-r6, 2.4.4-r13, 2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
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.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
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/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_DK.utf8"
LINGUAS="en_GB us"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa arts berkdb bitmap-fonts bluetooth cairo cdr cli cracklib crypt cscope cups dbus divx4linux dri dts dvb dvd dvdr dvdread eds emboss encode esd evo fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal i8x0 iconv ipod ipv6 isdnlog jpeg kde kerberos ldap live mad midi mikmod mmx mmxext mp3 mpeg mudflap ncurses nfs nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pda pdf perl png pppd python qt qt3 qt3support qt4 quicktime readline real reflection samba sdl session spell spl sse sse2 ssl svg tcpd tetex tiff truetype truetype-fonts type1-fonts unicode userlocales utf8 vorbis win32codecs x86 xinerama xml xorg xprint xscreensaver xv xvid zlib" ALSA_CARDS="intel8x0" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" DVB_CARDS="usb-dib0700" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB us" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

_________________
“If one does not know to which port one is sailing, no wind is favorable.” - Seneca
Back to top
View user's profile Send private message
El Tazar
n00b
n00b


Joined: 06 Nov 2004
Posts: 57

PostPosted: Sat Jul 19, 2008 8:57 am    Post subject: Reply with quote

Seems like the offender has something to do with gnome-doc-utils:

Code:

iodes ~ # equery belongs xml2po
[ Searching for file(s) xml2po in *... ]
app-text/gnome-doc-utils-0.12.1 (/usr/share/xml2po)
app-text/gnome-doc-utils-0.12.1 (/usr/bin/xml2po)


During a reemerge of gnome-doc-utils, it seems to clean some orphaned Python bytecode which might be the problem. I'll let you know if it works.
_________________
“If one does not know to which port one is sailing, no wind is favorable.” - Seneca
Back to top
View user's profile Send private message
jmartos
Tux's lil' helper
Tux's lil' helper


Joined: 23 Mar 2008
Posts: 76

PostPosted: Sat Jul 19, 2008 12:34 pm    Post subject: Reply with quote

I hit the same problem. I was able to get things working by unmerging gnome-doc-utils and then merging it again. This got me passed the sandbox access violation problems.
Back to top
View user's profile Send private message
Laser556
n00b
n00b


Joined: 12 Nov 2004
Posts: 7

PostPosted: Sat Jul 19, 2008 2:34 pm    Post subject: Reply with quote

re-emerging gnome-doc-utils solved it for me too!
Thanks guys
Back to top
View user's profile Send private message
doro1211
Guru
Guru


Joined: 06 Jun 2004
Posts: 312

PostPosted: Sat Jul 19, 2008 4:28 pm    Post subject: Reply with quote

I didn't see this thread until now, I got around it with -sandbox.
Back to top
View user's profile Send private message
El Tazar
n00b
n00b


Joined: 06 Nov 2004
Posts: 57

PostPosted: Sat Jul 19, 2008 5:48 pm    Post subject: Reply with quote

El Tazar wrote:
Seems like the offender has something to do with gnome-doc-utils:

Code:

iodes ~ # equery belongs xml2po
[ Searching for file(s) xml2po in *... ]
app-text/gnome-doc-utils-0.12.1 (/usr/share/xml2po)
app-text/gnome-doc-utils-0.12.1 (/usr/bin/xml2po)


During a reemerge of gnome-doc-utils, it seems to clean some orphaned Python bytecode which might be the problem. I'll let you know if it works.


Update: It did the trick - I reemerged Boost without problems after I had reemerged gnome-doc-utils.
_________________
“If one does not know to which port one is sailing, no wind is favorable.” - Seneca
Back to top
View user's profile Send private message
rjtupas
n00b
n00b


Joined: 26 Jul 2003
Posts: 59
Location: Coronado, CA USA

PostPosted: Sat Jul 19, 2008 8:43 pm    Post subject: Reply with quote

El Tazar,

Great insight - worked like a charm :D

Cheers,

Randy
Back to top
View user's profile Send private message
alfred
n00b
n00b


Joined: 14 Nov 2006
Posts: 9
Location: Berlin

PostPosted: Tue Jul 22, 2008 8:26 am    Post subject: Added bug #232626 because of this problem Reply with quote

I have added the bug app-admin/python-updater: app-text/gnome-doc-utils should be added to the manual checks in Gentoo bugzilla because of this problem.

I have proposed to add app-text/gnome-doc-utils to the manual checks of python-updater.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum