[swift-users] Building Swift 3 under ArchLinux

Andrés Botero boterock at gmail.com
Sat Jul 16 23:34:06 CDT 2016


Hello.
I've never tried building from the Swift repository, and I think you
don't need to do it either.
What I do is just installing from the AUR, if you install the 'swift'
package it will compile the last release for you, if you install
'swift-bin' it will repackage the ubuntu binary for arch.
If you want to try Swift 3 (I have done this), there are the 'swift-
development' and 'swift-development-bin' which will repackage the
ubuntu binary or compile from source respectively.
----
Andrés.
On Sat, 2016-07-16 at 21:23 -0700, Farhan Ahmed via swift-users wrote:
> Hi,
> 
> I am hoping someone would be able to help with the following problem:
> 
> I am trying to build Swift 3 under ArchLinux. I have followed the
> build instructions and everything has been cloned and kick off the
> build by typing: ./swift/utils/build-script -R
> 
> After a long while the build errors out at (emphasis mine):
> 
> copying static files... done
> copying extra files... done
> dumping search index in English (code: en) ... done
> dumping object inventory... done
> build succeeded.
> [574/574] Generating swift.1
> FAILED: docs/tools/swift.1 
> cd /home/insha/build/Ninja-ReleaseAssert/swift-linux-
> x86_64/docs/tools && /usr/bin/core_perl/pod2man --section 1 --center
> Swift\ Documentation --release --name swift --stderr
> /home/insha/swift/docs/tools/swift.pod > /home/insha/build/Ninja-
> ReleaseAssert/swift-linux-x86_64/docs/tools/swift.1
> Can't open swift: No such file or directory at
> /usr/bin/core_perl/pod2man line 70.
> ninja: build stopped: subcommand failed.
> ./swift/utils/build-script: fatal error: command terminated with a
> non-zero exit status 1, aborting
> 
> 
> So what am I doing wrong? What can I do to either fix this issue or
> skip it if it is not essential (i.e. docs, etc.)? Any help and
> pointers would be greatly appreciated.
> 
> Best,
> Farhan
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160716/e9ba4fd8/attachment.html>


More information about the swift-users mailing list