Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939764 - [guru] dev-lang/swift-5.10.1 does not respect LDFLAGS
Summary: [guru] dev-lang/swift-5.10.1 does not respect LDFLAGS
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Itai Ferber
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qa-guru
  Show dependency tree
 
Reported: 2024-09-17 07:41 UTC by Agostino Sarubbo
Modified: 2025-03-27 11:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (build.log.xz,422.86 KB, application/x-xz)
2024-09-17 07:41 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-09-17 07:41:27 UTC
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
Comment 1 Agostino Sarubbo gentoo-dev 2024-09-17 07:41:32 UTC
Created attachment 903176 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Larry the Git Cow gentoo-dev 2025-03-27 11:09:14 UTC
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(+)