ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
24.49k stars 1.07k forks source link

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

Open Dimitri2g opened 4 years ago

Dimitri2g commented 4 years ago

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 commented 4 years ago

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.

Dimitri2g commented 4 years ago

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