Package Details: mullvad-vpn 2024.3-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: 131
Popularity: 4.21
First Submitted: 2018-10-24 17:33 (UTC)
Last Updated: 2024-05-15 22:32 (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 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.

Latest Comments

1 2 3 4 5 6 .. 40 Next › Last »

yataro commented on 2024-05-16 08:11 (UTC)

@patlefort There is no npm in makedepends because nvm provides both node and npm

yataro commented on 2024-05-16 08:07 (UTC)

https://github.com/gulpjs/vinyl-fs/issues/350 https://github.com/nodejs/node/issues/52707

@yochananmarqos Can you use the LTS node for the build?

nvm install "${_nodeversion}"

Installs the latest one, cuz _nodeversion is not defined anywhere. Also, you're not calling nvm use, not a big deal - nvm will use the latest installed version of node, but I'm sure it's better to do this explicitly.

@patlefort @JackStorm Can you try with this patch?

diff --git a/PKGBUILD b/PKGBUILD
index 098ca63..1bd3979 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -61,7 +61,8 @@ prepare() {
   echo "Installing JavaScript dependencies..."
   export npm_config_cache="$srcdir/npm_cache"
   _ensure_local_nvm
-  nvm install "${_nodeversion}"
+  nvm install --lts
+  nvm use --lts
   npm ci
   popd
 }

patlefort commented on 2024-05-16 02:12 (UTC)

I see npm makedepends was removed, but it it still required. Also, I get the same error as JackStorm.

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 ?