Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]vmware-modules-279.3 wont emerge
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
drtask
n00b
n00b


Joined: 15 Feb 2007
Posts: 9

PostPosted: Fri Jan 23, 2015 9:50 pm    Post subject: [SOLVED]vmware-modules-279.3 wont emerge Reply with quote

Hello, I am trying to update vmware-modules and cannot do so. Initially I started with vmware-modules-279.2, and after much reading decided to attempt vmware-modules-279.3, and am having the same issue. here's the output from emerge:

Code:
# emerge --ask =app-emulation/vmware-modules-279.3

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

Calculating dependencies... done!
[ebuild  N    ~] app-emulation/vmware-modules-279.3  USE="vmci vsock -pax_kernel"

Would you like to merge these packages? [Yes/No] yes

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-emulation/vmware-modules-279.3::gentoo
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/3.17.7-gentoo/build
 * Found sources for kernel version:
 *     3.17.7-gentoo
 * Checking for suitable kernel configuration options...                                                                                      [ ok ]
 * Checking for suitable kernel configuration options...                                                                                      [ ok ]
>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/app-emulation/vmware-modules-279.3/work
>>> Preparing source in /var/tmp/portage/app-emulation/vmware-modules-279.3/work ...
 * Applying 279-makefile-kernel-dir.patch ...                                                                                                 [ ok ]
 * Applying 279-makefile-include.patch ...                                                                                                    [ ok ]
 * Applying 279-netdevice.patch ...                                                                                                           [ ok ]
 * Applying 279-apic.patch ...                                                                                                                [ ok ]
 * Applying 279-putname.patch ...                                                                                                             [ ok ]
 * Applying 279-vmblock.patch ...                                                                                                             [ ok ]
 * Applying 279-filldir.patch ...                                                                                                             [ ok ]
 * Applying 279-vfsfollowlink.patch ...                                                                                                       [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/vmware-modules-279.3/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-emulation/vmware-modules-279.3/work ...
 * Preparing vmblock module
make -j5 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' auto-build KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/3.17.7-gentoo/build
Using 2.6.x kernel build system.
make -C /lib/modules/3.17.7-gentoo/build SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-3.17.7-gentoo'
make[1]: Entering directory `/lib/modules/3.17.7-gentoo/build'
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/filesystem.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/stubs.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/file.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/block.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.o
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/stubs.c:34:0:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
In file included from /usr/src/linux-3.17.7-gentoo/include/linux/kernel.h:13:0,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/percpu.h:44,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/preempt.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/preempt.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/spinlock.h:50,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/wait.h:8,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/completion.h:11,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/os.h:31,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/stubs.c:33:
/usr/src/linux-3.17.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/super.o
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/vmblockInt.h:41:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/block.c:30:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
In file included from /usr/src/linux-3.17.7-gentoo/include/linux/kernel.h:13:0,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/percpu.h:44,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/preempt.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/preempt.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/spinlock.h:50,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/wait.h:8,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/completion.h:11,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/os.h:31,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/block.c:26:
/usr/src/linux-3.17.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/vmblockInt.h:41:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/filesystem.c:36:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
In file included from /usr/src/linux-3.17.7-gentoo/include/linux/kernel.h:13:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/filesystem.c:27:
/usr/src/linux-3.17.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/vmblockInt.h:41:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.c:32:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
In file included from /usr/src/linux-3.17.7-gentoo/include/linux/kernel.h:13:0,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/percpu.h:44,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/preempt.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/preempt.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/spinlock.h:50,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/seqlock.h:35,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/time.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/stat.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/module.h:10,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.c:27:
/usr/src/linux-3.17.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.c: In function ‘InodeOpLookup’:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.c:138:32: error: incompatible types when assigning to type ‘kgid_t’ from type ‘int’
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.c: In function ‘InodeOpReadlink’:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.c:180:4: error: implicit declaration of function ‘vfs_readlink’ [-Werror=implicit-function-declaration]
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/control.o
cc1: some warnings being treated as errors
/usr/src/linux-3.17.7-gentoo/scripts/Makefile.build:257: recipe for target '/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.o' failed
make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.o] Error 1
make[3]: *** Waiting for unfinished jobs....
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/module.o
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/vmblockInt.h:41:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/file.c:32:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
In file included from /usr/src/linux-3.17.7-gentoo/include/linux/kernel.h:13:0,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/percpu.h:44,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/preempt.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/preempt.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/spinlock.h:50,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/seqlock.h:35,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/time.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/stat.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/module.h:10,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/file.c:27:
/usr/src/linux-3.17.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/vmblockInt.h:41:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/super.c:30:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
In file included from /usr/src/linux-3.17.7-gentoo/include/linux/kernel.h:13:0,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/percpu.h:44,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/preempt.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/preempt.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/spinlock.h:50,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/wait.h:8,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/fs.h:6,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/super.c:27:
/usr/src/linux-3.17.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/vmblockInt.h:41:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/module.c:32:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
In file included from /usr/src/linux-3.17.7-gentoo/include/linux/kernel.h:13:0,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/percpu.h:44,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/preempt.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/preempt.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/spinlock.h:50,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/seqlock.h:35,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/time.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/stat.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/module.h:10,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/module.c:28:
/usr/src/linux-3.17.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/vmblockInt.h:41:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/control.c:34:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
In file included from /usr/src/linux-3.17.7-gentoo/include/linux/kernel.h:13:0,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/percpu.h:44,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/preempt.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/preempt.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/spinlock.h:50,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/seqlock.h:35,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/time.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/stat.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/module.h:10,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/control.c:27:
/usr/src/linux-3.17.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/control.c: In function ‘ExecuteBlockOp’:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/control.c:282:9: warning: assignment from incompatible pointer type [enabled by default]
/usr/src/linux-3.17.7-gentoo/Makefile:1373: recipe for target '_module_/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only' failed
make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only] Error 2
Makefile:181: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-3.17.7-gentoo'
Makefile:130: recipe for target 'vmblock.ko' failed
make: *** [vmblock.ko] Error 2
 * ERROR: app-emulation/vmware-modules-279.3::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-emulation/vmware-modules-279.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/vmware-modules-279.3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-279.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-279.3/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only'
 * S: '/var/tmp/portage/app-emulation/vmware-modules-279.3/work'

>>> Failed to emerge app-emulation/vmware-modules-279.3, Log file:

>>>  '/var/tmp/portage/app-emulation/vmware-modules-279.3/temp/build.log'

 * Messages for package app-emulation/vmware-modules-279.3:

 * ERROR: app-emulation/vmware-modules-279.3::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-emulation/vmware-modules-279.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/vmware-modules-279.3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-279.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-279.3/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only'
 * S: '/var/tmp/portage/app-emulation/vmware-modules-279.3/work'


Here's emerge --info:
Code:
# emerge --info =app-emulation/vmware-modules-279.3
Portage 2.2.14 (python 3.3.5-final-0, default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.19-r1, 3.17.7-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.17.7-gentoo-x86_64-Intel-R-_Core-TM-_i7-3630QM_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:     8062560 total,   3761288 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of tree: Fri, 23 Jan 2015 19:45:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.9-r1, 3.3.5-r1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.12.6, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.7.3-r1, 4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.4
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo java
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://mirror.iawnet.sandia.gov/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/java"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gnome gpm gtk iconv ipv6 jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl nvidia ogg opengl openmp pam pango pcmcia pcre pdf png policykit ppds qt3support readline sdl session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xulrunner xv xvid xvmc zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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="kexi words flow plan sheets stage tables krita karbon braindump author" 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 ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia intel modesetting" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


The build log:
Code:
# cat /var/tmp/portage/app-emulation/vmware-modules-279.3/temp/build.log
 * Package:    app-emulation/vmware-modules-279.3
 * Repository: gentoo
 * Maintainer: vmware@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU vmci vsock
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/3.17.7-gentoo/build
 * Found sources for kernel version:
 *     3.17.7-gentoo
 * Checking for suitable kernel configuration options...                                                                                      [ ok ]
 * Checking for suitable kernel configuration options...                                                                                      [ ok ]
>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/app-emulation/vmware-modules-279.3/work
>>> Preparing source in /var/tmp/portage/app-emulation/vmware-modules-279.3/work ...
 * Applying 279-makefile-kernel-dir.patch ...                                                                                                 [ ok ]
 * Applying 279-makefile-include.patch ...                                                                                                    [ ok ]
 * Applying 279-netdevice.patch ...                                                                                                           [ ok ]
 * Applying 279-apic.patch ...                                                                                                                [ ok ]
 * Applying 279-putname.patch ...                                                                                                             [ ok ]
 * Applying 279-vmblock.patch ...                                                                                                             [ ok ]
 * Applying 279-filldir.patch ...                                                                                                             [ ok ]
 * Applying 279-vfsfollowlink.patch ...                                                                                                       [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/vmware-modules-279.3/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-emulation/vmware-modules-279.3/work ...
 * Preparing vmblock module
make -j5 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' auto-build KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/3.17.7-gentoo/build
Using 2.6.x kernel build system.
make -C /lib/modules/3.17.7-gentoo/build SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-3.17.7-gentoo'
make[1]: Entering directory `/lib/modules/3.17.7-gentoo/build'
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/filesystem.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/stubs.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/file.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/block.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.o
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/stubs.c:34:0:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
In file included from /usr/src/linux-3.17.7-gentoo/include/linux/kernel.h:13:0,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/percpu.h:44,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/preempt.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/preempt.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/spinlock.h:50,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/wait.h:8,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/completion.h:11,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/os.h:31,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/stubs.c:33:
/usr/src/linux-3.17.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/super.o
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/vmblockInt.h:41:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/block.c:30:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
In file included from /usr/src/linux-3.17.7-gentoo/include/linux/kernel.h:13:0,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/percpu.h:44,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/preempt.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/preempt.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/spinlock.h:50,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/wait.h:8,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/completion.h:11,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/os.h:31,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/block.c:26:
/usr/src/linux-3.17.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/vmblockInt.h:41:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/filesystem.c:36:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
In file included from /usr/src/linux-3.17.7-gentoo/include/linux/kernel.h:13:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/filesystem.c:27:
/usr/src/linux-3.17.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/vmblockInt.h:41:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.c:32:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
In file included from /usr/src/linux-3.17.7-gentoo/include/linux/kernel.h:13:0,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/percpu.h:44,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/preempt.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/preempt.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/spinlock.h:50,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/seqlock.h:35,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/time.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/stat.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/module.h:10,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.c:27:
/usr/src/linux-3.17.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.c: In function ‘InodeOpLookup’:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.c:138:32: error: incompatible types when assigning to type ‘kgid_t’ from type ‘int’
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.c: In function ‘InodeOpReadlink’:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.c:180:4: error: implicit declaration of function ‘vfs_readlink’ [-Werror=implicit-function-declaration]
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/control.o
cc1: some warnings being treated as errors
/usr/src/linux-3.17.7-gentoo/scripts/Makefile.build:257: recipe for target '/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.o' failed
make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.o] Error 1
make[3]: *** Waiting for unfinished jobs....
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/module.o
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/vmblockInt.h:41:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/file.c:32:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
In file included from /usr/src/linux-3.17.7-gentoo/include/linux/kernel.h:13:0,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/percpu.h:44,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/preempt.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/preempt.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/spinlock.h:50,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/seqlock.h:35,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/time.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/stat.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/module.h:10,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/file.c:27:
/usr/src/linux-3.17.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/vmblockInt.h:41:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/super.c:30:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
In file included from /usr/src/linux-3.17.7-gentoo/include/linux/kernel.h:13:0,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/percpu.h:44,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/preempt.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/preempt.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/spinlock.h:50,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/wait.h:8,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/fs.h:6,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/super.c:27:
/usr/src/linux-3.17.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/vmblockInt.h:41:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/module.c:32:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
In file included from /usr/src/linux-3.17.7-gentoo/include/linux/kernel.h:13:0,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/percpu.h:44,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/preempt.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/preempt.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/spinlock.h:50,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/seqlock.h:35,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/time.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/stat.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/module.h:10,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/module.c:28:
/usr/src/linux-3.17.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/vmblockInt.h:41:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/control.c:34:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
In file included from /usr/src/linux-3.17.7-gentoo/include/linux/kernel.h:13:0,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/percpu.h:44,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/preempt.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/preempt.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/spinlock.h:50,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/seqlock.h:35,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/time.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/stat.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/module.h:10,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/control.c:27:
/usr/src/linux-3.17.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/control.c: In function ‘ExecuteBlockOp’:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/control.c:282:9: warning: assignment from incompatible pointer type [enabled by default]
/usr/src/linux-3.17.7-gentoo/Makefile:1373: recipe for target '_module_/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only' failed
make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only] Error 2
Makefile:181: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-3.17.7-gentoo'
Makefile:130: recipe for target 'vmblock.ko' failed
make: *** [vmblock.ko] Error 2
 * ERROR: app-emulation/vmware-modules-279.3::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-emulation/vmware-modules-279.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/vmware-modules-279.3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-279.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-279.3/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only'
 * S: '/var/tmp/portage/app-emulation/vmware-modules-279.3/work'



