Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257828 - app-emulation/vmware-server-1.0.8.126538 blocks stable upgrade !>=app-emulation/vmware-modules-1.0.0.16
Summary: app-emulation/vmware-server-1.0.8.126538 blocks stable upgrade !>=app-emulati...
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-05 22:00 UTC by John Moe
Modified: 2009-03-20 00:44 UTC (History)
1 user (show)

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 John Moe 2009-02-05 22:00:07 UTC
Since running emerge --sync and emerge -aDNuv world a few days ago, I keep getting blocking messages about vmware-server-1.0.8.126538 blocking the upgrade of vmware-modules-1.0.0.15-r2 to 1.0.0.23.


Reproducible: Always

Steps to Reproduce:
1. Update to latest tree with emerge --sync
2. Update world with emerge -aDNuv world

Actual Results:  
jmoe@aus1064 ~ $ sudo emerge -aDNuv world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] app-emulation/vmware-modules-1.0.0.23 [1.0.0.15-r2] 475 kB
[blocks B     ] >=app-emulation/vmware-modules-1.0.0.16 (">=app-emulation/vmware-modules-1.0.0.16" is blocking app-emulation/vmware-server-1.0.8.126538)

Total: 2 packages (2 upgrades), Size of downloads: 475 kB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  ('installed', '/', 'app-emulation/vmware-server-1.0.8.126538', 'nomerge') pulled in by
    app-emulation/vmware-server required by world

  ('ebuild', '/', 'app-emulation/vmware-modules-1.0.0.23', 'merge') pulled in by
    app-emulation/vmware-modules required by world


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked


Expected Results:  
Not tried to install vmware-modules-1.0.0.23

jmoe@aus1064 ~ $ emerge --info
Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-i686-Intel-R-_Pentium-R-_4_CPU_2.66GHz-with-glibc2.0
Timestamp of tree: Thu, 05 Feb 2009 20:15:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -fomit-frame-pointer -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -fomit-frame-pointer -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.pacific.net.au/linux/Gentoo ftp://ftp.swin.edu.au/gentoo ftp://ftp.planetmirror.com/pub/gentoo"
LANG="en_AU"
LC_ALL="en_AU"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_AU en_GB en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa apache arts audiofile avahi bash-completion berkdb bluetooth branding bzip2 cairo cddb cdparanoia cdr clamav cli cracklib crypt css cups curl dbus dri dvd dvdr dvdread encode esd exif fbcon ffmpeg flac fltk fontconfig fortran ftp gdbm gif gimp gimpprint glut gnome gnome-keyring gpm gstreamer gtk gtkhtml hal iconv icq isdnlog java javascript jbig jpeg jpeg2k kde lame lcms ldap libnotify libwww lirc lm_sensors lzo midi mime mmx mng mono mp3 mp4 mpeg mplayer msn mudflap musicbrainz mysql ncurses nls nptl nptlonly nsplugin nvidia odbc offensive ogg openexr opengl openmp pam pcmcia pcre pdf perl png pppd python qt3 qt3support qt4 quicktime raw rdesktop readline reflection rplay ruby samba sdl session spell spl sse sse2 ssl startup-notification svg svga sysfs szip tcl tcpd tetex theora tiff tk truetype unicode usb v4l v4l2 vcd vim-pager vim-syntax vim-with-x vorbis wifi win32codecs wmf x86 xcomposite xine xinetd xml xorg xpm xscreensaver xulrunner xv xvmc yahoo zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_AU en_GB en_US" USERLAND="GNU" VIDEO_CARDS="nvidia vesa vga "
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mike Auty (RETIRED) gentoo-dev 2009-02-06 10:47:56 UTC
Please remove vmware-modules from your world file.  You can do this directly by modifying /var/lib/portage/world, or more easily by "emerge -C vmware-modules; emerge -1 vmware-modules".  The -1 option is identical to --oneshot, which you can read about using "man emerge".  It will not record vmware-modules in your world file, and so the package will be managed as a dependency rather than a package you directly want to keep tabs on.

When updating kernels, please either remember to manually re-emerge module packages with -1, or use an automatic tool such as module-rebuild.

Please let me know once you've done this, and whether it solved your problem or not.  Thanks...  5:)
Comment 2 John Moe 2009-02-08 23:11:30 UTC
This seems to have worked, I'm not getting the error anymore.
Comment 3 Michael Shurtleff 2009-02-28 21:39:03 UTC
It unfortunately does not work for me.

univers portage # emerge -C vmware-modules; emerge -1 vmware-modules

 app-emulation/vmware-modules
    selected: 1.0.0.15-r1 
   protected: none 
     omitted: none 

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1 
>>> Unmerging app-emulation/vmware-modules-1.0.0.15-r1...
 * Removing app-emulation/vmware-modules-1.0.0.15-r1 from moduledb.

 * GNU info directory index is up-to-date.
