SR-22: build fails when following the "getting started" on Ubuntu 14.04 (https://bugs.swift.org/browse/SR-22)


(Ted Kremenek) #1

FYI:

  https://bugs.swift.org/browse/SR-22

$ swift build
Linking Executable: .build/debug/Hello
<unknown>:0: error: link command failed with exit code 127 (use -v to see invocation)
<unknown>:0: error: build had 1 command failures
swift-build: exit(1): ["/opt/swift-2.2-SNAPSHOT-2015-12-01-b-ubuntu14.04/usr/bin/swift-build-tool", "-f", "/abyss/haohui/source.swift/Hello/.build/debug/Hello.o/llbuild.yaml”]

I moved this to the Package Manager component in JIRA.


(Daniel Dunbar) #2

Thanks Ted,

I commented on the issue, this is the unfortunate error message when using swiftc w/o clang installed. We are going to try and have the package manager help report a more useful error message in this case to hopefully reduce confusion.

- Daniel

···

On Dec 3, 2015, at 3:26 PM, Ted Kremenek <kremenek@apple.com> wrote:

FYI:

  https://bugs.swift.org/browse/SR-22

$ swift build
Linking Executable: .build/debug/Hello
<unknown>:0: error: link command failed with exit code 127 (use -v to see invocation)
<unknown>:0: error: build had 1 command failures
swift-build: exit(1): ["/opt/swift-2.2-SNAPSHOT-2015-12-01-b-ubuntu14.04/usr/bin/swift-build-tool", "-f", "/abyss/haohui/source.swift/Hello/.build/debug/Hello.o/llbuild.yaml”]

I moved this to the Package Manager component in JIRA.

_______________________________________________
swift-build-dev mailing list
swift-build-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-build-dev