Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 561614 - app-emulation/vmware-modules-304.2: Failed Patch: 304-hardened.patch
Summary: app-emulation/vmware-modules-304.2: Failed Patch: 304-hardened.patch
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-27 00:51 UTC by karl
Modified: 2017-11-30 10:56 UTC (History)
1 user (show)

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


Attachments
304-hardened.patch.out (304-hardened.patch.out,4.91 KB, text/plain)
2015-09-27 00:53 UTC, karl
Details
emerge --info '=app-emulation/vmware-modules-304.2::gentoo' (emerge-info,5.99 KB, text/plain)
2015-09-27 00:54 UTC, karl
Details
build.log (build.log,2.92 KB, text/plain)
2015-09-27 00:57 UTC, karl
Details
emerge -pqv '=app-emulation/vmware-modules-304.2::gentoo' (emerge-pqv,400 bytes, text/plain)
2015-09-27 01:01 UTC, karl
Details
304-hardened.patch (304-hardened.patch,2.88 KB, patch)
2015-10-26 20:17 UTC, Fabio Rossi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description karl 2015-09-27 00:51:35 UTC
I cannot emerge vmware-modules .  It fails to patch.

Reproducible: Always

Steps to Reproduce:
1. emerge vmware-modules

Actual Results:  
>>> 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.0.8-hardened/build
 * Found sources for kernel version:
 *     4.0.8-hardened
 * Checking for suitable kernel configuration options...
 * Checking for suitable kernel configuration options...
>>> 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 ...
 * Applying 304-makefile-include.patch ...
 * Applying 304-netdevice.patch ...
 * Applying 304-hardened.patch ...

 * Failed Patch: 304-hardened.patch !
 *  ( /usr/portage/app-emulation/vmware-modules/files/304-hardened.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/app-emulation/vmware-modules-304.2/temp/304-hardened.patch.out

 * ERROR: app-emulation/vmware-modules-304.2::gentoo failed (prepare phase):
 *   Failed Patch: 304-hardened.patch!
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 3748:  Called epatch '/usr/portage/app-emulation/vmware-modules/files/304-hardened.patch'
 *   environment, line 1462:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";


Expected Results:  
Successful install.
Comment 1 karl 2015-09-27 00:53:29 UTC
Created attachment 413022 [details]
304-hardened.patch.out
Comment 2 karl 2015-09-27 00:54:45 UTC
Created attachment 413024 [details]
emerge --info '=app-emulation/vmware-modules-304.2::gentoo'
Comment 3 karl 2015-09-27 00:57:07 UTC
Created attachment 413026 [details]
build.log
Comment 4 karl 2015-09-27 01:01:09 UTC
Created attachment 413028 [details]
emerge -pqv '=app-emulation/vmware-modules-304.2::gentoo'
Comment 5 Fabio Rossi 2015-10-26 20:17:05 UTC
Created attachment 415546 [details, diff]
304-hardened.patch

I have updated the patch, now vmware-modules compiles fine. As I don't use pax_kernel, can someone try if the patch works?
Comment 6 karl 2015-10-30 17:19:22 UTC
I'm on the hardened profile, but my setup uses aufs now and I haven't gotten the aufs patches to work with pax yet ...
Comment 7 Manfred Knick 2017-07-07 21:40:54 UTC
NOTE: This Bug is about "hardened" :

(karl from comment #0)
>  * Found sources for kernel version:
>  *     4.0.8-hardened

Current [ Overlay ] :

# ll files/*hardened*
-rw-r--r-- 1 root root 3,2K 17. Aug 2016  files/304-hardened.patch
-rw-r--r-- 1 root root 2,9K 29. Jul 2016  files/308-hardened.patch


REFERENCE:

Bug 616958 :  12.5.7 version bump ,

comments {30..48} :

[ https://bugs.gentoo.org/show_bug.cgi?id=616958#c30 ]
..
[ https://bugs.gentoo.org/show_bug.cgi?id=616958#c48 ]


Currently, we are @ 4.9.36 for latest longterm.

Current [Overlay] includes:

           vmware-modules-304.4-r1.ebuild
and        vmware-modules-308.5.7.ebuild ,
but no
           vmware-modules-304.2.*.ebuild
any more.
Comment 8 Manfred Knick 2017-11-30 10:56:21 UTC
VMware Products have been removed from Main Portage Tree during Nov-2017.

Further development has been relegated to [vmware] Overlay.

Situation as of today, 30-Nov-2017:
Workstation : stable in [vmware] = 12.5.8  / released = 14.0.0  : Bug 634770
Player      : stable in [vmware] = 12.5.8  / released = 14.0.0  : Bug 639162
Modules     : stable in [vmware] = 308.5.8 / released = 329.0.0 : Bug 634862
Tools       : stable in [vmware] = 10.1.6  / released = 10.1.15 : Bug 634854