build: skip the FreeType version resource so Windows builds work in paths with spaces #2210
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2210"
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?
Imported from boykopovar/AnyPS5. Originally posted by Rohan03x on 2026-10-09T11:42:31Z.
What
On Windows the build fails when the checkout path contains a space:
windrespasses the include directories to the preprocessor unquoted, so FreeType'sftver.rccannot be compiled. This dropsftver.rcfrom thefreetypetarget on Windows. The resource only carries version metadata; FreeType is linked statically here and the resource never reached an output (the builtlibSceFont*.prxhave no.rsrcsection). #1105 noted this failure and left it open.Tested
Windows 11 22621, WinLibs GCC 15.2.0 UCRT, windres 2.46.0, checkout in a path with a space and parentheses.
f1451396:cmake --build --target freetypefails atftver.rc.obj.f1451396: configure and build exit 0,--target libsbuilds 115 prx, ctest 488/488.libfreetype.agoes from 43 to 42 members; onlyftver.rc.objis gone.d70b8998: rebuild in the same tree and--target libsexit 0, noftver.rcbuild edge, ctest 0 failed out of 507 (2 skipped:agc_driver_storage_cache_budget,guest_video_out_wqhd_detection_no_vulkan).tools/check_conventions.py --base origin/mainpasses.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T12:35:57Z.
Review: APPROVED
Reviewed the full diff and the reported Windows reproduction on a checkout path containing spaces. The change removes only FreeType’s Windows version resource from this target; the PR reports that it unblocks the build and the full libs build plus CTest pass after rebasing on current main. Conventions passes on the PR head.