protonscr

Unable to build with fresh new install of Fedora 31

protonopen
ValveSoftware/Proton#3806 · opened 2020-04-26 by Dimitri2g · updated 2020-04-30 · 2 comments · github
DDimitri2g 2020-04-26 github

I did a git clone and have been following the instructions and it seems I am failing to build.
Instructions:
Instructions

I ran:
./steam-runtime/setup_docker.sh --beta amd64 --extra-bootstrap=./proton/steamrt-bootstrap.sh steam-proton-dev

and at the end I got:

Step 8/20 : RUN 	set -xe; 	if [ -n "${proxy}" ]; then 		echo "configure proxy"; 		echo "export http_proxy=${proxy}" >> /etc/bash.bashrc; 		echo "export https_proxy=${proxy}" >> /etc/bash.bashrc; 		echo "export ftp_proxy=${proxy}" >> /etc/bash.bashrc; 		echo "Acquire::http::proxy \"${proxy}\";" > /etc/apt/apt.conf.d/01proxy; 		echo "Acquire::https::proxy \"${proxy}\";" >> /etc/apt/apt.conf.d/01proxy; 	fi; 	if [ -n "${no_proxy}" ]; then 		echo "export no_proxy=${no_proxy}" >> /etc/bash.bashrc; 		oldIFS="$IFS"; 		IFS=","; 		for nope in ${no_proxy}; do 			case "$nope" in 				(.*) 					;; 				(*) 					echo "Acquire::http::proxy::${nope} \"DIRECT\";" >> /etc/apt/apt.conf.d/01proxy; 		echo "Acquire::https::proxy::${nope} \"DIRECT\";" >> /etc/apt/apt.conf.d/01proxy; 					;; 			esac; 		done; 		IFS="$oldIFS"; 	fi
 ---> Running in e2cfab95578d
OCI runtime create failed: this version of runc doesn't work on cgroups v2: unknown

real	0m28.535s
user	0m0.645s
sys	0m0.481s
Script done, file is /tmp/steam-runtime-setup-chroot-Vm8.log
[steam-runtime-setup-chroot-Vm8.log](https://github.com/ValveSoftware/Proton/files/4536111/steam-runtime-setup-chroot-Vm8.log)

Full log attached
steam-runtime-setup-chroot-Vm8.log

Aaeikum 2020-04-27 github

Looks like the runtime docker container isn't compatible with your host OS. Probably best to report this in the steam-runtime repo. A bunch of related stuff turns up on google, e.g.:

https://github.com/containers/toolbox/issues/246

https://fedoraproject.org/wiki/Changes/CGroupsV2

If you just want to build Proton, I suggest using the "easy build path" Vagrant VMs as documented in the project README.

DDimitri2g 2020-04-30 github

Reported in steam-runtime as suggested by @aeikum
https://github.com/ValveSoftware/steam-runtime/issues/259