Package Details: swift-language-git 2023.12.21a.r6.gf08f86c7161-1

Git Clone URL: https://aur.archlinux.org/swift-language-git.git (read-only, click to copy)
Package Base: swift-language-git
Description: The Swift programming language, taken directly from the Apple repository
Upstream URL: https://swift.org/
Licenses: Apache-2.0
Conflicts: swift-language
Provides: swift-language
Submitter: soloturn
Maintainer: soloturn (fanjiang, refi.64, Roland, xiota)
Last Packager: xiota
Votes: 0
Popularity: 0.000000
First Submitted: 2020-06-07 11:52 (UTC)
Last Updated: 2023-12-31 15:04 (UTC)

Required by (17)

Sources (37)

Pinned Comments

soloturn commented on 2020-10-09 07:35 (UTC) (edited on 2023-02-05 07:34 (UTC) by soloturn)

to speed up check out of the repositories, use sparse checkout, e.g.:

  GITFLAGS="--filter=tree:0" paru -S swift-language-git

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

soloturn commented on 2023-05-25 18:56 (UTC)

xiota, if you search for error in your log there is one, further up from what you copied:

lib/Support/CMakeFiles/LLVMSupport.dir/Signals.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/Signals.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/Signals.cpp.o -c /home/main-builder/pkgwork/src/llvm-project/llvm/lib/Support/Signals.cpp
In file included from /home/main-builder/pkgwork/src/llvm-project/llvm/lib/Support/Signals.cpp:14:
/home/main-builder/pkgwork/src/llvm-project/llvm/include/llvm/Support/Signals.h:119:24: error: unknown type name 'uintptr_t'; did you mean '__intptr_t'?
  void CleanupOnSignal(uintptr_t Context);

this is the error patched a week ago. so it would be helpful if you d look where this include file is, what versions you use, what operating system.

REmorin commented on 2023-03-06 13:58 (UTC)

Build fails in clean chroot:

-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0")
-- Found UUID: /usr/include
-- Found Git: /usr/bin/git (found version "2.39.2")
-- Swift version: 5.9
-- Swift vendor:
-- Swift compiler version:
-- Embedded clang compiler version:
-- Not building SwiftMacros because swift-syntax is not available
-- Not building ObservationMacros because swift-syntax is not available
-- Using Experimental String Processing library for libswift _RegexParser (/build/swift-language-git/src/swift-experimental-string-processing).
-- Looking for include file xpc/xpc.h
-- Looking for include file xpc/xpc.h - not found
-- Skipping creating early SwiftDriver symlinks - no early SwiftDriver build found.
CMake Error at cmake/modules/AddSwift.cmake:979 (llvm_add_tool_symlink):
  Unknown CMake command "llvm_add_tool_symlink".
Call Stack (most recent call first):
  tools/driver/CMakeLists.txt:117 (add_swift_tool_symlink)


-- Configuring incomplete, errors occurred!
See also "/build/swift-language-git/src/build/buildbot_linux/swift-linux-x86_64/CMakeFiles/CMakeOutput.log".
See also "/build/swift-language-git/src/build/buildbot_linux/swift-linux-x86_64/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/remorin/chroot/remorin/build
[ble: exit 255][ble: elapsed 3h13m14s (CPU 387.8%)] makechrootpkg -c -r $CHROOT
[remorin@chuwawa:0 swift-language-git]$ 

soloturn commented on 2022-03-20 10:19 (UTC) (edited on 2022-03-20 10:21 (UTC) by soloturn)

roland, added you as co-maintainer. i use paru, but that should not make a difference.

soloturn commented on 2022-03-20 10:16 (UTC)

created a merge request for makepkg to speed up the build, by using git clone --filter=blob:none: https://gitlab.archlinux.org/pacman/pacman/-/merge_requests/8

Roland commented on 2022-01-26 10:43 (UTC) (edited on 2022-01-27 10:28 (UTC) by Roland)

Tried using yay, but the batch was rejected. I fixed the patch, but then several compilation errors followed, because a consistent state on github is unlikely. After fixing some, I opted for the binary built linked in the pinned comment.

For the fix and build cycle, I used makepkg -e. The build needs:

export DISTCC_HOSTS='--randomize localhost red,cpp,lzo green,cpp,lzo blue,cpp,lzo'

fanjiang commented on 2021-10-06 03:23 (UTC)

master builds are breaking due to this

https://github.com/apple/swift-crypto/pull/91#issuecomment-935346403

I'll push a temporary fix which pins the swift-crypto to the latest commit before this breaking change.

soloturn commented on 2021-06-12 17:54 (UTC)

opened a bug with llvm for the deprecation warning with mallinfo: https://bugs.llvm.org/show_bug.cgi?id=50696

soloturn commented on 2020-10-09 07:35 (UTC) (edited on 2023-02-05 07:34 (UTC) by soloturn)

to speed up check out of the repositories, use sparse checkout, e.g.:

  GITFLAGS="--filter=tree:0" paru -S swift-language-git