Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 604048 - x11-drivers/nvidia-drivers-375.26: pax patches failed to apply
Summary: x11-drivers/nvidia-drivers-375.26: pax patches failed to apply
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-29 16:20 UTC by Alex Efros
Modified: 2017-01-09 03:38 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Efros 2016-12-29 16:20:58 UTC
>>> Preparing source in /var/tmp/portage/x11-drivers/nvidia-drivers-375.26/work ...
 * Applying nvidia-drivers-375.26-profiles-rc.patch ...                                      [ ok ]
 * Using PAX patches is not supported. You will be asked to
 * use a standard kernel should you have issues. Should you
 * need support with these patches, contact the PaX team.
 * Applying nvidia-drivers-364.12-pax.patch ...
1 out of 2 hunks FAILED -- saving rejects to file kernel/nvidia/nv-modeset-interface.c.rej
1 out of 2 hunks FAILED -- saving rejects to file kernel/nvidia-uvm/uvm_common.c.rej         [ !! ]
 * ERROR: x11-drivers/nvidia-drivers-375.26::gentoo failed (prepare phase):
 *   patch -p1  failed with /usr/portage/x11-drivers/nvidia-drivers/files/nvidia-drivers-364.12-pax.patch
 * 
 * Call stack:
 *               ebuild.sh, line  115:  Called src_prepare
 *             environment, line 4579:  Called eapply '/usr/portage/x11-drivers/nvidia-drivers/files/nvidia-drivers-364.12-pax.patch'
 *             environment, line 1262:  Called _eapply_patch '/usr/portage/x11-drivers/nvidia-drivers/files/nvidia-drivers-364.12-pax.patch'
 *             environment, line 1200:  Called __helpers_die 'patch -p1  failed with /usr/portage/x11-drivers/nvidia-drivers/files/nvidia-drivers-364.12-pax.patch'
 *   isolated-functions.sh, line  117:  Called die
 * The specific snippet of code:
 *   		die "$@"
Comment 1 Alex Efros 2016-12-29 17:06:46 UTC
Switching to latest pax patch (already available in files/) solves this issue, here is patch for ebuild:

-        eapply "${FILESDIR}"/${PN}-364.12-pax.patch
+        eapply "${FILESDIR}"/${PN}-367.57-pax.patch
Comment 2 Norman Shulman 2017-01-03 18:08:59 UTC
Doesn't work for me:

 * ERROR: x11-drivers/nvidia-drivers-375.26::gentoo failed (prepare phase):
 *   patch -p1  failed with /usr/portage/x11-drivers/nvidia-drivers/files/nvidia-drivers-367.57.patch
Comment 3 Rick Farina (Zero_Chaos) gentoo-dev 2017-01-09 03:38:12 UTC
Fixed using the latest patches from our dear friend paxguy upstream :-)