View previous topic :: View next topic |
Author |
Message |
Thunderfly n00b
Joined: 11 Jul 2017 Posts: 25
|
Posted: Tue Jul 11, 2017 8:45 am Post subject: Gentoo Kernel 4.9.34 & installing Vmware-modules- [SOLVE |
|
|
Code: | >>> Emerging (1 of 1) app-emulation/vmware-modules-304.2::gentoo
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/4.9.34-gentoo/build
* Found sources for kernel version:
* 4.9.34-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-304.2/work
>>> Preparing source in /var/tmp/portage/app-emulation/vmware-modules-304.2/work ...
* Applying 304-makefile-kernel-dir.patch ... [ ok ]
* Applying 304-makefile-include.patch ... [ ok ]
* Applying 304-netdevice.patch ... [ ok ]
* Applying 304-apic.patch ... [ ok ]
* Applying 304-3.10-00-dentry.patch ... [ ok ]
* Applying 304-3.10-01-inode.patch ... [ ok ]
* Applying 304-3.10-02-control.patch ... [ ok ]
* Applying 304-3.10-03-inline.patch ... [ ok ]
* Applying 304-3.11-00-readdir.patch ... [ ok ]
* Applying 304-3.11-01-filldir.patch ... [ ok ]
* Applying 304-3.15-00-vsock.patch ... [ ok ]
* Applying 304-3.18-00-version-redefined.patch ... [ ok ]
* Applying 304-3.19-00-compat-namei.patch ... [ ok ]
* Applying 304-3.19-02-vmblock-path.patch ... [ ok ]
* Applying 304-3.19-04-iovec.patch ... [ ok ]
* Applying 304-3.19-05-vmci_qpair.patch ... [ ok ]
* Applying 304-3.19-06-vsock.patch ... [ ok ]
* Applying 304-3.19-07-vsock.patch ... [ ok ]
* Applying 304-4.2-01-inode.patch ... [ ok ]
* Applying 304-4.2-02-vmnetInt.patch ... [ ok ]
* Applying 304-4.2-03-af_vsock.patch ... [ ok ]
* Applying 304-4.2-04-driver.patch ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/vmware-modules-304.2/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-emulation/vmware-modules-304.2/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.9.34-gentoo/build
Using kernel build system.
make -C /lib/modules/4.9.34-gentoo/build SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-4.9.34-gentoo'
make[2]: Entering directory '/usr/src/linux-4.9.34-gentoo'
CC [M] /var/tmp/portage/app-emulation/vmware-modules-304.2/work/vmblock-only/linux/filesystem.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-304.2/work/vmblock-only/linux/dentry.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-304.2/work/vmblock-only/linux/stubs.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-304.2/work/vmblock-only/linux/file.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-304.2/work/vmblock-only/linux/block.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-304.2/work/vmblock-only/linux/module.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-304.2/work/vmblock-only/linux/super.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-304.2/work/vmblock-only/linux/inode.o
CC [M] /var/tmp/portage/app-emulation/vmware-modules-304.2/work/vmblock-only/linux/control.o
/var/tmp/portage/app-emulation/vmware-modules-304.2/work/vmblock-only/linux/inode.c:66:4: error: unknown field 'follow_link' specified in initializer
.follow_link = InodeOpFollowlink,
^
/var/tmp/portage/app-emulation/vmware-modules-304.2/work/vmblock-only/linux/inode.c:66:19: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.follow_link = InodeOpFollowlink,
^
/var/tmp/portage/app-emulation/vmware-modules-304.2/work/vmblock-only/linux/inode.c:66:19: note: (near initialization for 'LinkInodeOps.create')
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-4.9.34-gentoo/scripts/Makefile.build:293: /var/tmp/portage/app-emulation/vmware-modules-304.2/work/vmblock-only/linux/inode.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/usr/src/linux-4.9.34-gentoo/Makefile:1490: _module_/var/tmp/portage/app-emulation/vmware-modules-304.2/work/vmblock-only] Error 2
make[2]: Leaving directory '/usr/src/linux-4.9.34-gentoo'
make[1]: *** [Makefile:150: sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-4.9.34-gentoo'
make: *** [Makefile:120: vmblock.ko] Error 2
* ERROR: app-emulation/vmware-modules-304.2::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=app-emulation/vmware-modules-304.2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=app-emulation/vmware-modules-304.2::gentoo'`.
* The complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-304.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-304.2/temp/environment'.
* Working directory: '/var/tmp/portage/app-emulation/vmware-modules-304.2/work/vmblock-only'
* S: '/var/tmp/portage/app-emulation/vmware-modules-304.2/work'
>>> Failed to emerge app-emulation/vmware-modules-304.2, Log file:
>>> '/var/tmp/portage/app-emulation/vmware-modules-304.2/temp/build.log'
* Messages for package app-emulation/vmware-modules-304.2:
* ERROR: app-emulation/vmware-modules-304.2::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=app-emulation/vmware-modules-304.2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=app-emulation/vmware-modules-304.2::gentoo'`.
* The complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-304.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-304.2/temp/environment'.
* Working directory: '/var/tmp/portage/app-emulation/vmware-modules-304.2/work/vmblock-only'
* S: '/var/tmp/portage/app-emulation/vmware-modules-304.2/work'
root@GentooX2 /etc/portage # uname -r
4.9.34-gentoo
root@GentooX2 /etc/portage #
|
I got troubles installing vmware-modules.
before i upgrade to kernel 4.9.x (from 3.9.x) everything was fine. i was able to load vmmon and other modules.
anyone tips for me ?
thx in advance
Now I am not able to execute hostif.c.patch.
I create them in /etc/portage/patches/app-emulation/vmware-modules-304.2
Code: | >> Failed to emerge app-emulation/vmware-modules-304.2, Log file:
>>> '/var/tmp/portage/app-emulation/vmware-modules-304.2/temp/build.log'
* Messages for package app-emulation/vmware-modules-304.2:
* Failed Patch: hostif.c.patch !
* ( /etc/portage/patches//app-emulation/vmware-modules-304.2/hostif.c.patch )
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/app-emulation/vmware-modules-304.2/temp/hostif.c.patch.out
* ERROR: app-emulation/vmware-modules-304.2::gentoo failed (prepare phase):
* Failed Patch: hostif.c.patch!
*
* Call stack:
* ebuild.sh, line 115: Called src_prepare
* environment, line 3788: Called epatch_user
* environment, line 1521: Called epatch
* environment, line 1493: 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-304.2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=app-emulation/vmware-modules-304.2::gentoo'`.
* The complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-304.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-304.2/temp/environment'.
* Working directory: '/var/tmp/portage/app-emulation/vmware-modules-304.2/work'
* S: '/var/tmp/portage/app-emulation/vmware-modules-304.2/work'
|
this sucks
Last edited by Thunderfly on Tue Jul 18, 2017 11:43 am; edited 3 times in total |
|
Back to top |
|
|
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Tue Jul 11, 2017 12:04 pm Post subject: |
|
|
have you tried the vmware overlay (that is where the
most recent versions of vmware stuff is) _________________ .... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme) |
|
Back to top |
|
|
Thunderfly n00b
Joined: 11 Jul 2017 Posts: 25
|
Posted: Tue Jul 11, 2017 12:21 pm Post subject: |
|
|
Code: |
root@GentooX2 /etc/portage/patches/app-emulation/vmware-modules-304.2 # layman -l
* vmware [Git ] (https://anongit.gentoo.org/git/proj/vmware.git )
root@GentooX2 /etc/portage/patches/app-emulation/vmware-modules-304.2 #
|
I add vmware overlay but I got no Idea how to install from there. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54232 Location: 56N 3W
|
Posted: Tue Jul 11, 2017 12:58 pm Post subject: |
|
|
Thunderfly,
emerge will prefer the overlay over the gentoo repository where versions in the overlay are >= those in the gentoo repository.
If you have installed the overlay correctly, you emerge normally.
Look for the ::<repository> in the output of emerge -av _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Thunderfly n00b
Joined: 11 Jul 2017 Posts: 25
|
Posted: Tue Jul 11, 2017 2:12 pm Post subject: |
|
|
thx for your answers.
Code: | root@GentooX2 /etc/portage/patches/app-emulation/vmware-modules-304.2 # emerge --ask --verbose vmware-player
setlocale: unsupported locale setting
setlocale: unsupported locale setting
* IMPORTANT: 13 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R #] app-emulation/vmware-player-7.1.2.2780323-r1::gentoo USE="cups vmware-tools -doc -ovftool" 0 KiB
[ebuild N #] app-emulation/vmware-modules-304.2::gentoo USE="-pax_kernel -vmci -vsock" 0 KiB
Total: 2 packages (1 new, 1 reinstall), Size of downloads: 0 KiB
!!! The following update has been skipped due to unsatisfied dependencies:
app-emulation/vmware-player:0
selected: (app-emulation/vmware-player-7.1.2.2780323-r1:0/0::gentoo, ebuild scheduled for merge)
skipped: (app-emulation/vmware-player-12.1.0.3272444-r2:0/0::gentoo, ebuild scheduled for merge) (see unsatisfied dependency below)
emerge: there are no ebuilds to satisfy "dev-libs/nettle:0/6".
(dependency required by "app-emulation/vmware-player-12.1.0.3272444-r2::gentoo" [ebuild])
Would you like to merge these packages? [Yes/No] n
Quitting.
root@GentooX2 /etc/portage/patches/app-emulation/vmware-modules-304.2 #
|
There are dependency issues for installint vmware-player 12
I also try to mask packages (vmware-modules-304.2) - nothing working :/ |
|
Back to top |
|
|
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Tue Jul 11, 2017 5:54 pm Post subject: |
|
|
that's strange
when I run eix -I nettle I get:
Code: | [I] dev-libs/nettle
Available versions: 3.3-r1(0/6.1) {doc +gmp neon static-libs test ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" CPU_FLAGS_X86="aes"}
Installed versions: 3.3-r1(07:06:10 AM 03/29/2017)(gmp -doc -neon -static-libs -test ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" CPU_FLAGS_X86="aes")
Homepage: http://www.lysator.liu.se/~nisse/nettle/
Description: Low-level cryptographic library |
[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu] _________________ .... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme) |
|
Back to top |
|
|
Josef.95 Advocate
Joined: 03 Sep 2007 Posts: 4553 Location: Germany
|
Posted: Tue Jul 11, 2017 6:52 pm Post subject: |
|
|
Yes, here is no "dev-libs/nettle:0/6"
(with 0/6 Slot/Subslot) more.
You should not using the now hard masked vmware Packages from ::gentoo Repository.
Code: | # emerge -pvO =app-emulation/vmware-player-12.1.0.3272444-r2
These are the packages that would be merged, in order:
!!! All ebuilds that could satisfy "=app-emulation/vmware-player-12.1.0.3272444-r2" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-emulation/vmware-player-12.1.0.3272444-r2::gentoo (masked by: package.mask, missing keyword)
/usr/portage/profiles/package.mask:
# Thomas Deutschmann <whissi@gentoo.org> (17 Jun 2017)
# Unmaintained in Gentoo repository; Multiple vulnerabilities
# People using VMware in Gentoo should switch to Gentoo's VMware overlay
# Bugs 619398, 621910, 616958, 536364, 614666, 612804 ...
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook. |
Try the Packages from the vmware Overlay.
Try Code: | emerge -av vmware-player::vmware |
|
|
Back to top |
|
|
Thunderfly n00b
Joined: 11 Jul 2017 Posts: 25
|
Posted: Tue Jul 11, 2017 7:48 pm Post subject: |
|
|
yeah - that worked for me - installing from vmware overlay with
Code: | emerge -av vmware-player::vmware |
thx alot !!! |
|
Back to top |
|
|
Thunderfly n00b
Joined: 11 Jul 2017 Posts: 25
|
Posted: Tue Jul 18, 2017 9:52 am Post subject: |
|
|
Hey,
after big troubles with keyboard layout i reinstall Gentoo with successfully use for my AltGr Key.
But now the same thing with vmware-player.
After installing a new Gentoo minimal with Plasma I try to install vmware-player. I install layman and add vmware overlay.
When I search for vmware-player I get:
Code: | GentooX /mnt2/tmp # emerge --search vmware-player
setlocale: unsupported locale setting
setlocale: unsupported locale setting
[ Results for search key : vmware-player ]
Searching...
* app-emulation/vmware-player [ Masked ]
Latest version available: 12.5.7.5813279
Latest version installed: [ Not Installed ]
Size of files: 131104 KiB
Homepage: http://www.vmware.com/products/player/
Description: Emulate a complete PC without the performance overhead of most emulators
License: vmware GPL-2 GPL-3
[ Applications found : 1 ]
GentooX /mnt2/tmp #
|
When I try to install from overlay:
Code: | GentooX /mnt2/tmp # emerge --ask --verbose vmware-player::vmware
setlocale: unsupported locale setting
setlocale: unsupported locale setting
* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild NS ] media-libs/libpng-1.2.57:1.2::gentoo [1.6.29:0/16::gentoo] ABI_X86="(64) -32 (-x32)" 642 KiB
[ebuild N ~] dev-util/patchelf-0.9::gentoo 157 KiB
[ebuild NS ~] dev-libs/libgcrypt-1.5.6-r101:11::gentoo [1.7.8:0/20::gentoo] ABI_X86="(64) -32 (-x32)" 1513 KiB
[ebuild N #] app-emulation/vmware-tools-10.1.6.5214329::vmware USE="-vmware_guest_freebsd -vmware_guest_linux -vmware_guest_netware -vmware_guest_solaris -vmware_guest_winPre2k -vmware_guest_winPreVista -vmware_guest_windows" 0 KiB
[ebuild N ] sys-fs/fuse-2.9.7::gentoo USE="-examples -static-libs" 646 KiB
[ebuild N ] dev-libs/libsigc++-2.10.0:2::gentoo USE="-doc -static-libs {-test}" ABI_X86="(64) -32 (-x32)" 3706 KiB
[ebuild N ] dev-cpp/glibmm-2.50.1:2::gentoo USE="-debug -doc {-test}" ABI_X86="(64) -32 (-x32)" 6294 KiB
[ebuild N ] dev-cpp/cairomm-1.12.0-r1::gentoo USE="X svg (-aqua) -doc" ABI_X86="(64) -32 (-x32)" 772 KiB
[ebuild N ] dev-cpp/pangomm-2.40.1:1.4::gentoo USE="-doc" ABI_X86="(64) -32 (-x32)" 792 KiB
[ebuild N ] dev-cpp/atkmm-2.24.2::gentoo USE="-doc" ABI_X86="(64) -32 (-x32)" 830 KiB
[ebuild N #] app-emulation/vmware-player-12.5.7.5813279::vmware USE="cups vmware-tools -bundled-libs -doc -ovftool" 131104 KiB
[ebuild N #] app-emulation/vmware-modules-308.5.7::vmware USE="vmci vsock -pax_kernel" 0 KiB
Total: 12 packages (10 new, 2 in new slots), Size of downloads: 146452 KiB
The following keyword changes are necessary to proceed:
(see "package.accept_keywords" in the portage(5) man page for more details)
# required by app-emulation/vmware-player-12.5.7.5813279::vmware[-bundled-libs]
# required by app-emulation/vmware-modules-308.5.7::vmware
=dev-libs/libgcrypt-1.5.6-r101 ~amd64
# required by app-emulation/vmware-player-12.5.7.5813279::vmware[vmware-tools]
# required by app-emulation/vmware-modules-308.5.7::vmware
=app-emulation/vmware-tools-10.1.6.5214329 ~amd64
# required by app-emulation/vmware-player-12.5.7.5813279::vmware
# required by vmware-player::vmware (argument)
=app-emulation/vmware-modules-308.5.7 ~amd64
# required by app-emulation/vmware-modules-308.5.7::vmware
=app-emulation/vmware-player-12.5.7.5813279 ~amd64
# required by app-emulation/vmware-player-12.5.7.5813279::vmware
# required by app-emulation/vmware-modules-308.5.7::vmware
=dev-util/patchelf-0.9 ~amd64
The following mask changes are necessary to proceed:
(see "package.unmask" in the portage(5) man page for more details)
# required by app-emulation/vmware-player-12.5.7.5813279::vmware
# required by vmware-player::vmware (argument)
# /usr/portage/profiles/package.mask:
# Thomas Deutschmann <whissi@gentoo.org> (17 Jun 2017)
# Unmaintained in Gentoo repository; Multiple vulnerabilities
# People using VMware in Gentoo should switch to Gentoo's VMware overlay
# Bugs 619398, 621910, 616958, 536364, 614666, 612804 ...
=app-emulation/vmware-modules-308.5.7
# required by app-emulation/vmware-modules-308.5.7::vmware
# /usr/portage/profiles/package.mask:
# Thomas Deutschmann <whissi@gentoo.org> (17 Jun 2017)
# Unmaintained in Gentoo repository; Multiple vulnerabilities
# People using VMware in Gentoo should switch to Gentoo's VMware overlay
# Bugs 619398, 621910, 616958, 536364, 614666, 612804 ...
=app-emulation/vmware-player-12.5.7.5813279
# required by app-emulation/vmware-player-12.5.7.5813279::vmware[vmware-tools]
# required by app-emulation/vmware-modules-308.5.7::vmware
# /usr/portage/profiles/package.mask:
# Thomas Deutschmann <whissi@gentoo.org> (17 Jun 2017)
# Unmaintained in Gentoo repository; Multiple vulnerabilities
# People using VMware in Gentoo should switch to Gentoo's VMware overlay
# Bugs 619398, 621910, 616958, 536364, 614666, 612804 ...
=app-emulation/vmware-tools-10.1.6.5214329
NOTE: The --autounmask-keep-masks option will prevent emerge
from creating package.unmask or ** keyword changes.
Would you like to add these changes to your config files? [Yes/No]
|
still try to install vmware-player 12 ...
What do I wrong?
I remove vmware overlay and search for vmware-player:
Code: | GentooX /home/faruk # eix vmware-player
* app-emulation/vmware-player
Verfügbare Versionen: [M]~7.1.2.2780323-r1^s [M]~12.1.0.3272444-r2^ms {bundled-libs cups doc ovftool +vmware-tools}
Startseite: http://www.vmware.com/products/player/
Beschreibung: Emulate a complete PC without the performance overhead of most emulators
GentooX /home/faruk # layman -a vmware
|
When I add vmwarwe overlay and search for vmware-player:
Code: |
entooX /home/faruk # eix vmware-player
* app-emulation/vmware-player
Verfügbare Versionen: [M]~7.1.2.2780323-r1^s [M]~7.1.4.3848939^ms[1] [M]~12.1.0.3272444-r2^ms [M]~12.5.7.5813279^ms[1] {bundled-libs cups doc ovftool +vmware-tools}
Startseite: http://www.vmware.com/products/player/
Beschreibung: Emulate a complete PC without the performance overhead of most emulators
[1] "vmware" /var/lib/layman/vmware
GentooX /home/faruk #
|
vmware-player-7.1.2.2780323-r1 in Gentoo repos without vmware overlay ... ?
I will try it with
Code: | emerge --ask --autounmask-write =vmware-player-7.1.2.2780323-r1 |
no success but suddenly installing from overlay was working ... I dont know what the trick was.
thx anyway |
|
Back to top |
|
|
|
|
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
|
|