Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82184 - emerge of vmware-workstation 3.2.1.2242-r3 fails
Summary: emerge of vmware-workstation 3.2.1.2242-r3 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-15 17:19 UTC by D. C. Sessions
Modified: 2005-04-11 14:51 UTC (History)
0 users

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


Attachments
Fixed ebuild (vmware-workstation-3.2.1.2242-r3.ebuild,6.75 KB, text/plain)
2005-03-01 09:36 UTC, Preston Crow
Details

Note You need to log in before you can comment on or make changes to this bug.
Description D. C. Sessions 2005-02-15 17:19:12 UTC
Several errors in building vmware-workstation-3.2.1.2242-r3:

>>> Install vmware-workstation-3.2.1.2242-r3 into /var/tmp/portage/vmware-workstation-3.2.1.2242-r3/image/ category app-emulation
 * Applying vmware-config.pl-gcc-generalized.patch ...                                                                                                [ ok ]
cp: `/var/tmp/portage/vmware-workstation-3.2.1.2242-r3/image///opt/vmware/lib': specified destination directory does not exist
Try `cp --help' for more information.
chmod: cannot access `/var/tmp/portage/vmware-workstation-3.2.1.2242-r3/image///opt/vmware/lib/bin/vmware-vmx': No such file or directory
cp: `/var/tmp/portage/vmware-workstation-3.2.1.2242-r3/image///opt/vmwaredoc': specified destination directory does not exist
Try `cp --help' for more information.
 * Adding answers to /etc/vmware/locations
/usr/lib/portage/bin/ebuild.sh: line 137: cd: /var/tmp/portage/vmware-workstation-3.2.1.2242-r3/image//opt/vmware/lib/bin: No such file or directory
mv: cannot stat `vmware-ui': No such file or directory
mv: cannot stat `vmware-mks': No such file or directory
man:
making executable: /usr/lib/vmware-glibc-2.3.2-compat.so
QA Notice: /opt/vmware/bin/vmware-ping is setXid, dynamically linked and using lazy bindings.
This combination is generally discouraged. Try: CFLAGS='-Wl,-z,now' emerge vmware-workstation
 * file /var/tmp/portage/vmware-workstation-3.2.1.2242-r3/image//opt/vmware/bin/vmware-config.pl was installed with group portage!
>>> Completed installing vmware-workstation-3.2.1.2242-r3 into /var/tmp/portage/vmware-workstation-3.2.1.2242-r3/image/

When attempting to build vmmon, source files are missing.  When attempting to build vmnet, source files (actually whole directories) are missing.

It looks like the directories for the modules aren't created at installation.

Reproducible: Always
Steps to Reproduce:
1.emerge vmware-workstation-3.2.1.2242-r3
2.try to run vmware-config.pl
3.Source viles not present

Actual Results:  
vmware failed to install and set up.  Errors from scripts.

Expected Results:  
Built vmware modules from source.

kernel version = 2.6.9-gentoo-r4
Comment 1 Marko Vallius 2005-03-01 02:10:52 UTC
Same errors here. After the install /opt/vmware/lib/ contains only one subdirectory (icon/) and everything fails from then on. 

To get things going, I manually untarred /usr/portage/distfiles/VMware-workstation-3.2.1-2242.tar.gz to a temporary directory and copied the contents of vmware-distrib/lib/ to /opt/vmware/lib/. After this, vmware-config.pl could be run. 

The vmware executable itself still complained of not being set-UID root, but after "chmod +s /opt/vmware/bin/vmware" things seems to work (although I'm now probably missing some of the patches).
Comment 2 Preston Crow 2005-03-01 09:36:16 UTC
Created attachment 52398 [details]
Fixed ebuild

I've attached a modified ebuild that fixes two typos and comments out one other
line that didn't seem to do anything but print an error.  I'm not an expert in
VMWare or ebuilds, but it works for me.

As VMWare is licensed software, it would be nice to get a corrected ebuild out
for people who haven't paid to upgrade to newer versions.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2005-04-11 14:51:23 UTC
Fixed in CVS... sorry it took so long...