setup.sh fails with spaces in path to directory #169
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem#169
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@worsedoughnut on GitHub · 2026-12-02 06:16 UTC · original
I cloned the repo into a dir called "GTA VI", which caused the setup.sh steps to fail. See below at the
'-Clink-arg=/section. script worked normally after I renamed the directory and started fresh.@ThatRandomDragon on GitHub · 2026-12-02 06:54 UTC · original
Try to keep the filename path clear of any spaces, so insteal of "GTA VI", do something like "GTAVI", atleast that is what im guessing the issue is based on the error
@worsedoughnut on GitHub · 2026-12-02 06:59 UTC · original
Yes as I said, i renamed the folder and it worked fine. But this is something that is trivially fixed by just making sure to put any param passed as inside single quotes.
@Polland25 on GitHub · 2026-12-02 07:21 UTC · original
the project does not refer to any names like that , it would be best if u did so too.
@EdouardSence on GitHub · 2026-12-02 07:51 UTC · original
I tested both open fixes in a checkout at a path with a space (
.../xmem space test,origin/maind044248,deps/msvcinside that path).mainas is: fails as reported:error: multiple input filenames provided (first two filenames are '-' and 'space').Finished release ... in 58.71s). It points/winsysrootat a space-free symlink under~/.cache, so it works however the SDK got there.readlink -fonly helps whendeps/msvcis itself a symlink to a space-free place. With the default./setup.sh sdk,deps/msvcis a real directory inside the checkout, soreadlink -fgives back the same spaced path and the build should fail the same way.So #27 looks like the one that closes this. Note that both only cover
build.sh. I have not checked whether the othersetup.shsteps (meson for Mesa/vkd3d, the prefix) cope with a space; the report above only shows thebuild.shfailure.@goldfishdev on GitHub · 2026-12-02 22:54 UTC · original
fixed by #27