# No spaces allowed during building?

**URL:** <https://forums.swift.org/t/no-spaces-allowed-during-building/15599>\
**Category:** Standard Library\
**Tags:** build-script, help-needed, buildin-the-compiler\
**Created:** [August 28, 2018, 9:34am UTC](https://forums.swift.org/t/no-spaces-allowed-during-building/15599 "2018-08-28T09:34:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CTMacUser](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/ctmacuser/32/1802_2.png) [@CTMacUser](https://forums.swift.org/u/CTMacUser)\
**Post date:** [August 28, 2018, 9:34am UTC](https://forums.swift.org/t/no-spaces-allowed-during-building/15599/1 "2018-08-28T09:34:37Z")

</div>

Part of a line in the build script output while trying to build Swift from my fork:

```
/Volumes/Extreme SSD/Swift fork/build/Ninja-RelWithDebInfoAssert+stdlib-DebugAssert/llvm-macosx-x86_64/lib/Transforms/Hello/LLVMHello.exports

```

And a line later:

```
clang: error: no such file or directory: 'SSD/Swift'
clang: error: no such file or directory: 'fork/build/Ninja-RelWithDebInfoAssert+stdlib-DebugAssert/llvm-macosx-x86_64/lib/Transforms/Hello/LLVMHello.exports'

```

The build script isn't space-safe for file/directory names?!

---

<div class="post-metadata">

**Author:** ![davedelong](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/davedelong/32/38708_2.png) [@davedelong](https://forums.swift.org/u/davedelong)\
**Post date:** [August 28, 2018, 3:08pm UTC](https://forums.swift.org/t/no-spaces-allowed-during-building/15599/2 "2018-08-28T15:08:38Z")

</div>

Sadly, no:

- [[SR-6287] utils/build-script can't handle spaces in path to Xcode · Issue #48837 · apple/swift · GitHub](https://bugs.swift.org/browse/SR-6287)
- [[SR-3353] Swift is not buildable in a directory that has spaces in the path · Issue #45941 · apple/swift · GitHub](https://bugs.swift.org/browse/SR-3353)

---

<div class="post-metadata">

**Author:** ![jrose](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/jrose/32/408_2.png) [@jrose](https://forums.swift.org/u/jrose)\
**Post date:** [August 28, 2018, 4:32pm UTC](https://forums.swift.org/t/no-spaces-allowed-during-building/15599/3 "2018-08-28T16:32:54Z")

</div>

Patches always welcome, but in this case the patches have to go to [llvm.org](http://llvm.org) first. If we get to a point where everything's working, we'll set up a bot on [ci.swift.org](http://ci.swift.org) to keep from regressing it.
