<div dir="ltr"><div>Hi, Kostiantyn</div><div><br></div><div>Thank you so much for explaining it in detail.</div><div><br></div><div>I'm sorry that I had misunderstood what SwiftPM requires, and it's not related to the changes occurred by executing the "quote" method.</div><div><br></div><div>I cannot try that now, so I'll try later.</div><div><br></div><div>Best regards,</div><div>JPMartha</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-04-16 19:23 GMT+09:00 Kostiantyn Koval <span dir="ltr"><<a href="mailto:konstantin.koval1@gmail.com" target="_blank">konstantin.koval1@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi JPMartha<div><br></div><div>The error you see <b>default: main </b>is coming from llbuild. There was a change in llbuild and now to build swiftpm you have to use llbuild from master.</div><div><br></div><div>1. Build llbuild -> ./swift/utils/build-scripl llbuild </div><div>2 - Build swiftpm and specify --sbt ./Utilities/bootstrap --swiftc /Users/kkoval/Work/apple/build/Ninja-ReleaseAssert/swift-macosx-x86_64/bin/swiftc --sbt /Users/kkoval/Work/apple/build/Ninja-ReleaseAssert/llbuild-macosx-x86_64/bin/swift-build-tool</div><div><span class="HOEnZb"><font color="#888888"><div><br></div><div>- Kostiantyn</div><div><br></div></font></span><div><blockquote type="cite"><div><div class="h5"><div>On 16 Apr 2016, at 09:23, Martha JP via swift-build-dev <<a href="mailto:swift-build-dev@swift.org" target="_blank">swift-build-dev@swift.org</a>> wrote:</div><br></div></div><div><div><div class="h5"><div dir="ltr"><div>Hi, I'm JPMartha.</div><div><br></div><div>Can I ask about the following implementation?</div><div> - <a href="https://github.com/apple/swift-package-manager/blob/master/Sources/Build/YAML.swift#L31-L40" target="_blank">https://github.com/apple/swift-package-manager/blob/master/Sources/Build/YAML.swift#L31-L40</a></div><div><br></div><div>The reason why I ask about that I can't build the SwiftPM itself with the bootstrap script these days.</div><div> - <a href="https://github.com/apple/swift-package-manager#development" target="_blank">https://github.com/apple/swift-package-manager#development</a> (2)</div><div><br></div><div>When I try to build itself, the following error occurs.</div><div><br></div><div>## Error</div><div>```</div><div>/swift-package-manager/.build/debug.yaml:7:1: error: unexpected trailing top-level section</div><div>default: main</div><div>^</div><div><unknown>:0: error: unable to load build file</div><div>error: exit(1): /Users/.../swift-package-manager/.build/debug/swift-build-tool -f /Users/.../swift-package-manager/.build/debug.yaml</div><div>```</div><div><br></div><div>## Environment</div><div> - swift-DEVELOPMENT-SNAPSHOT-2016-04-12</div><div> - OS X 10.11.4</div><div><br></div><div>I thought I had made a mistake, so I was checking the SwiftPM in my repository.</div><div><br></div><div>But, I have concern about the current implementation.</div><div> - <a href="https://github.com/apple/swift-package-manager/blob/master/Sources/Build/YAML.swift#L33-L34" target="_blank">https://github.com/apple/swift-package-manager/blob/master/Sources/Build/YAML.swift#L33-L34</a></div><div><br></div><div>Please see my debug.yaml.</div><div><br></div><div>```</div><div>targets:</div><div> test: [<Build.testsuite.module>, <Functional.testsuite.module>, <Get.testsuite.module>, <ManifestParser.testsuite.module>, <OptionsParser.testsuite.module>, <PackageDescription.testsuite.module>, <PackageType.testsuite.module>, <Transmute.testsuite.module>, <Utility.testsuite.module>, <Xcodeproj.testsuite.module>, <SwiftPM.test>]</div><div> main: [<Build.module>, <Get.module>, <libc.module>, <ManifestParser.module>, <Multitool.module>, <OptionsParser.module>, <PackageDescription.module>, <PackageType.module>, <POSIX.module>, "<swift-build.module>", "<swift-test.module>", <Transmute.module>, <Utility.module>, <Xcodeproj.module>, "<swift-build.exe>", "<swift-test.exe>", <PackageDescription.dylib>]</div><div>```</div><div><br></div><div>I guess the following changes are occurred by executing the "quote" method.</div><div><br></div><div>## Before the change:</div><div><swift-build.module>, <swift-test.module>, <swift-build.exe>, <swift-test.exe></div><div><br></div><div>## After the change:</div><div>"<swift-build.module>", "<swift-test.module>", "<swift-build.exe>", "<swift-test.exe>"</div><div><br></div><div>But, I cannot confirm that because I cannot run the bootstrap script.</div><div><br></div><div>I'm really sorry if I got the wrong idea.</div><div><br></div><div>Best regards,</div><div>JPMartha</div></div></div></div><span class="">
_______________________________________________<br>swift-build-dev mailing list<br><a href="mailto:swift-build-dev@swift.org" target="_blank">swift-build-dev@swift.org</a><br><a href="https://lists.swift.org/mailman/listinfo/swift-build-dev" target="_blank">https://lists.swift.org/mailman/listinfo/swift-build-dev</a><br></span></div></blockquote></div><br></div></div></blockquote></div><br></div>