Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-7880] "TypeError: unsupported operand type(s) for +=: 'instance' and 'list'" for corelibs-foundation ./configure #3681

Open
huonw mannequin opened this issue Jun 5, 2018 · 1 comment

Comments

@huonw
Copy link
Mannequin

huonw mannequin commented Jun 5, 2018

Previous ID SR-7880
Radar None
Original Reporter @huonw
Type Bug
Environment

macOS 10.13.3.
Commit e58e92d of swift-corelibs-foundation

Additional Detail from JIRA
Votes 0
Component/s Foundation
Labels Bug
Assignee None
Priority Medium

md5: 1cccfcd4bf7d862e0215391d8ac15e6e

Issue Description:

I cloned and ran ./configure, and got:

Traceback (most recent call last):
  File "./configure", line 207, in <module>
    main()
  File "./configure", line 203, in main
    exec(compile(open(config.script_path.absolute()).read(), config.script_path.absolute(), 'exec'))
  File "/Users/huon/projects/apple/swift-corelibs-foundation/build.py", line 331, in <module>
    sources += (['closure/data.c', 'closure/runtime.c'])
TypeError: unsupported operand type(s) for +=: 'instance' and 'list'

which is from lib/phases.py:331:

if "LIBDISPATCH_SOURCE_DIR" not in Configuration.current.variables:
    sources += (['closure/data.c', 'closure/runtime.c'])

(I realise I'm probably not meant to be invoking ./configure directly.)

@belkadan
Copy link

belkadan commented Jun 5, 2018

I'm not sure ./configure has ever worked for building on Mac.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant