Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 397847 - app-emulation/vmware-modules-238.5 fail to compile with gentoo-sources-3.2.0
Summary: app-emulation/vmware-modules-238.5 fail to compile with gentoo-sources-3.2.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-01-06 09:59 UTC by Matthias M Weber
Modified: 2012-01-12 12:10 UTC (History)
2 users (show)

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


Attachments
.config (.config,61.40 KB, text/plain)
2012-01-07 12:40 UTC, Cesko Voeten
Details
vmware-modules-238.5-r2.ebuild (vmware-modules-238.5-r2.ebuild,2.03 KB, text/plain)
2012-01-07 17:23 UTC, Richard Cox
Details
Patch for kernel 3.1 (vmware3.1.0.patch,9.67 KB, patch)
2012-01-07 17:24 UTC, Richard Cox
Details | Diff
Patch for kernel 3.2 (vmware3.2.0.patch,2.74 KB, text/plain)
2012-01-07 17:25 UTC, Richard Cox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias M Weber 2012-01-06 09:59:15 UTC
vmware-modules-238.5 - which are necessary for vmware-workstation-7.1.5 - do not compile with gentoo-sources-3.2.0 (or gentoo-sources-3.2.0-r1). The error occurs in vmmon-only:

  CC [M]  /data/portage/app-emulation/vmware-modules-238.5/work/vmmon-only/common/vmx86.o
/data/portage/app-emulation/vmware-modules-238.5/work/vmmon-only/linux/iommu.c: In function ‘IOMMU_SetupMMU’:
/data/portage/app-emulation/vmware-modules-238.5/work/vmmon-only/linux/iommu.c:83:4: error: too few arguments to function ‘iommu_domain_alloc’
include/linux/iommu.h:68:29: note: declared here
make[3]: *** [/data/portage/app-emulation/vmware-modules-238.5/work/vmmon-only/linux/iommu.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/data/portage/app-emulation/vmware-modules-238.5/work/vmmon-only/linux/hostif.c: In function ‘HostIFReadUptimeWork’:
/data/portage/app-emulation/vmware-modules-238.5/work/vmmon-only/linux/hostif.c:2003:37: warning: ‘newUpBase’ may be used uninitialized in this function
make[2]: *** [_module_/data/portage/app-emulation/vmware-modules-238.5/work/vmmon-only] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/linux-3.2.0-gentoo-r1'
make: *** [vmmon.ko] Error 2

Reproducible: Always




emerge --info

ARCH="amd64"
AUTOCLEAN="yes"
BOOTSTRAP_USE="cxx unicode multilib"
CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump"
CAMERAS="ptp2"
CBUILD="x86_64-pc-linux-gnu"
CCACHE_DIR="/var/tmp/ccache"
CCACHE_SIZE="2G"
CFLAGS="-O2 -pipe -march=amdfam10"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/usr/share/"
CONFIG_PROTECT="/etc /usr/lib/X11/xdm /usr/lib64/fax /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/bind /var/lib/hsqldb /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CVS_RSH="ssh"
CXXFLAGS="-O2 -pipe -march=amdfam10"
DEFAULT_ABI="amd64"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--verbose --quiet-build=n --fail-clean=y --keep-going=y"
EMERGE_WARNING_DELAY="10"
EPREFIX=""
EROOT="/"
FCFLAGS=""
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fail-clean fixlafiles metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GCC_SPECS=""
GDK_USE_XFT="1"
INPUT_DEVICES="keyboard mouse"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVACC_HOME="/usr/share/javacc/"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KERNEL="linux"
LADSPA_PATH="/usr/lib64/ladspa"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_CTYPE="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LDFLAGS_amd64="-m elf_x86_64"
LDFLAGS_x32="-m elf32_x86_64"
LDFLAGS_x86="-m elf_i386"
LIBDIR_amd64="lib64"
LIBDIR_amd64_fbsd="lib64"
LIBDIR_n32="lib32"
LIBDIR_n64="lib64"
LIBDIR_o32="lib"
LIBDIR_ppc="lib32"
LIBDIR_ppc64="lib64"
LIBDIR_s390="lib32"
LIBDIR_s390x="lib64"
LIBDIR_sparc32="lib32"
LIBDIR_sparc64="lib64"
LIBDIR_x32="libx32"
LIBDIR_x86="lib32"
LIBDIR_x86_fbsd="lib32"
LIBGL_DRIVERS_PATH="/usr/lib32/dri:/usr/lib64/dri"
LINGUAS="en de"
MAKEOPTS="-j5"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage|udev)"
USE="3dnow 3dnowext 64bit R X X509 Xaw3d a52 aac aalib acl acpi administrator ads alisp alsa amd64 ansi apache2 apng ares arts athena audio audiofile audit avahi bash-completion bazaar bbdb bcmath berkdb big-tables binary-drivers blas bluetooth bluray branding bsf btrfs bzip2 cairo calendar caps cblas ccache cdda cdr cdrom cgi chroot cli clisp colordiff consolekit crypt css ctype cuda cups curl custom-optimization cvs cxx cyrillic dbm dbus declarative detex device-mapper dga dirac directfb discouraged dlz doc dri dv dvb dvd dvdnav dvdr dvdread dvi dvi2tty dvipdfm dynamicplugin eds eix emacs embedded enca encode eolconv exif expat extensions extra extras faad fat fax fbcon fbcondecor ffmpeg fftw fileinfo firefox fits flac floppy font-server fontconfig foomaticdb fortran ftp fts3 fuse garmin gb gcj gcrypt gd gdal gdbm gdu geoip gif gimp git glib glitz glsa glut gmp gnome gnutls gocr gpg gpgme gphoto2 gpm gps graphics gs gsl gstreamer gtk gtk2-perl gudev guile hpn html i18n iconv icu idn imap imlib inquisitio int64 ipppd ipv6 iso14755 jadetex java java6 javascript jbig jpeg jpeg2k kde kdrive kerberos kontact lame lapack latex latex3 lcms ldap leim libburn libcaca libgda libkms libnotify libssh2 libv4l libv4l2 libwww lm_sensors logrotate lxde lzma m17n-lib mad maildir mailwrapper matroska matrox mbox mcal mdadm mdnsresponder-compat mercurial mhash mikmod mime minizip mjpeg mmx mng modules mozilla mp3 mp4 mpeg mudflap mule multilib music musicbrainz mysql ncurses net netpbm network networking nis nls nova nptl nptlonly nsplugin nss numeric nvidia objc objc++ objc-gc odbc offensive offlinehelp ofx ogg okular opengl openmp optimization pam pango pcntl pcre pdf pdfimport perl phonon php png policykit pop portage portaudio posix postgres ppds pppd pstricks publishers python qt3support qt4 query-browser quicktime readline reiserfs ruby samba sasl scanner schroedinger science script sdl secure-delete semantic-desktop sendmail session sftp sha512 shine shm sip slang smime sms smtp sndfile sockets socks5 sound sox spamassassin speex spl sql sqlite sse sse2 sse4a ssh ssl stable stroke subversion svg sysfs syslog sysvipc taglib tcpd tetex theora threads thunar tiff timidity tk toolame tools tor tordns truetype twolame udev unicode urandom usb userlocales utils v4l v4l2 vala vcd vdpau video vim vim-pager vim-syntax vim-with-x vnc vorbis wav wcwidth weather webkit wireshark wmf wmp x264 xanim xcf xetex xfs xft xim xine xml xmp xorg xosd xpm xscreensaver xterm xterm-color xulrunner xv xvfb xvid xvmc zip zlib zvbi
Comment 1 Cesko Voeten 2012-01-07 12:40:46 UTC
Created attachment 298215 [details]
.config

