Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
divx4linux ebuild fails to unmerge (prelink related?)
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
BigRedDot
n00b
n00b


Joined: 29 Oct 2002
Posts: 67
Location: Austin

PostPosted: Tue Jan 07, 2003 1:14 am    Post subject: divx4linux ebuild fails to unmerge (prelink related?) Reply with quote

I posted abug report but I thought someone here might have quick insight. When unemerging the old version of divx4linux (or now, any version at all), emerge blows up:
Code:

please:/usr/portage/media-libs/divx4linux/files# emerge unmerge divx4linux

 media-libs/divx4linux
    selected: 20020418 20020418-r1
   protected: none
     omitted: none

>>> Packages in red are slated for removal.
>>> Packages in green will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging media-libs/divx4linux-20020418...
No package files given... Grabbing a set.
--- !found obj /usr/share/doc/divx4linux-20020418/license.txt.gz
cp: copying multiple files, but last argument `/tmp/portage-prelink.tmp' is not a directory
Try `cp --help' for more information.
Traceback (most recent call last):
  File "/usr/bin/emerge", line 1411, in ?
    if 1==unmerge(myaction, myfiles):
  File "/usr/bin/emerge", line 1123, in unmerge
    retval=portage.unmerge(mysplit[0],mysplit[1],portage.root)
  File "/usr/lib/python2.2/site-packages/portage.py", line 1517, in unmerge
    mylink.unmerge()
  File "/usr/lib/python2.2/site-packages/portage.py", line 3532, in unmerge
    mymd5=perform_md5(obj, calc_prelink=1)
  File "/usr/lib/python2.2/site-packages/portage.py", line 1505, in perform_md5
    return perform_checksum(x, calc_prelink)[0]
  File "/usr/lib/python2.2/site-packages/portage.py", line 69, in perform_checksum
    retval = fchksum.fmd5t(prelink_tmpfile)
IOError: [Errno 2] No such file or directory: '/tmp/portage-prelink.tmp'

I'm guessing there is a fairly simple fix. Any suggestions are appreciated, as it tries to unmerge the old version and fails after any every singe emerge now.
_________________
Even if you are one-in-a-million, there are still 6000 people just like you.
Back to top
View user's profile Send private message
li1_getoo
l33t
l33t


Joined: 20 Oct 2002
Posts: 661
Location: Queens , NY

PostPosted: Tue Jan 07, 2003 5:37 am    Post subject: Reply with quote

i had the same problem , trying to run emerge unmerge , emerge depclean , and so forth
remove prelink , reinstall perl and u should be okay
i am only guessing but i think ~x86 and prelink dont get along
theres a prety good howto for prelink on docs , read that :)
Back to top
View user's profile Send private message
BigRedDot
n00b
n00b


Joined: 29 Oct 2002
Posts: 67
Location: Austin

PostPosted: Tue Jan 07, 2003 7:19 am    Post subject: Reply with quote

Quote:
i am only guessing but i think ~x86 and prelink dont get along


I am not running unstable (~x86) though. That's also a python traceback, so I am not sure why reinstalling perl would make a difference. I think this is just a simple misconfiguration in the ebuild itself, that somehow ends up giving a list of files to 'cp' that does not end in a directory. (or maybe it expects a directory `/tmp/portage-prelink.tmp' to exist but fails to check first)
_________________
Even if you are one-in-a-million, there are still 6000 people just like you.
Back to top
View user's profile Send private message
nemhain
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2002
Posts: 97
Location: Sundsvall, Sweden

PostPosted: Tue Jan 07, 2003 8:09 pm    Post subject: Reply with quote

I get the same if I try to unmerge sun-jdk, wine and winex.


Unmerging prelink solves it.
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