Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge world -> sandbox violations
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
amckinley
n00b
n00b


Joined: 15 Feb 2006
Posts: 17

PostPosted: Tue Aug 28, 2007 10:28 pm    Post subject: emerge world -> sandbox violations Reply with quote

i can't finish an emerge world without sandbox violations. i'm most concerned about pygtk, because i have apps that are broken because it unmerged without the new one ending up its place. here's the pygtk output:
Code:

 * Cleaning orphaned Python bytecode from /usr/share/pygtk/2.0/codegen ..
 * Cleaning orphaned Python bytecode from /usr/lib64/python2.4/site-packages ..
 * Cleaning orphaned Python bytecode from /usr/lib64/python2.5/site-packages ..
 * Cleaning orphaned Python bytecode from /usr/lib/python2.4/site-packages ..
 * Cleaning orphaned Python bytecode from /usr/lib/python2.5/site-packages ..
 * Unable to establish /usr/lib64/python2.5/site-packages/pygtk.py symlink
 * Unable to establish /usr/lib64/python2.5/site-packages/pygtk.pth symlink
>>> Original instance of package unmerged safely.
 * Byte compiling python modules for python-2.5 .. ...                    [ ok ]
>>> dev-python/pygtk-2.10.6 merged.

>>> No packages selected for removal by clean
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * Messages for package dev-python/pygtk-2.10.6:

 * Unable to establish /usr/lib64/python2.5/site-packages/pygtk.py symlink
 * Unable to establish /usr/lib64/python2.5/site-packages/pygtk.pth symlink
 * GNU info directory index is up-to-date.


this is some crazy gentoo/amd64/symlink/lib64/lib thing that i've never really been able to understand, so an explanation would be almost as welcome as a fix :)

thanks,
austin
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Tue Aug 28, 2007 11:03 pm    Post subject: Reply with quote

See this thread:
pygtk unable to establish symlinks - nicotine won't start
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
amckinley
n00b
n00b


Joined: 15 Feb 2006
Posts: 17

PostPosted: Tue Aug 28, 2007 11:45 pm    Post subject: Reply with quote

using a similar process (emerging random python libraries until it worked), i managed to get quodlibet working, but i'm not sure why it was broken to begin with. ive got a list here of python libraries:

Code:

niu austin # equery list py
[ Searching for package 'py' in all categories among: ]
 * installed packages
[I--] [  ] app-admin/python-updater-0.2 (0)
[I--] [  ] dev-lang/python-2.4.4-r4 (2.4)
[I--] [ ~] dev-lang/python-2.5.1-r2 (2.5)
[I--] [  ] dev-python/cddb-py-1.4 (0)
[I--] [ ~] dev-python/dbus-python-0.81.0 (0)
[I--] [  ] dev-python/dnspython-1.5.0 (0)
[I--] [ ~] dev-python/gst-python-0.10.6 (0.10)
[I--] [  ] dev-python/id3-py-1.2 (0)
[I--] [  ] dev-python/pycairo-1.4.0 (0)
[I--] [ ~] dev-python/pycrypto-2.0.1-r6 (0)
[I--] [  ] dev-python/pygobject-2.12.3 (2)
[I--] [ ~] dev-python/pygtk-2.10.6 (2)
[I--] [ ~] dev-python/pyid3lib-0.5.1-r1 (0)
[I--] [  ] dev-python/pyogg-1.3-r1 (0)
[I--] [ ~] dev-python/pyopengl-2.0.1.09-r1 (0)
[I--] [ ~] dev-python/pyopenssl-0.6-r1 (0)
[I--] [ ~] dev-python/pyrex-0.9.5.1a (0)
[I--] [  ] dev-python/python-fchksum-1.7.1 (0)
[I--] [ ~] dev-python/pyvorbis-1.4-r2 (0)
[I--] [  ] dev-python/wxpython-2.6.3.3 (2.6)
[I--] [  ] x11-apps/xdpyinfo-1.0.2 (0)


should i reemerge all of them as well?
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Wed Aug 29, 2007 1:53 am    Post subject: Reply with quote

They're probably alright, but re-emerging shouldn't hurt things either. You can leave xdpyinfo out though. That's got nothing to do with python. It was probably pygobject, as in the other thread, but it could have been pycairo too. What was the last library you emerged?
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
amckinley
n00b
n00b


Joined: 15 Feb 2006
Posts: 17

PostPosted: Wed Aug 29, 2007 1:56 am    Post subject: Reply with quote

to bring quodlibet back to life, i needed to emerge cairo-python, pygobject, gst-python, and dbus-python
Back to top
View user's profile Send private message
loftwyr
l33t
l33t


Joined: 29 Dec 2004
Posts: 970
Location: 43°38'23.62"N 79°27'8.60"W

PostPosted: Wed Aug 29, 2007 2:06 am    Post subject: Reply with quote

you all need to run "python-updater". That will scan through all your python packages and re-install the ones linked to previous versions of python. 2.5 was pushed down recently and a lot of people are having these problems. You can then emerge -C the old version.
_________________
My emerge --info
Have you run revdep-rebuild lately? It's in gentoolkit and it's worth a shot if things don't work well.
Celebrating 5 years of Gentoo-ing.
Back to top
View user's profile Send private message
amckinley
n00b
n00b


Joined: 15 Feb 2006
Posts: 17

PostPosted: Wed Aug 29, 2007 2:17 am    Post subject: Reply with quote

loftwyr wrote:
you all need to run "python-updater". That will scan through all your python packages and re-install the ones linked to previous versions of python. 2.5 was pushed down recently and a lot of people are having these problems. You can then emerge -C the old version.


AHA! thanks for that; should have been paying more attention.
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Wed Aug 29, 2007 2:29 am    Post subject: Reply with quote

loftwyr wrote:
2.5 was pushed down recently and a lot of people are having these problems.


Oh, hey, what d'ya know? I didn't even notice they took it out of package.mask; I've been running it since it was released, practically. Now these symlink failures make sense and are, in fact, a normal side-effect of the upgrade.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 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