Build error on OS X.

I am trying to build Swift on OS X and get the following error:

clang: *error: *no such file or directory:
'Source/swift/build/Ninja-ReleaseAssert/llvm-macosx-x86_64/lib/Transforms/Hello/LLVMHello.exports'

I have tried running ./swift/utils/build-script as well as
./swift/utils/build-script
-R and the compilation ends at the same spot both times. I have checked,
and the file exists, assuming "Source" represents the parent of the
directory where all the repositories were cloned (per the README at ).

Has anyone run into this? Am I missing something obvious? I have attached
the log.

Thanks for the help.

Alex

output.txt (68.2 KB)

Looks like the name of the folder you chose is the problem: space in ‘Open Source’ is not properly escaped.
Please try to copy it to another folder and run the build script again.

max

···

On Dec 7, 2015, at 12:29 PM, Alexandros Salazar via swift-dev <swift-dev@swift.org> wrote:

I am trying to build Swift on OS X and get the following error:

clang: error: no such file or directory: 'Source/swift/build/Ninja-ReleaseAssert/llvm-macosx-x86_64/lib/Transforms/Hello/LLVMHello.exports'

I have tried running ./swift/utils/build-script as well as ./swift/utils/build-script -R and the compilation ends at the same spot both times. I have checked, and the file exists, assuming "Source" represents the parent of the directory where all the repositories were cloned (per the README at ).

Has anyone run into this? Am I missing something obvious? I have attached the log.

Thanks for the help.
Alex
<output.txt>_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev

Ah. Silly me. Thank you.

···

On Mon, Dec 7, 2015 at 7:07 PM, Maxim Moiseev <maxim_moiseev@apple.com> wrote:

Looks like the name of the folder you chose is the problem: space in ‘Open
Source’ is not properly escaped.
Please try to copy it to another folder and run the build script again.

max

On Dec 7, 2015, at 12:29 PM, Alexandros Salazar via swift-dev < > swift-dev@swift.org> wrote:

I am trying to build Swift on OS X and get the following error:

clang: *error: *no such file or directory:
'Source/swift/build/Ninja-ReleaseAssert/llvm-macosx-x86_64/lib/Transforms/Hello/LLVMHello.exports'

I have tried running ./swift/utils/build-script as well as ./swift/utils/build-script
-R and the compilation ends at the same spot both times. I have checked,
and the file exists, assuming "Source" represents the parent of the
directory where all the repositories were cloned (per the README at ).

Has anyone run into this? Am I missing something obvious? I have attached
the log.

Thanks for the help.
Alex
<output.txt>_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev

If you get the chance, please do file a bug at bugs.swift.org <Issues · apple/swift · GitHub; about this. Spaces in paths should not cause problems in 2015!

Jordan

···

On Dec 7, 2015, at 17:01, Alexandros Salazar via swift-dev <swift-dev@swift.org> wrote:

Ah. Silly me. Thank you.

On Mon, Dec 7, 2015 at 7:07 PM, Maxim Moiseev <maxim_moiseev@apple.com <mailto:maxim_moiseev@apple.com>> wrote:
Looks like the name of the folder you chose is the problem: space in ‘Open Source’ is not properly escaped.
Please try to copy it to another folder and run the build script again.

max

On Dec 7, 2015, at 12:29 PM, Alexandros Salazar via swift-dev <swift-dev@swift.org <mailto:swift-dev@swift.org>> wrote:

I am trying to build Swift on OS X and get the following error:

clang: error: no such file or directory: 'Source/swift/build/Ninja-ReleaseAssert/llvm-macosx-x86_64/lib/Transforms/Hello/LLVMHello.exports'

I have tried running ./swift/utils/build-script as well as ./swift/utils/build-script -R and the compilation ends at the same spot both times. I have checked, and the file exists, assuming "Source" represents the parent of the directory where all the repositories were cloned (per the README at ).

Has anyone run into this? Am I missing something obvious? I have attached the log.

Thanks for the help.
Alex
<output.txt>_______________________________________________
swift-dev mailing list
swift-dev@swift.org <mailto:swift-dev@swift.org>
https://lists.swift.org/mailman/listinfo/swift-dev

_______________________________________________
swift-dev mailing list
swift-dev@swift.org <mailto:swift-dev@swift.org>
https://lists.swift.org/mailman/listinfo/swift-dev