Package Base Details: swift-language

Git Clone URL: https://aur.archlinux.org/swift-language.git (read-only, click to copy)
Submitter: Zrax
Maintainer: soloturn
Last Packager: soloturn
Votes: 35
Popularity: 0.49
First Submitted: 2016-01-08 23:39
Last Updated: 2020-07-06 19:24

Packages (2)

Latest Comments

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

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

fanjiang commented on 2020-07-04 21:50

Failed in:

/home/fan/AUR/swift-language/src/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:14:19: error: unknown type name 'uint8_t'
enum Qualifiers : uint8_t {
                  ^
/home/fan/AUR/swift-language/src/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:25:27: error: unknown type name 'uint8_t'
enum class StorageClass : uint8_t {
                          ^
/home/fan/AUR/swift-language/src/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:38:26: error: unknown type name 'uint8_t'
enum class CallingConv : uint8_t {
                         ^
/home/fan/AUR/swift-language/src/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:51:28: error: unknown type name 'uint8_t'
enum class ReferenceKind : uint8_t { None, LValueRef, RValueRef };
                           ^
/home/fan/AUR/swift-language/src/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:90:36: error: unknown type name 'uint8_t'
enum class IntrinsicFunctionKind : uint8_t {
                                   ^
/home/fan/AUR/swift-language/src/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:181:18: error: unknown type name 'uint16_t'
enum FuncClass : uint16_t {
                 ^
/home/fan/AUR/swift-language/src/llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h:239:8: error: no type named 'string' in namespace 'std'

No idea what is happening...

gwpl commented on 2020-06-22 22:43

swig3 dependency not available

fanjiang commented on 2020-05-03 17:15

Anybody here with the error in libdispatch?

/home/fan/AUR/swift-language/src/swift-corelibs-libdispatch/src/semaphore.c:121:2: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
        case DISPATCH_TIME_NOW:
        ^
/home/fan/AUR/swift-language/src/swift-corelibs-libdispatch/src/semaphore.c:121:2: note: insert '__attribute__((fallthrough));' to silence this warning
        case DISPATCH_TIME_NOW:
        ^
        __attribute__((fallthrough));
/home/fan/AUR/swift-language/src/swift-corelibs-libdispatch/src/semaphore.c:121:2: note: insert 'break;' to avoid fall-through
        case DISPATCH_TIME_NOW:
        ^
        break;
/home/fan/AUR/swift-language/src/swift-corelibs-libdispatch/src/semaphore.c:131:2: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
        case DISPATCH_TIME_FOREVER:
        ^
/home/fan/AUR/swift-language/src/swift-corelibs-libdispatch/src/semaphore.c:131:2: note: insert '__attribute__((fallthrough));' to silence this warning
        case DISPATCH_TIME_FOREVER:
        ^
        __attribute__((fallthrough));
/home/fan/AUR/swift-language/src/swift-corelibs-libdispatch/src/semaphore.c:131:2: note: insert 'break;' to avoid fall-through
        case DISPATCH_TIME_FOREVER:
        ^
        break;

varagrawal commented on 2020-04-21 01:15

Can we please update the package with the correct checksum?

LaberLu commented on 2020-03-28 10:05

The checksum for the swift-package-manager-5.1.5 is incorrect. sed -i s/24384389af1edba64b2abc08e3a19f949b95ac2ece3099da1d8bda89ffe780fb/073df9514e7ae9a4226af00b79ce8a79ab068ad491b46f7cae4bd23fbd72bb24/ PKGBUILD fixes it.

jamesth commented on 2020-03-17 19:42

I'm no expert, but it seems that the downstream fedora package has been updated to v 5.1.5, so the PKGBUILD is not working. Can you update the PKGBUILD file when you have a few mins please?