Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 807340 - x11-drivers/nvidia-drivers-390.144 ebuild is using the wrong download URL
Summary: x11-drivers/nvidia-drivers-390.144 ebuild is using the wrong download URL
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2021-08-09 21:52 UTC by Tom Dexter
Modified: 2021-08-10 03:29 UTC (History)
2 users (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 Tom Dexter 2021-08-09 21:52:34 UTC
The x11-drivers/nvidia-drivers-390.144 ebuild fails on x86 as it's using the wrong URL. I was able to get it working with this change:

diff -u /usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-390.144.ebuild /usr/local/portage/x11-drivers/nvidia-drivers/nvidia-drivers-390.144.ebuild 
--- /usr/portage/x11-drivers/nvidia-drivers/nvidia-drivers-390.144.ebuild	2021-07-28 21:39:56.000000000 -0400
+++ /usr/local/portage/x11-drivers/nvidia-drivers/nvidia-drivers-390.144.ebuild	2021-08-09 17:44:15.000000000 -0400
@@ -14,7 +14,7 @@
 HOMEPAGE="https://www.nvidia.com/download/index.aspx"
 SRC_URI="
 	amd64? ( ${NV_URI}Linux-x86_64/${PV}/NVIDIA-Linux-x86_64-${PV}.run )
-	x86? ( ${NV_URI}Linux-aarch64/${PV}/NVIDIA-Linux-x86-${PV}.run )
+	x86? ( ${NV_URI}Linux-x86/${PV}/NVIDIA-Linux-x86-${PV}.run )
 	${NV_URI}nvidia-installer/nvidia-installer-${PV}.tar.bz2
 	${NV_URI}nvidia-modprobe/nvidia-modprobe-${PV}.tar.bz2
 	${NV_URI}nvidia-persistenced/nvidia-persistenced-${PV}.tar.bz2

That is, replacing aarch64 with x86.

Reproducible: Always
Comment 1 Ionen Wolkens gentoo-dev 2021-08-10 03:24:37 UTC
Thanks, missed that due to having the file locally. Amazed this stayed around this long.
Comment 2 Larry the Git Cow gentoo-dev 2021-08-10 03:29:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5294724cd2941de3de81ad0c83e0df4351d3dda8

commit 5294724cd2941de3de81ad0c83e0df4351d3dda8
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2021-08-10 03:27:19 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2021-08-10 03:29:04 +0000

    x11-drivers/nvidia-drivers: fix 390.144's x86 SRC_URI
    
    Need to remember to re-test downloading those for non-amd64 too.
    
    Closes: https://bugs.gentoo.org/807340
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 x11-drivers/nvidia-drivers/nvidia-drivers-390.144.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)