Calculating dependencies... done!
[ebuild  N    ] app-emulation/vmware-modules-1.0.0.23 
[blocks B     ] >=app-emulation/vmware-modules-1.0.0.16 (">=app-emulation/vmware-modules-1.0.0.16" is blocking app-emulation/vmware-server-1.0.8.126538)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  ('installed', '/', 'app-emulation/vmware-server-1.0.8.126538', 'nomerge') pulled in by
    app-emulation/vmware-server required by world

  ('ebuild', '/', 'app-emulation/vmware-modules-1.0.0.23', 'merge') pulled in by
    vmware-modules

likewise vmware's perl script for config crashes

univers portage # vmware-config.pl
Making sure services for VMware Server are stopped.

Stopping VMware services:
   Virtual machine monitor                                             done
   Bridged networking on /dev/vmnet0                                   done
   DHCP server on /dev/vmnet1                                          done
   Host-only networking on /dev/vmnet1                                 done
   DHCP server on /dev/vmnet8                                          done
   NAT service on /dev/vmnet8                                          done
   Host-only networking on /dev/vmnet8                                 done
   Virtual ethernet                                                    done

None of the pre-built vmmon modules for VMware Server is suitable for your 
running kernel.  Do you want this program to try to build the vmmon module for 
your system (you need to have a C compiler installed on your system)? [yes] yes

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.27-gentoo-r8/build/include] 

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmmon-only'
make -C /lib/modules/2.6.27-gentoo-r8/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.27-gentoo-r8'
  CC [M]  /tmp/vmware-config1/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config1/vmmon-only/./include/machine.h:24,
                 from /tmp/vmware-config1/vmmon-only/linux/driver.h:15,
                 from /tmp/vmware-config1/vmmon-only/linux/driver.c:49:
/tmp/vmware-config1/vmmon-only/./include/x86.h:830:1: warning: "PTE_PFN_MASK" redefined
In file included from include/asm/processor.h:18,
                 from include/linux/prefetch.h:14,
                 from include/linux/list.h:6,
                 from include/linux/module.h:9,
                 from /tmp/vmware-config1/vmmon-only/linux/driver.c:12:
include/asm/page.h:22:1: warning: this is the location of the previous definition
In file included from /tmp/vmware-config1/vmmon-only/linux/vmhost.h:13,
                 from /tmp/vmware-config1/vmmon-only/linux/driver.c:71:
