Skip to content

Instantly share code, notes, and snippets.

@raspher
Created April 11, 2024 22:59
Show Gist options
  • Save raspher/11a684f4979269ed306595d563ef7096 to your computer and use it in GitHub Desktop.
Save raspher/11a684f4979269ed306595d563ef7096 to your computer and use it in GitHub Desktop.
nixpkgs protonvpn 4.2.0 logs - missing bcrypt
[nix-shell:~/.cache/nixpkgs-review/pr-302011-2]$ protonvpn-app ^C
[nix-shell:~/.cache/nixpkgs-review/pr-302011-2]$
exit
$ git worktree prune
raspher@nixos ~/p/N/nixpkgs (fix-protonvpn)> nix-shell -p nixpkgs-review --run "nixpkgs-review pr 302011"
$ git -c fetch.prune=false fetch --no-tags --force https://github.com/NixOS/nixpkgs master:refs/nixpkgs-review/0 pull/302011/head:refs/nixpkgs-review/1
$ git worktree add /home/raspher/.cache/nixpkgs-review/pr-302011-3/nixpkgs a64fa316aa181ec9abd330bd4ce2b9aeb4ed3dfa
Preparing worktree (detached HEAD a64fa316aa18)
Updating files: 100% (40906/40906), done.
HEAD is now at a64fa316aa18 Merge pull request #265968 from uninsane/pr-webkitgtk-cross
$ git merge --no-commit --no-ff ab8a4d31d71e132bc070c5398566edaa9233d32f
Automatic merge went well; stopped before committing as requested
$ nix build --extra-experimental-features nix-command no-url-literals --no-link --keep-going --no-allow-import-from-derivation --option build-use-sandbox relaxed -f /home/raspher/.cache/nixpkgs-review/pr-302011-3/build.nix
Link to currently reviewing PR:
https://github.com/NixOS/nixpkgs/pull/302011
46 packages built:
protonvpn-gui protonvpn-gui.dist python311Packages.proton-core python311Packages.proton-core.dist python311Packages.proton-keyring-linux python311Packages.proton-keyring-linux-secretservice python311Packages.proton-keyring-linux-secretservice.dist python311Packages.proton-keyring-linux.dist python311Packages.proton-vpn-api-core python311Packages.proton-vpn-api-core.dist python311Packages.proton-vpn-connection python311Packages.proton-vpn-connection.dist python311Packages.proton-vpn-killswitch python311Packages.proton-vpn-killswitch-network-manager python311Packages.proton-vpn-killswitch-network-manager.dist python311Packages.proton-vpn-killswitch.dist python311Packages.proton-vpn-logger python311Packages.proton-vpn-logger.dist python311Packages.proton-vpn-network-manager python311Packages.proton-vpn-network-manager-openvpn python311Packages.proton-vpn-network-manager-openvpn.dist python311Packages.proton-vpn-network-manager.dist python311Packages.proton-vpn-session python311Packages.proton-vpn-session.dist python312Packages.proton-core python312Packages.proton-core.dist python312Packages.proton-keyring-linux python312Packages.proton-keyring-linux-secretservice python312Packages.proton-keyring-linux-secretservice.dist python312Packages.proton-keyring-linux.dist python312Packages.proton-vpn-api-core python312Packages.proton-vpn-api-core.dist python312Packages.proton-vpn-connection python312Packages.proton-vpn-connection.dist python312Packages.proton-vpn-killswitch python312Packages.proton-vpn-killswitch-network-manager python312Packages.proton-vpn-killswitch-network-manager.dist python312Packages.proton-vpn-killswitch.dist python312Packages.proton-vpn-logger python312Packages.proton-vpn-logger.dist python312Packages.proton-vpn-network-manager python312Packages.proton-vpn-network-manager-openvpn python312Packages.proton-vpn-network-manager-openvpn.dist python312Packages.proton-vpn-network-manager.dist python312Packages.proton-vpn-session python312Packages.proton-vpn-session.dist
$ /nix/store/r0pcjbc0x2z6vrfxzx31cc8dw4034s51-nix-2.13.6/bin/nix-shell /home/raspher/.cache/nixpkgs-review/pr-302011-3/shell.nix
[nix-shell:~/.cache/nixpkgs-review/pr-302011-3]$ protonvpn-app
Traceback (most recent call last):
File "/nix/store/rpw1lxafgmdif77bpj3crxx8riglfyc5-protonvpn-gui-4.2.0/bin/..protonvpn-app-wrapped-wrapped", line 6, in <module>
from proton.vpn.app.gtk.__main__ import main
File "/nix/store/rpw1lxafgmdif77bpj3crxx8riglfyc5-protonvpn-gui-4.2.0/lib/python3.11/site-packages/proton/vpn/app/gtk/__main__.py", line 25, in <module>
from proton.vpn.app.gtk.app import App
File "/nix/store/rpw1lxafgmdif77bpj3crxx8riglfyc5-protonvpn-gui-4.2.0/lib/python3.11/site-packages/proton/vpn/app/gtk/app.py", line 28, in <module>
from proton.vpn.app.gtk.controller import Controller
File "/nix/store/rpw1lxafgmdif77bpj3crxx8riglfyc5-protonvpn-gui-4.2.0/lib/python3.11/site-packages/proton/vpn/app/gtk/controller.py", line 28, in <module>
from proton.vpn.core.api import ProtonVPNAPI, VPNAccount
File "/nix/store/z689yyrmwx3pdabnp65hqrr4610bh6pd-python3.12-proton-vpn-api-core-0.21.0/lib/python3.12/site-packages/proton/vpn/core/api.py", line 26, in <module>
from proton.vpn.core.connection import VPNConnectorWrapper
File "/nix/store/z689yyrmwx3pdabnp65hqrr4610bh6pd-python3.12-proton-vpn-api-core-0.21.0/lib/python3.12/site-packages/proton/vpn/core/connection.py", line 28, in <module>
from proton.vpn.session.servers import LogicalServer
File "/nix/store/9rfkg5vclibxjk1iindigxjkw1swv7cj-python3.12-proton-vpn-session-0.6.5/lib/python3.12/site-packages/proton/vpn/session/__init__.py", line 19, in <module>
from proton.vpn.session.session import VPNSession
File "/nix/store/9rfkg5vclibxjk1iindigxjkw1swv7cj-python3.12-proton-vpn-session-0.6.5/lib/python3.12/site-packages/proton/vpn/session/session.py", line 23, in <module>
from proton.session import Session, FormData, FormField
File "/nix/store/3k05g5pp4gykk5lbx7i06i5nh5gfma4p-python3.12-proton-core-0.1.16/lib/python3.12/site-packages/proton/session/__init__.py", line 19, in <module>
from .api import Session # noqa
^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/3k05g5pp4gykk5lbx7i06i5nh5gfma4p-python3.12-proton-core-0.1.16/lib/python3.12/site-packages/proton/session/api.py", line 24, in <module>
from .srp import User as PmsrpUser
File "/nix/store/3k05g5pp4gykk5lbx7i06i5nh5gfma4p-python3.12-proton-core-0.1.16/lib/python3.12/site-packages/proton/session/srp/__init__.py", line 19, in <module>
from . import _pysrp
File "/nix/store/3k05g5pp4gykk5lbx7i06i5nh5gfma4p-python3.12-proton-core-0.1.16/lib/python3.12/site-packages/proton/session/srp/_pysrp.py", line 34, in <module>
from .util import (PM_VERSION, SRP_LEN_BYTES, SALT_LEN_BYTES, bytes_to_long, custom_hash,
File "/nix/store/3k05g5pp4gykk5lbx7i06i5nh5gfma4p-python3.12-proton-core-0.1.16/lib/python3.12/site-packages/proton/session/srp/util.py", line 20, in <module>
import bcrypt
File "/nix/store/d7dgkybk90jm33gnrrcg62026800ms52-python3.12-bcrypt-4.1.2/lib/python3.12/site-packages/bcrypt/__init__.py", line 13, in <module>
from ._bcrypt import (
ModuleNotFoundError: No module named 'bcrypt._bcrypt'
[nix-shell:~/.cache/nixpkgs-review/pr-302011-3]$ python --version
Python 3.11.8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment