Package Details: swift-bin 5.10-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://www.swift.org/
Keywords: apple language swift swiftlang
Licenses: Apache
Provides: swift-language
Replaces: swift-language-bin
Submitter: ashleyis
Maintainer: susurri
Last Packager: susurri
Votes: 83
Popularity: 0.77
First Submitted: 2015-12-04 17:31 (UTC)
Last Updated: 2024-03-06 18:06 (UTC)

Dependencies (5)

Required by (13)

Sources (2)

Pinned Comments

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 16 Next › Last »

miten commented on 2022-02-13 23:55 (UTC) (edited on 2022-02-14 00:17 (UTC) by miten)

I will maintain swift-bin for the time being. If anyone wants to be a co-maintainer, please let me know.

P.S. I have made python36 an optional dependency.

kylef commented on 2021-10-23 08:46 (UTC)

@refi.64, any thoughts to making python36 an optional dependency? It isn't needed for many uses of Swift, only the REPL (which not everyone uses). To be honest, I do patch the PKGBUILD to drop this dependency out myself.

pcbeard commented on 2021-09-21 06:54 (UTC)

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

pcbeard commented on 2021-09-19 05:33 (UTC) (edited on 2021-09-19 06:06 (UTC) by pcbeard)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

@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