[SERVER-49411] Ninja builds do not work when building in paths with spaces Created: 09/Jul/20  Updated: 27/Oct/23  Resolved: 27/Oct/23

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: 4.5 Required
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Ryan Egesdahl (Inactive) Assignee: [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Server Development Platform
Operating System: ALL
Participants:

 Description   

Ninja builds currently do not work when building in paths with spaces in them. We currently tell developers not to do this in our documentation, but it's a trap for newcomers and there's really no reason this should be the case. There are two problems that cause the behavior, and both should be corrected:

  1. Ninja does not expand response files with spaces in the path. This may be a Ninja bug or some behavior related to how we generate build.ninja.
  2. We do not escape or quote tool or file paths that may have spaces in them.

Generated at Thu Feb 08 05:19:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.