Welp. If I had read all the build instructions more carefully I'd have seen that a separate build directory is recommended. Maybe the instructions could mention creating a parent folder before cloning proton, or something like that.
I'll add an error for the case when ./configure is invoked from the same top level directory + see what we can improve about the README. Thanks for the feedback :-)
proton 7.0x1 2022-02
Podman is the recommended build tool, but using it, instead of docker, results in error during compilation. When using the official build instructions from proton 7.0, the a make file invokes podman or docker with a duplicate mount parameter. Docker is fine with this, but podman complains about the duplicate mount destination.
The podman developers consider the same mount point being mentioned twice in the same invocation to be a bug in whatever script or individual is invoking podman.
Repro steps:
./configure.shmake installI have tried this on Arch and on Fedora, with identical results.
An example commit of one way this might be resolved can be found here:
https://github.com/setibeings/Proton/commit/e4cd18184e1277734508cddd70cac95ddfc55d21