Skip to content

Build failure: popcorntime #473084

@DieracDelta

Description

@DieracDelta

Nixpkgs version

  • Unstable (26.05)

Steps to reproduce

build the popcorn src attribute

Can Hydra reproduce this build failure?

No, Hydra cannot reproduce this build failure.

Link to Hydra build job

No response

Relevant log output

✦2 ❯ nix-build --expr 'with import /home/jrestivo/dev/nixpkgs2 {config.allowUnfree = true;}; popcorntime.src' --substituters ""
this derivation will be built:
  /nix/store/zdgdf73hxd41svicghfyiz6mgd4838ll-Popcorn-Time-0.5.1-linux64.zip.drv
building '/nix/store/zdgdf73hxd41svicghfyiz6mgd4838ll-Popcorn-Time-0.5.1-linux64.zip.drv'...
structuredAttrs is enabled

trying https://github.com/popcorn-official/popcorn-desktop/releases/download/v0.5.1/Popcorn-Time-0.5.1-linux64.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0   0     0   0     0     0     0  --:--:-- --:--:-- --:--:--     0
  0     0   0     0   0     0     0     0  --:--:-- --:--:-- --:--:--     0
curl: (22) SSL certificate OpenSSL verify result: unable to get local issuer certificate (20)
Warning: Problem (retrying all errors). Will retry in 1 second. 3 retries left.
  0     0   0     0   0     0     0     0  --:--:-- --:--:-- --:--:--     0
  0     0   0     0   0     0     0     0  --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries
Warning: left.

Additional context

The tags seem to have changed and the older ones have been pulled. Might be worth trying to upgrade if we want to keep the package? I took a stab at it here:

✦4 ❯ git diff
diff --git a/pkgs/by-name/po/popcorntime/package.nix b/pkgs/by-name/po/popcorntime/package.nix
index 3c108c50e007..a6b97e9dc13d 100644
--- a/pkgs/by-name/po/popcorntime/package.nix
+++ b/pkgs/by-name/po/popcorntime/package.nix
@@ -1,6 +1,6 @@
 {
   autoPatchelfHook,
-  fetchurl,
+  fetchFromGitHub,
   gcc-unwrapped,
   gsettings-desktop-schemas,
   gtk3,
@@ -18,11 +18,13 @@

 stdenv.mkDerivation rec {
   pname = "popcorntime";
-  version = "0.5.1";
+  version = "0.0.130";

-  src = fetchurl {
-    url = "https://github.com/popcorn-official/popcorn-desktop/releases/download/v${version}/Popcorn-Time-${version}-linux64.zip";
-    hash = "sha256-lCsIioR252GWP/+wNwkTw5PLSal/M9x6mlR/EKOd/hs=";
+  src = fetchFromGitHub {
+    owner = "popcorntime";
+    repo = "popcorntime";
+    rev = "nightly/${version}";
+    hash = "sha256-8mQga3+/+4AojVjbuPOBOLWvt6GrkATLoL/09DF++IE=";
   };

but this errors out. Didn't look into why

Partially addresses #471645

System metadata

N/A

Notify maintainers

@onny


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions