>>> 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 "$@"
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
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
Fixed using the latest patches from our dear friend paxguy upstream :-)