I came across a couple work arounds, but they weren't clear as to what architecture they would definitely work for.

Let me know if there's anything else you need. Thanks


Last edited by drtask on Sat Jan 24, 2015 9:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
kavra
n00b
n00b


Joined: 22 Feb 2012
Posts: 29

PostPosted: Sat Jan 24, 2015 9:15 am    Post subject: Reply with quote

layman -a vmware ...and try again ;)
Back to top
View user's profile Send private message
cst
Apprentice
Apprentice


Joined: 24 Feb 2008
Posts: 203
Location: /proc

PostPosted: Sat Jan 24, 2015 3:45 pm    Post subject: Reply with quote

I have same problem, even with the ebuild from vmware overlay

Code:
 * Preparing vmmon module
make -j5 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' auto-build KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/3.17.7-gentoo/build
Using 2.6.x kernel build system.
make -C /lib/modules/3.17.7-gentoo/build SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-3.17.7-gentoo'
make[1]: Entering directory `/lib/modules/3.17.7-gentoo/build'
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3-r1/work/vmmon-only/linux/driverLog.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3-r1/work/vmmon-only/linux/driver.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3-r1/work/vmmon-only/linux/hostif.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3-r1/work/vmmon-only/common/apic.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3-r1/work/vmmon-only/common/memtrack.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3-r1/work/vmmon-only/common/vmx86.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3-r1/work/vmmon-only/common/cpuid.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3-r1/work/vmmon-only/common/task.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3-r1/work/vmmon-only/common/hashFunc.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3-r1/work/vmmon-only/common/comport.o
/var/tmp/portage/app-emulation/vmware-modules-279.3-r1/work/vmmon-only/linux/driver.c: In function 'LinuxDriverSyncCallOnEachCPU':
/var/tmp/portage/app-emulation/vmware-modules-279.3-r1/work/vmmon-only/linux/driver.c:1252:4: error: too many arguments to function 'smp_call_function'
    compat_smp_call_function(LinuxDriverSyncCallHook, &args, 0);
    ^
In file included from /usr/src/linux-3.17.7-gentoo/include/linux/percpu.h:6:0,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/percpu-rwsem.h:6,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/fs.h:30,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/highmem.h:4,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3-r1/work/vmmon-only/linux/driver.c:25:
/usr/src/linux-3.17.7-gentoo/include/linux/smp.h:95:5: note: declared here
 int smp_call_function(smp_call_func_t func, void *info, int wait);
     ^
/var/tmp/portage/app-emulation/vmware-modules-279.3-r1/work/vmmon-only/linux/driver.c: At top level:
/var/tmp/portage/app-emulation/vmware-modules-279.3-r1/work/vmmon-only/linux/driver.c:1342:1: warning: always_inline function might not be inlinable [-Wattributes]
 LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min
 ^
/usr/src/linux-3.17.7-gentoo/scripts/Makefile.build:257: recipe for target '/var/tmp/portage/app-emulation/vmware-modules-279.3-r1/work/vmmon-only/linux/driver.o' failed
make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-279.3-r1/work/vmmon-only/linux/driver.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/var/tmp/portage/app-emulation/vmware-modules-279.3-r1/work/vmmon-only/linux/hostif.c: In function 'HostIF_CallOnEachCPU':
/var/tmp/portage/app-emulation/vmware-modules-279.3-r1/work/vmmon-only/linux/hostif.c:2851:4: error: too many arguments to function 'smp_call_function'
    (void)compat_smp_call_function(*func, data, 1);
    ^
In file included from /usr/src/linux-3.17.7-gentoo/include/linux/topology.h:33:0,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/gfp.h:8,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/mm.h:9,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3-r1/work/vmmon-only/./include/compat_page.h:23,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3-r1/work/vmmon-only/linux/hostif.c:32:
/usr/src/linux-3.17.7-gentoo/include/linux/smp.h:95:5: note: declared here
 int smp_call_function(smp_call_func_t func, void *info, int wait);
     ^
/usr/src/linux-3.17.7-gentoo/scripts/Makefile.build:257: recipe for target '/var/tmp/portage/app-emulation/vmware-modules-279.3-r1/work/vmmon-only/linux/hostif.o' failed
make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-279.3-r1/work/vmmon-only/linux/hostif.o] Error 1
/usr/src/linux-3.17.7-gentoo/Makefile:1373: recipe for target '_module_/var/tmp/portage/app-emulation/vmware-modules-279.3-r1/work/vmmon-only' failed
make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-279.3-r1/work/vmmon-only] Error 2
Makefile:181: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-3.17.7-gentoo'
Makefile:130: recipe for target 'vmmon.ko' failed
make: *** [vmmon.ko] Error 2
 * ERROR: app-emulation/vmware-modules-279.3-r1::vmware failed (compile phase):

_________________
i7 3930K @ 4GHz
MSI X79A-GD45 (8D)
32GB 1600 MHz DDR3 Samsung
Samsung 840 PRO, 2xSamsung HD502HJ in RAID 1
MSI GTX 980Ti
latest gentoo-sources on x86_64 Fluxbox (amd64)

best render farm: www.GarageFarm.NET
Back to top
View user's profile Send private message
drtask
n00b
n00b


Joined: 15 Feb 2007
Posts: 9

PostPosted: Sat Jan 24, 2015 8:44 pm    Post subject: Reply with quote

kavra, layman -a vmware was successful, but the error persists:

Code:
# emerge --ask app-emulation/vmware-modules

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

Calculating dependencies                                                           ... done!
[ebuild  N    ~] app-emulation/vmware-modules-279.3  USE="vmci vsock -pax_kernel"

Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-emulation/vmware-modules-279.3::gentoo
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/3.17.7-gentoo/build
 * Found sources for kernel version:
 *     3.17.7-gentoo
 * Checking for suitable kernel configuration options...                      [ ok ]
 * Checking for suitable kernel configuration options...                      [ ok ]
>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/app-emulation/vmware-modules-279.3/work
>>> Preparing source in /var/tmp/portage/app-emulation/vmware-modules-279.3/work ...
 * Applying 279-makefile-kernel-dir.patch ...                                 [ ok ]
 * Applying 279-makefile-include.patch ...                                    [ ok ]
 * Applying 279-netdevice.patch ...                                           [ ok ]
 * Applying 279-apic.patch ...                                                [ ok ]
 * Applying 279-putname.patch ...                                             [ ok ]
 * Applying 279-vmblock.patch ...                                             [ ok ]
 * Applying 279-filldir.patch ...                                             [ ok ]
 * Applying 279-vfsfollowlink.patch ...                                       [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/vmware-modules-279.3/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-emulation/vmware-modules-279.3/work ...
 * Preparing vmblock module
make -j5 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' auto-build KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/3.17.7-gentoo/build
Using 2.6.x kernel build system.
make -C /lib/modules/3.17.7-gentoo/build SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-3.17.7-gentoo'
make[1]: Entering directory `/lib/modules/3.17.7-gentoo/build'
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/filesystem.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/stubs.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/file.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/block.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.o
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/stubs.c:34:0:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
In file included from /usr/src/linux-3.17.7-gentoo/include/linux/kernel.h:13:0,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/percpu.h:44,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/preempt.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/preempt.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/spinlock.h:50,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/wait.h:8,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/completion.h:11,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/os.h:31,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/stubs.c:33:
/usr/src/linux-3.17.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/super.o
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/vmblockInt.h:41:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/block.c:30:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
In file included from /usr/src/linux-3.17.7-gentoo/include/linux/kernel.h:13:0,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/percpu.h:44,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/preempt.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/preempt.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/spinlock.h:50,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/wait.h:8,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/completion.h:11,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/os.h:31,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/block.c:26:
/usr/src/linux-3.17.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/vmblockInt.h:41:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/filesystem.c:36:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
In file included from /usr/src/linux-3.17.7-gentoo/include/linux/kernel.h:13:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/filesystem.c:27:
/usr/src/linux-3.17.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/vmblockInt.h:41:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.c:32:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
In file included from /usr/src/linux-3.17.7-gentoo/include/linux/kernel.h:13:0,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/percpu.h:44,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/preempt.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/preempt.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/spinlock.h:50,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/seqlock.h:35,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/time.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/stat.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/module.h:10,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.c:27:
/usr/src/linux-3.17.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/control.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/module.o
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.c: In function ‘InodeOpLookup’:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.c:138:32: error: incompatible types when assigning to type ‘kgid_t’ from type ‘int’
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.c: In function ‘InodeOpReadlink’:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.c:180:4: error: implicit declaration of function ‘vfs_readlink’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
/usr/src/linux-3.17.7-gentoo/scripts/Makefile.build:257: recipe for target '/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.o' failed
make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/vmblockInt.h:41:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/file.c:32:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
In file included from /usr/src/linux-3.17.7-gentoo/include/linux/kernel.h:13:0,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/percpu.h:44,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/preempt.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/preempt.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/spinlock.h:50,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/seqlock.h:35,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/time.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/stat.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/module.h:10,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/file.c:27:
/usr/src/linux-3.17.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/vmblockInt.h:41:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/super.c:30:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
In file included from /usr/src/linux-3.17.7-gentoo/include/linux/kernel.h:13:0,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/percpu.h:44,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/preempt.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/preempt.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/spinlock.h:50,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/wait.h:8,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/fs.h:6,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/super.c:27:
/usr/src/linux-3.17.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/vmblockInt.h:41:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/control.c:34:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
In file included from /usr/src/linux-3.17.7-gentoo/include/linux/kernel.h:13:0,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/percpu.h:44,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/preempt.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/preempt.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/spinlock.h:50,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/seqlock.h:35,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/time.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/stat.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/module.h:10,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/control.c:27:
/usr/src/linux-3.17.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
In file included from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/vmblockInt.h:41:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/module.c:32:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/./shared/vm_assert.h:259:0: warning: "DEPRECATED" redefined [enabled by default]
In file included from /usr/src/linux-3.17.7-gentoo/include/linux/kernel.h:13:0,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/percpu.h:44,
                 from /usr/src/linux-3.17.7-gentoo/arch/x86/include/asm/preempt.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/preempt.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/spinlock.h:50,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/seqlock.h:35,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/time.h:5,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/stat.h:18,
                 from /usr/src/linux-3.17.7-gentoo/include/linux/module.h:10,
                 from /var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/module.c:28:
/usr/src/linux-3.17.7-gentoo/include/linux/printk.h:106:0: note: this is the location of the previous definition
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/control.c: In function ‘ExecuteBlockOp’:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/control.c:282:9: warning: assignment from incompatible pointer type [enabled by default]
/usr/src/linux-3.17.7-gentoo/Makefile:1373: recipe for target '_module_/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only' failed
make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only] Error 2
Makefile:181: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-3.17.7-gentoo'
Makefile:130: recipe for target 'vmblock.ko' failed
make: *** [vmblock.ko] Error 2
 * ERROR: app-emulation/vmware-modules-279.3::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-emulation/vmware-modules-279.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/vmware-modules-279.3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-279.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-279.3/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only'
 * S: '/var/tmp/portage/app-emulation/vmware-modules-279.3/work'

>>> Failed to emerge app-emulation/vmware-modules-279.3, Log file:

>>>  '/var/tmp/portage/app-emulation/vmware-modules-279.3/temp/build.log'

 * Messages for package app-emulation/vmware-modules-279.3:

 * ERROR: app-emulation/vmware-modules-279.3::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-emulation/vmware-modules-279.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/vmware-modules-279.3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-279.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-279.3/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only'
 * S: '/var/tmp/portage/app-emulation/vmware-modules-279.3/work'


I can see from the error messages these are the initial problem functions:
Code:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.c: In function ‘InodeOpLookup’:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.c:138:32: error: incompatible types when assigning to type ‘kgid_t’ from type ‘int’
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.c: In function ‘InodeOpReadlink’:
/var/tmp/portage/app-emulation/vmware-modules-279.3/work/vmblock-only/linux/inode.c:180:4: error: implicit declaration of function ‘vfs_readlink’


After reading through bug reports, it seems this issue was present in version 279.2 and various ones prior to that as well, but there hasn't been a definite patch released for 279.3. I came across this: https://forums.gentoo.org/viewtopic-t-981672-view-next.html?sid=d1bbeaccc0a01ffeb9de939b3cc2d3a2 , which seems promising, but it's a bit more hack-ish than I would prefer.

After following through the bug reports listed in that post, you can find https://bugs.gentoo.org/show_bug.cgi?id=462666 , which has a status of unconfirmed. Comment 41 does address cst's issue, however. Is there away to remedy this without having to hack up the ebuild or Makefile?
Back to top
View user's profile Send private message
drtask
n00b
n00b


Joined: 15 Feb 2007
Posts: 9

PostPosted: Sat Jan 24, 2015 9:04 pm    Post subject: Reply with quote

Resolved. After reading this https://forums.gentoo.org/viewtopic-p-7659468.html?sid=c6b9432c8f79b3e74feae8c7921af4dc , layman was not forcing portage to grab app-emulation/vmware-modules-279.3-r1 and 279.3 is where the error resides. After adding

Code:
=app-emulation/vmware-modules-279.3-r1 ~amd64


to package.keywords, 279.3-r1 emerged without issue. Thank you for the point in the right direction kavra.
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