Package Details: swift-bin 5.5-1

Git Clone URL: https://aur.archlinux.org/swift-bin.git (read-only, click to copy)
Package Base: swift-bin
Description: Binary builds of the Swift programming language
Upstream URL: https://swift.org
Keywords: apple language swift swiftlang
Licenses: Apache
Provides: swift-language
Replaces: swift-language-bin
Submitter: ashleyis
Maintainer: refi.64
Last Packager: refi.64
Votes: 74
Popularity: 0.20
First Submitted: 2015-12-04 17:31
Last Updated: 2021-10-05 22:34

Required by (8)

Sources (1)

Latest Comments

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

pcbeard commented on 2021-09-21 06:54

Same patch works for the 5.5 release, just had to change pkgver=5.5.

pcbeard commented on 2021-09-19 05:33

5.4.3 is out. What would it take to move forward? This patch worked for me:

diff --git a/PKGBUILD b/PKGBUILD
index af2121e..43f56e4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,3 +4,3 @@
 pkgname=swift-bin
-pkgver=5.4.2
+pkgver=5.4.3
 pkgrel=1
@@ -10,3 +10,3 @@ url="https://swift.org"
 license=('apache')
-depends=('libutil-linux' 'libxml2' 'python36')
+depends=('libutil-linux' 'libxml2' 'python')
 makedepends=('patchelf')
@@ -16,3 +16,3 @@ replaces=('swift-language-bin')
 source=("https://swift.org/builds/swift-$pkgver-release/centos8/swift-$pkgver-RELEASE/swift-$pkgver-RELEASE-centos8.tar.gz")
-sha256sums=('48997efc0d3b5a87082609b2d2bab21e421e711427386def6b6e761e5491167f')
+sha256sums=('1a86b6d964804f9d37dcbb9da24b902211b108deef1b73c4005837073b0244ee')

Surprisingly the missing ':' character bug still persists. Fixed in Ubuntu.

Also, when I run the swift command, I see these errors:

warning: (x86_64) /usr/lib/libstdc++.so.6 unsupported DW_FORM value: 0x1f
warning: (x86_64) /usr/lib/libgcc_s.so.1 unsupported DW_FORM value: 0x1f

refi.64 commented on 2021-07-04 16:20

silverhammermba illuser: Python 3.6 is required by liblldb, if you try to start the Swift REPL it'll break without it. It's an unfortunate consequence of having to use binaries that weren't built for Arch. (rpmextract was a mistaken holdover from the past, though, I've removed it.)

silverhammermba commented on 2021-07-03 17:00

I am also confused by the python36 dependency. I tried building without it (I have python 3.9.5) and it seems to work fine.

josc commented on 2021-06-30 07:05

If anyone needs it, i just created a PKGBUILD with the recent Swift 5.4.2 https://gist.github.com/joscdk/dc817a45b05756b86a7c92e7a837ff5a

illuser commented on 2021-06-12 13:19

Is there really a need for the hard dependency on python3.6? And why is there a make dependency on rpmextract when it isn't used?

refi.64 commented on 2021-05-04 00:33

@ytg123: sort of? basically this week is my finals week after 2 weeks straight of multiple major projects being due, so my time is quite constrained atm, please hang tight until early next week at the latest

ytg123 commented on 2021-05-03 18:02

Hello refi.64, Swift 5.4 has been released and this package has been marked out of date at 26/04. Quite some time has passed since then, but it seems as though no updates have been made. Is an update in progress?

soloturn commented on 2021-03-21 08:16

hey refi.64, can you please update, there is an important fix in 5.3.2: https://forums.swift.org/t/massive-cpu-usage-and-cant-even-do-basic-code-completion/37596/12

chris200x9 commented on 2020-12-13 23:53

I had a heck of a time getting this to work with clion but I found this:

https://caelis.medium.com/install-and-configure-swift-on-arch-linux-for-clion-ee72908bc105

Don't know if I'm being helpful or cluttering things up, feel free to delete.

Also, I used symlinks instead and it works well.