Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 378435

Summary: app-emulation/vmware-workstation-6.5.5.328052 - $WORKDIR/payload/install/vmware-installer/vmware-installer.py: ImportError: No module named sqlite3
Product: Gentoo Linux Reporter: Igor Korot <ikorot01>
Component: Current packagesAssignee: Vadim Kuznetsov (RETIRED) <vadimk>
Status: RESOLVED OBSOLETE    
Severity: major CC: vmware+disabled
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: vmware-workstation environment file

Description Igor Korot 2011-08-09 06:24:41 UTC
Hi,
After unsuccessful install of vmware-player, I tried to completely un-install it and install vmware-workstations.
However I received following error:

>>> Emerging (9 of 9) app-emulation/vmware-workstation-6.5.5.328052
 * VMware-Workstation-6.5.5-328052.x86_64.bundle RMD160 SHA1 SHA256 size ;-) ...                                                                                 [ ok ]
 * Package:    app-emulation/vmware-workstation-6.5.5.328052
 * Repository: gentoo
 * Maintainer: vadimk@gentoo.org vmware@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   sandbox
>>> Unpacking source...
Unbundling /var/tmp/portage/app-emulation/vmware-workstation-6.5.5.328052/distdir/VMware-Workstation-6.5.5-328052.x86_64.bundle
>>> Source unpacked in /var/tmp/portage/app-emulation/vmware-workstation-6.5.5.328052/work
>>> Preparing source in /var/tmp/portage/app-emulation/vmware-workstation-6.5.5.328052/work ...
 * Applying vmware-workstation-6.5.5.328052-installer.patch ...                                                                                                  [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/vmware-workstation-6.5.5.328052/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-emulation/vmware-workstation-6.5.5.328052/work ...
>>> Source compiled.
>>> Test phase [not enabled]: app-emulation/vmware-workstation-6.5.5.328052

>>> Install vmware-workstation-6.5.5.328052 into /var/tmp/portage/app-emulation/vmware-workstation-6.5.5.328052/image/ category app-emulation
Traceback (most recent call last):
  File "/var/tmp/portage/app-emulation/vmware-workstation-6.5.5.328052/work/payload/install/vmware-installer/vmware-installer.py", line 16, in <module>
    from vmis.db import DatabaseError, MultipleInstallersError, Load
  File "/var/tmp/portage/app-emulation/vmware-workstation-6.5.5.328052/work/payload/install/vmware-installer/vmis/db.py", line 11, in <module>
    import sqlite3 as sqlite
ImportError: No module named sqlite3
 * VMware installation seems to have rolled back.
 * Please include the contents of /var/tmp/portage/app-emulation/vmware-workstation-6.5.5.328052/work/vmware-installer.log
 * in any bug reports you file.
 * ERROR: app-emulation/vmware-workstation-6.5.5.328052 failed (install phase):
 *   VMware installation rolled back.
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_install
 *   environment, line 2736:  Called die
 * The specific snippet of code:
 *           die "VMware installation rolled back.";
 * 
 * If you need support, post the output of 'emerge --info =app-emulation/vmware-workstation-6.5.5.328052',
 * the complete build log and the output of 'emerge -pqv =app-emulation/vmware-workstation-6.5.5.328052'.
 * The complete build log is located at '/var/tmp/portage/app-emulation/vmware-workstation-6.5.5.328052/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-workstation-6.5.5.328052/temp/environment'.
 * S: '/var/tmp/portage/app-emulation/vmware-workstation-6.5.5.328052/work/vmware-distrib'

>>> Failed to emerge app-emulation/vmware-workstation-6.5.5.328052, Log file:

>>>  '/var/tmp/portage/app-emulation/vmware-workstation-6.5.5.328052/temp/build.log'

 * Messages for package app-emulation/vmware-workstation-6.5.5.328052:

 * VMware installation seems to have rolled back.
 * Please include the contents of /var/tmp/portage/app-emulation/vmware-workstation-6.5.5.328052/work/vmware-installer.log
 * in any bug reports you file.
 * ERROR: app-emulation/vmware-workstation-6.5.5.328052 failed (install phase):
 *   VMware installation rolled back.
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_install
 *   environment, line 2736:  Called die
 * The specific snippet of code:
 *           die "VMware installation rolled back.";
 * 
 * If you need support, post the output of 'emerge --info =app-emulation/vmware-workstation-6.5.5.328052',
 * the complete build log and the output of 'emerge -pqv =app-emulation/vmware-workstation-6.5.5.328052'.
 * The complete build log is located at '/var/tmp/portage/app-emulation/vmware-workstation-6.5.5.328052/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-workstation-6.5.5.328052/temp/environment'.
 * S: '/var/tmp/portage/app-emulation/vmware-workstation-6.5.5.328052/work/vmware-distrib'

 * GNU info directory index is up-to-date.

 * IMPORTANT: 2 config files in '/etc' need updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Thank you.

Reproducible: Always

Steps to Reproduce:
1. Install vmware-server-2.
2. Uninstall vmware-server-2 and all it's dependencies.
3. Install vmware-player from ~amd64.
4. "emerge --config vmware-player" failed as explained in the bug #378165.
5. Unmerge vmware-player and all its dependencies
6. Install vmware-workstation from amd64 stable.
Actual Results:  
Installation will fail

Expected Results:  
Installation succeeds.

emerge --info =app-emulation/vmware-workstation-6.5.5.328052

Portage 2.1.10.3 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.5, glibc-2.12.2-r0, 2.6.38-gentoo-r6 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.38-gentoo-r6-x86_64-AMD_E-350_Processor-with-gentoo-2.0.2
Timestamp of tree: Sat, 06 Aug 2011 07:45:01 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.25-r2
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.65-r1
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.2.10
sys-devel/make:           3.81-r2
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=barcelona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=barcelona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apm berkdb bluetooth branding bzip2 cairo cdda cdr clamav cli consolekit cracklib crypt cxx dbus djvu dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran freetds gdbm gdu gif gnome gnome-keyring gpm gstreamer gtk iconv ipv6 jpeg lcms ldap libnotify lm_sensors mad mmx mng modules mozilla mp3 mp4 mpeg mssql mudflap multilib mysql nautilus ncurses nls nptl nptlonly odbc ogg opengl openmp oracle pam pango pch pcmcia pcre pdf perl png policykit ppds pppd python qt3support readline sdl session spell sqlite sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vorbis wxwidgets x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 cgi cgid 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Igor Korot 2011-08-09 06:27:03 UTC
Created attachment 282647 [details]
vmware-workstation environment file

This file is an environment file for the emerge of vmware-workstation
Comment 2 Hika 2011-10-24 17:54:14 UTC
I can add that the same error occurred on my fresh installed machine. It is a similar machine (amd64).
So the previous installation of the viewer etc. has very probably nothing to do with the bug, but it could be an amd64 issue.
If you wish I can add details about my failed installation.

Hika
Comment 3 Vadim Kuznetsov (RETIRED) gentoo-dev 2011-12-17 15:28:11 UTC
workstation 6 was removed from the tree. bug 385727.