Hello, I'm currently trying to package swift for void linux, though I'm getting some issues when building it and was hoping someone could tell me if I'm doing something wrong.
I've downloaded the latest swift tarball from apple/swift on github and extracted it into a directory called swift
, then running ./utils/update-checkout --clone
all goes well except that I then get the error
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/lib/python3.10/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/usr/lib/python3.10/multiprocessing/pool.py", line 48, in mapstar
return list(map(*args))
File "/home/will/Code/builddir/swift/utils/update_checkout/update_checkout/update_checkout.py", line 279, in obtain_additional_swift_sources
shell.run(['git', 'clone',
File "/home/will/Code/builddir/swift/utils/swift_build_support/swift_build_support/shell.py", line 244, in run
raise eout
Exception: ['git', 'clone', '--recursive', 'https://github.com/apple/swift.git', 'swift']
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/will/Code/builddir/swift/./utils/update-checkout", line 15, in <module>
update_checkout.main()
File "/home/will/Code/builddir/swift/utils/update_checkout/update_checkout/update_checkout.py", line 583, in main
clone_results = obtain_all_additional_swift_sources(args, config,
File "/home/will/Code/builddir/swift/utils/update_checkout/update_checkout/update_checkout.py", line 352, in obtain_all_additional_swift_sources
return run_parallel(
File "/home/will/Code/builddir/swift/utils/update_checkout/update_checkout/update_checkout.py", line 51, in run_parallel
results = pool.map_async(func=fn, iterable=pool_args).get(999999)
File "/usr/lib/python3.10/multiprocessing/pool.py", line 771, in get
raise self._value
Exception: ['git', 'clone', '--recursive', 'https://github.com/apple/swift.git', 'swift']
Have I set something up wrong?