Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gen 4.12.12 & vmware-modules toub. while compile [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Thunderfly
n00b
n00b


Joined: 11 Jul 2017
Posts: 25

PostPosted: Mon Nov 06, 2017 4:11 pm    Post subject: Gen 4.12.12 & vmware-modules toub. while compile [SOLV Reply with quote

And again.

When I try to install vmplayer modules I get:


Code:
GentooX ~ # emerge vmware-modules

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

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-emulation/vmware-modules-308.5.7::vmware
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/4.12.12-gentoo/build
 * Found sources for kernel version:
 *     4.12.12-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-308.5.7/work
>>> Preparing source in /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work ...
 * Applying 308-makefile-kernel-dir.patch ...                                                                                                                                                                         [ ok ]
 * Applying 308-makefile-include.patch ...                                                                                                                                                                            [ ok ]
 * Applying 308-netdevice.patch ...                                                                                                                                                                                   [ ok ]
 * Applying 308-apic.patch ...                                                                                                                                                                                        [ ok ]
 * Applying 308-3.10-00-dentry.patch ...                                                                                                                                                                              [ ok ]
 * Applying 308-3.10-01-inode.patch ...                                                                                                                                                                               [ ok ]
 * Applying 308-3.10-02-control.patch ...                                                                                                                                                                             [ ok ]
 * Applying 308-3.10-03-inline.patch ...                                                                                                                                                                              [ ok ]
 * Applying 308-3.11-00-readdir.patch ...                                                                                                                                                                             [ ok ]
 * Applying 308-3.11-01-filldir.patch ...                                                                                                                                                                             [ ok ]
 * Applying 308-3.15-00-vsock.patch ...                                                                                                                                                                               [ ok ]
 * Applying 308-3.18-00-version-redefined.patch ...                                                                                                                                                                   [ ok ]
 * Applying 308-3.19-00-compat-namei.patch ...                                                                                                                                                                        [ ok ]
 * Applying 308-3.19-02-vmblock-path.patch ...                                                                                                                                                                        [ ok ]
 * Applying 308-3.19-04-iovec.patch ...                                                                                                                                                                               [ ok ]
 * Applying 308-3.19-05-vmci_qpair.patch ...                                                                                                                                                                          [ ok ]
 * Applying 308-3.19-06-vsock.patch ...                                                                                                                                                                               [ ok ]
 * Applying 308-3.19-07-vsock.patch ...                                                                                                                                                                               [ ok ]
 * Applying 308-4.01-00-vsock.patch ...                                                                                                                                                                               [ ok ]
 * Applying 308-4.02-00-nd_set_link.patch ...                                                                                                                                                                         [ ok ]
 * Applying 308-4.02-01-sk_alloc.patch ...                                                                                                                                                                            [ ok ]
 * Applying 308-4.03-00-vmci-misc_deregister.patch ...                                                                                                                                                                [ ok ]
 * Applying 308-4.05-00-vmblock-follow_link.patch ...                                                                                                                                                                 [ ok ]
 * Applying 308-4.06-00-user-pages.patch ...                                                                                                                                                                          [ ok ]
 * Applying 308-4.07-01-readlink_copy.patch ...                                                                                                                                                                       [ ok ]
 * Applying 308-4.08-00-nr_anon_mapped.patch ...                                                                                                                                                                      [ ok ]
 * Applying 308-4.09-00-user-pages.patch ...                                                                                                                                                                          [ ok ]
 * Applying 308-4.10-00-generic_readlink.patch ...                                                                                                                                                                    [ ok ]
 * Applying 308-4.11-00-missing-headers.patch ...                                                                                                                                                                     [ ok ]
 * Applying 308-4.11-01-vsock-lockdep.patch ...                                                                                                                                                                       [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work ...
 * Preparing vmblock module
make -j19 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/4.12.12-gentoo/build
Using kernel build system.
make -C /lib/modules/4.12.12-gentoo/build SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-4.12.12-gentoo'
make[2]: Entering directory '/usr/src/linux-4.12.12-gentoo'
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmblock-only/linux/filesystem.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmblock-only/linux/dentry.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmblock-only/linux/stubs.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmblock-only/linux/file.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmblock-only/linux/block.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmblock-only/linux/inode.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmblock-only/linux/super.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmblock-only/linux/module.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmblock-only/linux/control.o
/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmblock-only/linux/inode.c: In function ‘InodeOpLookup’:
/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmblock-only/linux/inode.c:159:55: error: ‘CURRENT_TIME’ undeclared (first use in this function)
    inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME;
                                                       ^
/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmblock-only/linux/inode.c:159:55: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [/usr/src/linux-4.12.12-gentoo/scripts/Makefile.build:302: /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmblock-only/linux/inode.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/usr/src/linux-4.12.12-gentoo/Makefile:1515: _module_/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmblock-only] Error 2
make[2]: Leaving directory '/usr/src/linux-4.12.12-gentoo'
make[1]: *** [Makefile:152: sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-4.12.12-gentoo'
make: *** [Makefile:120: vmblock.ko] Error 2
 * ERROR: app-emulation/vmware-modules-308.5.7::vmware failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-emulation/vmware-modules-308.5.7::vmware'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/vmware-modules-308.5.7::vmware'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmblock-only'
 * S: '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work'

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

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

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

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



I try to install another version

Code:
GentooX ~ # eix vmware-modules
[I] app-emulation/vmware-modules
     Verfügbare Versionen:   ~271.3-r1 ~279.6 (~)304.2 ~304.3-r1 ~304.4-r1[1] ~308.1.0 (~)308.5.7[1] {pax_kernel +vmci +vsock KERNEL="linux"}
     Installierte Versionen: 308.5.7[1](15:04:49 18.07.2017)(vmci vsock -pax_kernel KERNEL="linux")
     Startseite:             http://www.vmware.com/
     Beschreibung:           VMware kernel modules

[1] "vmware" /var/lib/layman/vmware
GentooX ~ #



for that I mask app-emulation/vmware-modules-308.5.7 in packages.mask but without effects. Still trying to install 308.5.7 instead 308.1.0 with emerge vmware-modules.

how can I install vmware-modules-308.1.0 ??

THX !


Last edited by Thunderfly on Wed Nov 08, 2017 7:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30917
Location: here

PostPosted: Mon Nov 06, 2017 5:49 pm    Post subject: Reply with quote

Try patch proposed in this bug
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon Nov 06, 2017 6:10 pm    Post subject: Reply with quote

Moved from Portage & Programming to Unsupported Software. It's about software in overlay so it fits better here.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Thunderfly
n00b
n00b


Joined: 11 Jul 2017
Posts: 25

PostPosted: Mon Nov 06, 2017 6:14 pm    Post subject: Reply with quote

thx for your answer.

A stupid question I guess but I dont know how to use that patch.

Where to insert and how to execute and so on?

thx !
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30917
Location: here

PostPosted: Mon Nov 06, 2017 7:04 pm    Post subject: Reply with quote

Thunderfly wrote:
A stupid question I guess but I dont know how to use that patch.

Where to insert and how to execute and so on?!

For apply user patch see this howto.
Briefly:
Code:
# mkdir -p /etc/portage/patches/app-emulation/vmware-modules-308.5.7
# cd /etc/portage/patches/app-emulation/vmware-modules-308.5.7
# wget "https://623652.bugs.gentoo.org/attachment.cgi?id=480110" -O vmware-modules-vmblock.patch
# emerge -1 vmware-modules

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Thunderfly
n00b
n00b


Joined: 11 Jul 2017
Posts: 25

PostPosted: Tue Nov 07, 2017 10:53 am    Post subject: Reply with quote

thx !!

sadly it dont bring the solution.
Code:
GentooX /etc/portage/patches/app-emulation/vmware-modules-308.5.7 # emerge -1 vmware-modules                                     

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

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-emulation/vmware-modules-308.5.7::vmware
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/4.12.12-gentoo/build
 * Found sources for kernel version:
 *     4.12.12-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-308.5.7/work
>>> Preparing source in /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work ...
 * Applying 308-makefile-kernel-dir.patch ...                                                                                                                                                                         [ ok ]
 * Applying 308-makefile-include.patch ...                                                                                                                                                                            [ ok ]
 * Applying 308-netdevice.patch ...                                                                                                                                                                                   [ ok ]
 * Applying 308-apic.patch ...                                                                                                                                                                                        [ ok ]
 * Applying 308-3.10-00-dentry.patch ...                                                                                                                                                                              [ ok ]
 * Applying 308-3.10-01-inode.patch ...                                                                                                                                                                               [ ok ]
 * Applying 308-3.10-02-control.patch ...                                                                                                                                                                             [ ok ]
 * Applying 308-3.10-03-inline.patch ...                                                                                                                                                                              [ ok ]
 * Applying 308-3.11-00-readdir.patch ...                                                                                                                                                                             [ ok ]
 * Applying 308-3.11-01-filldir.patch ...                                                                                                                                                                             [ ok ]
 * Applying 308-3.15-00-vsock.patch ...                                                                                                                                                                               [ ok ]
 * Applying 308-3.18-00-version-redefined.patch ...                                                                                                                                                                   [ ok ]
 * Applying 308-3.19-00-compat-namei.patch ...                                                                                                                                                                        [ ok ]
 * Applying 308-3.19-02-vmblock-path.patch ...                                                                                                                                                                        [ ok ]
 * Applying 308-3.19-04-iovec.patch ...                                                                                                                                                                               [ ok ]
 * Applying 308-3.19-05-vmci_qpair.patch ...                                                                                                                                                                          [ ok ]
 * Applying 308-3.19-06-vsock.patch ...                                                                                                                                                                               [ ok ]
 * Applying 308-3.19-07-vsock.patch ...                                                                                                                                                                               [ ok ]
 * Applying 308-4.01-00-vsock.patch ...                                                                                                                                                                               [ ok ]
 * Applying 308-4.02-00-nd_set_link.patch ...                                                                                                                                                                         [ ok ]
 * Applying 308-4.02-01-sk_alloc.patch ...                                                                                                                                                                            [ ok ]
 * Applying 308-4.03-00-vmci-misc_deregister.patch ...                                                                                                                                                                [ ok ]
 * Applying 308-4.05-00-vmblock-follow_link.patch ...                                                                                                                                                                 [ ok ]
 * Applying 308-4.06-00-user-pages.patch ...                                                                                                                                                                          [ ok ]
 * Applying 308-4.07-01-readlink_copy.patch ...                                                                                                                                                                       [ ok ]
 * Applying 308-4.08-00-nr_anon_mapped.patch ...                                                                                                                                                                      [ ok ]
 * Applying 308-4.09-00-user-pages.patch ...                                                                                                                                                                          [ ok ]
 * Applying 308-4.10-00-generic_readlink.patch ...                                                                                                                                                                    [ ok ]
 * Applying 308-4.11-00-missing-headers.patch ...                                                                                                                                                                     [ ok ]
 * Applying 308-4.11-01-vsock-lockdep.patch ...                                                                                                                                                                       [ ok ]
 * Applying user patches from /etc/portage/patches//app-emulation/vmware-modules-308.5.7 ...
 *   vmware-modules-vmblock.patch ...                                                                                                                                                                                 [ ok ]
 * Done with patching
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work ...
 * Preparing vmblock module
make -j19 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/4.12.12-gentoo/build
Using kernel build system.
make -C /lib/modules/4.12.12-gentoo/build SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-4.12.12-gentoo'
make[2]: Entering directory '/usr/src/linux-4.12.12-gentoo'
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmblock-only/linux/filesystem.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmblock-only/linux/dentry.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmblock-only/linux/stubs.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmblock-only/linux/file.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmblock-only/linux/block.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmblock-only/linux/inode.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmblock-only/linux/super.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmblock-only/linux/module.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmblock-only/linux/control.o
  LD [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmblock-only/vmblock.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmblock-only/vmblock.mod.o
  LD [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmblock-only/vmblock.ko
make[2]: Leaving directory '/usr/src/linux-4.12.12-gentoo'
make[1]: Leaving directory '/usr/src/linux-4.12.12-gentoo'
make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmblock-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmblock-only'
cp -f vmblock.ko ./../vmblock.o
 * Preparing vmmon module
make -j19 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/4.12.12-gentoo/build
Using kernel build system.
make -C /lib/modules/4.12.12-gentoo/build SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-4.12.12-gentoo'
make[2]: Entering directory '/usr/src/linux-4.12.12-gentoo'
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/linux/driver.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/linux/hostif.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/linux/driverLog.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/common/memtrack.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/common/apic.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/common/hashFunc.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/common/vmx86.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/common/cpuid.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/common/task.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/common/comport.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/common/phystrack.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/vmcore/moduleloop.o
In file included from /usr/src/linux-4.12.12-gentoo/arch/x86/include/asm/msr.h:4:0,
                 from /usr/src/linux-4.12.12-gentoo/arch/x86/include/asm/processor.h:20,
                 from /usr/src/linux-4.12.12-gentoo/arch/x86/include/asm/cpufeature.h:4,
                 from /usr/src/linux-4.12.12-gentoo/arch/x86/include/asm/thread_info.h:52,
                 from /usr/src/linux-4.12.12-gentoo/include/linux/thread_info.h:37,
                 from /usr/src/linux-4.12.12-gentoo/arch/x86/include/asm/preempt.h:6,
                 from /usr/src/linux-4.12.12-gentoo/include/linux/preempt.h:80,
                 from /usr/src/linux-4.12.12-gentoo/include/linux/spinlock.h:50,
                 from /usr/src/linux-4.12.12-gentoo/arch/x86/include/asm/mmu.h:4,
                 from /usr/src/linux-4.12.12-gentoo/arch/x86/include/asm/desc.h:6,
                 from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/common/task.c:67:
/usr/src/linux-4.12.12-gentoo/arch/x86/include/asm/msr-index.h:561:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
 #define MSR_MISC_FEATURES_ENABLES 0x00000140
 ^
In file included from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/common/vmx86.h:32:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/common/vmx86.c:43:
/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/./include/x86msr.h:109:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
 #define MSR_MISC_FEATURES_ENABLES            0x140
 ^
In file included from /usr/src/linux-4.12.12-gentoo/arch/x86/include/asm/msr.h:4:0,
                 from /usr/src/linux-4.12.12-gentoo/arch/x86/include/asm/processor.h:20,
                 from /usr/src/linux-4.12.12-gentoo/arch/x86/include/asm/cpufeature.h:4,
                 from /usr/src/linux-4.12.12-gentoo/arch/x86/include/asm/thread_info.h:52,
                 from /usr/src/linux-4.12.12-gentoo/include/linux/thread_info.h:37,
                 from /usr/src/linux-4.12.12-gentoo/arch/x86/include/asm/preempt.h:6,
                 from /usr/src/linux-4.12.12-gentoo/include/linux/preempt.h:80,
                 from /usr/src/linux-4.12.12-gentoo/include/linux/spinlock.h:50,
                 from /usr/src/linux-4.12.12-gentoo/include/linux/rcupdate.h:38,
                 from /usr/src/linux-4.12.12-gentoo/include/linux/rculist.h:10,
                 from /usr/src/linux-4.12.12-gentoo/include/linux/pid.h:4,
                 from /usr/src/linux-4.12.12-gentoo/include/linux/sched.h:13,
                 from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/common/vmx86.c:31:
/usr/src/linux-4.12.12-gentoo/arch/x86/include/asm/msr-index.h:561:0: note: this is the location of the previous definition
 #define MSR_MISC_FEATURES_ENABLES 0x00000140
 ^
In file included from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/common/vmx86.h:32:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/common/task.c:51:
/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/./include/x86msr.h:109:0: note: this is the location of the previous definition
 #define MSR_MISC_FEATURES_ENABLES            0x140
 ^
In file included from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/./common/vmx86.h:32:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/vmcore/moduleloop.c:35:
/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/./include/x86msr.h:109:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
 #define MSR_MISC_FEATURES_ENABLES            0x140
 ^
In file included from /usr/src/linux-4.12.12-gentoo/arch/x86/include/asm/msr.h:4:0,
                 from /usr/src/linux-4.12.12-gentoo/arch/x86/include/asm/processor.h:20,
                 from /usr/src/linux-4.12.12-gentoo/arch/x86/include/asm/cpufeature.h:4,
                 from /usr/src/linux-4.12.12-gentoo/arch/x86/include/asm/thread_info.h:52,
                 from /usr/src/linux-4.12.12-gentoo/include/linux/thread_info.h:37,
                 from /usr/src/linux-4.12.12-gentoo/arch/x86/include/asm/preempt.h:6,
                 from /usr/src/linux-4.12.12-gentoo/include/linux/preempt.h:80,
                 from /usr/src/linux-4.12.12-gentoo/include/linux/spinlock.h:50,
                 from /usr/src/linux-4.12.12-gentoo/include/linux/rcupdate.h:38,
                 from /usr/src/linux-4.12.12-gentoo/include/linux/rculist.h:10,
                 from /usr/src/linux-4.12.12-gentoo/include/linux/pid.h:4,
                 from /usr/src/linux-4.12.12-gentoo/include/linux/sched.h:13,
                 from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/vmcore/moduleloop.c:31:
/usr/src/linux-4.12.12-gentoo/arch/x86/include/asm/msr-index.h:561:0: note: this is the location of the previous definition
 #define MSR_MISC_FEATURES_ENABLES 0x00000140
 ^
In file included from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/./common/vmx86.h:32:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/linux/driver.h:31,
                 from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/linux/driver.c:48:
/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/./include/x86msr.h:109:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
 #define MSR_MISC_FEATURES_ENABLES            0x140
 ^
In file included from /usr/src/linux-4.12.12-gentoo/arch/x86/include/asm/msr.h:4:0,
                 from /usr/src/linux-4.12.12-gentoo/arch/x86/include/asm/processor.h:20,
                 from /usr/src/linux-4.12.12-gentoo/arch/x86/include/asm/cpufeature.h:4,
                 from /usr/src/linux-4.12.12-gentoo/arch/x86/include/asm/thread_info.h:52,
                 from /usr/src/linux-4.12.12-gentoo/include/linux/thread_info.h:37,
                 from /usr/src/linux-4.12.12-gentoo/arch/x86/include/asm/preempt.h:6,
                 from /usr/src/linux-4.12.12-gentoo/include/linux/preempt.h:80,
                 from /usr/src/linux-4.12.12-gentoo/include/linux/spinlock.h:50,
                 from /usr/src/linux-4.12.12-gentoo/include/linux/wait.h:8,
                 from /usr/src/linux-4.12.12-gentoo/include/linux/fs.h:5,
                 from /usr/src/linux-4.12.12-gentoo/include/linux/highmem.h:4,
                 from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/linux/driver.c:25:
/usr/src/linux-4.12.12-gentoo/arch/x86/include/asm/msr-index.h:561:0: note: this is the location of the previous definition
 #define MSR_MISC_FEATURES_ENABLES 0x00000140
 ^
In file included from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/./include/vm_asm.h:43:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/linux/hostif.c:84:
/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/./include/x86msr.h:109:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
 #define MSR_MISC_FEATURES_ENABLES            0x140
 ^
In file included from /usr/src/linux-4.12.12-gentoo/arch/x86/include/asm/msr.h:4:0,
                 from /usr/src/linux-4.12.12-gentoo/arch/x86/include/asm/processor.h:20,
                 from /usr/src/linux-4.12.12-gentoo/arch/x86/include/asm/cpufeature.h:4,
                 from /usr/src/linux-4.12.12-gentoo/arch/x86/include/asm/apic.h:7,
                 from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/linux/hostif.c:27:
/usr/src/linux-4.12.12-gentoo/arch/x86/include/asm/msr-index.h:561:0: note: this is the location of the previous definition
 #define MSR_MISC_FEATURES_ENABLES 0x00000140
 ^
In file included from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/linux/driver.c:1290:0:
/usr/src/linux-4.12.12-gentoo/include/linux/compiler-gcc.h:90:0: warning: "__deprecated" redefined
 #define __deprecated __attribute__((deprecated))
 ^
In file included from /usr/src/linux-4.12.12-gentoo/include/uapi/linux/stddef.h:1:0,
                 from /usr/src/linux-4.12.12-gentoo/include/linux/stddef.h:4,
                 from /usr/src/linux-4.12.12-gentoo/include/uapi/linux/posix_types.h:4,
                 from /usr/src/linux-4.12.12-gentoo/include/uapi/linux/types.h:13,
                 from /usr/src/linux-4.12.12-gentoo/include/linux/types.h:5,
                 from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/./include/driver-config.h:71,
                 from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/linux/driver.c:20:
/usr/src/linux-4.12.12-gentoo/include/linux/compiler.h:371:0: note: this is the location of the previous definition
 #define __deprecated
 ^
  LD [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/vmmon.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/vmmon.mod.o
  LD [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only/vmmon.ko
make[2]: Leaving directory '/usr/src/linux-4.12.12-gentoo'
make[1]: Leaving directory '/usr/src/linux-4.12.12-gentoo'
make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmmon-only'
cp -f vmmon.ko ./../vmmon.o
 * Preparing vmnet module
make -j19 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/4.12.12-gentoo/build
Using kernel build system.
make -C /lib/modules/4.12.12-gentoo/build SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-4.12.12-gentoo'
make[2]: Entering directory '/usr/src/linux-4.12.12-gentoo'
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only/driver.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only/hub.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only/userif.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only/netif.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only/bridge.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only/procfs.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only/smac_compat.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only/smac.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only/vnetEvent.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only/vnetUserListener.o
In file included from /usr/src/linux-4.12.12-gentoo/include/linux/pci.h:36:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only/compat_netdevice.h:27,
                 from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only/netif.c:43:
/usr/src/linux-4.12.12-gentoo/include/linux/pci_ids.h:2258:0: warning: "PCI_VENDOR_ID_VMWARE" redefined
 #define PCI_VENDOR_ID_VMWARE  0x15ad
 ^
In file included from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only/net.h:38:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only/vnetInt.h:26,
                 from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only/netif.c:42:
/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only/vm_device_version.h:57:0: note: this is the location of the previous definition
 #define PCI_VENDOR_ID_VMWARE                    0x15AD
 ^
In file included from /usr/src/linux-4.12.12-gentoo/include/linux/pci.h:36:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only/compat_netdevice.h:27,
                 from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only/netif.c:43:
/usr/src/linux-4.12.12-gentoo/include/linux/pci_ids.h:2259:0: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined
 #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0
 ^
In file included from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only/net.h:38:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only/vnetInt.h:26,
                 from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only/netif.c:42:
/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only/vm_device_version.h:75:0: note: this is the location of the previous definition
 #define PCI_DEVICE_ID_VMWARE_VMXNET3            0x07B0
 ^
In file included from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only/net.h:38:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only/vnetInt.h:26,
                 from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only/bridge.c:52:
/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only/vm_device_version.h:75:0: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined
 #define PCI_DEVICE_ID_VMWARE_VMXNET3            0x07B0
 ^
In file included from /usr/src/linux-4.12.12-gentoo/include/linux/pci.h:36:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only/compat_netdevice.h:27,
                 from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only/bridge.c:51:
/usr/src/linux-4.12.12-gentoo/include/linux/pci_ids.h:2259:0: note: this is the location of the previous definition
 #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0
 ^
  LD [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only/vmnet.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only/vmnet.mod.o
  LD [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only/vmnet.ko
make[2]: Leaving directory '/usr/src/linux-4.12.12-gentoo'
make[1]: Leaving directory '/usr/src/linux-4.12.12-gentoo'
make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmnet-only'
cp -f vmnet.ko ./../vmnet.o
 * Preparing vmci module
make -j19 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/4.12.12-gentoo/build
Using kernel build system.
make -C /lib/modules/4.12.12-gentoo/build SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-4.12.12-gentoo'
make[2]: Entering directory '/usr/src/linux-4.12.12-gentoo'
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmci-only/linux/driver.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmci-only/linux/vmciKernelIf.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmci-only/common/vmciDriver.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmci-only/common/vmciResource.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmci-only/common/vmciContext.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmci-only/common/vmciDatagram.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmci-only/common/vmciEvent.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmci-only/common/vmciQueuePair.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmci-only/common/vmciHashtable.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmci-only/common/vmciDoorbell.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmci-only/common/vmciQPair.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmci-only/common/vmciRoute.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmci-only/driverLog.o
In file included from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmci-only/linux/driver.c:62:0:
/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmci-only/./shared/vm_device_version.h:75:0: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined
 #define PCI_DEVICE_ID_VMWARE_VMXNET3            0x07B0
 ^
In file included from /usr/src/linux-4.12.12-gentoo/include/linux/pci.h:36:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmci-only/./shared/compat_pci.h:27,
                 from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmci-only/linux/driver.c:51:
/usr/src/linux-4.12.12-gentoo/include/linux/pci_ids.h:2259:0: note: this is the location of the previous definition
 #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0
 ^
In file included from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmci-only/./shared/vmci_defs.h:33:0,
                 from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmci-only/./shared/vmci_iocontrols.h:36,
                 from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmci-only/linux/vmciKernelIf.c:61:
/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmci-only/./shared/vm_basic_defs.h:723:0: warning: "DO_ONCE" redefined
 #define DO_ONCE(code)                                                   \
 ^
In file included from /usr/src/linux-4.12.12-gentoo/include/linux/random.h:10:0,
                 from /usr/src/linux-4.12.12-gentoo/include/linux/net.h:22,
                 from /usr/src/linux-4.12.12-gentoo/include/linux/skbuff.h:29,
                 from /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmci-only/linux/vmciKernelIf.c:43:
/usr/src/linux-4.12.12-gentoo/include/linux/once.h:37:0: note: this is the location of the previous definition
 #define DO_ONCE(func, ...)           \
 ^
/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmci-only/linux/driver.c: In function ‘vmci_enable_msix’:
/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmci-only/linux/driver.c:1729:13: error: implicit declaration of function ‘pci_enable_msix’ [-Werror=implicit-function-declaration]
    result = pci_enable_msix(pdev, vmci_dev.msix_entries, VMCI_MAX_INTRS);
             ^
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-4.12.12-gentoo/scripts/Makefile.build:302: /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmci-only/linux/driver.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/usr/src/linux-4.12.12-gentoo/Makefile:1515: _module_/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmci-only] Error 2
make[2]: Leaving directory '/usr/src/linux-4.12.12-gentoo'
make[1]: *** [Makefile:152: sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-4.12.12-gentoo'
make: *** [Makefile:120: vmci.ko] Error 2
 * ERROR: app-emulation/vmware-modules-308.5.7::vmware failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-emulation/vmware-modules-308.5.7::vmware'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/vmware-modules-308.5.7::vmware'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmci-only'
 * S: '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work'
 * !!! User patches were applied to this build!

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

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

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

 * ERROR: app-emulation/vmware-modules-308.5.7::vmware failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-emulation/vmware-modules-308.5.7::vmware'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/vmware-modules-308.5.7::vmware'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work/vmci-only'
 * S: '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work'
 * !!! User patches were applied to this build!
GentooX /etc/portage/patches/app-emulation/vmware-modules-308.5.7 #


but thx anyway especially for the patch instructions.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30917
Location: here

PostPosted: Tue Nov 07, 2017 12:54 pm    Post subject: Reply with quote

Sync vmware overlay because for this problem exist patch!
Code:
 * Applying 308-4.12-00-vmblock-current_time.patch ...                                                                                             [ ok ]
 * Applying 308-4.12-01-vmci-do_once.patch ...                                                                                                     [ ok ]
 * Applying 308-4.12-02-vmci-pci_enable_msix.patch ...                                                                                             [ ok ] <--- this

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Thunderfly
n00b
n00b


Joined: 11 Jul 2017
Posts: 25

PostPosted: Wed Nov 08, 2017 7:34 pm    Post subject: Reply with quote

I try to sync vmware with layman. "layman -s vmware"


still no changes when I try to install vmware-modules :(

Code:
>> Emerging (8 of 9) app-emulation/vmware-modules-308.5.7::vmware
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/4.12.12-gentoo/build
 * Found sources for kernel version:
 *     4.12.12-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-308.5.7/work
>>> Preparing source in /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work ...
 * Applying 308-makefile-kernel-dir.patch ...                                                                                                                                                                         [ ok ]
 * Applying 308-makefile-include.patch ...                                                                                                                                                                            [ ok ]
 * Applying 308-netdevice.patch ...                                                                                                                                                                                   [ ok ]
 * Applying 308-apic.patch ...                                                                                                                                                                                        [ ok ]
 * Applying 308-3.10-00-dentry.patch ...                                                                                                                                                                              [ ok ]
 * Applying 308-3.10-01-inode.patch ...                                                                                                                                                                               [ ok ]
 * Applying 308-3.10-02-control.patch ...                                                                                                                                                                             [ ok ]
 * Applying 308-3.10-03-inline.patch ...                                                                                                                                                                              [ ok ]
 * Applying 308-3.11-00-readdir.patch ...                                                                                                                                                                             [ ok ]
 * Applying 308-3.11-01-filldir.patch ...                                                                                                                                                                             [ ok ]
 * Applying 308-3.15-00-vsock.patch ...                                                                                                                                                                               [ ok ]
 * Applying 308-3.18-00-version-redefined.patch ...                                                                                                                                                                   [ ok ]
 * Applying 308-3.19-00-compat-namei.patch ...                                                                                                                                                                        [ ok ]
 * Applying 308-3.19-02-vmblock-path.patch ...                                                                                                                                                                        [ ok ]
 * Applying 308-3.19-04-iovec.patch ...                                                                                                                                                                               [ ok ]
 * Applying 308-3.19-05-vmci_qpair.patch ...                                                                                                                                                                          [ ok ]
 * Applying 308-3.19-06-vsock.patch ...                                                                                                                                                                               [ ok ]
 * Applying 308-3.19-07-vsock.patch ...                                                                                                                                                                               [ ok ]
 * Applying 308-4.01-00-vsock.patch ...                                                                                                                                                                               [ ok ]
 * Applying 308-4.02-00-nd_set_link.patch ...                                                                                                                                                                         [ ok ]
 * Applying 308-4.02-01-sk_alloc.patch ...                                                                                                                                                                            [ ok ]
 * Applying 308-4.03-00-vmci-misc_deregister.patch ...                                                                                                                                                                [ ok ]
 * Applying 308-4.05-00-vmblock-follow_link.patch ...                                                                                                                                                                 [ ok ]
 * Applying 308-4.06-00-user-pages.patch ...                                                                                                                                                                          [ ok ]
 * Applying 308-4.07-01-readlink_copy.patch ...                                                                                                                                                                       [ ok ]
 * Applying 308-4.08-00-nr_anon_mapped.patch ...                                                                                                                                                                      [ ok ]
 * Applying 308-4.09-00-user-pages.patch ...                                                                                                                                                                          [ ok ]
 * Applying 308-4.10-00-generic_readlink.patch ...                                                                                                                                                                    [ ok ]
 * Applying 308-4.11-00-missing-headers.patch ...                                                                                                                                                                     [ ok ]
 * Applying 308-4.11-01-vsock-lockdep.patch ...                                                                                                                                                                       [ ok ]
 * Applying 308-4.12-00-vmblock-current_time.patch ...                                                                                                                                                                [ ok ]
 * Applying 308-4.12-01-vmci-do_once.patch ...                                                                                                                                                                        [ ok ]
 * Applying 308-4.12-02-vmci-pci_enable_msix.patch ...                                                                                                                                                                [ ok ]
 * Applying user patches from /etc/portage/patches//app-emulation/vmware-modules-308.5.7 ...
 *   vmware-modules-vmblock.patch ...

 * Failed Patch: vmware-modules-vmblock.patch !
 *  ( /etc/portage/patches//app-emulation/vmware-modules-308.5.7/vmware-modules-vmblock.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/app-emulation/vmware-modules-308.5.7/temp/vmware-modules-vmblock.patch.out

 * ERROR: app-emulation/vmware-modules-308.5.7::vmware failed (prepare phase):
 *   Failed Patch: vmware-modules-vmblock.patch!
 *
 * Call stack:
 *     ebuild.sh, line  115:  Called src_prepare
 *   environment, line 3830:  Called epatch_user
 *   environment, line 1525:  Called epatch
 *   environment, line 1497:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 *
 * If you need support, post the output of `emerge --info '=app-emulation/vmware-modules-308.5.7::vmware'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/vmware-modules-308.5.7::vmware'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work'
 * S: '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work'

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

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

 * Messages for package kde-frameworks/kfilemetadata-5.37.0:

 * To get additional features, optional runtime dependencies may be installed:
 *   app-text/catdoc for indexing of Microsoft Word or Powerpoint files
 *   dev-libs/libxls for indexing of Microsoft Excel files

 * Messages for package sys-apps/util-linux-2.30.2:

 * The mesg/wall/write tools have been disabled due to USE=-tty-helpers.

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

 * Failed Patch: vmware-modules-vmblock.patch !
 *  ( /etc/portage/patches//app-emulation/vmware-modules-308.5.7/vmware-modules-vmblock.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/app-emulation/vmware-modules-308.5.7/temp/vmware-modules-vmblock.patch.out
 * ERROR: app-emulation/vmware-modules-308.5.7::vmware failed (prepare phase):
 *   Failed Patch: vmware-modules-vmblock.patch!
 *
 * Call stack:
 *     ebuild.sh, line  115:  Called src_prepare
 *   environment, line 3830:  Called epatch_user
 *   environment, line 1525:  Called epatch
 *   environment, line 1497:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 *
 * If you need support, post the output of `emerge --info '=app-emulation/vmware-modules-308.5.7::vmware'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/vmware-modules-308.5.7::vmware'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work'
 * S: '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work'

 * Regenerating GNU info directory index...
 * Processed 102 info files.

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

 * After world updates, it is important to remove obsolete packages with
 * emerge --depclean. Refer to `man emerge` for more information.
GentooX




also installing vmware-modules-304.4-r1 --ask is not working.
Code:

>>> Emerging (2 of 2) app-emulation/vmware-modules-308.5.7::vmware
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/4.12.12-gentoo/build
 * Found sources for kernel version:
 *     4.12.12-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-308.5.7/work
>>> Preparing source in /var/tmp/portage/app-emulation/vmware-modules-308.5.7/work ...
 * Applying 308-makefile-kernel-dir.patch ...                                                                                                                                                                         [ ok ]
 * Applying 308-makefile-include.patch ...                                                                                                                                                                            [ ok ]
 * Applying 308-netdevice.patch ...                                                                                                                                                                                   [ ok ]
 * Applying 308-apic.patch ...                                                                                                                                                                                        [ ok ]
 * Applying 308-3.10-00-dentry.patch ...                                                                                                                                                                              [ ok ]
 * Applying 308-3.10-01-inode.patch ...                                                                                                                                                                               [ ok ]
 * Applying 308-3.10-02-control.patch ...                                                                                                                                                                             [ ok ]
 * Applying 308-3.10-03-inline.patch ...                                                                                                                                                                              [ ok ]
 * Applying 308-3.11-00-readdir.patch ...                                                                                                                                                                             [ ok ]
 * Applying 308-3.11-01-filldir.patch ...                                                                                                                                                                             [ ok ]
 * Applying 308-3.15-00-vsock.patch ...                                                                                                                                                                               [ ok ]
 * Applying 308-3.18-00-version-redefined.patch ...                                                                                                                                                                   [ ok ]
 * Applying 308-3.19-00-compat-namei.patch ...                                                                                                                                                                        [ ok ]
 * Applying 308-3.19-02-vmblock-path.patch ...                                                                                                                                                                        [ ok ]
 * Applying 308-3.19-04-iovec.patch ...                                                                                                                                                                               [ ok ]
 * Applying 308-3.19-05-vmci_qpair.patch ...                                                                                                                                                                          [ ok ]
 * Applying 308-3.19-06-vsock.patch ...                                                                                                                                                                               [ ok ]
 * Applying 308-3.19-07-vsock.patch ...                                                                                                                                                                               [ ok ]
 * Applying 308-4.01-00-vsock.patch ...                                                                                                                                                                               [ ok ]
 * Applying 308-4.02-00-nd_set_link.patch ...                                                                                                                                                                         [ ok ]
 * Applying 308-4.02-01-sk_alloc.patch ...                                                                                                                                                                            [ ok ]
 * Applying 308-4.03-00-vmci-misc_deregister.patch ...                                                                                                                                                                [ ok ]
 * Applying 308-4.05-00-vmblock-follow_link.patch ...                                                                                                                                                                 [ ok ]
 * Applying 308-4.06-00-user-pages.patch ...                                                                                                                                                                          [ ok ]
 * Applying 308-4.07-01-readlink_copy.patch ...                                                                                                                                                                       [ ok ]
 * Applying 308-4.08-00-nr_anon_mapped.patch ...                                                                                                                                                                      [ ok ]
 * Applying 308-4.09-00-user-pages.patch ...                                                                                                                                                                          [ ok ]
 * Applying 308-4.10-00-generic_readlink.patch ...                                                                                                                                                                    [ ok ]
 * Applying 308-4.11-00-missing-headers.patch ...                                                                                                                                                                     [ ok ]
 * Applying 308-4.11-01-vsock-lockdep.patch ...                                                                                                                                                                       [ ok ]
 * Applying 308-4.12-00-vmblock-current_time.patch ...                                                                                                                                                                [ ok ]
 * Applying 308-4.12-01-vmci-do_once.patch ...                                                                                                                                                                        [ ok ]
 * Applying 308-4.12-02-vmci-pci_enable_msix.patch ...                                                                                                                                                                [ ok ]
 * Applying user patches from /etc/portage/patches//app-emulation/vmware-modules-308.5.7 ...
 *   vmware-modules-vmblock.patch ...

 * Failed Patch: vmware-modules-vmblock.patch !
 *  ( /etc/portage/patches//app-emulation/vmware-modules-308.5.7/vmware-modules-vmblock.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/app-emulation/vmware-modules-308.5.7/temp/vmware-modules-vmblock.patch.out

 * ERROR: app-emulation/vmware-modules-308.5.7::vmware failed (prepare phase):
 *   Failed Patch: vmware-modules-vmblock.patch!
 *
 * Call stack:
 *     ebuild.sh, line  115:  Called src_prepare
 *   environment, line 3830:  Called epatch_user
 *   environment, line 1525:  Called epatch
 *   environment, line 1497:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 *
 * If you need support, post the output of `emerge --info '=app-emulation/vmware-modules-308.5.7::vmware'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/vmware-modules-308.5.7::vmware'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work'
 * S: '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work'

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

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

 * Messages for package app-emulation/vmware-player-7.1.4.3848939:

 *
 * Directory symlink(s) may need protection:
 *
 *      /usr/lib64/vmware
 *
 * Use the UNINSTALL_IGNORE variable to exempt specific symlinks
 * from the following search (see the make.conf man page).
 *
 * Searching all installed packages for files installed via above symlink(s)...
 *
 * The above directory symlink(s) are all safe to remove. Removing them now...
 *

 * Messages for package app-emulation/vmware-player-12.5.7.5813279:

 * vmware-player-12.5.7.5813279 is using an old version of libgcrypt library which
 * is going to be soon removed from portage due to security reasons
 * (see https://bugs.gentoo.org/show_bug.cgi?id=541564).
 * Until vmware is fixed upstream you're exposed to security issues!

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

 * Failed Patch: vmware-modules-vmblock.patch !
 *  ( /etc/portage/patches//app-emulation/vmware-modules-308.5.7/vmware-modules-vmblock.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/app-emulation/vmware-modules-308.5.7/temp/vmware-modules-vmblock.patch.out
 * ERROR: app-emulation/vmware-modules-308.5.7::vmware failed (prepare phase):
 *   Failed Patch: vmware-modules-vmblock.patch!
 *
 * Call stack:
 *     ebuild.sh, line  115:  Called src_prepare
 *   environment, line 3830:  Called epatch_user
 *   environment, line 1525:  Called epatch
 *   environment, line 1497:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 *
 * If you need support, post the output of `emerge --info '=app-emulation/vmware-modules-308.5.7::vmware'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/vmware-modules-308.5.7::vmware'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work'
 * S: '/var/tmp/portage/app-emulation/vmware-modules-308.5.7/work'

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

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

GentooX



thx guys ... I think about to change to kvm.


Last edited by Thunderfly on Wed Nov 08, 2017 7:48 pm; edited 2 times in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30917
Location: here

PostPosted: Wed Nov 08, 2017 7:37 pm    Post subject: Reply with quote

I think that now vmblock patch are added by default. Remove /etc/portage/patches/app-emulation/vmware-modules-308.5.7/vmware-modules-vmblock.patch and try again
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Thunderfly
n00b
n00b


Joined: 11 Jul 2017
Posts: 25

PostPosted: Wed Nov 08, 2017 7:52 pm    Post subject: Reply with quote

yeah !!

it worked out for me!!

thank you very much for your helps!
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30917
Location: here

PostPosted: Wed Nov 08, 2017 7:55 pm    Post subject: Reply with quote

Sorry my fault, from the beginning was enough to sync overlay
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
dewhite
Tux's lil' helper
Tux's lil' helper


Joined: 16 Mar 2003
Posts: 106
Location: Houston, Texas, USA

PostPosted: Wed Jan 10, 2018 9:09 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Sync vmware overlay because for this problem exist patch!
Code:
 * Applying 308-4.12-00-vmblock-current_time.patch ...                                                                                             [ ok ]
 * Applying 308-4.12-01-vmci-do_once.patch ...                                                                                                     [ ok ]
 * Applying 308-4.12-02-vmci-pci_enable_msix.patch ...                                                                                             [ ok ] <--- this


Same issue for me, tried:
Code:
layman -s vmware

before anything else and that did the trick. Thanks! I guess I was under the mistaken impression that:
Code:
emerge --sync

would also sync all installed overlays too? Looks like I've been missing out on some updates...
_________________
Work FS: R7-5700g | 2x16Gb DDR4 | 500Gb NVMe LUKS root | 2x 8TB RAID1
Home FS: R7-1700x | 2x8Gb DDR4 | 275Gb M.2 SATA LUKS root | 2x 14TB RAID1
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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