Can someone help me out? I have not been able to update proton for a while now, and the error it gives me is mystifying. I've tried several packet managers (usually it's paru) and I am running Manjaro (kernel 6.6.5-3) if that's any help.
Here's the problematic part:
Receiving objects: 100% (29/29), 7.28 KiB | 7.28 MiB/s, done.
fatal: unable to access 'https://github.com/KhronosGroup/Vulkan-Loader/': Could not resolve host: github.com
fatal: could not fetch 0af4d400ce1843bda52ef15072df585a414ab079 from promisor remote
fatal: Unable to checkout '538b2676eaac29565e4f1034a6f8a59ce158213d' in submodule path 'Vulkan-Loader'
==> ERROR: A failure occurred in prepare().
Aborting...
error: failed to build 'proton-1:8.0.4.3-3':
error: packages failed to build: proton-1:8.0.4.3-3
~ ping github.com 1 ✘ 8m 21s
PING github.com (140.82.121.3) 56(84) bytes of data.
64 bytes from lb-140-82-121-3-fra.github.com (140.82.121.3): icmp_seq=1 ttl=47 time=102 ms
64 bytes from 140.82.121.3: icmp_seq=2 ttl=47 time=101 ms
64 bytes from lb-140-82-121-3-fra.github.com (140.82.121.3): icmp_seq=3 ttl=47 time=99.9 ms
64 bytes from lb-140-82-121-3-fra.github.com (140.82.121.3): icmp_seq=4 ttl=47 time=100 ms
64 bytes from lb-140-82-121-3-fra.github.com (140.82.121.3): icmp_seq=5 ttl=47 time=103 ms
64 bytes from lb-140-82-121-3-fra.github.com (140.82.121.3): icmp_seq=6 ttl=47 time=101 ms
^C64 bytes from 140.82.121.3: icmp_seq=7 ttl=47 time=101 ms
--- github.com ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 15116ms
rtt min/avg/max/mdev = 99.894/101.043/103.329/1.052 ms
Pinned Comments
loathingkernel commented on 2020-10-22 08:43 (UTC) (edited on 2022-06-15 14:11 (UTC) by loathingkernel)
Notes about this package
If you encounter issues while using this package, please contact me here first before reporting an issue to the upstream repository. Don't post logs, link to them. If you are using Manjaro, another derivative or an AUR helper, please mention it, I DO NOT TEST AGAINST THEM AND I CANNOT KNOW WHAT MIGHT BE WRONG WITH THE DISTRO/HELPER OF YOUR CHOICE.
It takes a LOT of time and space to build. Building with multiple jobs helps but might cause builds to fail in rare cases. Be sure to have at least 16GB of RAM if you are building on
tmpfs
It is NOT built against
Steam Linux Runtime (Sniper, Soldier, etc)
and as such it doesn't require it. Still, is detected by Steam and works properly (preferable throughsteam-native
).This PKGBUILD uses
CFLAGS
,CXXFLAGS
andLDFLAGS
hardcoded in the PKGBUILD itself. By default it uses the sameC[XX]FLAGS
as upstream, namely-march=nocona
and-mtune=core-avx2
. To change them you will have to edit the PKGBUILD itself. Due to the nature of this package some flags can cause it to fail to build or not function properly. I try to filter them out but it is based on testing. If you have a feeling that compile-time options are involved in the issues you are having please include them in your comment. Currently the filtered options are-fstack-protector-{,-strong,-all}
(dxvk and vkd3d only),-fno-plt
,-z,relro
,-z,now
. Also the use of AVX instructions is disabled through-mno-avx
.There have been reports with
afdko
failing to find its dependencies during building. I can't do anything about that as I don't maintain that package. It is NOT an issue with this package and I haven't found a way to not depend on it. Please don't report fails due toafdko
(or any of itspython-
dependencies, they are pulled in due toafdko
and only used by that), it has been discussed enough. There are possible workarounds in the comments.It contains a patch to store game prefixes in the main Steam Library under
$HOME/.local/share/Steam/steamapps/compatdata
. It helps with isolation of game prefixes between users and works around issues with shared libraries on NTFS partitions due to drive symlinks. To enable it, set thePROTON_USER_COMPAT_DATA
env variable to1
.This package requires a Rust 32 bit target, please run
rustup target install i686-unknown-linux-gnu
BEFORE posting any issues if you're usingrustup
.