setup.sh / build.sh on a current Arch host: four blockers, three of them one-liners #72
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#72
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?
@Aruku448 on GitHub · 2026-12-01 14:17 UTC · original
Ran the whole thing end to end on Arch (Nyarch) with wine-staging 11.22-1.1, clang 23.1.5, Mesa 26.3.1.
The runtime itself is fine once built; these are the four places the build stopped, in the order they hit,
with what worked. Filing them together rather than as four issues.
1.
setup.sh sdkcannot run unattendedstep_sdkrunsxwin ... splatwithout--accept-license, so it stops at the licence prompt:Running the same command by hand with
--accept-licenseworks, and--cache-dirlets the 1.1 GiB ofdownloads survive between attempts. (
setup.shalsorm -rfs the cache and the binary on success, soa retry pays for the download again — minor.)
2. The Windows SDK must not be generated onto a case-folding filesystem
Not a script bug, but it is the failure that looks most like a script bug. An SDK splatted onto NTFS (a
shared Windows volume) comes out with
Windows.hwhere the SDK haswindows.h, so on Linux the first Ccompile dies:
Generating
deps/msvcon the Linux filesystem fixes it. Worth a line in the README next to the "extractthe ZIP to a writable folder" step, since a dump on an NTFS volume invites putting everything next to it.
3.
build.shand clang 23 disagree about the spelling ofwinsysrootClang 23 builds its include paths out of that as
":/…/deps/msvc/VC/Tools/MSVC/include"— a leadingcolon, then
ignoring nonexistent directoryfor every SDK path, then the samewindows.herror asabove. The space-separated spelling is what this clang accepts:
-Clink-arg=/winsysroot:$sdkforlld-linkis correct as it stands; only theclang-clone needs it.With that, the build is 1 min 40 s incremental and works.
4. The wineserver
setup.sh winebuilds speaks a different protocol than the distro's Winestep_winetakes the reference from"$WINE_BIN" --version, strips towine-11.22, and buildsserver/wineserverfrom that tag. Distrowine-staging 11.22-1.1here has client protocol 980(its staging patches bump it); the upstream tag generates 979, and the runtime dies before the
window exists:
The message is
client/server, so 979/980 is the built server talking to a newer client. Two ways out:use the wineserver
setup.shjust built by pointingPATCHED_WINESERVERat it (what I do — it alsocarries the rbtree view patch, which a title mapping 7.4 M views wants), or skip the patch entirely with
VICTORY_WINE_VIEW_TREE=0and let the distro's own server run. Related to #5.5.
build.sh'ssystemd-runmemory cap OOM-kills the build on a normal desktopOn a 32 GiB machine with a session already using ~11 GiB, the scope is OOM-killed mid-build
(
Memory cgroup out of memory, exit 137) — with the defaults, and again withMemoryMaxraised to24 GiB and 30 GiB, and with
-j 6. Running the samecargo build --release -j 6 -p victoryoutside thescope finishes without trouble. If the cap is there to protect the desktop, it may need to be relative to
MemAvailable(asrun.shalready does withKEEP_FREE) rather than toMemTotal.Environment, for the record
rust-toolchain.toml37bb30f; Mesa 26.3.1 +patches/mesa.patch, vkd3d-proton71cae09+ patches, DXC v1.9.2609, all as pinnedWith the four fixes the whole thing builds and runs; numbers are in the separate RDNA3 report issue.
github-bot referenced this issue2026-12-01 16:50:35 +00:00