/tmp/vmware-config1/vmmon-only/./include/compat_semaphore.h:5:27: error: asm/semaphore.h: No such file or directory
/tmp/vmware-config1/vmmon-only/linux/driver.c:146: error: unknown field 'nopage' specified in initializer
/tmp/vmware-config1/vmmon-only/linux/driver.c:147: warning: initialization from incompatible pointer type
/tmp/vmware-config1/vmmon-only/linux/driver.c:150: error: unknown field 'nopage' specified in initializer
/tmp/vmware-config1/vmmon-only/linux/driver.c:151: warning: initialization from incompatible pointer type
/tmp/vmware-config1/vmmon-only/linux/driver.c: In function 'LinuxDriver_Ioctl':
/tmp/vmware-config1/vmmon-only/linux/driver.c:1670: error: too many arguments to function 'smp_call_function'
make[2]: *** [/tmp/vmware-config1/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.27-gentoo-r8'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config1/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please 
visit our Web site at "http://www.vmware.com/go/unsup-linux-products" and 
"http://www.vmware.com/go/unsup-linux-tools".

Execution aborted.

Comment 4 Mike Auty (RETIRED) gentoo-dev 2009-02-28 22:25:52 UTC
Hi Michael, it appears you've installed vmware manually, rather than using the ebuilds, because they patch out the module compilation section from the vmware-configure script.  Please ensure you install the vmware product of your choosing using the ebuilds, and they should pull in the correct version of the modules...
Comment 5 Charles Nadeau 2009-03-19 22:37:01 UTC
(In reply to comment #4)
> Hi Michael, it appears you've installed vmware manually, rather than using the
> ebuilds, because they patch out the module compilation section from the
> vmware-configure script.  Please ensure you install the vmware product of your
> choosing using the ebuilds, and they should pull in the correct version of the
> modules...
> 

I have the same problem as Michael although I installed vmware using the ebuilds:


*  app-emulation/vmware-modules
      Latest version available: 1.0.0.23
      Latest version installed: [ Not Installed ]
      Size of files: 952 kB
      Homepage:      http://www.vmware.com/
      Description:   Modules for Vmware Programs
      License:       GPL-2

*  app-emulation/vmware-player
      Latest version available: 2.5.1.126130
      Latest version installed: [ Not Installed ]
      Size of files: 158,650 kB
      Homepage:      http://www.vmware.com/products/desktop/ws_features.html
      Description:   Emulate a complete PC on your PC without the usual performance overhead of most emulators
      License:       vmware

*  app-emulation/vmware-server
      Latest version available: 1.0.8.126538
      Latest version installed: 1.0.8.126538
      Size of files: 104,610 kB
      Homepage:      http://www.vmware.com/
      Description:   VMware Server for Linux
      License:       vmware

*  app-emulation/vmware-server-console
      Latest version available: 1.0.8.126538
      Latest version installed: 1.0.8.126538
      Size of files: 23,142 kB
      Homepage:      http://www.vmware.com/
      Description:   VMware Remote Console for Linux
      License:       vmware


The listing above says that the modules are not installed but when I try to install them I get:

Ottawa portage # emerge -1av vmware-modules

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] app-emulation/vmware-modules-1.0.0.23  478 kB
[blocks B     ] >=app-emulation/vmware-modules-1.0.0.16 (">=app-emulation/vmware-modules-1.0.0.16" is blocking app-emulation/vmware-server-1.0.8.126538)

Total: 1 package (1 new), Size of downloads: 478 kB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  ('installed', '/', 'app-emulation/vmware-server-1.0.8.126538', 'nomerge') pulled in by
    app-emulation/vmware-server required by world

  ('ebuild', '/', 'app-emulation/vmware-modules-1.0.0.23', 'merge') pulled in by
    vmware-modules


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked

app-emulation/vmware-modules is refered nowhere in my world file. What is wrong.
Thanks!

My emerge --info is:

Ottawa portage # emerge --info
Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-glibc2.2.5
Timestamp of tree: Thu, 19 Mar 2009 15:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net ftp://mirror.datapipe.net/gentoo ftp://gentoo.mirrors.pair.com/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.mirrors.pair.com/ ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://212.219.56.134/sites/www.ibiblio.org/gentoo/ http://mirror.uni-c.dk/pub/gentoo/ ftp://212.219.56.138/sites/www.ibiblio.org/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="en fr"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.52/gentoo-portage"
USE="X aac ac3 acl acpi alsa amd64 apache2 applet avi berkdb branding bzip2 cairo cdr chm cli cracklib crypt ctype cups curl dbus deskbar dri dvd dvdr dvdread eds emboss enblend encode epiphany esd evo exif extraengine fam firefox flac fortran fping fuse gd gdbm geoip gif gpm gsf gstreamer gtk gtk2 hal iconv innodb ipv6 isdnlog jpeg json kde ldap libnotify mad maildir max-idx-128 midi mikmod mjpeg mmx mono mozdevelop mp3 mpeg mtp mudflap multilib mysql ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl pg-intdatetime png postgres ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection samba sdl server session sift smp snmp soap sockets spell spl sqlite sse sse2 sse3 ssl startup-notification svg sysfs tcpd tetex threads thunderbird tiff truetype unicode usb uuid vhosts vorbis w32codecs wavpack webservices wma xml xmlrpc xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="kbd mouse keyboard vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr" USERLAND="GNU" VIDEO_CARDS="nv vga vesa fbdev vmware"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Charles
Comment 6 Mike Auty (RETIRED) gentoo-dev 2009-03-19 22:43:43 UTC
Hiya Charles,

You can emerge the specific version of vmware-modules specifically (why portage doesn't do this when it knows it must be below a certain version, I'm not sure) as follows:

emerge -1 =vmware-modules-1.0.0.15-r2

Also, please make sure you're not seeing the attempts to compile the modules when you run vmware-config.pl, because that means that either the ebuild wasn't used to carry out the installation, or that the installation using the ebuild messed up badly.

Please do remember the -1, otherwise portage will attempt to upgrade vmware-modules which result in the breakage John saw at the start of this bug.  If this doesn't solve your problem, please report it back here...
Comment 7 Charles Nadeau 2009-03-20 00:44:46 UTC
(In reply to comment #6)
> Hiya Charles,
> 
> You can emerge the specific version of vmware-modules specifically (why portage
> doesn't do this when it knows it must be below a certain version, I'm not sure)
> as follows:
> 
> emerge -1 =vmware-modules-1.0.0.15-r2
> 
> Also, please make sure you're not seeing the attempts to compile the modules
> when you run vmware-config.pl, because that means that either the ebuild wasn't
> used to carry out the installation, or that the installation using the ebuild
> messed up badly.
> 
> Please do remember the -1, otherwise portage will attempt to upgrade
> vmware-modules which result in the breakage John saw at the start of this bug. 
> If this doesn't solve your problem, please report it back here...
> 

It worked, thanks!

Charles