[swift-lldb-dev] Failed to build OS X toolchain package broken due to commit b08610b

Todd Fiala todd.fiala at gmail.com
Fri Dec 4 00:41:55 CST 2015


I see.

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).

Looking at this more now.

On Thu, Dec 3, 2015 at 10:36 PM, Dmitri Gribenko <gribozavr at gmail.com>
wrote:

>
>
> On Thu, Dec 3, 2015 at 10:32 PM, Todd Fiala <tfiala at apple.com> wrote:
>
>> I’m seeing this:
>>
>> swift/utils/build-script --preset=buildbot_osx_package
>> Traceback (most recent call last):
>>   File "swift/utils/build-script", line 767, in <module>
>>     sys.exit(main())
>>   File "swift/utils/build-script", line 761, in main
>>     return main_preset()
>>   File "swift/utils/build-script", line 77, in main_preset
>>     args.preset_substitutions, args.preset_file_names, args.preset)
>>   File "/Users/tfiala/work/lldb-github/swift/utils/SwiftBuildSupport.py",
>> line 169, in get_preset_options
>>     _get_preset_options_impl(config, substitutions, preset_name)
>>   File "/Users/tfiala/work/lldb-github/swift/utils/SwiftBuildSupport.py",
>> line 137, in _get_preset_options_impl
>>     for o, a in config.items(section_name):
>>   File
>> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ConfigParser.py",
>> line 655, in items
>>     for option in options]
>>   File
>> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ConfigParser.py",
>> line 691, in _interpolate
>>     self._interpolate_some(option, L, rawval, section, vars, 1)
>>   File
>> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ConfigParser.py",
>> line 723, in _interpolate_some
>>     option, section, rest, var)
>> ConfigParser.InterpolationMissingOptionError: Bad value substitution:
>>         section: [preset: buildbot_osx_package]
>>         option : installable-package
>>         key    : installable_package
>>         rawval :
>>
>> Is that what you’re seeing?
>>
>> Am I maybe missing some kind of preset package file?
>>
>
>
> You also need to pass the "installable_package" command line parameter
> (and some other ones that it will complain about later).
>
> swift/utils/build-script --preset=buildbot_osx_package
> installable_package=/tmp/swift.tar.gz
>
> Dmitri
>
> --
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
>



-- 
-Todd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-lldb-dev/attachments/20151203/502d564c/attachment-0001.html>


More information about the swift-lldb-dev mailing list