you have 4 Sources, so this should look like this:
sha256sums=('SKIP'
'SKIP'
'ea35edffea2cbbb05586abce19581fdd9f133801ed47e6af30fa64a29c5cf116'
'2262346cb57deb187fe32a88ccd873dab669598889269088e749197c6e88954f')
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: | 137 |
Popularity: | 2.73 |
First Submitted: | 2018-10-24 17:33 (UTC) |
Last Updated: | 2024-10-30 16:32 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 45 Next › Last »
you have 4 Sources, so this should look like this:
sha256sums=('SKIP'
'SKIP'
'ea35edffea2cbbb05586abce19581fdd9f133801ed47e6af30fa64a29c5cf116'
'2262346cb57deb187fe32a88ccd873dab669598889269088e749197c6e88954f')
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 ?
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.
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 ?
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.
@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.
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
@yochananmarqos @Random1213 I'm still quite new to Arch so it could well be an issue on my system but I've encountered this issue too, 16GB RAM + 4GB swap and at step 450 the memory usage just balloons until my system is completely frozen. This has happened since I tried to update ~1 month ago, the crash happened both clean building and not. The mullvad-vpn-bin package has installed correctly for me.
Your system freezing has absolutely nothing to do with packaging. My guess is you either do not have enough RAM and/or swap setup. It builds just fine for myself and everyone else.
@yochananmarqos Got the same problem so speak for yourself, not "everyone else". 16GB of RAM + 16GB of swap, just after boot with no app opened and not using a bloated DE and it still froze my system. Now if your definition of "enough" is having 64GB of RAM then it's another story.
I was bit by the
Caused by:
missing field `version`
in `package`
==> ERROR: A failure occurred in prepare().
Aborting...
build error too.
What fixed it on my end was a rustup update
. I also did a rustup install stable
and rustup default stable
purely out of superstition.
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.