Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 617270

Summary: nvidia-drivers packages needs NV_URI changed
Product: Gentoo Linux Reporter: tdr <ted.d.rodgers>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: josef64
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description tdr 2017-05-02 17:26:58 UTC
NV_URI="http://http.download.nvidia.com/XFree86/"  will not break the current (working) nvidia-drivers downloads + will prevent the 404 errors when attempting to download the nvidia-settings packages (triggered by tools USE flag)




Reproducible: Always

Steps to Reproduce:
1. clear distfiles of nvidia-settings*
2. USE="tools" emerge -f nvidia-drivers

Actual Results:  
404 error when attempting to download the nvidia-settings package that is pulled

(testing version shown but result is same for stable amd64)

>>> Fetching (1 of 1) x11-drivers/nvidia-drivers-381.09::gentoo
 * NVIDIA-Linux-x86_64-381.09.run SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                               [ ok ]
>>> Downloading 'http://us.download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-381.09.tar.bz2'
--2017-05-02 13:23:13--  http://us.download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-381.09.tar.bz2
Resolving us.download.nvidia.com... 192.229.211.70
Connecting to us.download.nvidia.com|192.229.211.70|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-05-02 13:23:14 ERROR 404: Not Found.

!!! Couldn't download 'nvidia-settings-381.09.tar.bz2'. Aborting.
 * Fetch failed for 'x11-drivers/nvidia-drivers-381.09'

Expected Results:  
normal download of the nvidia-setings package from:

        ${NV_URI}nvidia-settings/nvidia-settings-${PV}.tar.bz2

# emerge -f =nvidia-drivers-378.13

 * IMPORTANT: 13 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

Calculating dependencies... done!

>>> Fetching (1 of 1) x11-drivers/nvidia-drivers-378.13::gentoo
 * NVIDIA-Linux-x86_64-378.13.run SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                               [ ok ]
>>> Downloading 'http://us.download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-378.13.tar.bz2'
--2017-05-02 12:54:25--  http://us.download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-378.13.tar.bz2
Resolving us.download.nvidia.com... 192.229.211.70
Connecting to us.download.nvidia.com|192.229.211.70|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-05-02 12:54:25 ERROR 404: Not Found.

!!! Couldn't download 'nvidia-settings-378.13.tar.bz2'. Aborting.
 * Fetch failed for 'x11-drivers/nvidia-drivers-378.13'

>>> Failed to emerge x11-drivers/nvidia-drivers-378.13

(nvidia-drivers was already present, only needed to fetch nvidia-settings)



This is currently effecting stable + testing branches on amd64 and probably other archs as well.

Work around editing the NV_URI works on several versions I tested on amd64/~amd64

>>> Fetching (1 of 1) x11-drivers/nvidia-drivers-378.13::gentoo
>>> Downloading 'http://http.download.nvidia.com/XFree86/Linux-x86_64/378.13/NVIDIA-Linux-x86_64-378.13.run'
--2017-05-02 13:09:50--  http://http.download.nvidia.com/XFree86/Linux-x86_64/378.13/NVIDIA-Linux-x86_64-378.13.run
Resolving http.download.nvidia.com... 192.229.211.70
Connecting to http.download.nvidia.com|192.229.211.70|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 76239469 (73M) [application/octet-stream]
Saving to: '/usr/portage/distfiles/NVIDIA-Linux-x86_64-378.13.run'
.
.
.
nvidia-settings also downloads.

(testing version here shown after ediing the NV_URI)

# ebuild nvidia-drivers-381.09.ebuild manifest
>>> Renaming distfile with size 179518 (smaller than PORTAGE_FETCH_RESUME_MIN_SIZE)
Refetching... File renamed to '/usr/portage/distfiles/nvidia-settings-378.13.tar.bz2._checksum_failure_.mlbw5f04'


>>> Downloading 'http://http.download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-378.13.tar.bz2'
--2017-05-02 13:25:01--  http://http.download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-378.13.tar.bz2
Resolving http.download.nvidia.com... 192.229.211.70
Connecting to http.download.nvidia.com|192.229.211.70|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1618011 (1.5M) [application/x-bzip]
Saving to: '/usr/portage/distfiles/nvidia-settings-378.13.tar.bz2'

/usr/portage/distfiles/NVIDIA-Linux-x86_64-378.13.  37%[+++++++++++


All versions of nvidia-drivers appear to have the 404 error with the settings.
Updated url also would not restrict only using the US mirror.
Comment 1 Coacher 2017-05-04 11:09:41 UTC

*** This bug has been marked as a duplicate of bug 617096 ***