I have the same problem with =app-emulation/vmware-modules-264.1 from the vmware overlay.
Attaching my .config in case it is relevant.
Comment 2 Richard Cox 2012-01-07 17:21:01 UTC
I'm not sure which kernel version you are upgrading from (2.6.X or 3.0.X), but I ran into this a while back.  I'm running vmware-workstation-7.1.5 with vmware-modules-238.5 and had to roll my own patches to keep everything running with the newest kernels.  I'm not an expert at this, so you're mileage may vary with this ebuild and patches, but they work fine for me.  Just create your own overlay (I use /usr/local/portage) and copy the ebuild into the vmware-modules directory and the patches into the files directory under that.  Run you ebuild digest and it should just work when you emerge.  This is for vmware-modules-238.5 only.
Comment 3 Richard Cox 2012-01-07 17:23:05 UTC
Created attachment 298245 [details]
vmware-modules-238.5-r2.ebuild

vmware-modules-238.5 ebuild with patches to work with kernel 3.2.0 and 3.2.0-r1.
Comment 4 Richard Cox 2012-01-07 17:24:42 UTC
Created attachment 298247 [details, diff]
Patch for kernel 3.1

Patch for kernel 3.1 needed by vmware-modules-238.5-r2 ebuild
Comment 5 Richard Cox 2012-01-07 17:25:51 UTC
Created attachment 298249 [details]
Patch for kernel 3.2

Patch for kernel 3.2 needed by vmware-modules-238.5-r2 ebuild
Comment 6 Richard Cox 2012-01-07 17:31:01 UTC
Comment on attachment 298249 [details]
Patch for kernel 3.2

Changed to patch format...forget to click the patch button.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2012-01-09 20:01:22 UTC

*** This bug has been marked as a duplicate of bug 395305 ***
Comment 8 Vadim Kuznetsov (RETIRED) gentoo-dev 2012-01-11 14:34:45 UTC
Matthias, Could you provide resent build.log?
Comment 9 Matthias M Weber 2012-01-11 22:44:45 UTC
(In reply to comment #8)
> Matthias, Could you provide resent build.log?

After today's sync of the vmware overlay vmware-modules-238.5 compile without errors.