Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build with fresh new install of Fedora 31 #3806

Open
Dimitri2g opened this issue Apr 26, 2020 · 2 comments
Open

Unable to build with fresh new install of Fedora 31 #3806

Dimitri2g opened this issue Apr 26, 2020 · 2 comments

Comments

@Dimitri2g
Copy link

Dimitri2g commented Apr 26, 2020

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

@aeikum
Copy link
Collaborator

aeikum commented Apr 27, 2020

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.:

containers/toolbox#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.

@Dimitri2g
Copy link
Author

Reported in steam-runtime as suggested by @aeikum
ValveSoftware/steam-runtime#259

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants