Package Details: mullvad-vpn 2024.8-1

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: 139
Popularity: 3.58
First Submitted: 2018-10-24 17:33 (UTC)
Last Updated: 2024-12-13 02:39 (UTC)

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 2024-06-06 22:09 (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.

Please do not create upstream issues about the AUR package, they do not support it.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 45 Next › Last »

JackStorm commented on 2024-05-15 06:41 (UTC) (edited on 2024-05-15 06:53 (UTC) by JackStorm)

Can't get it to work after one of the recent updates:

   Compiling tower v0.4.13
   Compiling hyper v0.14.27
   Compiling hyper-timeout v0.4.1
   Compiling axum v0.6.20
   Compiling tonic v0.10.0
   Compiling mullvad-management-interface v0.0.0 (/home/anonymous/.cache/yay/mullvad-vpn/src/mullvadvpn-app/mullvad-management-interface)
   Compiling mullvad-cli v0.0.0 (/home/anonymous/.cache/yay/mullvad-vpn/src/mullvadvpn-app/mullvad-cli)
    Finished `release` profile [optimized] target(s) in 2m 33s
     Running `target/release/mullvad shell-completions bash build/shell-completions/`
Generating shell completions to build/shell-completions/
Generating shell completion script for zsh...
warning: `/home/anonymous/.cache/yay/mullvad-vpn/src/mullvadvpn-app/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
    Finished `release` profile [optimized] target(s) in 0.26s
     Running `target/release/mullvad shell-completions zsh build/shell-completions/`
Generating shell completions to build/shell-completions/
Generating shell completion script for fish...
warning: `/home/anonymous/.cache/yay/mullvad-vpn/src/mullvadvpn-app/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
    Finished `release` profile [optimized] target(s) in 0.29s
     Running `target/release/mullvad shell-completions fish build/shell-completions/`
Generating shell completions to build/shell-completions/
Updating relays.json...
warning: `/home/anonymous/.cache/yay/mullvad-vpn/src/mullvadvpn-app/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
   Compiling mullvad-api v0.0.0 (/home/anonymous/.cache/yay/mullvad-vpn/src/mullvadvpn-app/mullvad-api)
    Finished `release` profile [optimized] target(s) in 1m 01s
     Running `target/release/relay_list`
~/.cache/yay/mullvad-vpn/src/mullvadvpn-app/gui ~/.cache/yay/mullvad-vpn/src/mullvadvpn-app
Packing Mullvad VPN 2024.2 artifact(s)...

> mullvad-vpn@0.0.0 pack:linux
> gulp pack-linux

warning: `/home/anonymous/.cache/yay/mullvad-vpn/src/mullvadvpn-app/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
warning: `/home/anonymous/.cache/yay/mullvad-vpn/src/mullvadvpn-app/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
warning: `/home/anonymous/.cache/yay/mullvad-vpn/src/mullvadvpn-app/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
[00:59:42] Using gulpfile ~/.cache/yay/mullvad-vpn/src/mullvadvpn-app/gui/gulpfile.js
[00:59:42] Starting 'pack-linux'...
[00:59:42] Starting 'build'...
[00:59:42] Starting 'clean'...
[00:59:42] Finished 'clean' after 4.58 ms
[00:59:42] Starting 'build-proto'...
[00:59:42] Starting 'copy-static-assets'...
[00:59:42] Starting 'copy-config'...
[00:59:42] Starting 'copy-css'...
[00:59:42] Starting 'copy-html'...
[00:59:42] Starting 'copy-locales'...
[00:59:42] Starting 'copy-geo-data'...
[00:59:42] Finished 'copy-css' after 78 ms
[00:59:42] 'copy-static-assets' errored after 101 ms
[00:59:42] TypeError: Cannot assign to read only property 'atime' of object '#<Stats>'
    at onFutimes (/home/anonymous/.cache/yay/mullvad-vpn/src/mullvadvpn-app/gui/node_modules/vinyl-fs/lib/file-operations.js:258:27)
    at FSReqCallback.oncomplete (node:fs:188:23)
    at FSReqCallback.callbackTrampoline (node:internal/async_hooks:130:17)
[00:59:42] 'build' errored after 111 ms
[00:59:42] 'pack-linux' errored after 113 ms
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: mullvad-vpn-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
mullvad-vpn - exit status 4

sotix0 commented on 2024-05-08 14:46 (UTC) (edited on 2024-05-08 14:50 (UTC) by sotix0)

I believe there might be a memory leak while building from source. It consistently crashes around step 475/476 out of the 480 steps despite having 16GB of ram and using this machine full time for development. My pc completely locks up until my terminal crashes. I have tried fully uninstalling this package and reinstalling it (which separately solved the permission issues related to removing the Go cache).

maritz commented on 2024-05-03 12:01 (UTC) (edited on 2024-05-03 12:05 (UTC) by maritz)

Alright, doesn't build on Manjaro currently, because Manjaro repositories are still on rust 1.76 and the mullvad build process tries to build several things that require 1.77.

1.77 is included in Manjaro Testing Update from May 2nd, so it should be buildable soon.

johnnybash commented on 2024-05-03 08:11 (UTC) (edited on 2024-05-03 08:13 (UTC) by johnnybash)

you have 4 Sources, so this should look like this:

sha256sums=('SKIP'
            'SKIP'
            'ea35edffea2cbbb05586abce19581fdd9f133801ed47e6af30fa64a29c5cf116'
            '2262346cb57deb187fe32a88ccd873dab669598889269088e749197c6e88954f')

WhyNot commented on 2024-05-03 07:03 (UTC) (edited on 2024-05-03 07:21 (UTC) by WhyNot)

edit found it, now it is working. Thanks a lot! ofc you need to enter the same number or arguments. so I just skipped all

@johnybash, thank you for your quick reply. I have tried to make

sha256sums=('SKIP')

but now get the error

-> Found no-rpm.diff -> Found mullvad-vpn.sh ==> WARNING: Skipping verification of source file PGP signatures. ==> ERROR: Integrity checks (sha256) differ in size from the source array. -> error downloading sources: /home/.cache/yay/mullvad-vpn context: exit status 1 I am not familiarized with this syntax, guess something is wrong with my "SKIP" line ?

johnnybash commented on 2024-05-03 06:48 (UTC)

checksums from git commits are a relatively new thing if I remember correctly and manjaro is still on an old pacman version, so...

just replace the sha256 sums with "SKIP" and you should be fine.

WhyNot commented on 2024-05-03 06:37 (UTC) (edited on 2024-05-03 06:39 (UTC) by WhyNot)

Hello, I am quite new to this environment, but I am getting same issue

=> Validating source files with sha256sums... mullvadvpn-app ... NOT FOUND mullvadvpn-app-binaries ... NOT FOUND no-rpm.diff ... Passed mullvad-vpn.sh ... Passed ==> ERROR: One or more files did not pass the validity check! Failed to build mullvad-vpn

I have imported the pgp keys, but not sure how to solve this issue now ?

maritz commented on 2024-05-01 09:44 (UTC)

Version 2024.2-1 is not building for me on Manjaro, with the following errors:

==> Validating source files with sha256sums...
    mullvadvpn-app ... NOT FOUND
    mullvadvpn-app-binaries ... NOT FOUND
    no-rpm.diff ... Passed
    mullvad-vpn.sh ... Passed
==> ERROR: One or more files did not pass the validity check!
Failed to build mullvad-vpn

I see that you added SHA checksums for those two git repos, are they maybe wrong or am I doing something wrong?

I know I need the developer keys and I have those. Previous builds always worked fine for me.

yochananmarqos commented on 2024-04-29 20:09 (UTC) (edited on 2024-04-29 20:10 (UTC) by yochananmarqos)

@waz94: It seems the build failed before the Go cache was removed. That's why I do it in the PKGBUILD as elevated permissions are required to remove the Go cache. You'll have to do it manually.

waz94 commented on 2024-04-29 20:07 (UTC) (edited on 2024-04-29 20:29 (UTC) by waz94)

EDIT: Thanks for the quick reply, @yochananmarqos ! That fixed it and I appreciate you taking time to tell me the solution that I probably should have found via google.

Hello, I'm having some issues updating the package on my system.

Many hundreds of lines saying permission denied:

rm: cannot remove '/home/waz/.cache/yay/mullvad-vpn/src/gopath/pkg/mod/golang.org/x/crypto@v0.0.0-20220722155217-630584e8d5aa/bn256/twist.go': Permission denied rm: cannot remove '/home/waz/.cache/yay/mullvad-vpn/src/gopath/pkg/mod/golang.org/x/crypto@v0.0.0-20220722155217-630584e8d5aa/scrypt/scrypt_test.go': Permission denied rm: cannot remove '/home/waz/.cache/yay/mullvad-vpn/src/gopath/pkg/mod/golang.org/x/crypto@v0.0.0-20220722155217-630584e8d5aa/scrypt/scrypt.go': Permission denied rm: cannot remove '/home/waz/.cache/yay/mullvad-vpn/src/gopath/pkg/mod/golang.org/x/crypto@v0.0.0-20220722155217-630584e8d5aa/scrypt/example_test.go': Permission denied rm: cannot remove '/home/waz/.cache/yay/mullvad-vpn/src/gopath/pkg/mod/golang.org/x/crypto@v0.0.0-20220722155217-630584e8d5aa/cryptobyte/asn1/asn1.go': Permission denied rm: cannot remove '/home/waz/.cache/yay/mullvad-vpn/src/gopath/pkg/mod/golang.org/x/crypto@v0.0.0-20220722155217-630584e8d5aa/cryptobyte/string.go': Permission denied rm: cannot remove '/home/waz/.cache/yay/mullvad-vpn/src/gopath/pkg/mod/golang.org/x/crypto@v0.0.0-20220722155217-630584e8d5aa/cryptobyte/asn1.go': Permission denied rm: cannot remove '/home/waz/.cache/yay/mullvad-vpn/src/gopath/pkg/mod/golang.org/x/crypto@v0.0.0-20220722155217-630584e8d5aa/cryptobyte/builder.go': Permission denied rm: cannot remove '/home/waz/.cache/yay/mullvad-vpn/src/gopath/pkg/mod/golang.org/x/crypto@v0.0.0-20220722155217-630584e8d5aa/cryptobyte/asn1_test.go': Permission denied rm: cannot remove '/home/waz/.cache/yay/mullvad-vpn/src/gopath/pkg/mod/golang.org/x/crypto@v0.0.0-20220722155217-630584e8d5aa/cryptobyte/example_test.go': Permission denied rm: cannot remove '/home/waz/.cache/yay/mullvad-vpn/src/gopath/pkg/mod/golang.org/x/crypto@v0.0.0-20220722155217-630584e8d5aa/cryptobyte/cryptobyte_test.go': Permission denied

==> ERROR: An unknown error has occurred. Exiting... -> error making: mullvad-vpn-signal: user defined signal 1 -> Failed to install the following packages. Manual intervention is required: mullvad-vpn - signal: user defined signal 1