Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vmware-modules ebuild not applying any-any updates?
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
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Wed Dec 05, 2007 4:06 pm    Post subject: vmware-modules ebuild not applying any-any updates? Reply with quote

I have some trouble with vmware-modules..

a) why does the ebuild pull VMware-Player, if I wanna install the workstation.
b) why doesn't the vmware-modules ebuild apply the any-any updates. Somehow it doesn't even check the digest and unpack the any-any tarball

I wanted to use latest any-any 115, so I
- edited vmware.eclass
- redigested vmware-workstation ebuild
- ran emerge vmware-modules

Code:
>>> Emerging (1 of 1) app-emulation/vmware-modules-1.0.0.17 to /
 * VMware-player-2.0.2-59824.x86_64.tar.gz RMD160 SHA1 SHA256 size ;-) ...   [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
 * checking VMware-player-2.0.2-59824.x86_64.tar.gz ;-) ...              [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.24-rc4-zen0/build
 * Found sources for kernel version:
 *     2.6.24-rc4-zen0
>>> Unpacking source...
>>> Unpacking VMware-player-2.0.2-59824.x86_64.tar.gz to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17/work
>>> Unpacking ./vmware-player-distrib/lib/modules/source//vmmon.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17/work
 * Applying various patches (bugfixes/updates) ...
 *   000_all_makefile-include-directory.patch ...                        [ ok ]
 *   020_all_epoll-def-warnings.patch ...                                [ ok ]
 * Done with patching
 * Converting vmmon-only/Makefile to use M= instead of SUBDIRS= ...      [ ok ]
>>> Unpacking ./vmware-player-distrib/lib/modules/source//vmnet.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17/work
 * Applying various patches (bugfixes/updates) ...
 *   000_all_makefile-include-directory.patch ...                        [ ok ]
 *   020_all_epoll-def-warnings.patch ...                                [ ok ]
 * Done with patching
 * Converting vmnet-only/Makefile to use M= instead of SUBDIRS= ...      [ ok ]
>>> Unpacking ./vmware-player-distrib/lib/modules/source//vmblock.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17/work
 * Applying various patches (bugfixes/updates) ...
 *   000_all_makefile-include-directory.patch ...                        [ ok ]
 *   020_all_epoll-def-warnings.patch ...                                [ ok ]
 * Done with patching
 * Converting vmblock-only/Makefile to use M= instead of SUBDIRS= ...    [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17/work ...


Am I blind, or is there just nothing about the any-any o.O

For vmware-workstation it looks like this:
Code:
 * checking VMware-workstation-6.0.2-59824.x86_64.tar.gz ;-) ...        [ ok ]
 * checking vmware-any-any-update115.tar.gz ;-) ...                     [ ok ]
>>> Unpacking source...
>>> Unpacking VMware-workstation-6.0.2-59824.x86_64.tar.gz to /var/tmp/portage/app-emulation/vmware-workstation-6.0.2.59824/work
>>> Unpacking vmware-any-any-update115.tar.gz to /var/tmp/portage/app-emulation/vmware-workstation-6.0.2.59824/work

_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay


Last edited by gimpel on Wed Dec 05, 2007 5:30 pm; edited 1 time in total
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Wed Dec 05, 2007 4:24 pm    Post subject: Reply with quote

The ebuild/eclass is definately broken..

So, as far as I can tell, applying an any-any update to vmware-modules currently works like this:
Code:
ebuild /usr/portage/app-emulation/vmware-modules/vmware-modules-1.0.0.17.ebuild unpack
cd /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17/work
tar xvf /usr/portage/distfiles/vmware-any-any-update115.tar.gz
for i in vmware-any-any-update115/*.tar; do tar xvf $i; done
ebuild /usr/portage/app-emulation/vmware-modules/vmware-modules-1.0.0.17.ebuild compile
ebuild /usr/portage/app-emulation/vmware-modules/vmware-modules-1.0.0.17.ebuild merge

_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Wed Dec 05, 2007 5:44 pm    Post subject: Reply with quote

Well, https://bugs.gentoo.org/show_bug.cgi?id=201395
_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Wed Dec 05, 2007 7:21 pm    Post subject: Reply with quote

Okay, now vmware workstation runs fine.

Final steps to apply an any-any update, using the modules that actually fit to the vmware workstation version FROM vmware-workstation
Code:
# fist apply update to installed vmware workstation (module sources)
cd /tmp
tar xvf /usr/portage/distfiles/vmware-any-any-update115a.tar.gz
cd vmware-any-any-update115a
./runme.pl
# run ebuild manually
ebuild /usr/portage/app-emulation/vmware-modules/vmware-modules-1.0.0.17.ebuild unpack
cd /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17/work
rm -rf vm*-only
# do NOT use outdated vmware player modules, use the ones that come with workstation
# otherwhise we get a version mismatch
for i in /opt/vmware/workstation/lib/modules/source/*.tar; do tar xvf $i; done
ebuild /usr/portage/app-emulation/vmware-modules/vmware-modules-1.0.0.17.ebuild compile
ebuild /usr/portage/app-emulation/vmware-modules/vmware-modules-1.0.0.17.ebuild merge


The ebuild/eclass are indeed a bit messed.
_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
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