Package Details: swift-bin 4.1-4

Git Clone URL: https://aur.archlinux.org/swift-bin.git (read-only)
Package Base: swift-bin
Description: Official binary builds of the Swift programming language.
Upstream URL: https://swift.org
Keywords: apple language swift swiftlang
Licenses: Apache
Conflicts: lldb, swift-language-git
Provides: lldb, swift-language
Replaces: swift-language-bin
Submitter: ashleyis
Maintainer: refi.64
Last Packager: refi.64
Votes: 55
Popularity: 0.509163
First Submitted: 2015-12-04 17:31
Last Updated: 2018-05-22 16:56

Required by (28)

Sources (2)

Pinned Comments

refi.64 commented on 2018-02-08 22:13

New package release! Changes include:

  • libcurl should now work out-of-the-box, without having to use LD_PRELOAD.
  • Header includes work.
  • Version warnings won't be printed. This means that Swift commands that assume any output is erroneous will succeed, and any compiled programs also won't print version information warnings. This ALSO means that any binaries you compile will use a custom dynamic linker (stored in /usr/lib/swift/arch/ld.so), and that an incredibly ugly hack was necessary in order to make this work.

Note that the signing key comment by @FredBezies still applies, so make sure you enter:

gpg --recv-keys --keyserver hkp://pgp.mit.edu EF5430F071E1B235

Enjoy!

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://pgp.mit.edu EF5430F071E1B235

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

Latest Comments

1 2 3 4 5 6 ... Next › Last »

grawlinson commented on 2018-11-10 02:01

Just curious, is there any siginificant difference between the Ubuntu 16.04 and 18.04 releases?

I've managed to compile 4.2.1 using the 18.04 releases, so it should be safe to update.

lf-araujo commented on 2018-08-22 22:34

Dear @refi.64, since last update in Manjaro, this is not working anymore. Even after reinstallation, the error I get after trying to run swift is:

*** stack smashing detected ***: <unknown> terminated

refi.64 commented on 2018-06-13 15:33

@alex4o: It's already listed as a dependency though?

alex4o commented on 2018-06-13 14:57

Isn't libtinfo5 (ncurses5-compat-libs) also a dependacy ?

wblondel commented on 2018-05-30 01:10

I think my issue is similar to SeAL80s' one, but here's my problem:

==> Lancement de package()...
Failed locate nearest file offset to 10554.
==> ERREUR : Une erreur s’est produite dans package().

qldv 0.3.1-1 and glibc 2.27-3 are installed.

lf-araujo commented on 2018-05-23 11:56

Edit: Sorry, reinstalled swift after qldv, and it worked. Thanks for the update.

Hi @refi.64, thanks for that. However, the error persists in my case. I have been running it in Manjaro, though.

$ swift --version
swift: symbol lookup error: /usr/lib/libstdc++.so.6: undefined symbol: memcpy, version GCC_3.0

refi.64 commented on 2018-05-22 16:57

@lf-araujo @arslan2012 @frol @SeAL80s @tierriminator: All these issues should now be fixed with qldv 0.3.1. Please run a full upgrade to ensure both qldv and swift-bin are updated, and if you run into any more issues, ensure you're on the latest version of glibc. Sorry for the delays in fixing the problem!

lf-araujo commented on 2018-05-21 11:42

I am affected by the same error: swift: symbol lookup error: /usr/lib/libstdc++.so.6: undefined symbol: memcpy, version GCC_3.0

arslan2012 commented on 2018-05-11 15:25

@refi.64 I'm having exactly same issue as @frol, changing qldv to qldv-git did not help either

pacman -Qi glibc
Name            : glibc
Version         : 2.27-3
Description     : GNU C Library
Architecture    : x86_64
URL             : http://www.gnu.org/software/libc
Licenses        : GPL  LGPL
Groups          : base
Provides        : None
Depends On      : linux-api-headers>=4.10  tzdata  filesystem
Optional Deps   : gd: for memusagestat [installed]
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 41.40 MiB
Packager        : Bartlomiej Piotrowski <bpiotrowski@archlinux.org>
Build Date      : Thu 03 May 2018 04:09:56 AM CST
Install Date    : Thu 10 May 2018 07:15:49 PM CST
Install Reason  : Explicitly installed
Install Script  : Yes
Validated By    : Signature

refi.64 commented on 2018-05-10 20:05

@frol @SeAL80s: I have a hunch these issues are due to the recent qldv upgrade. I'm likely going to switch to the Fedora RPM binaries once Swift 4.2 comes out, since this whole patching-glibc is a huge mess.

Meanwhile, could you post your glibc version? (pacman -Qi glibc)