Package Details: swift-bin 4.0.2-2

Git Clone URL: (read-only)
Package Base: swift-bin
Description: Official binary builds of the Swift programming language.
Upstream URL:
Keywords: apple language swift swiftlang
Licenses: Apache
Conflicts: lldb, swift-language-git
Provides: swift-language
Replaces: swift-language-bin
Submitter: ashleyis
Maintainer: FredBezies
Last Packager: FredBezies
Votes: 44
Popularity: 1.630789
First Submitted: 2015-12-04 17:31
Last Updated: 2017-11-06 11:32

Pinned Comments

FredBezies commented on 2017-09-21 05:28

Swift 4.x.x provides a new signing key. So before building it, please enter this key : gpg --recv-keys --keyserver hkp:// EF5430F071E1B235

And there is no easy way - as I tried this morning - to work around libcurl issue :(

Latest Comments

marcusramberg commented on 2017-11-06 08:25

4.0.2-1 won't install for me:

==> ERROR: Integrity checks (sha256) differ in size from the source array.

*update* fixed in -2

tierriminator commented on 2017-10-30 22:10

With a fresh install, I get the following bug in lldb: (when typing, it enters weird Unicode escape sequences). The according bug report from LLVM ( indicates that it is fixed. So is it just a problem of this package, or is it really still not fixed?

tierriminator commented on 2017-10-30 20:12

If anyone else has the problem with header not found for a header in '///usr/include/x86_64-linux-gnu/sys/', just make a directory /usr/include/x86_64-linux-gnu and symlink /usr/include/sys into it.
The problem arises because ///usr/include/x86_64-linux-gnu/sys is hardcoded into the linux distribution of glibc.modulemap provided by swift (and it is the 64bit Ubuntu equivalent to /usr/include/sys).

aavci commented on 2017-10-26 03:03

Anyone still having the <version `CURL_OPENSSL_3' not found> problem:
Try installing libcurl-compat and then running swift package or swift build with

matteo113 commented on 2017-10-08 09:32

Hi, when I try to build a project I keep getting the following errors :

swift: /usr/lib/ no version information available (required by swift)

/usr/bin/swift-build: /usr/lib/ version `CURL_OPENSSL_3' not found (required by /usr/bin/../lib/swift/linux/

I can open and use the REPL without problem but every time I try to build something it fails.

I've been searching for a solution all around the internet for a whole week but I haven't been able to solve this.

Does anyone have an idea of what I should do ?

drejmar commented on 2017-09-26 06:25

I resolved my issue building icu55.

drejmar commented on 2017-09-26 05:25

Thanks for informing me not to symlink libraries.
I cannot build icu55.
It times out with this message:
"checking for clang... clang"

FredBezies commented on 2017-09-24 09:27

@drejmar : never symlink libraries. You'll end tearing apart your installation :(

Revert icu update in order to avoid symlinking. Don't ask me to change icu again, thanks.

drejmar commented on 2017-09-24 08:50

Hi, Thanks for quick update!
The package installs, but swift wouldn't run:
"error: failed to stop process at REPL breakpoint"

Binaries assume an older version of icu shared libraries.
This fixes the issue:
ln -s /usr/lib/ /usr/lib/
ln -s /usr/lib/ /usr/lib/
ln -s /usr/lib/ /usr/lib/
ln -s /usr/lib/ /usr/lib/
ln -s /usr/lib/ /usr/lib/
ln -s /usr/lib/ /usr/lib/

FredBezies commented on 2017-09-23 19:27

@drejmar : done in swift-bin-4.0-2

All comments