https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-lang/swift-5.10.1 does not respect LDFLAGS. Discovered on: amd64 (internal ref: guru_ci) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#QA0001
Created attachment 903176 [details] build.log.xz build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6c6dc8ce59847caca672cc6f9710fa168c10d787 commit 6c6dc8ce59847caca672cc6f9710fa168c10d787 Author: Itai Ferber <itai@itaiferber.net> AuthorDate: 2025-03-26 15:21:03 +0000 Commit: Itai Ferber <itai@itaiferber.net> CommitDate: 2025-03-26 19:46:02 +0000 dev-lang/swift: add swift-5.10.1-r4, swift-6.0.3-r1 Swift is now set up to properly respect CFLAGS, CXXFLAGS, and LDFLAGS from the environment by not overriding those values in the build system. Swift 6 now also picks up on `SWIFT_EXTRA_BUILD_FLAGS` from the environment and passes those to its build system as well. Closes: https://bugs.gentoo.org/939764 Closes: https://bugs.gentoo.org/939766 Signed-off-by: Itai Ferber <itai@itaiferber.net> .../swift-5.10.1-r4/backport-swift-75662.patch | 1 + .../swift-5.10.1-r4/backtracing-noexecstack.patch | 1 + .../swift-5.10.1-r4/clang-indexstore-exports.patch | 1 + .../disable-libdispatch-werror.patch | 1 + .../files/swift-5.10.1-r4/link-ncurses-tinfo.patch | 1 + .../files/swift-5.10.1-r4/link-with-lld.patch | 1 + .../lldb-cmake-minimum-version.patch | 1 + .../swift-5.10.1-r4/respect-c-cxx-flags.patch | 64 ++++ .../swift-6.0.3-r1/backtracing-noexecstack.patch | 1 + .../disable-libdispatch-werror.patch | 1 + dev-lang/swift/files/swift-6.0.3-r1/gentoo.ini | 43 +++ .../swift-6.0.3-r1/indexstoredb-constant.patch | 19 ++ .../files/swift-6.0.3-r1/link-ncurses-tinfo.patch | 1 + .../swift/files/swift-6.0.3-r1/link-with-lld.patch | 1 + .../files/swift-6.0.3-r1/respect-c-cxx-flags.patch | 1 + dev-lang/swift/swift-5.10.1-r4.ebuild | 355 +++++++++++++++++++++ dev-lang/swift/swift-6.0.3-r1.ebuild | 277 ++++++++++++++++ 17 files changed, 770 insertions(+)