I looked through the PKGBUILD and importing these keys worked for me. I didn't have to change the trust on either of them.
$ gpg --recv-key 'EA0A77BF9E115615FC3BD8BC7653B940E494FE87'
$ gpg --recv-key '8339C7D2942EB854E3F27CE5AEE9DECFD582E984'
Git Clone URL: | https://aur.archlinux.org/mullvad-vpn.git (read-only, click to copy) |
---|---|
Package Base: | mullvad-vpn |
Description: | The Mullvad VPN client app for desktop |
Upstream URL: | https://www.mullvad.net |
Licenses: | GPL-3.0-or-later |
Submitter: | gin078 |
Maintainer: | yochananmarqos |
Last Packager: | yochananmarqos |
Votes: | 131 |
Popularity: | 4.37 |
First Submitted: | 2018-10-24 17:33 (UTC) |
Last Updated: | 2024-04-29 15:34 (UTC) |
« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 .. 39 Next › Last »
I looked through the PKGBUILD and importing these keys worked for me. I didn't have to change the trust on either of them.
$ gpg --recv-key 'EA0A77BF9E115615FC3BD8BC7653B940E494FE87'
$ gpg --recv-key '8339C7D2942EB854E3F27CE5AEE9DECFD582E984'
Package still fails to build with a clean build.
Deleting ~/.cache/yay/mullvad-vpn directory and then doing a clean build is successful.
I'm getting this message when building
Removing old Rust build artifacts
error: failed to load manifest for workspace member `/home/nate/.cache/yay/mullvad-vpn/src/mullvadvpn-app/android/translations-converter`
Caused by:
failed to parse manifest at `/home/nate/.cache/yay/mullvad-vpn/src/mullvadvpn-app/android/translations-converter/Cargo.toml`
Caused by:
feature `edition2021` is required
this Cargo does not support nightly features, but if you
switch to nightly channel you can add
`cargo-features = ["edition2021"]` to enable this feature
==> ERROR: A failure occurred in prepare().
Aborting...
EDIT: Running rustup update stable
or rustup default nightly && rustup update
fixed it.
Package still fails to build for me. I get the following error:
npm ERR! code 1
npm ERR! path /home/aventinus/Downloads/mullvad-vpn/src/mullvadvpn-app/gui
npm ERR! command failed
npm ERR! command sh -c cross-env ELECTRON_BUILDER_ALLOW_UNRESOLVED_DEPENDENCIES=true electron-builder install-app-deps
Thanks, I did that. But there's a new error. I tried uninstalling and re-installing, but got the same error.
Compiling mullvad-rpc v0.1.0 (/var/tmp/pamac-build-user/mullvad-vpn/src/mullvadvpn-app/mullvad-rpc)
error[E0658]: use of unstable library feature 'array_methods'
--> mullvad-rpc/src/lib.rs:530:51
|
530 | [StatusCode::CREATED, StatusCode::OK].as_slice(),
| ^^^^^^^^
|
= note: see issue #76118 <https://github.com/rust-lang/rust/issues/76118> for more information
For more information about this error, try `rustc --explain E0658`.
error: could not compile `mullvad-rpc` due to previous error
warning: build failed, waiting for other jobs to finish...
error: build failed
==> ERROR: A failure occurred in build().
Aborting...
Tried installing mullvad-vpn-bin and that did work.
@manja2: I've re-implemented a fix for that, but you'll have to manually remove the gopath directory first:
sudo rm -rf /var/tmp/pamac-build-user/mullvad-
vpn/src/gopath/
Can't update. Fails during build.
Building mullvad-vpn...
==> Making package: mullvad-vpn 2022.1-1 (Mon 28 Mar 2022 01:25:58 PM PDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating mullvadvpn-app git repo...
Fetching origin
-> Updating mullvadvpn-app-binaries git repo...
Fetching origin
-> Found mullvad-vpn.sh
==> Validating source files with sha256sums...
mullvadvpn-app ... Skipped
mullvadvpn-app-binaries ... Skipped
mullvad-vpn.sh ... Passed
==> Verifying source file signatures with gpg...
mullvadvpn-app git repo ... Passed
==> Removing existing $srcdir/ directory...
rm: cannot remove '/var/tmp/pamac-build-user/mullvad-vpn/src/gopath/pkg/mod/golang.zx2c4.com/wireguard/windows@v0.3.14/gotext.go': Permission denied
rm: cannot remove '/var/tmp/pamac-build-user/mullvad-vpn/src/gopath/pkg/mod/golang.zx2c4.com/wireguard/windows@v0.3.14/services/names.go': Permission denied
rm: cannot remove '/var/tmp/pamac-build-user/mullvad-vpn/src/gopath/pkg/mod/golang.zx2c4.com/wireguard/windows@v0.3.14/services/errors.go': Permission denied
rm: cannot remove '/var/tmp/pamac-build-user/mullvad-vpn/src/gopath/pkg/mod/golang.zx2c4.com/wireguard/windows@v0.3.14/docs/netquirk.md': Permission denied
rm: cannot remove '/var/tmp/pamac-build-user/mullvad-vpn/src/gopath/pkg/mod/golang.zx2c4.com/wireguard/windows@v0.3.14/docs/attacksurface.md': Permission denied
rm: cannot remove '/var/tmp/pamac-build-user/mullvad-vpn/src/gopath/pkg/mod/golang.zx2c4.com/wireguard/windows@v0.3.14/docs/buildrun.md': Permission denied
rm: cannot remove '/var/tmp/pamac-build-user/mullvad-vpn/src/gopath/pkg/mod/golang.zx2c4.com/wireguard/windows@v0.3.14/docs/adminregistry.md': Permission denied
rm: cannot remove '/var/tmp/pamac-build-user/mullvad-vpn/src/gopath/pkg/mod/golang.zx2c4.com/wireguard/windows@v0.3.14/docs/enterprise.md': Permission denied
rm: cannot remove '/var/tmp/pamac-build-user/mullvad-vpn/src/gopath/pkg/mod/golang.zx2c4.com/wireguard/windows@v0.3.14/COPYING': Permission denied
rm
During updating to 2022.1-1 the missing developer key belongs to Oskar. Hopefully this will save others doing the same trial and error exercise as me!
BTW is there a simple way to identify which one is missing? The only clue I had was 4B986EF5222BA1B810230C602F391DE6B00D619C
Edit: Sorry just seen it listed in PKGBUILD!
Why does makepkg -Cc
fail to do a proper clean up? I only see this issue with this package (so far). Is it a makepkg bug or something that can be fixed in the PKGBUILD? Do we need files in src
folder to have read-only permissions?
Clean build error:
error: target not found: libxcrypt-compat
-> error fetching mullvad-vpn: fatal: destination path 'mullvad-vpn' already exists and is not an empty directory.
context: exit status 128
What worked for me was to delete the ~/.cache/yay/mullvad-vpn
directory.
Pinned Comments
yochananmarqos commented on 2022-11-11 19:31 (UTC) (edited on 2022-11-13 19:21 (UTC) by yochananmarqos)
PSA: Upstream does not support building natively for ARM64, only cross-compiling. You can use
mullvad-vpn-bin
instead.yochananmarqos commented on 2019-12-07 17:44 (UTC) (edited on 2020-11-17 03:00 (UTC) by yochananmarqos)
--> ALWAYS DO A CLEAN BUILD <--
This package will verify the signature of the git tag / commit. Developer keys are available here and instructions are here. See the PKGBUILD to determine which developer key you need.