New comment by maop on void-packages repository https://github.com/void-linux/void-packages/issues/28094#issuecomment-779424009 Comment: Hello, i just had this problem too ``` => spotify-1.1.42_3: fetching distfile 'spotify-client_1.1.42.622.gbd112320-37_amd64.deb'... spotify-client_1.1.42.622.gbd112320-37_amd64.deb: [120MB 1%] 3766B/s ETA: 08h24m spotify-client_1.1.42.622.gbd112320-37_amd64.deb: [120MB 1%] 88KB/s ETA: 27m14s spotify-client_1.1.42.622.gbd112320-37_amd64.deb: [120MB 2%] 199KB/s ETA: 11m09s spotify-client_1.1.42.622.gbd112320-37_amd64.deb: [120MB 2%] 308KB/s ETA: 07m00s spotify-client_1.1.42.622.gbd112320-37_amd64.deb: [120MB 3%] 454KB/s ETA: 04m40s http://repository.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.1.42.622.gbd112320-37_amd64.deb: (null) => ERROR: spotify-1.1.42_3: failed to fetch spotify-client_1.1.42.622.gbd112320-37_amd64.deb. ``` I tried to download the .deb file with wget and found out that the remote server disconnects and cancels de download ``` $ wget https://repository-origin.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.1.42.622.gbd112320-37_amd64.deb --2021-02-15 13:44:12-- https://repository-origin.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.1.42.622.gbd112320-37_amd64.deb Resolviendo repository-origin.spotify.com (repository-origin.spotify.com)... 35.186.224.25, 2600:1901:1:c36:: Conectando con repository-origin.spotify.com (repository-origin.spotify.com)[35.186.224.25]:443... conectado. Petición HTTP enviada, esperando respuesta... 200 OK Longitud: 126293582 (120M) [application/octet-stream] Grabando a: «spotify-client_1.1.42.622.gbd112320-37_amd64.deb» spotify-client_1.1.42.622.gbd 1%[ ] 2.22M 545KB/s en 4.8s 2021-02-15 13:44:18 (478 KB/s) - Conexión cerrada en el byte 2326710. Reintentando. --2021-02-15 13:44:19-- (intento: 2) https://repository-origin.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.1.42.622.gbd112320-37_amd64.deb Conectando con repository-origin.spotify.com (repository-origin.spotify.com)[35.186.224.25]:443... conectado. Petición HTTP enviada, esperando respuesta... 206 Partial Content Longitud: 126293582 (120M), quedan 123966872 (118M) [application/octet-stream] Grabando a: «spotify-client_1.1.42.622.gbd112320-37_amd64.deb» spotify-client_1.1.42.622.gbd 30%[==============> ] 37.02M 5.90MB/s en 6.3s 2021-02-15 13:44:25 (5.52 MB/s) - Conexión cerrada en el byte 38814691. Reintentando. ``` Even in a browser download disconnects! Anyway, my workaround was to download the deb with `wget -c` and put it in `hostdir/sources/spotify-1.1.42/` then the binary builds correctly. Is there a way to tell xbps-src to retry the download (with resume) for X times?