View previous topic :: View next topic |
Author |
Message |
StevenC21 n00b
Joined: 07 Jun 2018 Posts: 63
|
Posted: Thu Jan 03, 2019 10:29 pm Post subject: Nvidia blob fails to emerge: Pax Patches [Solved] |
|
|
Hello all! New to Gentoo and the NVIDIA proprietary blob isn't emerging properly. It complains about "Pax patches" and a "nonstandard kernel", but I am using the standard gentoo ~amd64 4.20 kernel (the rest of my system is still on stable).
Here is the emerge output once the errors start:
Code: |
...
>>> Completed installing libvdpau-1.1.1 into /var/tmp/portage/x11-libs/libvdpau-1.1.1/image/
* Final size of build directory: 3932 KiB (3.8 MiB)
* Final size of installed tree: 468 KiB
strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version
usr/lib32/vdpau/libvdpau_trace.so.1.0.0
usr/lib32/libvdpau.so.1.0.0
usr/lib64/libvdpau.so.1.0.0
usr/lib64/vdpau/libvdpau_trace.so.1.0.0
>>> Installing (12 of 14) x11-libs/libvdpau-1.1.1::gentoo
>>> Emerging (13 of 14) virtual/linux-sources-3::gentoo
>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/virtual/linux-sources-3/work
>>> Preparing source in /var/tmp/portage/virtual/linux-sources-3/work ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/virtual/linux-sources-3/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/virtual/linux-sources-3/work ...
>>> Source compiled.
>>> Test phase [not enabled]: virtual/linux-sources-3
>>> Install linux-sources-3 into /var/tmp/portage/virtual/linux-sources-3/image/ category virtual
>>> Completed installing linux-sources-3 into /var/tmp/portage/virtual/linux-sources-3/image/
* Final size of build directory: 4 KiB
* Final size of installed tree: 4 KiB
>>> Installing (13 of 14) virtual/linux-sources-3::gentoo
* waiting for lock on /var/db/.pkg.portage_lockfile ... [ ok ]
>>> Emerging (14 of 14) x11-drivers/nvidia-drivers-415.18::gentoo
* Fetching files in the background.
* To view fetch progress, run in another terminal:
* tail -f /var/log/emerge-fetch.log
* NVIDIA-Linux-x86_64-415.18.run BLAKE2B SHA512 size ;-) ... [ ok ]
* nvidia-settings-415.18.tar.bz2 BLAKE2B SHA512 size ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 4.20.0-gentoo
* Gentoo supports kernels which are supported by NVIDIA
* which are limited to the following kernels:
* <sys-kernel/gentoo-sources-4.20
* <sys-kernel/vanilla-sources-4.20
*
* You are free to utilize epatch_user to provide whatever
* support you feel is appropriate, but will not receive
* support as a result of those changes.
*
* Do not file a bug report about this.
*
* Checking for suitable kernel configuration options... [ ok ]
* Checking for suitable kernel configuration options... [ ok ]
>>> Unpacking source...
>>> Unpacking NVIDIA-Linux-x86_64-415.18.run to /var/tmp/portage/x11-drivers/nvidia-drivers-415.18/work
>>> Unpacking nvidia-settings-415.18.tar.bz2 to /var/tmp/portage/x11-drivers/nvidia-drivers-415.18/work
>>> Source unpacked in /var/tmp/portage/x11-drivers/nvidia-drivers-415.18/work
>>> Preparing source in /var/tmp/portage/x11-drivers/nvidia-drivers-415.18/work ...
* 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-375.20-pax.patch ...
1 out of 4 hunks FAILED -- saving rejects to file kernel/nvidia-modeset/nvidia-modeset-linux.c.rej
The text leading up to this was:
--------------------------
|diff -urp work.orig/kernel/nvidia-uvm/uvm_full_fault_buffer.h work/kernel/nvidia-uvm/uvm_full_fault_buffer.h
|--- work.orig/kernel/nvidia-uvm/uvm_full_fault_buffer.h 2016-11-27 21:56:50.399642330 +0100
|+++ work/kernel/nvidia-uvm/uvm_full_fault_buffer.h 2016-11-27 21:54:23.975709978 +0100
--------------------------
No file to patch. Skipping patch.
2 out of 2 hunks ignored [ !! ]
* ERROR: x11-drivers/nvidia-drivers-415.18::gentoo failed (prepare phase):
* patch -p1 failed with /var/tmp/portage/x11-drivers/nvidia-drivers-415.18/files/nvidia-drivers-375.20-pax.patch
*
* Call stack:
* ebuild.sh, line 124: Called src_prepare
* environment, line 5076: Called eapply '/var/tmp/portage/x11-drivers/nvidia-drivers-415.18/files/nvidia-drivers-375.20-pax.patch'
* environment, line 1303: Called _eapply_patch '/var/tmp/portage/x11-drivers/nvidia-drivers-415.18/files/nvidia-drivers-375.20-pax.patch'
* environment, line 1241: Called __helpers_die 'patch -p1 failed with /var/tmp/portage/x11-drivers/nvidia-drivers-415.18/files/nvidia-drivers-375.20-pax.patch'
* isolated-functions.sh, line 121: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-415.18::gentoo'`,
* the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-415.18::gentoo'`.
* The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-415.18/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-415.18/temp/environment'.
* Working directory: '/var/tmp/portage/x11-drivers/nvidia-drivers-415.18/work'
* S: '/var/tmp/portage/x11-drivers/nvidia-drivers-415.18/work/'
>>> Failed to emerge x11-drivers/nvidia-drivers-415.18, Log file:
>>> '/var/tmp/portage/x11-drivers/nvidia-drivers-415.18/temp/build.log'
* Messages for package x11-drivers/nvidia-drivers-415.18:
* Gentoo supports kernels which are supported by NVIDIA
* which are limited to the following kernels:
* <sys-kernel/gentoo-sources-4.20
* <sys-kernel/vanilla-sources-4.20
*
* You are free to utilize epatch_user to provide whatever
* support you feel is appropriate, but will not receive
* support as a result of those changes.
*
* Do not file a bug report about this.
*
* Messages for package sys-power/acpid-2.0.31:
*
* You may wish to read the Gentoo Linux Power Management Guide,
* which can be found online at:
* https://wiki.gentoo.org/wiki/Power_management/Guide
*
* Messages for package x11-drivers/nvidia-drivers-415.18:
* Gentoo supports kernels which are supported by NVIDIA
* which are limited to the following kernels:
* <sys-kernel/gentoo-sources-4.20
* <sys-kernel/vanilla-sources-4.20
*
* You are free to utilize epatch_user to provide whatever
* support you feel is appropriate, but will not receive
* support as a result of those changes.
*
* Do not file a bug report about this.
*
* 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.
* ERROR: x11-drivers/nvidia-drivers-415.18::gentoo failed (prepare phase):
* patch -p1 failed with /var/tmp/portage/x11-drivers/nvidia-drivers-415.18/files/nvidia-drivers-375.20-pax.patch
*
* Call stack:
* ebuild.sh, line 124: Called src_prepare
* environment, line 5076: Called eapply '/var/tmp/portage/x11-drivers/nvidia-drivers-415.18/files/nvidia-drivers-375.20-pax.patch'
* environment, line 1303: Called _eapply_patch '/var/tmp/portage/x11-drivers/nvidia-drivers-415.18/files/nvidia-drivers-375.20-pax.patch'
* environment, line 1241: Called __helpers_die 'patch -p1 failed with /var/tmp/portage/x11-drivers/nvidia-drivers-415.18/files/nvidia-drivers-375.20-pax.patch'
* isolated-functions.sh, line 121: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-415.18::gentoo'`,
* the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-415.18::gentoo'`.
* The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-415.18/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-415.18/temp/environment'.
* Working directory: '/var/tmp/portage/x11-drivers/nvidia-drivers-415.18/work'
* S: '/var/tmp/portage/x11-drivers/nvidia-drivers-415.18/work/'
* Regenerating GNU info directory index...
* Processed 109 info files.
* IMPORTANT: 2 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
┌[steven@Gentoo] [1]
└[~]>
...
|
I don't know what a Pax Patch is, nor do I think I am using a nonstandard kernel. I am compiling my own, however, not using genkernel. I can provide any logs needed, but I will only post them if they are requested, to save space.
Thanks guys.
Update: After a quick emerge --search, it appears the only PaX related package on my system is app-misc/pax-utils.
Code: |
* app-misc/pax-utils
Latest version available: 1.2.3
Latest version installed: 1.2.3
Size of files: 647 KiB
Homepage: https://wiki.gentoo.org/index.php?title=Project:Hardened/PaX_Utilities
Description: ELF utils that can check files for security relevant properties
License: GPL-2
|
Last edited by StevenC21 on Fri Jan 04, 2019 1:17 am; edited 1 time in total |
|
Back to top |
|
|
Muso Veteran
Joined: 22 Oct 2002 Posts: 1052 Location: The Holy city of Honolulu
|
Posted: Thu Jan 03, 2019 10:36 pm Post subject: |
|
|
Which profile are you using?
Code: | eselect profile list |
_________________ "You can lead a horticulture but you can't make her think" ~ Dorothy Parker
2021 is the year of the Linux Desktop! |
|
Back to top |
|
|
StevenC21 n00b
Joined: 07 Jun 2018 Posts: 63
|
Posted: Thu Jan 03, 2019 10:38 pm Post subject: |
|
|
Profile 19.
Code: |
┌[steven@Gentoo]
└[/usr/src/linux]> eselect profile list <[12]
Available profile symlink targets:
[1] default/linux/amd64/13.0 (stable)
[2] default/linux/amd64/13.0/selinux (dev)
[3] default/linux/amd64/13.0/desktop (stable)
[4] default/linux/amd64/13.0/desktop/gnome (stable)
[5] default/linux/amd64/13.0/desktop/gnome/systemd (stable)
[6] default/linux/amd64/13.0/desktop/plasma (stable)
[7] default/linux/amd64/13.0/desktop/plasma/systemd (stable)
[8] default/linux/amd64/13.0/developer (stable)
[9] default/linux/amd64/13.0/no-multilib (stable)
[10] default/linux/amd64/13.0/systemd (stable)
[11] default/linux/amd64/13.0/x32 (dev)
[12] default/linux/amd64/17.0 (stable)
[13] default/linux/amd64/17.0/selinux (stable)
[14] default/linux/amd64/17.0/hardened (stable)
[15] default/linux/amd64/17.0/hardened/selinux (stable)
[16] default/linux/amd64/17.0/desktop (stable)
[17] default/linux/amd64/17.0/desktop/gnome (stable)
[18] default/linux/amd64/17.0/desktop/gnome/systemd (stable)
[19] default/linux/amd64/17.0/desktop/plasma (stable) *
[20] default/linux/amd64/17.0/desktop/plasma/systemd (stable)
[21] default/linux/amd64/17.0/developer (stable)
[22] default/linux/amd64/17.0/no-multilib (stable)
[23] default/linux/amd64/17.0/no-multilib/hardened (stable)
[24] default/linux/amd64/17.0/no-multilib/hardened/selinux (stable)
[25] default/linux/amd64/17.0/systemd (stable)
[26] default/linux/amd64/17.0/x32 (dev)
[27] default/linux/amd64/17.1 (dev)
[28] default/linux/amd64/17.1/selinux (dev)
[29] default/linux/amd64/17.1/hardened (dev)
[30] default/linux/amd64/17.1/hardened/selinux (dev)
[31] default/linux/amd64/17.1/desktop (dev)
[32] default/linux/amd64/17.1/desktop/gnome (dev)
[33] default/linux/amd64/17.1/desktop/gnome/systemd (dev)
[34] default/linux/amd64/17.1/desktop/plasma (dev)
[35] default/linux/amd64/17.1/desktop/plasma/systemd (dev)
[36] default/linux/amd64/17.1/developer (dev)
[37] default/linux/amd64/17.1/no-multilib (dev)
[38] default/linux/amd64/17.1/no-multilib/hardened (dev)
[39] default/linux/amd64/17.1/no-multilib/hardened/selinux (dev)
[40] default/linux/amd64/17.1/systemd (dev)
[41] default/linux/amd64/17.0/musl (exp)
[42] default/linux/amd64/17.0/musl/hardened (exp)
[43] default/linux/amd64/17.0/musl/hardened/selinux (exp)
[44] default/linux/amd64/17.0/uclibc (exp)
[45] default/linux/amd64/17.0/uclibc/hardened (exp)
|
|
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6069 Location: Removed by Neddy
|
Posted: Thu Jan 03, 2019 10:57 pm Post subject: |
|
|
415.23 is needed to build against kernel-4.20 _________________ #define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0; |
|
Back to top |
|
|
StevenC21 n00b
Joined: 07 Jun 2018 Posts: 63
|
Posted: Thu Jan 03, 2019 10:59 pm Post subject: |
|
|
How do I get it?
I'm sorry I know very, very little about Gentoo and Portage. |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6069 Location: Removed by Neddy
|
Posted: Thu Jan 03, 2019 11:03 pm Post subject: |
|
|
I guess you are running stable, you will need to unmask it or wait until it goes stable
echo =11-drivers/nvidia-drivers-415.23 >> /etc/portage/package.unmask
ALTHOUGH if you have kernel-4.20 installed AND selected, you must have unmasked that. _________________ #define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0; |
|
Back to top |
|
|
StevenC21 n00b
Joined: 07 Jun 2018 Posts: 63
|
Posted: Thu Jan 03, 2019 11:04 pm Post subject: |
|
|
I am indeed running stable.
Is it unsafe to unmask it? I have heard that unmasked packages are unsupported.
In addition, will this package update as normal to later versions? It appears I am installing an explicit version, which is confusing. |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6069 Location: Removed by Neddy
|
Posted: Thu Jan 03, 2019 11:10 pm Post subject: |
|
|
At some point you must have unmasked gentoo-sources as 4.20 is marked as ~arch
https://packages.gentoo.org/packages/sys-kernel/gentoo-sources
As to whether unmasking is safe? what do you class as unsafe? Mixing stable and ~arch causes alot of headaches and it is usually easier to go one or the other but you are already doing this with gentoo-sources.
where did you hear you wouldn't get support if you went ~arch? As long as it is in the tree you will get support on bugzilla. If you have a problem with any package you will generally get help on the gentoo forums.
The one-liner I posted EXPLICITLY unmasked one version rather than wildcarded all nvidia-drivers as they come in. I don't know what you plan with your machine so make hte assumption you want to always go testing isn't mine to ask. You will still get later versions WHEN they go stable. If you want the latest nvidia-drivers, even the testing ones, then the unmask file needs changing to make it non-versioned. _________________ #define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0; |
|
Back to top |
|
|
StevenC21 n00b
Joined: 07 Jun 2018 Posts: 63
|
Posted: Thu Jan 03, 2019 11:13 pm Post subject: |
|
|
I honestly don't know much about Gentoo's method of going about this. I think that perhaps going full testing would be good? If I don't am I in the Gentoo version of a frankendebian? I don't want that.
Anyways, I will definitely be unmasking that package now. Thanks. |
|
Back to top |
|
|
StevenC21 n00b
Joined: 07 Jun 2018 Posts: 63
|
Posted: Thu Jan 03, 2019 11:14 pm Post subject: |
|
|
In addition, did you mean "x11-drivers"? Or actually "=11-drivers"? |
|
Back to top |
|
|
StevenC21 n00b
Joined: 07 Jun 2018 Posts: 63
|
Posted: Thu Jan 03, 2019 11:19 pm Post subject: |
|
|
Gosh, I'm so sorry for the triple post.
Anyways, that recommendation did not work. Instead, I have added
Code: |
=x11-drivers/nvidia-drivers-415.23 ~amd64
|
to package.accept_keywords, as Portage requested when I ran
Code: |
emerge --ask --autounmask-write =nvidia-drivers-415.23
|
|
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6069 Location: Removed by Neddy
|
Posted: Thu Jan 03, 2019 11:22 pm Post subject: |
|
|
sorry, incorrect copy-paste and yes I meant to keyword not unmask (packages are masked for a reason).
Running low on coffee but it looks like you have it _________________ #define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0; |
|
Back to top |
|
|
StevenC21 n00b
Joined: 07 Jun 2018 Posts: 63
|
Posted: Thu Jan 03, 2019 11:24 pm Post subject: |
|
|
Alright. Thank you friend! I have started my emerge and am hoping for a success.
I have so much to learn about Portage and Gentoo. Its an amazing journey. |
|
Back to top |
|
|
StevenC21 n00b
Joined: 07 Jun 2018 Posts: 63
|
Posted: Thu Jan 03, 2019 11:52 pm Post subject: |
|
|
A similar error has arisen...
Code: |
Gentoo /etc/portage # emerge --ask --autounmask-write =nvidia-drivers-415.23
* IMPORTANT: 2 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 N ~] x11-drivers/nvidia-drivers-415.23 USE="X acpi driver gtk3 kms multilib pax_kernel tools uvm -compat -static-libs -wayland" ABI_X86="32 (64) (-x32)"
Would you like to merge these packages? [Yes/No] Yes
>>> Verifying ebuild manifests
>>> Running pre-merge checks for x11-drivers/nvidia-drivers-415.23
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 4.20.0-gentoo
* Checking for suitable kernel configuration options... [ ok ]
>>> Emerging (1 of 1) x11-drivers/nvidia-drivers-415.23::gentoo
>>> Downloading 'https://us.download.nvidia.com/XFree86/Linux-x86_64/415.23/NVIDIA-Linux-x86_64-415.23.run'
--2019-01-03 15:19:25-- https://us.download.nvidia.com/XFree86/Linux-x86_64/415.23/NVIDIA-Linux-x86_64-415.23.run
Resolving us.download.nvidia.com... 2606:2800:21f:3aa:dcf:37b:1ed6:1fb, 192.229.211.70
Connecting to us.download.nvidia.com|2606:2800:21f:3aa:dcf:37b:1ed6:1fb|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 109007128 (104M) [application/octet-stream]
Saving to: ‘/usr/portage/distfiles/NVIDIA-Linux-x86_64-415.23.run’
/usr/portage/distfi 100%[===================>] 103.96M 47.8KB/s in 27m 13s
2019-01-03 15:46:41 (65.2 KB/s) - ‘/usr/portage/distfiles/NVIDIA-Linux-x86_64-415.23.run’ saved [109007128/109007128]
* NVIDIA-Linux-x86_64-415.23.run BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Downloading 'https://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-415.23.tar.bz2'
--2019-01-03 15:46:42-- https://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-415.23.tar.bz2
Resolving download.nvidia.com... 2606:2800:21f:150d:87d:2526:2d1:177d, 192.229.210.202
Connecting to download.nvidia.com|2606:2800:21f:150d:87d:2526:2d1:177d|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1121875 (1.1M) [application/x-bzip]
Saving to: ‘/usr/portage/distfiles/nvidia-settings-415.23.tar.bz2’
/usr/portage/distfi 100%[===================>] 1.07M 44.6KB/s in 27s
2019-01-03 15:47:12 (40.4 KB/s) - ‘/usr/portage/distfiles/nvidia-settings-415.23.tar.bz2’ saved [1121875/1121875]
* nvidia-settings-415.23.tar.bz2 BLAKE2B SHA512 size ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 4.20.0-gentoo
* Checking for suitable kernel configuration options... [ ok ]
* Checking for suitable kernel configuration options... [ ok ]
>>> Unpacking source...
>>> Unpacking NVIDIA-Linux-x86_64-415.23.run to /var/tmp/portage/x11-drivers/nvidia-drivers-415.23/work
>>> Unpacking nvidia-settings-415.23.tar.bz2 to /var/tmp/portage/x11-drivers/nvidia-drivers-415.23/work
>>> Source unpacked in /var/tmp/portage/x11-drivers/nvidia-drivers-415.23/work
>>> Preparing source in /var/tmp/portage/x11-drivers/nvidia-drivers-415.23/work ...
* 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-375.20-pax.patch ...
1 out of 4 hunks FAILED -- saving rejects to file kernel/nvidia-modeset/nvidia-modeset-linux.c.rej
The text leading up to this was:
--------------------------
|diff -urp work.orig/kernel/nvidia-uvm/uvm_full_fault_buffer.h work/kernel/nvidia-uvm/uvm_full_fault_buffer.h
|--- work.orig/kernel/nvidia-uvm/uvm_full_fault_buffer.h 2016-11-27 21:56:50.399642330 +0100
|+++ work/kernel/nvidia-uvm/uvm_full_fault_buffer.h 2016-11-27 21:54:23.975709978 +0100
--------------------------
No file to patch. Skipping patch.
2 out of 2 hunks ignored [ !! ]
* ERROR: x11-drivers/nvidia-drivers-415.23::gentoo failed (prepare phase):
* patch -p1 failed with /var/tmp/portage/x11-drivers/nvidia-drivers-415.23/files/nvidia-drivers-375.20-pax.patch
*
* Call stack:
* ebuild.sh, line 124: Called src_prepare
* environment, line 5104: Called eapply '/var/tmp/portage/x11-drivers/nvidia-drivers-415.23/files/nvidia-drivers-375.20-pax.patch'
* environment, line 1331: Called _eapply_patch '/var/tmp/portage/x11-drivers/nvidia-drivers-415.23/files/nvidia-drivers-375.20-pax.patch'
* environment, line 1269: Called __helpers_die 'patch -p1 failed with /var/tmp/portage/x11-drivers/nvidia-drivers-415.23/files/nvidia-drivers-375.20-pax.patch'
* isolated-functions.sh, line 121: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-415.23::gentoo'`,
* the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-415.23::gentoo'`.
* The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-415.23/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-415.23/temp/environment'.
* Working directory: '/var/tmp/portage/x11-drivers/nvidia-drivers-415.23/work'
* S: '/var/tmp/portage/x11-drivers/nvidia-drivers-415.23/work/'
>>> Failed to emerge x11-drivers/nvidia-drivers-415.23, Log file:
>>> '/var/tmp/portage/x11-drivers/nvidia-drivers-415.23/temp/build.log'
* Messages for package x11-drivers/nvidia-drivers-415.23:
* 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.
* ERROR: x11-drivers/nvidia-drivers-415.23::gentoo failed (prepare phase):
* patch -p1 failed with /var/tmp/portage/x11-drivers/nvidia-drivers-415.23/files/nvidia-drivers-375.20-pax.patch
*
* Call stack:
* ebuild.sh, line 124: Called src_prepare
* environment, line 5104: Called eapply '/var/tmp/portage/x11-drivers/nvidia-drivers-415.23/files/nvidia-drivers-375.20-pax.patch'
* environment, line 1331: Called _eapply_patch '/var/tmp/portage/x11-drivers/nvidia-drivers-415.23/files/nvidia-drivers-375.20-pax.patch'
* environment, line 1269: Called __helpers_die 'patch -p1 failed with /var/tmp/portage/x11-drivers/nvidia-drivers-415.23/files/nvidia-drivers-375.20-pax.patch'
* isolated-functions.sh, line 121: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-415.23::gentoo'`,
* the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-415.23::gentoo'`.
* The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-415.23/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-415.23/temp/environment'.
* Working directory: '/var/tmp/portage/x11-drivers/nvidia-drivers-415.23/work'
* S: '/var/tmp/portage/x11-drivers/nvidia-drivers-415.23/work/'
|
emerge --info '=x11-drivers/nvidia-drivers-415.23::gentoo':
Code: |
Gentoo /etc/portage # emerge --info '=x11-drivers/nvidia-drivers-415.23::gentoo'
Portage 2.3.51 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-7.3.0, glibc-2.27-r6, 4.20.0-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-4.20.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-7700HQ_CPU_@_2.80GHz-with-gentoo-2.6
KiB Mem: 16298752 total, 6813752 free
KiB Swap: 15722492 total, 15722492 free
Timestamp of repository gentoo: Fri, 28 Dec 2018 00:45:01 +0000
Head commit of repository gentoo: 35ae67ce35bf6fc1f45badcff1a44166c84d4c61
sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p5) 2.30.0
app-shells/bash: 4.4_p12::gentoo
dev-lang/perl: 5.24.3-r1::gentoo
dev-lang/python: 2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake: 3.9.6::gentoo
dev-util/pkgconfig: 0.29.2::gentoo
sys-apps/baselayout: 2.6-r1::gentoo
sys-apps/openrc: 0.38.3-r1::gentoo
sys-apps/sandbox: 2.13::gentoo
sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake: 1.16.1-r1::gentoo
sys-devel/binutils: 2.30-r4::gentoo
sys-devel/gcc: 7.3.0-r3::gentoo
sys-devel/gcc-config: 2.0::gentoo
sys-devel/libtool: 2.4.6-r3::gentoo
sys-devel/make: 4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.27-r6::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-extra-opts:
sync-rsync-verify-jobs: 1
sync-rsync-verify-max-age: 24
sync-rsync-verify-metamanifest: yes
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe -march=native"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ https://gentoo.osuosl.org/ http://mirror.lug.udel.edu/pub/gentoo/ http://gentoo.cs.utah.edu/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt css cups curl cxx dbus declarative dri dts dvd dvdr emboss encode exif fam ffmpeg flac fontconfig fortran ftp gdbm gif git glamor gpm iconv icu ipv6 jpeg kde kipi kwallet lcms ldap libcaca libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls nptl offensive ogg openal opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qml qt5 readline samba sdl seccomp semantic-desktop spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb videos vorbis widgets wxwidgets x264 xattr xcb xcomposite xml xv xvid zlib zsh-completion" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="libinput synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
|
emerge -pqv '=x11-drivers/nvidia-drivers-415.23::gentoo':
Code: |
[ebuild N ] x11-drivers/nvidia-drivers-415.23 USE="X acpi driver gtk3 kms multilib pax_kernel tools uvm -compat -static-libs -wayland" ABI_X86="32 (64) (-x32)"
* IMPORTANT: 2 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
|
Build log:
Code: |
* Package: x11-drivers/nvidia-drivers-415.23
* Repository: gentoo
* Maintainer: jer@gentoo.org hardened@gentoo.org
* USE: X abi_x86_32 abi_x86_64 acpi amd64 driver elibc_glibc gtk3 kernel_linux kms multilib pax_kernel tools userland_GNU uvm
* FEATURES: preserve-libs sandbox userpriv usersandbox
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 4.20.0-gentoo
* Checking for suitable kernel configuration options... [ ok ]
* Checking for suitable kernel configuration options... [ ok ]
>>> Unpacking source...
>>> Unpacking NVIDIA-Linux-x86_64-415.23.run to /var/tmp/portage/x11-drivers/nvidia-drivers-415.23/work
>>> Unpacking nvidia-settings-415.23.tar.bz2 to /var/tmp/portage/x11-drivers/nvidia-drivers-415.23/work
>>> Source unpacked in /var/tmp/portage/x11-drivers/nvidia-drivers-415.23/work
>>> Preparing source in /var/tmp/portage/x11-drivers/nvidia-drivers-415.23/work ...
* 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-375.20-pax.patch ...
1 out of 4 hunks FAILED -- saving rejects to file kernel/nvidia-modeset/nvidia-modeset-linux.c.rej
The text leading up to this was:
--------------------------
|diff -urp work.orig/kernel/nvidia-uvm/uvm_full_fault_buffer.h work/kernel/nvidia-uvm/uvm_full_fault_buffer.h
|--- work.orig/kernel/nvidia-uvm/uvm_full_fault_buffer.h 2016-11-27 21:56:50.399642330 +0100
|+++ work/kernel/nvidia-uvm/uvm_full_fault_buffer.h 2016-11-27 21:54:23.975709978 +0100
--------------------------
No file to patch. Skipping patch.
2 out of 2 hunks ignored [ !! ]
* ERROR: x11-drivers/nvidia-drivers-415.23::gentoo failed (prepare phase):
* patch -p1 failed with /var/tmp/portage/x11-drivers/nvidia-drivers-415.23/files/nvidia-drivers-375.20-pax.patch
*
* Call stack:
* ebuild.sh, line 124: Called src_prepare
* environment, line 5104: Called eapply '/var/tmp/portage/x11-drivers/nvidia-drivers-415.23/files/nvidia-drivers-375.20-pax.patch'
* environment, line 1331: Called _eapply_patch '/var/tmp/portage/x11-drivers/nvidia-drivers-415.23/files/nvidia-drivers-375.20-pax.patch'
* environment, line 1269: Called __helpers_die 'patch -p1 failed with /var/tmp/portage/x11-drivers/nvidia-drivers-415.23/files/nvidia-drivers-375.20-pax.patch'
* isolated-functions.sh, line 121: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=x11-drivers/nvidia-drivers-415.23::gentoo'`,
* the complete build log and the output of `emerge -pqv '=x11-drivers/nvidia-drivers-415.23::gentoo'`.
* The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-415.23/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-415.23/temp/environment'.
* Working directory: '/var/tmp/portage/x11-drivers/nvidia-drivers-415.23/work'
* S: '/var/tmp/portage/x11-drivers/nvidia-drivers-415.23/work/'
|
Hope that this is helpful.
Perhaps I should remove the pax-utils package? I don't have any PAX settings enabled in the kernel, unless some come enabled in the default configuration. |
|
Back to top |
|
|
StevenC21 n00b
Joined: 07 Jun 2018 Posts: 63
|
|
Back to top |
|
|
hhfeuer Apprentice
Joined: 28 Jul 2005 Posts: 185
|
Posted: Fri Jan 04, 2019 1:16 am Post subject: |
|
|
You probably have USE=pax_kernel set.
Check using
emerge -pv nvidia-drivers |
|
Back to top |
|
|
StevenC21 n00b
Joined: 07 Jun 2018 Posts: 63
|
Posted: Fri Jan 04, 2019 1:16 am Post subject: |
|
|
Solved!
I realized that my package.use directory had pax_kernel enabled as a USE flag, which was messing it up. The driver is now installed. Thank you for all the support guys!
Quick edit: For the record, I had not seen the post directly above me when I was typing this. |
|
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
|
|