[swift-users] Latest builds broken?

Domain Admin michaelp at abstractinventions.com
Sun Mar 20 04:45:05 CDT 2016


Hi,

this might be a case of user error but I can’t use the latest builds to do
anything (on OSX).

Trying to do a swift build results in the following -

$
/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-03-16-a.xctoolchain/usr/bin/swift-build
dyld: Library not loaded: @rpath/libswiftCore.dylib
  Referenced from:
/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-03-16-a.xctoolchain/usr/bin/swift-build
  Reason: image not found
Trace/BPT trap: 5

At least the 25/02 build works.

When I do an otool -l on the both versions I note that the 25/02 version
has two LC_PATH entries

otool -l
/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-02-25-a.xctoolchain/usr/bin/swift-build
<snip>

Load command 16
          cmd LC_RPATH
      cmdsize 56
         path @executable_path/../lib/swift/macosx (offset 12)
Load command 17
          cmd LC_RPATH
      cmdsize 128
         path
/Users/buildnode/jenkins/workspace/oss-swift-package-osx/build/buildbot_osx/swift-macosx-x86_64/lib/swift/macosx
(offset 12)

Whereas the latest version has only 1

otool -l
/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-03-16-a.xctoolchain/usr/bin/swift-build
<snip>
Load command 17
          cmd LC_RPATH
      cmdsize 128
         path
/Users/buildnode/jenkins/workspace/oss-swift-package-osx/build/buildbot_osx/swift-macosx-x86_64/lib/swift/macosx
(offset 12)

Not sure if this has anything to do with it.

Any help appreciated.

Michael.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160320/1690a969/attachment.html>


More information about the swift-users mailing list