Package Details: swift 5.1.5-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 compiler and tools
Upstream URL: http://swift.org/
Licenses: Apache
Conflicts: swift-bin, swift-git, swift-language-git
Provides: swift-language
Submitter: Zrax
Maintainer: Zrax
Last Packager: Zrax
Votes: 34
Popularity: 0.75
First Submitted: 2016-01-08 23:39
Last Updated: 2020-04-21 16:44

Latest Comments

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

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?

yurikoles commented on 2019-12-06 14:15

Warning, treated as error:
/home/yurikoles/.cache/yay/swift-language/src/swift/docs/ABI/Mangling.rst:708:Unknown target name: "0".
[949/993][ 95%][199.394s] Compiling /home/yurikoles/.cache/yay/s...ssert/swift-linux-x86_64/stdlib/public/core/LINUX/x86_64/Swift.o
ninja: build stopped: subcommand failed.
./utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting

FirstAirBender commented on 2019-12-05 07:19

@Zrax Thanks for the patch. I have finally been able to install it

Zrax commented on 2019-12-03 01:12

Thanks, I've added the Python 3.8 fix

joekiller commented on 2019-12-02 15:45

The problem is that the normalize test doesn't support python3.8.

See https://github.com/commonmark/cmark/commit/68c3a91166347a32a57fb81223750a63cfd92105

FirstAirBender commented on 2019-12-02 01:35

Keeps failing at the test stage:

[0/1][  0%][0.000s] Running tests...
Test project /home/chigozirim/.cache/yay/swift-language/src/build/Ninja-ReleaseAssert/cmark-linux-x86_64
    Start 1: api_test
1/9 Test #1: api_test .........................   Passed    0.00 sec
    Start 2: html_normalization
2/9 Test #2: html_normalization ...............***Failed    0.12 sec
    Start 3: spectest_library
3/9 Test #3: spectest_library .................   Passed    0.11 sec
    Start 4: pathological_tests_library
4/9 Test #4: pathological_tests_library .......   Passed    0.75 sec
    Start 5: roundtriptest_library
5/9 Test #5: roundtriptest_library ............***Failed    0.12 sec
    Start 6: entity_library
6/9 Test #6: entity_library ...................   Passed    0.09 sec
    Start 7: spectest_executable
7/9 Test #7: spectest_executable ..............   Passed    0.62 sec
    Start 8: smartpuncttest_executable
8/9 Test #8: smartpuncttest_executable ........   Passed    0.11 sec
    Start 9: regressiontest_executable
9/9 Test #9: regressiontest_executable ........   Passed    0.10 sec

78% tests passed, 2 tests failed out of 9

Total Test time (real) =   2.03 sec

The following tests FAILED:
      2 - html_normalization (Failed)
      5 - roundtriptest_library (Failed)
Errors while running CTest
FAILED: CMakeFiles/test.util 
cd /home/chigozirim/.cache/yay/swift-language/src/build/Ninja-ReleaseAssert/cmark-linux-x86_64 && /usr/bin/ctest --force-new-ctest-process
ninja: build stopped: subcommand failed.
./utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting
==> ERROR: A failure occurred in check().
    Aborting...
Error making: swift-language (swift)

Any suggestions?

Zrax commented on 2019-12-01 19:14

@eagleflo Not sure what happened, but a fresh build confirms your checksum, so I've updated it to match... Thanks