Issues packaging swift for other linux distros

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

Traceback (most recent call last):
  File "/usr/lib/python3.10/multiprocessing/", line 125, in worker
    result = (True, func(*args, **kwds))
  File "/usr/lib/python3.10/multiprocessing/", line 48, in mapstar
    return list(map(*args))
  File "/home/will/Code/builddir/swift/utils/update_checkout/update_checkout/", line 279, in obtain_additional_swift_sources['git', 'clone',
  File "/home/will/Code/builddir/swift/utils/swift_build_support/swift_build_support/", line 244, in run
    raise eout
Exception: ['git', 'clone', '--recursive', '', '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>
  File "/home/will/Code/builddir/swift/utils/update_checkout/update_checkout/", line 583, in main
    clone_results = obtain_all_additional_swift_sources(args, config,
  File "/home/will/Code/builddir/swift/utils/update_checkout/update_checkout/", line 352, in obtain_all_additional_swift_sources
    return run_parallel(
  File "/home/will/Code/builddir/swift/utils/update_checkout/update_checkout/", line 51, in run_parallel
    results = pool.map_async(func=fn, iterable=pool_args).get(999999)
  File "/usr/lib/python3.10/multiprocessing/", line 771, in get
    raise self._value
Exception: ['git', 'clone', '--recursive', '', 'swift']

Have I set something up wrong?

Terms of Service

Privacy Policy

Cookie Policy