* Applying nvidia-drivers-470.141.03-clang15.patch ... /var/tmp/portage/x11-drivers/nvidia-drivers-470.182.03/temp/environment:Unpacking source...
Unpacking NVIDIA-Linux-x86_64-470.182.03.run to /var/tmp/portage/x11-drivers/nvidia-drivers-470.182.03/work
Unpacking nvidia-installer-470.182.03.tar.bz2 to /var/tmp/portage/x11-drivers/nvidia-drivers-470.182.03/work
Unpacking nvidia-modprobe-470.182.03.tar.bz2 to /var/tmp/portage/x11-drivers/nvidia-drivers-470.182.03/work
Unpacking nvidia-persistenced-470.182.03.tar.bz2 to /var/tmp/portage/x11-drivers/nvidia-drivers-470.182.03/work
Unpacking nvidia-settings-470.182.03.tar.bz2 to /var/tmp/portage/x11-drivers/nvidia-drivers-470.182.03/work
Unpacking nvidia-xconfig-470.182.03.tar.bz2 to /var/tmp/portage/x11-drivers/nvidia-drivers-470.182.03/work
Source unpacked in /var/tmp/portage/x11-drivers/nvidia-drivers-470.182.03/work
Preparing source in /var/tmp/portage/x11-drivers/nvidia-drivers-470.182.03/work ...
* patch -p1 failed with
<div>You know I don't run Gentoo, right? ;-)</div><div><br></div><div>Cheers,</div><div>Mark</div></div>
/var/tmp/portage/x11-drivers/nvidia-drivers-470.182.03/temp/environment:
line 1291: /var/tmp/portage/x11-drivers/nvidia-drivers-470.182.03/files/nvidia-drivers-470.141.03-clang15.patch:
No such file or directory
Any thoughts? Ideas?
On 2023-04-21 00:36, Dale wrote:
/var/tmp/portage/x11-drivers/nvidia-drivers-470.182.03/temp/environment:
line 1291:
/var/tmp/portage/x11-drivers/nvidia-drivers-470.182.03/files/nvidia-drivers-470.141.03-clang15.patch:
No such file or directory
Any thoughts? Ideas?
I couldn't reproduce the error here. One thing that comes to mind is
that your system might have an error in its repository configuration. /var/tmp/portage/x11-drivers/nvidia-drivers-470.182.03/files is a
symlink and should point to your main repository, normally /var/db/repos/gentoo/x11-drivers/nvidia-drivers/files. When the emerge
fails, can you check what that symlink actually points to and if this
is where your repository is stored? What is the output of emerge
--info? (Repository info is in that output).
/Morgan
I cleared the tmp files to give it a fresh start. It still failed. The directory and files it complains about being missing, they are. I went
to the ebuild to see what patches are supposed to be installed. This is
the part of the ebuild.Â
PATCHES=(
   "${FILESDIR}"/nvidia-drivers-470.141.03-clang15.patch
   "${FILESDIR}"/nvidia-modprobe-390.141-uvm-perms.patch
   "${FILESDIR}"/nvidia-settings-390.144-desktop.patch
   "${FILESDIR}"/nvidia-settings-390.144-no-gtk2.patch
   "${FILESDIR}"/nvidia-settings-390.144-raw-ldflags.patch
)
As you can see, it wants to apply patches from several versions so while
odd, I guess it really does it that way. I suspect given the age of the drivers that the patches no longer exist or something. I'd think it
would report it couldn't download the files but maybe not. I may be
running out of luck here. Odd thing is, it compiled a while back.Â
Am Thu, Apr 20, 2023 at 08:33:22PM -0500 schrieb Dale:
I cleared the tmp files to give it a fresh start. It still failed. The >> directory and files it complains about being missing, they are. I wentIf I read your error output correctly, it’s not that the patch file is missing, but that a file that is mentioned inside the patch is.
to the ebuild to see what patches are supposed to be installed. This is
the part of the ebuild.Â
PATCHES=(
   "${FILESDIR}"/nvidia-drivers-470.141.03-clang15.patch
   "${FILESDIR}"/nvidia-modprobe-390.141-uvm-perms.patch
   "${FILESDIR}"/nvidia-settings-390.144-desktop.patch
   "${FILESDIR}"/nvidia-settings-390.144-no-gtk2.patch
   "${FILESDIR}"/nvidia-settings-390.144-raw-ldflags.patch
)
As you can see, it wants to apply patches from several versions so while
odd, I guess it really does it that way. I suspect given the age of the
drivers that the patches no longer exist or something. I'd think it
would report it couldn't download the files but maybe not. I may be
running out of luck here. Odd thing is, it compiled a while back.Â
On Fri, 21 Apr 2023 at 10:58, Dale <rdalek1967@gmail.com> wrote:
I put my local ebuilds in /usr/local/portage. Obviously emerge sees itIf your ebuild and the repo ebuild are the same, that means that the
since it was trying to use it. I don't understand why it doesn't work
tho. I looked at the ebuild in the tree and my overlay, they look the
same, including the patches from different versions.
Now I need to figure out why the overlay version isn't working. I've
had occasion to need older versions before, due to some bug or
something. Gonna see if it builds against the new kernel now. Let us
pray.
patch was changed, look in your /usr/local/portage/x11-drivers/nvidia-drivers/files/ folder and
compare with the current files.
Regards,
Arve
I put my local ebuilds in /usr/local/portage. Obviously emerge sees it
since it was trying to use it. I don't understand why it doesn't work
tho. I looked at the ebuild in the tree and my overlay, they look the
same, including the patches from different versions.
Now I need to figure out why the overlay version isn't working. I've
had occasion to need older versions before, due to some bug or
something. Gonna see if it builds against the new kernel now. Let us
pray.
Did something change with overlays? In the past, I copied the ebuild
over to local overlay and ran the ebuild command for the manifest. It downloaded everything that was needed. Now, it seems it doesn't. They
add a step? I miss a step that slipped my mind?
...
* Package: x11-drivers/nvidia-drivers-470.182.03:0/470
* Repository: mine
/var/tmp/portage/x11-drivers/nvidia-drivers-470.182.03/files/nvidia-drivers-470.141.03-clang15.patch:
No such file or directory
this error tho and it work when I reboot, it would be great. I don't
think that driver version is in the tree anymore. It shows it is in my local overlay.
I did a emerge -ef nvidia-drivers and it still fails. I was hoping that would pick up the needed files. Guess not. I decided to do some more digging. I noticed that the same version is still in the tree. I
copied the ebuild a while back to a local overlay to make sure I don't
lose it. It seems emerge gives my local overlay priority over the one
in the tree. I renamed the ebuild in my overlay with .old tacked on.Â
It emerges fine after that since it uses the ebuild in the tree. It
seems my overlay is broken somehow. Likely a design improvement. ;-)Â
Also, I switch to the current kernel, it failed in the same way. It
isn't just the new kernel, it seems to be any of them. I wonder how
hard it is to switch to that other driver. From the wiki page, it looks like a big deal.Â
On Thu, 20 Apr 2023 20:33:22 -0500, Dale wrote:
Also, I switch to the current kernel, it failed in the same way. ItNot really, AFAIR. You just enable nouveau drivers in your kernel config, uninstall the nvidia package and reboot. This assumes you haven't got any direct references to the nvisia driver in /etc/xorg.conf*.
isn't just the new kernel, it seems to be any of them. I wonder how
hard it is to switch to that other driver. From the wiki page, it looks
like a big deal.Â
On Fri, 21 Apr 2023 03:58:11 -0500, Dale wrote:
I did a emerge -ef nvidia-drivers and it still fails. I was hoping thatThat's the default by design. If you copy an ebuild to your overlay, it's usually because you want to make changes to it, so it should be given priority. You can change the priority of overlays in
would pick up the needed files. Guess not. I decided to do some more
digging. I noticed that the same version is still in the tree. I
copied the ebuild a while back to a local overlay to make sure I don't
lose it. It seems emerge gives my local overlay priority over the one
in the tree. I renamed the ebuild in my overlay with .old tacked on.Â
It emerges fine after that since it uses the ebuild in the tree. It
seems my overlay is broken somehow. Likely a design improvement. ;-)Â
/etc/portage/repos.conf, or you can simply mask the overlay version.
Dale,
On Thursday, 2023-04-20 17:36:23 -0500, you wrote:
...Maybe I'm missing something, but as of today "x11-drivers/nvidia-dri- vers" version 470.182.03 is still in the normal Gentoo tree. So why use
* Package:Â Â Â x11-drivers/nvidia-drivers-470.182.03:0/470
 * Repository: mine
