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.43
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 .. 5 6 7 8 9 10 11 12 13 14 15 .. 45 Next › Last »

HurricanePootis commented on 2023-04-06 17:11 (UTC)

Hey @yochananmarqos here is a patch file to fix your PKGBUILD

diff --git a/PKGBUILD b/PKGBUILD
index b206f62..50efa1c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,9 +6,10 @@
 # Contributor: Linus Färnstrand <linus at mullvad dot net>
 # Contributor: Emīls Piņķis <emil at mullvad dot net>
 # Contributor: Andrej Mihajlov <and at mullvad dot net>
+# Contributor: HurricanePootis <hurricanepootis@protonmail.com>
 pkgname=mullvad-vpn
 pkgver=2023.3
-pkgrel=1
+pkgrel=2
 pkgdesc="The Mullvad VPN client app for desktop"
 arch=('x86_64')
 url="https://www.mullvad.net"
@@ -92,11 +93,11 @@ build() {
   cargo build --frozen --release

   echo "Preparing for packaging Mullvad VPN ${PRODUCT_VERSION}..."
-  mkdir -p dist-assets/shell-completions
+  mkdir -p build/shell-completions
   for sh in bash zsh fish; do
     echo "Generating shell completion script for ${sh}..."
     cargo run --bin mullvad --frozen --release -- shell-completions ${sh} \
-      dist-assets/shell-completions/
+      build/shell-completions/
   done

   echo "Updating relays.json..."
@@ -146,11 +147,11 @@ package() {
   install -m755 "$srcdir/$pkgname.sh" "$pkgdir/usr/bin/$pkgname"

   # Install completions
-  install -Dm644 dist-assets/shell-completions/mullvad.bash \
+  install -Dm644 build/shell-completions/mullvad.bash \
     "$pkgdir/usr/share/bash-completion/completions/mullvad"
-  install -Dm644 dist-assets/shell-completions/_mullvad -t \
+  install -Dm644 build/shell-completions/_mullvad -t \
     "$pkgdir/usr/share/zsh/site-functions/"
-  install -Dm644 dist-assets/shell-completions/mullvad.fish -t \
+  install -Dm644 build/shell-completions/mullvad.fish -t \
     "$pkgdir/usr/share/fish/vendor_completions.d/"

   # Install desktop file & icons from deb

mutant-monkey commented on 2023-04-06 11:21 (UTC) (edited on 2023-04-06 11:23 (UTC) by mutant-monkey)

I can no longer build this package...

Building mullvad-vpn...
...
Submodule path 'dist-assets/binaries': checked out '29a4c7205e78c651fcd1b8c3a55181c0d86a50d3'
Submodule path 'windows/libwfp': checked out '388b7a5aefb0fb5dc92dc80a97663740999b5e09'
Submodule path 'windows/windows-libraries': checked out 'a0535d673389fc6c097bcceab459a646cf4efc64'
patching file gui/tasks/distribution.js
Hunk #1 FAILED at 162.
/usr/bin/patch: **** Can't reopen file gui/tasks/distribution.js : No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...

weru345 commented on 2023-04-06 09:57 (UTC) (edited on 2023-04-06 09:59 (UTC) by weru345)

It didn't build for me for the same reasons. After some investigation the current PKGBUILD doesn't work, due to this commit https://github.com/mullvad/mullvadvpn-app/commit/54c6fedf2b69609ca4605ff21f52383f60a18256#diff-4d2a8eefdf2a9783512a35da4dc7676a66404b6f3826a8af9aad038722da6823

dist-assets/shell-completions/ moved to build/shell-completions/

Replacing every (5 to be precise) usage of dist-assets/shell-completions by build/shell-completions in the PKGBUILD made it build again

HurricanePootis commented on 2023-04-06 06:19 (UTC)

I can't build either

  • electron-builder  version=23.6.0 os=6.2.9-273-tkg-cfs
  • writing effective config  file=/home/hurricane/.cache/paru/clone/mullvad-vpn/src/mullvadvpn-app/dist/builder-effective-config.yaml
  • packaging       platform=linux arch=x64 electron=21.3.3 appOutDir=/home/hurricane/.cache/paru/clone/mullvad-vpn/src/mullvadvpn-app/dist/linux-unpacked
  • file source doesn't exist  from=/home/hurricane/.cache/paru/clone/mullvad-vpn/src/mullvadvpn-app/build/relays.json
  • building        target=deb arch=x64 file=/home/hurricane/.cache/paru/clone/mullvad-vpn/src/mullvadvpn-app/dist/MullvadVPN-2023.3_amd64.deb
  ⨯ cannot execute  cause=exit status 1
                    out={:timestamp=>"2023-04-06T01:14:17.223005-0500", :message=>"Invalid package configuration: Cannot chdir to '/home/hurricane/.cache/paru/clone/mullvad-vpn/src/mullvadvpn-app/build/shell-completions'. Does it exist?", :level=>:error}

                    command=/home/hurricane/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86_64/fpm -s dir --force -t deb -d libgtk-3-0 -d libnotify4 -d libnss3 -d libxss1 -d libxtst6 -d xdg-utils -d libatspi2.0-0 -d libuuid1 -d libsecret-1-0 --deb-recommends libappindicator3-1 --deb-compression xz --architecture amd64 --after-install /tmp/t-qd9D0a/0-after-install.sh --after-remove /tmp/t-qd9D0a/1-after-remove.sh --description '
     Mullvad VPN client' --version 2023.3 --package /home/hurricane/.cache/paru/clone/mullvad-vpn/src/mullvadvpn-app/dist/MullvadVPN-2023.3_amd64.deb --name mullvad-vpn --maintainer 'Mullvad VPN <support@mullvad.net>' --url 'https://github.com/mullvad/mullvadvpn-app#readme' --vendor 'Mullvad VPN <support@mullvad.net>' --deb-priority optional --license GPL-3.0 --no-depends --version 2023.3 --before-install /home/hurricane/.cache/paru/clone/mullvad-vpn/src/mullvadvpn-app/dist-assets/linux/before-install.sh --before-remove /home/hurricane/.cache/paru/clone/mullvad-vpn/src/mullvadvpn-app/dist-assets/linux/before-remove.sh /home/hurricane/.cache/paru/clone/mullvad-vpn/src/mullvadvpn-app/dist-assets/linux/mullvad-daemon.service=/usr/lib/systemd/system/mullvad-daemon.service /home/hurricane/.cache/paru/clone/mullvad-vpn/src/mullvadvpn-app/dist-assets/linux/mullvad-early-boot-blocking.service=/usr/lib/systemd/system/mullvad-early-boot-blocking.service /home/hurricane/.cache/paru/clone/mullvad-vpn/src/mullvadvpn-app/dist-assets/mullvad=/usr/bin/ /home/hurricane/.cache/paru/clone/mullvad-vpn/src/mullvadvpn-app/dist-assets/mullvad-daemon=/usr/bin/ /home/hurricane/.cache/paru/clone/mullvad-vpn/src/mullvadvpn-app/dist-assets/mullvad-exclude=/usr/bin/ /home/hurricane/.cache/paru/clone/mullvad-vpn/src/mullvadvpn-app/dist-assets/linux/problem-report-link=/usr/bin/mullvad-problem-report /home/hurricane/.cache/paru/clone/mullvad-vpn/src/mullvadvpn-app/build/shell-completions/mullvad.bash=/usr/share/bash-completion/completions/mullvad /home/hurricane/.cache/paru/clone/mullvad-vpn/src/mullvadvpn-app/build/shell-completions/_mullvad=/usr/local/share/zsh/site-functions/_mullvad /home/hurricane/.cache/paru/clone/mullvad-vpn/src/mullvadvpn-app/build/shell-completions/mullvad.fish=/usr/share/fish/vendor_completions.d/mullvad.fish '/home/hurricane/.cache/paru/clone/mullvad-vpn/src/mullvadvpn-app/dist/linux-unpacked/=/opt/Mullvad VPN' /home/hurricane/.cache/paru/clone/mullvad-vpn/src/mullvadvpn-app/dist/.icon-set/icon_16x16.png=/usr/share/icons/hicolor/16x16/apps/mullvad-vpn.png /home/hurricane/.cache/paru/clone/mullvad-vpn/src/mullvadvpn-app/dist/.icon-set/icon_32.png=/usr/share/icons/hicolor/32x32/apps/mullvad-vpn.png /home/hurricane/.cache/paru/clone/mullvad-vpn/src/mullvadvpn-app/dist/.icon-set/icon_48x48.png=/usr/share/icons/hicolor/48x48/apps/mullvad-vpn.png /home/hurricane/.cache/paru/clone/mullvad-vpn/src/mullvadvpn-app/dist/.icon-set/icon_64.png=/usr/share/icons/hicolor/64x64/apps/mullvad-vpn.png /home/hurricane/.cache/paru/clone/mullvad-vpn/src/mullvadvpn-app/dist/.icon-set/icon_128.png=/usr/share/icons/hicolor/128x128/apps/mullvad-vpn.png /home/hurricane/.cache/paru/clone/mullvad-vpn/src/mullvadvpn-app/dist/.icon-set/icon_256.png=/usr/share/icons/hicolor/256x256/apps/mullvad-vpn.png /home/hurricane/.cache/paru/clone/mullvad-vpn/src/mullvadvpn-app/dist/.icon-set/icon_512.png=/usr/share/icons/hicolor/512x512/apps/mullvad-vpn.png /home/hurricane/.cache/paru/clone/mullvad-vpn/src/mullvadvpn-app/dist/.icon-set/icon_1024.png=/usr/share/icons/hicolor/1024x1024/apps/mullvad-vpn.png '/tmp/t-qd9D0a/2-Mullvad VPN.desktop=/usr/share/applications/mullvad-vpn.desktop'
                    workingDir=
[01:14:17] 'builder-linux' errored after 3.04 s
[01:14:17] Error: /home/hurricane/.cache/paru/clone/mullvad-vpn/src/mullvadvpn-app/gui/node_modules/app-builder-bin/linux/x64/app-builder process failed ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
Exit code:
2
    at ChildProcess.<anonymous> (/home/hurricane/.cache/paru/clone/mullvad-vpn/src/mullvadvpn-app/gui/node_modules/builder-util/src/util.ts:250:14)
    at Object.onceWrapper (node:events:627:26)
    at ChildProcess.emit (node:events:512:28)
    at ChildProcess.emit (node:domain:552:15)
    at maybeClose (node:internal/child_process:1098:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
    at Process.callbackTrampoline (node:internal/async_hooks:130:17)
[01:14:17] 'pack-linux' errored after 13 s
==> ERROR: A failure occurred in build().
    Aborting...

lucas commented on 2023-04-06 01:59 (UTC) (edited on 2023-04-06 02:25 (UTC) by lucas)

can't build (version mullvad-vpn 2023.3-1 )

[03:30:38] Starting 'browserify-renderer'...
[03:30:41] Finished 'browserify-preload' after 2.29 s
[03:30:44] Finished 'browserify-renderer' after 5.77 s
[03:30:44] Finished 'build' after 31 s
[03:30:44] Starting 'builder-linux'...
  • electron-builder  version=23.6.0 os=6.2.9-arch1-1
  • writing effective config  file=/home/luca/system/mullvad-vpn/src/mullvadvpn-app/dist/builder-effective-config.yaml
  • packaging       platform=linux arch=x64 electron=21.3.3 appOutDir=/home/luca/system/mullvad-vpn/src/mullvadvpn-app/dist/linux-unpacked
  • file source doesn't exist  from=/home/luca/system/mullvad-vpn/src/mullvadvpn-app/build/relays.json
  • building        target=deb arch=x64 file=/home/luca/system/mullvad-vpn/src/mullvadvpn-app/dist/MullvadVPN-2023.3_amd64.deb
  ⨯ cannot execute  cause=exit status 1
                    out={:timestamp=>"2023-04-06T03:30:56.466890+0200", :message=>"Invalid package configuration: Cannot chdir to '/home/luca/system/mullvad-vpn/src/mullvadvpn-app/build/shell-completions'. Does it exist?", :level=>:error}

                    command=/home/luca/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86_64/fpm -s dir --force -t deb -d libgtk-3-0 -d libnotify4 -d libnss3 -d libxss1 -d libxtst6 -d xdg-utils -d libatspi2.0-0 -d libuuid1 -d libsecret-1-0 --deb-recommends libappindicator3-1 --deb-compression xz --architecture amd64 --after-install /tmp/t-FJFj4Q/0-after-install.sh --after-remove /tmp/t-FJFj4Q/1-after-remove.sh --description '
     Mullvad VPN client' --version 2023.3 --package /home/luca/system/mullvad-vpn/src/mullvadvpn-app/dist/MullvadVPN-2023.3_amd64.deb --name mullvad-vpn --maintainer 'Mullvad VPN <support@mullvad.net>' --url 'https://github.com/mullvad/mullvadvpn-app#readme' --vendor 'Mullvad VPN <support@mullvad.net>' --deb-priority optional --license GPL-3.0 --no-depends --version 2023.3 --before-install /home/luca/system/mullvad-vpn/src/mullvadvpn-app/dist-assets/linux/before-install.sh --before-remove /home/luca/system/mullvad-vpn/src/mullvadvpn-app/dist-assets/linux/before-remove.sh /home/luca/system/mullvad-vpn/src/mullvadvpn-app/dist-assets/linux/mullvad-daemon.service=/usr/lib/systemd/system/mullvad-daemon.service /home/luca/system/mullvad-vpn/src/mullvadvpn-app/dist-assets/linux/mullvad-early-boot-blocking.service=/usr/lib/systemd/system/mullvad-early-boot-blocking.service /home/luca/system/mullvad-vpn/src/mullvadvpn-app/dist-assets/mullvad=/usr/bin/ /home/luca/system/mullvad-vpn/src/mullvadvpn-app/dist-assets/mullvad-daemon=/usr/bin/ /home/luca/system/mullvad-vpn/src/mullvadvpn-app/dist-assets/mullvad-exclude=/usr/bin/ /home/luca/system/mullvad-vpn/src/mullvadvpn-app/dist-assets/linux/problem-report-link=/usr/bin/mullvad-problem-report /home/luca/system/mullvad-vpn/src/mullvadvpn-app/build/shell-completions/mullvad.bash=/usr/share/bash-completion/completions/mullvad /home/luca/system/mullvad-vpn/src/mullvadvpn-app/build/shell-completions/_mullvad=/usr/local/share/zsh/site-functions/_mullvad /home/luca/system/mullvad-vpn/src/mullvadvpn-app/build/shell-completions/mullvad.fish=/usr/share/fish/vendor_completions.d/mullvad.fish '/home/luca/system/mullvad-vpn/src/mullvadvpn-app/dist/linux-unpacked/=/opt/Mullvad VPN' /home/luca/system/mullvad-vpn/src/mullvadvpn-app/dist/.icon-set/icon_16x16.png=/usr/share/icons/hicolor/16x16/apps/mullvad-vpn.png /home/luca/system/mullvad-vpn/src/mullvadvpn-app/dist/.icon-set/icon_32.png=/usr/share/icons/hicolor/32x32/apps/mullvad-vpn.png /home/luca/system/mullvad-vpn/src/mullvadvpn-app/dist/.icon-set/icon_48x48.png=/usr/share/icons/hicolor/48x48/apps/mullvad-vpn.png /home/luca/system/mullvad-vpn/src/mullvadvpn-app/dist/.icon-set/icon_64.png=/usr/share/icons/hicolor/64x64/apps/mullvad-vpn.png /home/luca/system/mullvad-vpn/src/mullvadvpn-app/dist/.icon-set/icon_128.png=/usr/share/icons/hicolor/128x128/apps/mullvad-vpn.png /home/luca/system/mullvad-vpn/src/mullvadvpn-app/dist/.icon-set/icon_256.png=/usr/share/icons/hicolor/256x256/apps/mullvad-vpn.png /home/luca/system/mullvad-vpn/src/mullvadvpn-app/dist/.icon-set/icon_512.png=/usr/share/icons/hicolor/512x512/apps/mullvad-vpn.png /home/luca/system/mullvad-vpn/src/mullvadvpn-app/dist/.icon-set/icon_1024.png=/usr/share/icons/hicolor/1024x1024/apps/mullvad-vpn.png '/tmp/t-FJFj4Q/2-Mullvad VPN.desktop=/usr/share/applications/mullvad-vpn.desktop'
                    workingDir=
[03:30:56] 'builder-linux' errored after 12 s
[03:30:56] Error: /home/luca/system/mullvad-vpn/src/mullvadvpn-app/gui/node_modules/app-builder-bin/linux/x64/app-builder process failed ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
Exit code:
2
    at ChildProcess.<anonymous> (/home/luca/system/mullvad-vpn/src/mullvadvpn-app/gui/node_modules/builder-util/src/util.ts:250:14)
    at Object.onceWrapper (node:events:627:26)
    at ChildProcess.emit (node:events:512:28)
    at ChildProcess.emit (node:domain:552:15)
    at maybeClose (node:internal/child_process:1098:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
    at Process.callbackTrampoline (node:internal/async_hooks:130:17)
[03:30:56] 'pack-linux' errored after 43 s
==> ERROR: A failure occurred in build().
    Aborting...

ewout commented on 2023-03-07 06:46 (UTC)

Please don't enable the services by default on install and upgrade. Print instructions instead.

bings1981 commented on 2023-03-06 19:00 (UTC)

working fine for me. had no problems at all and love it ;-) Endeavour OS

pauper commented on 2023-02-27 14:48 (UTC)

@Rauschebart I get the same, computer slows to a crawl for hours before spitting out the same error. I guess it's a memory problem.

Rauschebart commented on 2023-02-02 13:30 (UTC) (edited on 2023-02-02 13:37 (UTC) by Rauschebart)

I get this error each time i try to install it. Sometimes it doesn`t even show and the computer just stuck so that i need to do a hard reset.

Compiling translations-converter v0.1.0 (/var/tmp/pamac-build-max/mullvad-vpn/src/mullvadvpn-app/android/translations-converter) error: could not compile mullvad-problem-report

Caused by: process didn't exit successfully: rustc --crate-name mullvad_problem_report --edition=2021 mullvad-problem-report/src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto -C metadata=5a3b8046ff277f99 -C extra-filename=-5a3b8046ff277f99 --out-dir /var/tmp/pamac-build-max/mullvad-vpn/src/mullvadvpn-app/target/release/deps -L dependency=/var/tmp/pamac-build-max/mullvad-vpn/src/mullvadvpn-app/target/release/deps --extern clap=/var/tmp/pamac-build-max/mullvad-vpn/src/mullvadvpn-app/target/release/deps/libclap-f3a67ed147efc150.rlib --extern dirs_next=/var/tmp/pamac-build-max/mullvad-vpn/src/mullvadvpn-app/target/release/deps/libdirs_next-42bf936977e1d2b0.rlib --extern env_logger=/var/tmp/pamac-build-max/mullvad-vpn/src/mullvadvpn-app/target/release/deps/libenv_logger-1fd80702200c2719.rlib --extern err_derive=/var/tmp/pamac-build-max/mullvad-vpn/src/mullvadvpn-app/target/release/deps/liberr_derive-a8c87cd2d66a9615.so --extern lazy_static=/var/tmp/pamac-build-max/mullvad-vpn/src/mullvadvpn-app/target/release/deps/liblazy_static-5373b19f6f2e1ffd.rlib --extern log=/var/tmp/pamac-build-max/mullvad-vpn/src/mullvadvpn-app/target/release/deps/liblog-57046944d8ed9147.rlib --extern mullvad_api=/var/tmp/pamac-build-max/mullvad-vpn/src/mullvadvpn-app/target/release/deps/libmullvad_api-3b73b09bcaf81b48.rlib --extern mullvad_paths=/var/tmp/pamac-build-max/mullvad-vpn/src/mullvadvpn-app/target/release/deps/libmullvad_paths-176ff11976065896.rlib --extern mullvad_problem_report=/var/tmp/pamac-build-max/mullvad-vpn/src/mullvadvpn-app/target/release/deps/libmullvad_problem_report-4309c9d5ba12286a.rlib --extern regex=/var/tmp/pamac-build-max/mullvad-vpn/src/mullvadvpn-app/target/release/deps/libregex-d6c4cddcd5234a9c.rlib --extern talpid_platform_metadata=/var/tmp/pamac-build-max/mullvad-vpn/src/mullvadvpn-app/target/release/deps/libtalpid_platform_metadata-766cad53fc993078.rlib --extern talpid_types=/var/tmp/pamac-build-max/mullvad-vpn/src/mullvadvpn-app/target/release/deps/libtalpid_types-3501fe4f69492af1.rlib --extern tokio=/var/tmp/pamac-build-max/mullvad-vpn/src/mullvadvpn-app/target/release/deps/libtokio-d75fbed6bdc5858c.rlib --extern uuid=/var/tmp/pamac-build-max/mullvad-vpn/src/mullvadvpn-app/target/release/deps/libuuid-af7babdecb31a38b.rlib -L native=/var/tmp/pamac-build-max/mullvad-vpn/src/mullvadvpn-app/target/release/build/md5-asm-4844bd4a680bc1dc/out -L native=/var/tmp/pamac-build-max/mullvad-vpn/src/mullvadvpn-app/target/release/build/ring-26d9782c684f82c9/out -L native=/var/tmp/pamac-build-max/mullvad-vpn/src/mullvadvpn-app/target/release/build/sha1-asm-2d16a4a79e8c47b0/out -L native=/usr/lib (signal: 9, SIGKILL: kill) warning: build failed, waiting for other jobs to finish... ==> FEHLER: Ein Fehler geschah in build(). Breche ab...

EDIT:

Didn`t solve the problem above, but mullvad-vpn-bin is working for me.

capnkork commented on 2023-02-01 03:25 (UTC)

@w41g87: I ran into the same issue. Running rustup update solved it for me.