makepkg -i
ends for me with: runtime/cgo
runtime/cgo
cc1: error: unknown pass checking specified in '-fenable'
Any hints on that?
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.41 |
First Submitted: | 2018-10-24 17:33 (UTC) |
Last Updated: | 2024-04-29 15:34 (UTC) |
« First ‹ Previous 1 .. 8 9 10 11 12 13 14 15 16 17 18 .. 40 Next › Last »
makepkg -i
ends for me with: runtime/cgo
cc1: error: unknown pass checking specified in '-fenable'
Any hints on that?
Package build fine but the daemon doesn't start. Dmesg shows:
cgroup: Disabled controller 'net_cls'
journal says:
May 09 00:58:09 nyu mullvad-daemon[41289]: [mullvad_daemon::version][INFO] Starting mullvad-daemon - 2021.3 2021-04-27
May 09 00:58:09 nyu mullvad-daemon[41289]: [mullvad_daemon][INFO] Logging to /var/log/mullvad-vpn
May 09 00:58:09 nyu mullvad-daemon[41289]: [mullvad_daemon::rpc_uniqueness_check][DEBUG] Failed to locate/connect to another daemon instance, assuming there isn't one
May 09 00:58:09 nyu mullvad-daemon[41289]: [mullvad_daemon][INFO] Management interface listening on /var/run/mullvad-vpn
May 09 00:58:09 nyu mullvad-daemon[41289]: [mullvad_rpc::address_cache][DEBUG] Loading API addresses from "/var/cache/mullvad-vpn/api-ip-address.txt"
May 09 00:58:09 nyu mullvad-daemon[41289]: [mullvad_rpc::address_cache][DEBUG] Using API address: 193.138.218.71:444
May 09 00:58:09 nyu mullvad-daemon[41289]: [mullvad_daemon::relays][DEBUG] Reading relays from /var/cache/mullvad-vpn/relays.json
May 09 00:58:09 nyu mullvad-daemon[41289]: [mullvad_daemon::relays][DEBUG] Reading relays from /opt/Mullvad VPN/resources/relays.json
May 09 00:58:09 nyu mullvad-daemon[41289]: [mullvad_daemon::relays][INFO] Initialized with 769 cached relays from 2021-05-09 00:57:48.000
May 09 00:58:09 nyu mullvad-daemon[41289]: [mullvad_daemon::settings][INFO] Loading settings from /etc/mullvad-vpn/settings.json
May 09 00:58:09 nyu mullvad-daemon[41289]: [mullvad_daemon::version_check][DEBUG] Loading version check cache from /var/cache/mullvad-vpn/version-info.json
May 09 00:58:09 nyu mullvad-daemon[41289]: [mullvad_daemon::version_check][WARN] Error: Unable to load cached version info
May 09 00:58:09 nyu mullvad-daemon[41289]: Caused by: Failed to open app version cache file for reading
May 09 00:58:09 nyu mullvad-daemon[41289]: Caused by: No such file or directory (os error 2)
May 09 00:58:09 nyu mullvad-daemon[41289]: [mullvad_daemon::account_history][INFO] Opening account history file in /etc/mullvad-vpn/account-history.json
May 09 00:58:09 nyu mullvad-daemon[41289]: [mullvad_daemon][INFO] Loaded cached target state "Unsecured" from /var/cache/mullvad-vpn/target-start-state.json
May 09 00:58:09 nyu mullvad-daemon[41289]: [talpid_core::firewall][INFO] Resetting firewall policy
May 09 00:58:09 nyu mullvad-daemon[41289]: [talpid_core::firewall::imp][DEBUG] Removing table and chain from netfilter
May 09 00:58:09 nyu mullvad-daemon[41289]: [talpid_core::tunnel_state_machine][DEBUG] Exiting tunnel state machine loop
May 09 00:58:09 nyu mullvad-daemon[41289]: [mullvad_daemon][ERROR] Error: Unable to initialize daemon
May 09 00:58:09 nyu mullvad-daemon[41289]: Caused by: Unable to initialize split tunneling
May 09 00:58:09 nyu mullvad-daemon[41289]: Caused by: Unable to initialize net_cls cgroup instance
May 09 00:58:09 nyu mullvad-daemon[41289]: Caused by: EINVAL: Invalid argument
May 09 00:58:09 nyu mullvad-daemon[41289]: [mullvad_daemon][DEBUG] Process exiting with code 1
May 09 00:58:09 nyu mullvad-daemon[41289]: [mullvad_daemon::management_interface][INFO] Management interface shut down
Same behaviour with the bin package.
So, I can't seem to update this application and it fails with this error:
error[E0658]: `if` is not allowed in a `const`
--> mullvad-types/src/wireguard.rs:10:49
|
10 | pub const DEFAULT_ROTATION_INTERVAL: Duration = if cfg!(target_os = "android") {
| _________________________________________________^
11 | | Duration::from_secs(4 * 24 * 60 * 60)
12 | | } else {
13 | | Duration::from_secs(7 * 24 * 60 * 60)
14 | | };
| |_^
|
= note: see issue #49146 <https://github.com/rust-lang/rust/issues/49146> for more information
Compiling talpid-platform-metadata v0.1.0 (/var/tmp/pamac-build-william/mullvad-vpn/src/mullvadvpn-app/talpid-platform-metadata)
Compiling htmlize v0.5.0
error: aborting due to previous error
For more information about this error, try `rustc --explain E0658`.
error: could not compile `mullvad-types`.
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
==> ERROR: A failure occurred in build().
Aborting...
Any idea what the issue might be?
@yochananmarqos: replaced rustup
with rust
and it worked. Thanks!
@arkhetypos: Make sure you're using the repo rust
package to build. Also see the pinned comment.
Is this just me? Sry if so
error[E0277]: can't compare `Vec<std::net::IpAddr>` with `[std::net::IpAddr]`
--> talpid-core/src/dns/linux/systemd_resolved.rs:87:40
|
87 | if current_servers != *dns_state.set_servers {
| ^^ no implementation for `Vec<std::net::IpAddr> == [std::net::IpAddr]`
|
= help: the trait `PartialEq<[std::net::IpAddr]>` is not implemented for `Vec<std::net::IpAddr>`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0277`.
error: could not compile `talpid-core`
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
==> ERROR: A failure occurred in build().
Aborting...
error making: mullvad-vpn
@Anteduck: That's why it's best to build in a clean chroot so user / system variables don't interfere. However, that flag is part of Rust package guidelines, so I added it.
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.