your personal repo? Do you have a local patch applied?
Sincerely,
Rainer
.
Also, I switch to the current kernel, it failed in the same way. ItNot really, AFAIR. You just enable nouveau drivers in your kernel
isn't just the new kernel, it seems to be any of them. I wonder how
hard it is to switch to that other driver. From the wiki page, it
looks like a big deal.Â
config, uninstall the nvidia package and reboot. This assumes you
haven't got any direct references to the nvisia driver in
/etc/xorg.conf*.
I think, pretty much certain, I have it set to nvidia in xorg.conf.Â
This is a old install. If I recall correctly, I have to change that. Also, I'd need to edit make.conf I think. I read the wiki thingy a few times. It's mostly undoing things but with the age of this install, I
don't think my old way is the new way. Yep. I'm getting better at
grep. lol
root@fireball / # cat /etc/X11/xorg.conf | grep driver
   Driver        "mouse"
   Driver        "kbd"
   Driver        "nvidia"
root@fireball / #cat /etc/make.conf | grep video_cards
VIDEO_CARDS="nvidia vesa"
root@fireball / #
I think I'd have to change those. It may or may not rebuild some packages. Would I need to leave out vesa or OK to leave it in?
On Fri, 21 Apr 2023 09:55:24 -0500, Dale wrote:
xorg.conf is often unnecessary these days. I only have a file inI think, pretty much certain, I have it set to nvidia in xorg.conf.ÂAlso, I switch to the current kernel, it failed in the same way. ItNot really, AFAIR. You just enable nouveau drivers in your kernel
isn't just the new kernel, it seems to be any of them. I wonder how
hard it is to switch to that other driver. From the wiki page, it
looks like a big deal.Â
config, uninstall the nvidia package and reboot. This assumes you
haven't got any direct references to the nvisia driver in
/etc/xorg.conf*.
This is a old install. If I recall correctly, I have to change that.Â
Also, I'd need to edit make.conf I think. I read the wiki thingy a few
times. It's mostly undoing things but with the age of this install, I
don't think my old way is the new way. Yep. I'm getting better at
grep. lol
root@fireball / # cat /etc/X11/xorg.conf | grep driver
   Driver        "mouse"
   Driver        "kbd"
   Driver        "nvidia"
xorg.conf.d to switch the buttons on my trackball.
root@fireball / #cat /etc/make.conf | grep video_cardsYou'll need to replace nvidia with nouveau here, leave in vesa as a
VIDEO_CARDS="nvidia vesa"
root@fireball / #
I think I'd have to change those. It may or may not rebuild some
packages. Would I need to leave out vesa or OK to leave it in?
fallback.
The worst that can happen is that X fails to start and you need to
re-emerge the nvidia drivers, which you quickpkg'd of course.
I ran into a buggy driver a while back and once I synced and upgraded,It will break with kernel and x.org upgrades. NVidia still updates the
the old one was gone. So, I started keeping a local copy just in case.
Of course, as long as I keep a older driver to fall back on, it won't
break anymore.
On 21/04/2023 19:29, Dale wrote:
I ran into a buggy driver a while back and once I synced and upgraded,It will break with kernel and x.org upgrades. NVidia still updates the
the old one was gone. So, I started keeping a local copy just in case.
Of course, as long as I keep a older driver to fall back on, it won't
break anymore.
legacy drivers from time to time to support new kernel and x.org
versions.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 303 |
Nodes: | 16 (2 / 14) |
Uptime: | 76:33:34 |
Calls: | 6,805 |
Calls today: | 1 |
Files: | 12,327 |
Messages: | 5,400,222 |