Package Base Details: swift-language

Git Clone URL: https://aur.archlinux.org/swift-language.git (read-only, click to copy)
Submitter: Zrax
Maintainer: Zrax
Last Packager: Zrax
Votes: 32
Popularity: 0.83
First Submitted: 2016-01-08 23:39
Last Updated: 2019-12-03 01:12

Packages (2)

Latest Comments

« First ‹ Previous ... 4 5 6 7 8 9 10 Next › Last »

walkindude commented on 2016-09-14 23:07

/home/walkindude/yaourt/yaourt-tmp-walkindude/aur-swift-lldb/src/llvm/tools/llvm-objdump/MachODump.cpp:5777:12: error: use of undeclared identifier 'XAR_CKSUM_SHA256'
case XAR_CKSUM_SHA256:
^
/home/walkindude/yaourt/yaourt-tmp-walkindude/aur-swift-lldb/src/llvm/tools/llvm-objdump/MachODump.cpp:5780:12: error: use of undeclared identifier 'XAR_CKSUM_SHA512'
case XAR_CKSUM_SHA512:
^
2 errors generated.
[2163/2212] Building CXX object tools/llvm-objdump/CMakeFiles/llvm-objdump.dir/llvm-objdump.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...
==> ERROR: Makepkg was unable to build swift-language.
==> Restart building swift-lldb ? [y/N]
==> -----------------------------------
==>

Zrax commented on 2016-09-14 15:33

It is assumed that base-devel is installed before building any AUR packages:
https://wiki.archlinux.org/index.php/Arch_User_Repository#Prerequisites

Therefore, AUR packages are not required to add any of those to their PKGBUILD

axs commented on 2016-09-14 12:07

Not exactly Swift-specific, but still:

makedepends += autoconf automake patch

May be helpful for those who try to build it on freshly installed systems.
Missing automake results in a particularly confusing error message:

Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.

Zrax commented on 2016-06-08 15:42

> lib/libswiftSema.a: No space left on device

LLVM (and by extension Swift) needs a fairly large amount of disk space available in order to compile... If you have a larger partition, you might try building from there instead, or you might try cleaning up other builds to make more space.

xged commented on 2016-06-08 14:10

lib/libswiftSema.a: No space left on device
[223/509] Building CXX object lib/Serialization/CMakeFiles/swiftSerialization.dir/Deserialization.cpp.o
ninja: build stopped: subcommand failed.

Zrax commented on 2016-05-19 23:03

Those are just warnings; to get the actual error, you may have to scroll back further in the build output / log.

ltorvalds024 commented on 2016-05-19 10:56

cannot install, getting this error:

In file included from /home/edward/Downloads/makepkg/swift-language/src/llvm/utils/unittest/googletest/src/gtest-all.cc:46:
/home/edward/Downloads/makepkg/swift-language/src/llvm/utils/unittest/googletest/src/gtest-printers.cc:348:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
#if GTEST_HAS_STD_WSTRING
^
/home/edward/Downloads/makepkg/swift-language/src/llvm/utils/unittest/googletest/include/gtest/internal/gtest-port.h:362:91: note: expanded from macro 'GTEST_HAS_STD_WSTRING'
(!(GTEST_OS_LINUX_ANDROID || GTEST_OS_CYGWIN || GTEST_OS_SOLARIS || GTEST_OS_HAIKU || defined(_MINIX)))
^
16 warnings generated.
ninja: build stopped: subcommand failed.
utils/build-script: command terminated with a non-zero exit status 1, aborting

Zrax commented on 2016-04-21 21:07

pod2man should be provided by perl... What version of perl do you have?

rainbyte commented on 2016-04-21 05:49

I've got the same error about pod2man, as described by @nlamirault

walkindude commented on 2016-04-19 23:21

@awerush
https://bugs.swift.org/browse/SR-557
try:

cd "$srcdir/swift"
export LD_LIBRARY_PATH=''
export SWIFT_SOURCE_ROOT="$srcdir"