NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.2k stars 14.2k forks source link

Build failure: teamspeak_client #344885

Closed suptimal closed 1 month ago

suptimal commented 1 month ago

Steps To Reproduce

Steps to reproduce the behavior: try to install/build the package using nix-shell or nixos configuration.nix

NIXPKGS_ALLOW_UNFREE=1 nix-shell -p teamspeak_client

Build log

these 3 derivations will be built:
  /nix/store/mrklv5jc5yf9917c98ismzhr6xpgqb2l-TeamSpeak3-Client-linux_amd64-3.6.2.run.drv
  /nix/store/r3zl2n9n92sl8si5mmw64048djy4phdz-pluginsdk_3.1.1.1.zip.drv
  /nix/store/m0p3r1cmi9qiyk569i4rc30636x3aymq-teamspeak-client-3.6.2.drv
building '/nix/store/mrklv5jc5yf9917c98ismzhr6xpgqb2l-TeamSpeak3-Client-linux_amd64-3.6.2.run.drv'...
building '/nix/store/r3zl2n9n92sl8si5mmw64048djy4phdz-pluginsdk_3.1.1.1.zip.drv'...

trying https://files.teamspeak-services.com/releases/client/3.6.2/TeamSpeak3-Client-linux_amd64-3.6.2.run
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

trying http://dl.4players.de/ts/client/pluginsdk/pluginsdk_3.1.1.1.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: dl.4players.de
Warning: Problem : timeout. Will retry in 1 seconds. 3 retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: dl.4players.de
Warning: Problem : timeout. Will retry in 2 seconds. 2 retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: dl.4players.de
Warning: Problem : timeout. Will retry in 4 seconds. 1 retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: dl.4players.de
error: cannot download pluginsdk_3.1.1.1.zip from any mirror
error: builder for '/nix/store/r3zl2n9n92sl8si5mmw64048djy4phdz-pluginsdk_3.1.1.1.zip.drv' failed with exit code 1;
       last 10 log lines:
       >   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
       >                                  Dload  Upload   Total   Spent    Left  Speed
       >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: dl.4players.de
       > Warning: Problem : timeout. Will retry in 1 seconds. 3 retries left.
       >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: dl.4players.de
       > Warning: Problem : timeout. Will retry in 2 seconds. 2 retries left.
       >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: dl.4players.de
       > Warning: Problem : timeout. Will retry in 4 seconds. 1 retries left.
       >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: dl.4players.de
       > error: cannot download pluginsdk_3.1.1.1.zip from any mirror
       For full logs, run 'nix log /nix/store/r3zl2n9n92sl8si5mmw64048djy4phdz-pluginsdk_3.1.1.1.zip.drv'.
error: 1 dependencies of derivation '/nix/store/m0p3r1cmi9qiyk569i4rc30636x3aymq-teamspeak-client-3.6.2.drv' failed to build

Additional context

the Domain dl.4players.de is no longer configured.

Teamspeak Download Pages redirects to this place: https://github.com/teamspeak/ts3client-pluginsdk

Notify maintainers

@lukegb @Atemu

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[matthias@mka-tower:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.11.0, NixOS, 24.11 (Vicuna), 24.11.20240923.30439d9`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.7`
 - nixpkgs: `/nix/store/p2hby44a0qzrnd1vxcpcgfav6160rmcv-source`

Add a :+1: reaction to issues you find important.

Shawn8901 commented 1 month ago

You might want to check out https://github.com/NixOS/nixpkgs/pull/344608

Atemu commented 1 month ago

Not merged yet

priegger commented 1 month ago

As a workaround, until this is fixed in nixpkgs:

The file is still available at the Internet Archive. You can fetch it from there and write it into the store, with something like this:

nix-prefetch-url https://web.archive.org/web/20180925102005/http://dl.4players.de/ts/client/pluginsdk/pluginsdk_3.1.1.1.zip