Package Details: mullvad-vpn 2024.1-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: 130
Popularity: 3.77
First Submitted: 2018-10-24 17:33 (UTC)
Last Updated: 2024-03-21 22:38 (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

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

w41g87 commented on 2022-12-18 00:28 (UTC) (edited on 2022-12-18 00:28 (UTC) by w41g87)

When attempting to build for Arch Linux using makepkg -si, received error: failed to select a version for the requirement `classic-mceliece-rust = "^2.0.0"` I have run pacman -Syu but nothing is to be updated.

yochananmarqos commented on 2022-11-26 20:37 (UTC)

@gmes78: Thanks!

gmes78 commented on 2022-11-26 18:40 (UTC)

The mullvad-vpn.sh script included in this package is incorrect. %U is syntax for desktop entry files, it does nothing in Bash, so you're passing a literal %U to mullvad-vpn.

mullvad-vpn.sh should have the following contents instead:

#!/bin/sh
exec "/opt/Mullvad VPN/mullvad-vpn" "$@"

This also applies to the mullvad-vpn-beta package.

MAKREP commented on 2022-11-12 14:24 (UTC)

@yochananmarqos i'm trying to build this on the modified alarm kernel for newer mac devices (trying to dodge search results) - I know issues for this officially shouldn't be mentioned on arch pages but considering aarch64 as architecture was mentioned and the error directly stated that aarch64 is not supported thought it's worth mentioning,

on to the solutions:

  • adding the specified lines to pkgbuild does not work.
  • mullvad-vpn-bin works normally.

Thanks for the latter solution! The former still throws the exact same error even though I successfully downloaded the necessary package:

added 1 package, changed 13 packages, and audited 1275 packages in 4s

85 packages are looking for funding
  run `npm fund` for details

25 vulnerabilities (6 moderate, 19 high)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.

yochananmarqos commented on 2022-11-11 20:11 (UTC)

@MAKREP: What are you building it on?

Maybe try adding this in the prepare() function right after npm ci:

  # https://github.com/grpc/grpc-node/issues/1497
  if [ "$CARCH" == "aarch64" ]; then
    npm install @grpc/grpc-js
  fi

I haven't even been able to get that far building on my PineBook Pro. It fails building wireguard-go:

# runtime/cgo
In file included from gcc_context.c:8:
libcgo.h:13:9: error: unknown type name ‘uint32_t’
   13 | typedef uint32_t uint32;
      |         ^~~~~~~~
libcgo.h:14:9: error: unknown type name ‘uint64_t’
   14 | typedef uint64_t uint64;
      |         ^~~~~~~~
libcgo.h:15:9: error: unknown type name ‘uintptr_t’
   15 | typedef uintptr_t uintptr;
      |         ^~~~~~~~~
libcgo.h:64:1: error: unknown type name ‘uintptr_t’
   64 | uintptr_t _cgo_wait_runtime_init_done(void);
      | ^~~~~~~~~
libcgo.h:8:1: note: ‘uintptr_t’ is defined in header ‘<stdint.h>’; did you forget to ‘#include <stdint.h>’?
    7 | #include <stdio.h>
  +++ |+#include <stdint.h>
    8 | 
libcgo.h:95:9: error: unknown type name ‘uintptr_t’
   95 |         uintptr_t Context;
      |         ^~~~~~~~~
libcgo.h:103:9: error: unknown type name ‘uintptr_t’
  103 |         uintptr_t  Context;
      |         ^~~~~~~~~
libcgo.h:104:9: error: unknown type name ‘uintptr_t’
  104 |         uintptr_t  SigContext;
      |         ^~~~~~~~~
libcgo.h:105:9: error: unknown type name ‘uintptr_t’
  105 |         uintptr_t* Buf;
      |         ^~~~~~~~~
libcgo.h:106:9: error: unknown type name ‘uintptr_t’
  106 |         uintptr_t  Max;
      |         ^~~~~~~~~
gcc_context.c:11:27: error: unknown type name ‘uintptr_t’
   11 | void _cgo_release_context(uintptr_t ctxt) {
      |                           ^~~~~~~~~
gcc_context.c:9:1: note: ‘uintptr_t’ is defined in header ‘<stdint.h>’; did you forget to ‘#include <stdint.h>’?
    8 | #include "libcgo.h"
  +++ |+#include <stdint.h>
    9 | 

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.

MAKREP commented on 2022-11-11 18:26 (UTC)

The package states it supports aarch64, but building on aarch64 I receive the error:

/var/cache/pacman-aur/srcpkg/mullvad-vpn/src/mullvadvpn-app/gui /var/cache/pacman-aur/srcpkg/mullvad-vpn/src/mullvadvpn-app
Packing Mullvad VPN 2022.5 artifact(s)...

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

[18:24:41] Using gulpfile /var/cache/pacman-aur/srcpkg/mullvad-vpn/src/mullvadvpn-app/gui/gulpfile.js
[18:24:41] Starting 'pack-linux'...
[18:24:41] Starting 'build'...
[18:24:41] Starting 'clean'...
[18:24:41] Finished 'clean' after 2.08 ms
[18:24:41] Starting 'build-proto'...
[18:24:41] Starting 'copy-static-assets'...
[18:24:41] Starting 'copy-config'...
[18:24:41] Starting 'copy-css'...
[18:24:41] Starting 'copy-html'...
[18:24:41] Starting 'copy-locales'...
[18:24:41] 'build-proto' errored after 21 ms
[18:24:41] Error: Command failed: bash ./scripts/build-proto.sh
Building management interface proto files on aarch64 is not supported
(see https://github.com/grpc/grpc-node/issues/1497).
Please build the proto files on another platform using build-proto.sh script,
and set MANAGEMENT_INTERFACE_PROTO_BUILD_DIR environment variable to the directory of the build.

    at ChildProcess.exithandler (node:child_process:412:12)
    at ChildProcess.emit (node:events:513:28)
    at ChildProcess.emit (node:domain:552:15)
    at maybeClose (node:internal/child_process:1098:16)
    at Socket.<anonymous> (node:internal/child_process:456:11)
    at Socket.emit (node:events:513:28)
    at Socket.emit (node:domain:552:15)
    at Pipe.<anonymous> (node:net:298:12)
    at Pipe.callbackTrampoline (node:internal/async_hooks:132:17)
[18:24:41] 'build' errored after 25 ms
[18:24:41] 'pack-linux' errored after 26 ms
==> ERROR: A failure occurred in build().
    Aborting...

<deleted-account> commented on 2022-10-28 11:46 (UTC)

@yochananmarqos: ok, sorry

yochananmarqos commented on 2022-10-26 16:22 (UTC)

@morion: Maybe there's a reason to read the Arch wiki? https://wiki.archlinux.org/title/Arch_User_Repository#Prerequisites

<deleted-account> commented on 2022-10-26 12:41 (UTC)

When I builded last version, there was an error: pkg_config failed: Failed to run "pkg-config" "--libs" "--cflags" "dbus-1" "dbus-1 >= 1.6": No such file or directory (os error 2)

After install package pkgconf error is gone.

Maybe there's a reason to include package pkgconf to make dependencies?