Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57811 - vmware-workstation-4.5.2.8848-r1 fails to apply patches
Summary: vmware-workstation-4.5.2.8848-r1 fails to apply patches
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Chris Gianelloni (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-20 23:23 UTC by Georgi Georgiev
Modified: 2004-11-10 06:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Georgi Georgiev 2004-07-20 23:23:13 UTC
vmware-workstation-4.5.2-8848-r1 fails to apply the necessary updates (the any-any update) if FEATURES=userpriv.

>>> Unpacking VMware-workstation-4.5.2-8848.tar.gz to /var/tmp/portage/vmware-workstation-4.5.2.8848-r1/work
 * Adding 2.{5,6}.x kernel support
>>> Unpacking vmware-any-any-update75.tar.gz to /var/tmp/portage/vmware-workstation-4.5.2.8848-r1/work/vmware-distrib
Updating ../lib/bin/vmware ... Cannot open ../lib/bin/vmware: Permission denied
failed
Updating ../bin/vmnet-bridge ... Cannot open ../bin/vmnet-bridge: Permission denied
failed
Updating ../lib/bin/vmware-vmx ... Cannot open ../lib/bin/vmware-vmx: Permission denied
failed
Updating ../lib/bin-debug/vmware-vmx ... Cannot open ../lib/bin-debug/vmware-vmx: Permission denied

The reason as I see it: some of the files that it tries to update are not writable by their owner.

Possible solutions: either "chmod -R u+w ${S}", chmod the files one by one (and maybe restore permissions afterwards), or fix the update.c file.
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2004-07-24 08:33:26 UTC
I'll look into it after the 2004.2 release is out.
Comment 2 Frank Jelinek 2004-07-26 00:14:28 UTC
I got similar problems with this update when installing to a clean box. "/update - file not found." Reason was that I did not install the 32bit emulation layer (emul-linux-x86-baselibs, ...) Just installing helps for me
We should add this dependency to any doc
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2004-11-09 16:23:50 UTC
Has this been fixed?  I haven't had any problems with either -r1 or -r2... I am thinking I just forgot to close this bug.

Let me know...

thanks
Comment 4 Georgi Georgiev 2004-11-09 17:36:26 UTC
From what I see in the ebuilds:

 chmod 755 ../lib/bin/vmware ../bin/vmnet-bridge ../lib/bin/vmware-vmx ../lib/bin-debug/vmware-vmx
        # update75 doesn't patch vmware
        # ./update vmware ../lib/bin/vmware || die
        ./update bridge ../bin/vmnet-bridge || die
        ./update vmx ../lib/bin/vmware-vmx || die
        ./update vmxdebug ../lib/bin-debug/vmware-vmx || die

Add to that, that I haven't had problems either.

Yes, it has been fixed.
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2004-11-10 06:36:16 UTC
Cool... thanks