Package Details: swift-lldb-development DEVELOPMENT.SNAPSHOT.2020.06.29.a-1

Git Clone URL: https://aur.archlinux.org/swift-development.git (read-only, click to copy)
Package Base: swift-development
Description: The Swift programming language debugger (LLDB) and REPL - development snapshot
Upstream URL: http://swift.org/
Licenses: Apache
Conflicts: lldb, swift-lldb
Provides: lldb, swift-lldb
Submitter: Zrax
Maintainer: soloturn
Last Packager: soloturn
Votes: 1
Popularity: 0.000000
First Submitted: 2016-02-12 03:00
Last Updated: 2020-06-30 17:56

Required by (26)

Sources (9)

Latest Comments

fanjiang commented on 2020-07-04 21:48

@soloturn I cannot build it on my latest Arch...

/home/fan/AUR/swift-development/src/build/Ninja-ReleaseAssert/llvm-linux-x86_64/./bin/clang++   -I/home/fan/AUR/swift-development/src/llvm-project/compiler-rt/lib/tsan/dd/../.. -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=c++14 -Wno-unused-parameter -O3 -DNDEBUG    -m64 -fno-lto -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -Wno-non-virtual-dtor -fno-rtti -MD -MT lib/tsan/dd/CMakeFiles/clang_rt.dd-x86_64.dir/dd_interceptors.cpp.o -MF lib/tsan/dd/CMakeFiles/clang_rt.dd-x86_64.dir/dd_interceptors.cpp.o.d -o lib/tsan/dd/CMakeFiles/clang_rt.dd-x86_64.dir/dd_interceptors.cpp.o -c /home/fan/AUR/swift-development/src/llvm-project/compiler-rt/lib/tsan/dd/dd_interceptors.cpp
/home/fan/AUR/swift-development/src/llvm-project/compiler-rt/lib/tsan/dd/dd_interceptors.cpp:225:1: warning: attribute declaration must precede definition [-Wignored-attributes]
INTERCEPTOR(char*, realpath, const char *path, char *resolved_path) {
^
/home/fan/AUR/swift-development/src/llvm-project/compiler-rt/lib/tsan/dd/../../interception/interception.h:229:3: note: expanded from macro 'INTERCEPTOR'
  DECLARE_WRAPPER(ret_type, func, __VA_ARGS__) \
  ^
/home/fan/AUR/swift-development/src/llvm-project/compiler-rt/lib/tsan/dd/../../interception/interception.h:154:20: note: expanded from macro 'DECLARE_WRAPPER'
    __attribute__((weak, alias("__interceptor_" #func), visibility("default")));
                   ^
/usr/include/bits/stdlib.h:37:8: note: previous definition is here
__NTH (realpath (const char *__restrict __name, char *__restrict __resolved))
       ^
/home/fan/AUR/swift-development/src/llvm-project/compiler-rt/lib/tsan/dd/dd_interceptors.cpp:225:20: error: redefinition of 'realpath'
INTERCEPTOR(char*, realpath, const char *path, char *resolved_path) {
                   ^
/usr/include/bits/stdlib.h:37:8: note: previous definition is here
__NTH (realpath (const char *__restrict __name, char *__restrict __resolved))
       ^
/home/fan/AUR/swift-development/src/llvm-project/compiler-rt/lib/tsan/dd/dd_interceptors.cpp:225:1: warning: attribute declaration must precede definition [-Wignored-attributes]
INTERCEPTOR(char*, realpath, const char *path, char *resolved_path) {
^
/home/fan/AUR/swift-development/src/llvm-project/compiler-rt/lib/tsan/dd/../../interception/interception.h:229:3: note: expanded from macro 'INTERCEPTOR'
  DECLARE_WRAPPER(ret_type, func, __VA_ARGS__) \
  ^
/home/fan/AUR/swift-development/src/llvm-project/compiler-rt/lib/tsan/dd/../../interception/interception.h:154:57: note: expanded from macro 'DECLARE_WRAPPER'
    __attribute__((weak, alias("__interceptor_" #func), visibility("default")));
                                                        ^
/usr/include/bits/stdlib.h:37:8: note: previous definition is here
__NTH (realpath (const char *__restrict __name, char *__restrict __resolved))
       ^
2 warnings and 1 error generated.

soloturn commented on 2020-06-30 17:58

updated to 2020-06-29-a, feedback welcome.

MeGaPk commented on 2017-11-05 11:08

not possible install on archlinux
1) shasum not valid
2) ninjabuild just exit with unknown error

Zrax commented on 2016-08-10 04:21

I updated this one at the same time as swift-preview -- both should have the extra swiftpm tools.

hiking90 commented on 2016-08-10 02:36

This package does not include swift-package and swift-test.

Could you apply below patch?

diff --git a/PKGBUILD b/PKGBUILD
index 461e67c..e71f6b5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -122,6 +122,8 @@ package_swift-preview() {
(
cd swiftpm-linux-$CARCH
install -m755 debug/swift-build "$pkgdir/usr/bin"
+ install -m755 debug/swift-package "$pkgdir/usr/bin"
+ install -m755 debug/swift-test "$pkgdir/usr/bin"

install -dm755 "$pkgdir/usr/lib/swift/pm"
install -m755 lib/swift/pm/libPackageDescription.so "$pkgdir/usr/lib/swift/pm"

Ahti333 commented on 2016-05-22 15:19

extra now has clang 3.8. I just built this package against it and it works fine, so you can switch back from clang-svn to clang.

Zrax commented on 2016-05-08 19:00

It looks like clang 3.7 has issues with GCC 6's C++ tuple headers... I'm updating the clang requirement to clang-svn until Arch updates clang to a working version.

Ahti333 commented on 2016-05-08 06:54

The current version does not build for me using extra-x86_64-build or makepkg.

The build fails in src/llvm/lib/CodeGen/LexicalScopes.cpp, I've uploaded the output of extra-x86_64-build here: https://gist.github.com/anonymous/734322bc89274ad46ea711849d6d5c19