Package Details: swift 4.0.3-2

Git Clone URL: https://aur.archlinux.org/swift-language.git (read-only)
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: 25
Popularity: 1.216991
First Submitted: 2016-01-08 23:39
Last Updated: 2018-02-22 16:28

Latest Comments

adsun commented on 2018-02-23 12:49

@RemoteAdmin: That's unexpected. I successfully built swift in a clean chroot without any problems. Are you building in a clean chroot? If not, try that to see if the check function succeeds.

RemoteAdmin commented on 2018-02-23 07:55

Does the build still work for you @Zrax

For me, it currently fails in the check function saying

/builds/aur-archlinux/swift-language/src/swift-swift-4.0.3-RELEASE/utils/build-script-impl: line 2917: /bin/sh: Argument list too long
*** Failed while running tests for swift (check-swift-linux-x86_64)
./utils/build-script: fatal error: command terminated with a non-zero exit status 126, aborting
==> ERROR: A failure occurred in check().
    Aborting...

I had a look at the mentioned line but it doesn't make sense to me. https://github.com/apple/swift/blob/master/utils/build-script-impl#L2917

tierriminator commented on 2017-12-27 21:30

My issue below seemed to be a issue of apacman, not of this package. The package builds and installs fine without a helper.

tierriminator commented on 2017-12-15 03:35

Thanks for the upgrade. However for me it doesn't seem to install properly. Everything builds fine and no error is thrown, but after installation, it does not seem that the swift package is installed. Therefore when swift-lldb tries to install, it fails, because the dependencies are not resolved.

Zrax commented on 2017-10-31 00:50

Yeah, I'm aware it needs an update... I've had some difficulty getting sourcekit linking correctly since this build, so I may end up disabling it for now. But I also haven't had much time to work on it recently. Sorry for the delay.

tierriminator commented on 2017-10-30 22:20

Swift 4 is now out since over a month, it would be great if this package got an upgrade.

skela commented on 2017-09-20 06:58

@Zrax: That builds and works for me now, thanks so much for the help!

Zrax commented on 2017-09-19 18:21

@skela: Thanks, I've added another patch to make it build with clang 5.

skela commented on 2017-09-18 06:42

Thanks, that now comes a long way further when I try to install, except it stops with a different error:

[287/652] Building CXX object lib/Serialization/CMakeFiles/swiftSerialization.dir/Serialization.cpp.o
[288/652] Building CXX object lib/SIL/CMakeFiles/swiftSIL.dir/SILDeclRef.cpp.o
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 build().
Aborting...

Zrax commented on 2017-09-17 17:18

It looks like github made a change that affects how some tarballs are generated (affecting much more than just swift). I've updated the checksums to match.

All comments