ValveSoftware / Proton

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

Issue while building Proton 8.0 #7186

Open R3tr0BoiDX opened 8 months ago

R3tr0BoiDX commented 8 months ago

Hello,

I run into issues while building Proton. The overall build process seems to be done. Any subsequent make doesn't run for a very long while. However, no matter if I try to run build with proton, install, redist or deploy they all fail within their branch pretty early. Exact line numbers in the Makefile are respectively:

I built Proton with a freshly installed Podman. There was Docker before on my system, but I purge that off. When I first run make, it also notified me, that is uncapable of using Docker and that it will use Podman.

I've attached the full output of a build run. The command I used to capture that was make proton > proton.log 2>&1, to capture stdout and stderr in the same file: proton.log

kisak-valve commented 8 months ago

Hello @R3tr0BoiDX, these are the lines of your log to focus on:

fatal: detected dubious ownership in repository at '/mnt/Dateien/Projekte/proton/dxvk'
To add an exception for this directory, call:

    git config --global --add safe.directory /mnt/Dateien/Projekte/proton/dxvk

What filesystem are you using with /mnt/Dateien/Projekte/proton/ and does your current system user own that folder?

R3tr0BoiDX commented 8 months ago

Hello @R3tr0BoiDX, these are the lines of your log to focus on:

fatal: detected dubious ownership in repository at '/mnt/Dateien/Projekte/proton/dxvk'
To add an exception for this directory, call:

  git config --global --add safe.directory /mnt/Dateien/Projekte/proton/dxvk

What filesystem are you using with /mnt/Dateien/Projekte/proton/ and does your current system user own that folder?

That drive is an NTFS drive, as I'm still currently sharing that with Windows. Ownership looks like this:

mirco@redacted:~$ ls -l Projects
lrwxrwxrwx 1 mirco mirco 21 Jul 12  2022 Projects -> /mnt/Dateien/Projekte

mirco@redacted:~$ ls -l Projects/
[...]
drwxrwxrwx 1 root root     8192 Okt 21 16:41  proton
[...]

Temporarily, as I run into an issue while cloning Protons submodules already, I also run:

git config --global --add safe.directory '*'

to avoid dubious ownership error messages like this. I'm curious, why it still failed.