Package Details: swift-language 5.10.1-1

Git Clone URL: https://aur.archlinux.org/swift-language.git (read-only, click to copy)
Package Base: swift-language
Description: The Swift programming language and debugger
Upstream URL: https://github.com/apple/swift
Licenses: Apache-2.0
Submitter: Zrax
Maintainer: None
Last Packager: xiota
Votes: 45
Popularity: 0.000000
First Submitted: 2016-01-08 23:39 (UTC)
Last Updated: 2024-07-02 17:33 (UTC)

Sources (35)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 15 Next › Last »

KyleYe commented on 2023-05-15 08:01 (UTC)

should we go back to swift-5.7 at the moment or try to patch it

Both are acceptable for me. And for the arm64 patch, I did not encounter the uintptr_t issue you mention. Instead, I'm working to fix the link issue currently.

soloturn commented on 2023-05-15 06:43 (UTC) (edited on 2023-05-15 07:05 (UTC) by soloturn)

thanks for putting this upstream! should we go back to swift-5.7 at the moment or try to patch it? tachoknight got it building for fedora: https://github.com/tachoknight/swift-lang-packaging-fedora/tree/5.8.

KyleYe commented on 2023-05-13 15:37 (UTC) (edited on 2023-05-13 17:04 (UTC) by KyleYe)

  1. Looks like the last commit does not update the .SRCINFO file. Maybe we should do it for the next commit. makepkg --printsrcinfo > .SRCINFO

  2. I failed to build it for the "$pkgdir" folder permission issue. I need to solve it by moving the logic from build() to package(). It makes sense for me since we only "Entering fakeroot environment..." after build() and before package()

-- Install configuration: "Release"
CMake Error at cmake_install.cmake:46 (file):
  file cannot create directory:
  /home/kyle/.cache/yay/swift-language/pkg/swift-language/usr/lib/swift-git/bin.
  Maybe need administrative privileges.
  1. After it, I still failed to build it for a include issue. And it is tracked upstream by https://github.com/apple/swift/issues/65028. We can apply the patch here to workaround it https://github.com/stephank/swift/commit/112681f7f5927588569b225d926ca9f5f9ec98b3

  2. Even after apply this patch, I will still fail to build it in the final link stage. ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. And got thousands of link error message saying undefined reference to xx. eg. /usr/sbin/ld: Optimizer.o:(.text+0x77ec): undefined reference toswift_retain'`

soloturn commented on 2023-05-12 13:04 (UTC) (edited on 2023-05-12 13:05 (UTC) by soloturn)

go ahead kyleye, made you co maintainer.

for 5.8 am getting this one: error: unknown type name 'uintptr_t'; https://github.com/apple/llvm-project/issues/6847

KyleYe commented on 2023-05-12 11:29 (UTC)

Can we add arm64 arch support? Thanks

soloturn commented on 2023-02-25 11:00 (UTC)

compnerd answered like this: ld.bfd is unsupported, ld should be set to gold, I thought we did flag that in the configure phase

uetcis commented on 2023-02-21 22:27 (UTC)

Got thousands lines of errors when trying to build this on Asahi-Linux (based on ALARM). 😢

soloturn commented on 2022-07-27 17:11 (UTC) (edited on 2022-07-27 17:11 (UTC) by soloturn)

@tecnotercio, done.

tecnotercio commented on 2022-06-20 18:03 (UTC)

Regarding the problem exposed by @ExperiBassMusic, please change the URL of the "swift-cmark-gfm" library in PKGBUILD to the value below:

"swift-cmark-gfm::git+https://github.com/apple/swift-cmark#branch=release/5.6-gfm"