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

Bug 508234

Summary: dev-python/pyxdg-0.25 - sandbox violation by /usr/bin/python3.3 setup.py install --compile -O2 --root=.../image//_python3.3 --install-scripts=/usr/lib/python-exec/python3.3 in /usr/lib64/python3.3/distutils/__pycache__/__init__.cpython-33.pyc.*
Product: Gentoo Linux Reporter: reinstallgentoo
Component: [OLD] DevelopmentAssignee: Python Gentoo Team <python>
Status: RESOLVED OBSOLETE    
Severity: normal CC: alex_y_xu, mgorny
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 447126    
Bug Blocks:    
Attachments: build log
sandbox log
emerge --info
emerge --info python:3.3

Description reinstallgentoo 2014-04-20 13:12:20 UTC
While installing dev-python/pyxdg-0.25 I came across this error, i asked on irc and was recommened to post it here because they thought it was a bug:

/var/tmp/portage/dev-python/pyxdg-0.25/temp/build.log - http://pastebin.com/bTw7xnYp

/var/log/sandbox/sandbox-32404.log - http://pastebin.com/58YXfqVW

`emerge --info` - http://pastebin.com/5c60JXvk
Comment 1 reinstallgentoo 2014-04-20 13:18:27 UTC
Created attachment 375366 [details]
build log
Comment 2 reinstallgentoo 2014-04-20 13:19:14 UTC
Created attachment 375368 [details]
sandbox log
Comment 3 reinstallgentoo 2014-04-20 13:19:38 UTC
Created attachment 375370 [details]
emerge --info
Comment 4 nvinson234 2014-04-20 14:04:02 UTC
To elaborate on this one a bit (as I was the one assisting in #gentoo).  The issue appears to be that the sandbox is preventing python3 from updating its cache files during the emerge.  I can reproduce this error by doing:

1. mv /usr/lib/python3.3/__pycache__ /usr/lib/python3.3/__pycache__.bak
2. emerge -1 pyxdg
3. Observe access violations.

Once the cache is properly updated, the access violations do not occur in my testing.
Comment 5 Alex Xu (Hello71) 2014-04-20 14:14:09 UTC
Please paste the output of emerge --info python:3.3.
Comment 6 reinstallgentoo 2014-04-20 14:20:18 UTC
Created attachment 375378 [details]
emerge --info python:3.3
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-04-22 16:31:41 UTC
Did you touch or otherwise modify files in /usr/lib64/python3.3?
Comment 8 reinstallgentoo 2014-04-23 02:02:08 UTC
(In reply to Michał Górny from comment #7)
> Did you touch or otherwise modify files in /usr/lib64/python3.3?

Nope.
Comment 9 Ian Delaney (RETIRED) gentoo-dev 2014-04-29 07:57:13 UTC
There's an -r1 which is testing. Can you try that and if so the result is ..
Comment 10 Shaun 'intel' Miner 2014-06-29 20:50:54 UTC
-r1 seems to have the exact same issue unfortunately
Comment 11 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-04-21 19:30:04 UTC
Haven't reached any conclusion here, years have passes, closing as obsolete.