Package Details: swift-lldb 5.4-1

Git Clone URL: https://aur.archlinux.org/swift-language.git (read-only, click to copy)
Package Base: swift-language
Description: The Swift programming language debugger (LLDB) and REPL
Upstream URL: http://swift.org/
Licenses: Apache
Conflicts: lldb
Provides: lldb
Submitter: Zrax
Maintainer: soloturn (refi.64)
Last Packager: soloturn
Votes: 37
Popularity: 1.31
First Submitted: 2016-01-08 23:39
Last Updated: 2020-10-10 16:06

Required by (24)

Sources (10)

Pinned Comments

soloturn commented on 2020-09-06 22:25

options to install a binary swift are currently:

  • latest release, at the moment 5.3: use swift-bin, which repackages tachoknights official released centos8 build: https://aur.archlinux.org/packages/swift-bin/.

  • latest from git: use swift-language-git, builds native on arch. as it takes long to build, there is a binary built with github actions. the version number is taken out of the official tag on apple/swift main branch: e.g. swift-language-git-swift.DEVELOPMENT.SNAPSHOT.2020.09.28.a.r208.g6651f6e55d4-1-x86_64.pkg.tar.zst. so this one is the development tag from sep 28 + 208 commits, the commit hash is g6651f: aur - https://aur.archlinux.org/packages/swift-language-git. gh-actions: https://github.com/soloturn/swift-aur/releases/tag/latest

  • released version should hopefully natively build again with the next release.

Latest Comments

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

soloturn commented on 2020-09-19 09:18

thanks for the hint! i copied now the dependencies from https://aur.archlinux.org/packages/swift-language-git and no diagnostics any more.

freswa commented on 2020-09-17 21:59

Please use python-diagnostics as a depend/makedepend and remove L49. Thank you

elgs commented on 2020-09-15 09:20

Why does Swift have so many Python dependencies?

soloturn commented on 2020-09-06 22:25

options to install a binary swift are currently:

  • latest release, at the moment 5.3: use swift-bin, which repackages tachoknights official released centos8 build: https://aur.archlinux.org/packages/swift-bin/.

  • latest from git: use swift-language-git, builds native on arch. as it takes long to build, there is a binary built with github actions. the version number is taken out of the official tag on apple/swift main branch: e.g. swift-language-git-swift.DEVELOPMENT.SNAPSHOT.2020.09.28.a.r208.g6651f6e55d4-1-x86_64.pkg.tar.zst. so this one is the development tag from sep 28 + 208 commits, the commit hash is g6651f: aur - https://aur.archlinux.org/packages/swift-language-git. gh-actions: https://github.com/soloturn/swift-aur/releases/tag/latest

  • released version should hopefully natively build again with the next release.

soloturn commented on 2020-08-14 02:37

i did create one at llvm: https://bugs.llvm.org/show_bug.cgi?id=47163

it is not considered a bug in swift: https://bugs.swift.org/browse/SR-13082

it happens when compiling compiler-rt with llvm, at least on arch linux, but it is not considered a bug in arch: https://bugs.archlinux.org/task/67518

fanjiang commented on 2020-08-11 17:14

Hi @soloturn,

did you try to submit the issue to the Arch bug tracker for compiler_rt and stuff?

fanjiang commented on 2020-07-06 21:01

That is great :)

soloturn commented on 2020-07-06 19:29

i created a continues build now on github which should build it once a day: https://github.com/soloturn/swift-aur/actions

fanjiang commented on 2020-07-06 16:40

@soloturn I managed to go pass SR-13083 with the following patch:

build() {
     cd "$srcdir/swift"


     # By default in /etc/makepkg.conf this is "-D_FORTIFY_SOURCE=2"
     # Which will break `compiler-rt`
     unset CPPFLAGS
     unset CFLAGS
     unset CXXFLAGS
     unset LDFLAGS

     export SWIFT_SOURCE_ROOT="$srcdir"
     export PATH="$PATH:/usr/bin/core_perl"
     utils/build-script -R "${_common_build_params[@]}"

EDIT: I got it to compile, but it still failed at building SwiftPM.

soloturn commented on 2020-07-05 10:07

thanks for testing this fanjiang, i added you as contributor to swift, and swift-language-git. i do not get this error with the git version and do report bugs in the hope we get a working version in a couple of months.

with 5.3-DEVELOPMENT i get: https://bugs.swift.org/browse/SR-13083