Build error on OS X.


(Alexandros Salazar) #1

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)


(Maxim Moiseev) #2

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


(Alexandros Salazar) #3

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


(Jordan Rose) #4

If you get the chance, please do file a bug at bugs.swift.org <http://bugs.swift.org/> 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