<div dir="ltr">I see.<div><br></div><div>And I think I see the issue. It's trying to do a release-debuginfo build across the board. LLDB chokes on those. So we'll need to explicitly set the lldb build variant to something different (either release or debug, likely release).</div><div><br></div><div>Looking at this more now.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 3, 2015 at 10:36 PM, Dmitri Gribenko <span dir="ltr"><<a href="mailto:gribozavr@gmail.com" target="_blank">gribozavr@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Thu, Dec 3, 2015 at 10:32 PM, Todd Fiala <span dir="ltr"><<a href="mailto:tfiala@apple.com" target="_blank">tfiala@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word">I’m seeing this:<div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div>swift/utils/build-script --preset=buildbot_osx_package</div><div>Traceback (most recent call last):</div><div> File "swift/utils/build-script", line 767, in <module></div><div> sys.exit(main())</div><div> File "swift/utils/build-script", line 761, in main</div><div> return main_preset()</div><div> File "swift/utils/build-script", line 77, in main_preset</div><div> args.preset_substitutions, args.preset_file_names, args.preset)</div><div> File "/Users/tfiala/work/lldb-github/swift/utils/SwiftBuildSupport.py", line 169, in get_preset_options</div><div> _get_preset_options_impl(config, substitutions, preset_name)</div><div> File "/Users/tfiala/work/lldb-github/swift/utils/SwiftBuildSupport.py", line 137, in _get_preset_options_impl</div><div> for o, a in config.items(section_name):</div><div> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ConfigParser.py", line 655, in items</div><div> for option in options]</div><div> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ConfigParser.py", line 691, in _interpolate</div><div> self._interpolate_some(option, L, rawval, section, vars, 1)</div><div> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ConfigParser.py", line 723, in _interpolate_some</div><div> option, section, rest, var)</div><div>ConfigParser.InterpolationMissingOptionError: Bad value substitution:</div><div> section: [preset: buildbot_osx_package]</div><div> option : installable-package</div><div> key : installable_package</div><div> rawval :</div></div><div><br></div></blockquote>Is that what you’re seeing?<div><br></div><div>Am I maybe missing some kind of preset package file?</div></div></blockquote><div><br></div><div><br></div></div></div><div>You also need to pass the "installable_package" command line parameter (and some other ones that it will complain about later).</div><div><br></div><div>swift/utils/build-script --preset=buildbot_osx_package installable_package=/tmp/swift.tar.gz<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Dmitri</div><div><br></div></font></span></div><span class="">-- <br><div>main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if<br>(j){printf("%d\n",i);}}} /*Dmitri Gribenko <<a href="mailto:gribozavr@gmail.com" target="_blank">gribozavr@gmail.com</a>>*/</div>
</span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">-Todd</div></div>
</div>