Package Details: swift-bin 3.1.1-1

Git Clone URL: https://aur.archlinux.org/swift-bin.git (read-only)
Package Base: swift-bin
Description: Official binary builds of the Swift programming language.
Upstream URL: https://swift.org
Keywords: apple language swift swiftlang
Licenses: Apache
Conflicts: lldb, swift-language-git
Provides: swift-language
Replaces: swift-language-bin
Submitter: ashleyis
Maintainer: youngunix
Last Packager: youngunix
Votes: 39
Popularity: 0.457315
First Submitted: 2015-12-04 17:31
Last Updated: 2017-04-25 00:54

Latest Comments

Mandarancio commented on 2017-05-01 11:45

Hi I'm using the last Swift-bin package and I can not compile any package, the error seems to be linked to a wrong path: header '///usr/include/x86_64-linux-gnu/sys/ioctl.h' not found

Here the full output:

$ LD_PRELOAD=libcurl.so.3 swift build

swift: /usr/lib/libtinfo.so.5: no version information available (required by swift)
/usr/bin/swift-build: /usr/lib/libcurl.so.3: no version information available (required by /usr/bin/../lib/swift/linux/libFoundation.so)
error: /usr/bin/swiftc: /usr/lib/libtinfo.so.5: no version information available (required by /usr/bin/swiftc)
/usr/bin/swift: /usr/lib/libtinfo.so.5: no version information available (required by /usr/bin/swift)
/usr/lib/swift/linux/x86_64/glibc.modulemap:270:14: error: header '///usr/include/x86_64-linux-gnu/sys/ioctl.h' not found
header "///usr/include/x86_64-linux-gnu/sys/ioctl.h"
^
<unknown>:0: error: could not build Objective-C module 'SwiftGlibc'

beej commented on 2017-04-06 21:41

Same problem as evilgnome: https://pastebin.com/WFjBZM3P

evilgnome commented on 2017-03-30 17:14

This currently both depends on python2-six, and conflicts with python2-six. In particular, it provides /usr/lib/python2.7/site-packages/six.pyc . I think this file should be removed from the package in the PKGBUILD.

jonnybarnes commented on 2017-03-29 12:20

How can the .tar.gz and the .tar.gz.asc have the same SHA-256 sum?

bloomypiggy commented on 2017-02-10 05:17

for resolving the error:
unknown public key 63BC1CFE91D306C6

~ $ gpg --recv-keys --keyserver hkp://pgp.mit.edu 63BC1CFE91D306C6

bloomypiggy commented on 2017-02-10 05:14

Apple has released a newer official build of swift 3.0.2

can we do an update ? :)

https://swift.org/download/

SuhairZain commented on 2016-12-19 13:15

@tarasis
What worked for me was to skip the PGP check. I did it this way:
yaourt --m-arg "--skippgpcheck" -Sb ncurses5-compat-libs

tarasis commented on 2016-12-06 14:48

Fails to build because "libtinfo5" is not available:

==> swift-bin dependencies:
- libedit (already installed)
- python2 (already installed)
- libutil-linux (already installed)
- libbsd (already installed)
- python2-six (already installed)
- libxml2 (already installed)
- icu55 (building from AUR)
- ncurses5-compat-libs (building from AUR)
- clang (package found)
- libtinfo5 (building from AUR)

==> Continue building swift-bin ? [Y/n]
==> -----------------------------------
==> y

==> Building and installing package
==> Install or build missing dependencies for swift-bin:
error: target not found: libtinfo5

and trying to build ncurses5-compat-libs results in:

==> Validating source files with md5sums...
ncurses-6.0.tar.gz ... Passed
ncurses-6.0.tar.gz.sig ... Skipped
==> Verifying source file signatures with gpg...
ncurses-6.0.tar.gz ... FAILED (error during signature verification)
==> ERROR: One or more PGP signatures could not be verified!
==> ERROR: Makepkg was unable to build ncurses5-compat-libs.

beej commented on 2016-10-15 22:06

Anyone have a working PKGBUILD for 3.0, by any chance?

roadev commented on 2016-06-12 19:36

I'm getting this error:

C++ apps may want to build with CXXFLAGS = --std=c++0x
rebuilding config/icucross.mk
rebuilding config/icucross.inc
cd ./config; \
make -f pkgdataMakefile
make[1]: Entering directory '/tmp/yaourt-tmp-jroa/aur-icu55/src/icu/source/config'
rm -rf pkgdata.inc
make[1]: Leaving directory '/tmp/yaourt-tmp-jroa/aur-icu55/src/icu/source/config'
rm -rf config/icu-config
0 ./config/icu-config-top config/icu-config
make: 0: Command not found
Makefile:331: recipe for target 'config/icu-config' failed
make: *** [config/icu-config] Error 127
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build icu55.
==> Restart building icu55 ? [y/N]

All comments