Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure: electrum #349746

Closed
devurandom opened this issue Oct 19, 2024 · 1 comment · Fixed by #349753
Closed

Build failure: electrum #349746

devurandom opened this issue Oct 19, 2024 · 1 comment · Fixed by #349753
Labels
0.kind: build failure A package fails to build

Comments

@devurandom
Copy link
Contributor

Steps To Reproduce

Steps to reproduce the behavior:

  1. inputs.nixpkgs.url = flake:nixpkgs/nixos-unstable;
  2. environment.systemPackages = [ electrum ];
  3. sudo nixos-rebuild dry-activate

Build log

warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/nix/store/zmi7id6g297fbh6d7n3c1y39chyzl000-electrum-4.5.5.drv^*'
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Sourcing pypa-install-hook
Using pypaInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing pytest-check-hook
Using pytestCheckPhase
Running phase: qtPreHook
@nix { "action": "setPhase", "phase": "qtPreHook" }
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/h3kyypw7vwp4pvkk2ih0lz6rn9k2xmx6-Electrum-4.5.5.tar.gz
source root is Electrum-4.5.5
setting SOURCE_DATE_EPOCH to timestamp 973941071 of file Electrum-4.5.5/setup.py
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
substituteStream() in derivation electrum-4.5.5: WARNING: '--replace' is deprecated, use --replace-{fail,warn,quiet}. (file './contrib/requirements/requirements.txt')
/nix/store/ncv68hjnidcd2bm5abkhklrijhn0cgn6-stdenv-linux/setup: line 230: protoc: command not found

Additional context

My flake.lock:

{
  "nodes": {
    "home-manager": {
      "inputs": {
        "nixpkgs": [
          "nixpkgs"
        ]
      },
      "locked": {
        "lastModified": 1729321331,
        "narHash": "sha256-KVyQq+ez/oB30/WbdNgVD8g/bda34z8NiU187QKQb74=",
        "owner": "nix-community",
        "repo": "home-manager",
        "rev": "122f70545b29ccb922e655b08acfe05bfb44ec68",
        "type": "github"
      },
      "original": {
        "id": "home-manager",
        "type": "indirect"
      }
    },
    "nixpkgs": {
      "locked": {
        "lastModified": 1729256560,
        "narHash": "sha256-/uilDXvCIEs3C9l73JTACm4quuHUsIHcns1c+cHUJwA=",
        "owner": "NixOS",
        "repo": "nixpkgs",
        "rev": "4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0",
        "type": "github"
      },
      "original": {
        "id": "nixpkgs",
        "ref": "nixos-unstable",
        "type": "indirect"
      }
    },
    "root": {
      "inputs": {
        "home-manager": "home-manager",
        "nixpkgs": "nixpkgs"
      }
    }
  },
  "root": "root",
  "version": 7
}

Notify maintainers

@joachifm, @np, @prusnak, @chewblacka

Metadata

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

nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.11.1, NixOS, 24.11 (Vicuna), 24.11.20241004.bc947f5`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.8`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/store/sdzpqjwx7pdx6lsq6llyfqqf7hspp83c-source`

Add a 👍 reaction to issues you find important.

@devurandom devurandom added the 0.kind: build failure A package fails to build label Oct 19, 2024
@Yarny0
Copy link
Contributor

Yarny0 commented Oct 19, 2024

Hi @devurandom , I proposed a pull-request to fix electrum. Please have a look or even provide a review, if you have time to do so. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants