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.
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: | 90 |
Popularity: | 1.21 |
First Submitted: | 2015-12-04 17:31 (UTC) |
Last Updated: | 2024-12-13 09:52 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 .. 16 Next › Last »
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.
@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.
Same patch works for the 5.5 release, just had to change pkgver=5.5
.
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
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.)
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.
If anyone needs it, i just created a PKGBUILD with the recent Swift 5.4.2 https://gist.github.com/joscdk/dc817a45b05756b86a7c92e7a837ff5a
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?
@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
Pinned Comments