Bug 2341403

Summary: swift-lang: FTBFS in Fedora rawhide/f42
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: swift-langAssignee: Davide Cavalca <davide>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 42CC: davide, ksurma, suraj.ghimire7, tachoknight, tstellar
Target Milestone: ---Flags: tstellar: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: swift-lang-6.1.3-1.fc44 swift-lang-6.1.3-1.fc43 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-09-16 20:09:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2300528, 2322407    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2025-01-22 22:03:52 UTC
swift-lang failed to build from source in Fedora rawhide/f42

https://koji.fedoraproject.org/koji/taskinfo?taskID=128151853


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
Please fix swift-lang at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
swift-lang will be orphaned. Before branching of Fedora 43,
swift-lang will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2025-01-22 22:03:55 UTC
Created attachment 2072729 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2025-01-22 22:03:56 UTC
Created attachment 2072730 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2025-01-22 22:03:58 UTC
Created attachment 2072731 [details]
state.log

Comment 4 Fedora Admin user for bugzilla script actions 2025-01-28 01:51:00 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 5 Fedora Admin user for bugzilla script actions 2025-01-29 14:00:21 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 6 Aoife Moloney 2025-02-26 13:46:08 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.

Comment 7 Tom Stellard 2025-07-05 20:10:07 UTC
Any update on this?

Comment 8 Davide Cavalca 2025-07-05 21:13:46 UTC
I spent a few hours on this last month to no avail. I was going to try and take another look at some point, I don't have high hopes tbh. If you'd like to help and/or take this over I'd be happy to add you to it (or transfer the package, as you prefer).

Comment 9 Tom Stellard 2025-07-07 22:36:57 UTC
@davide I think the issue is a missing #include <cstdint>.  libstdc++ removed some unnecessary includes from its headers which exposed missing includes in some c++ projects.  I'm guessing the llvm fork in this package is old and doesn't have the latest fixes from upstream to add the includes.

Comment 10 Fedora Update System 2025-09-16 20:04:27 UTC
FEDORA-2025-ef86880bdd (swift-lang-6.1.3-1.fc44 and swiftlint-0.61.0-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-ef86880bdd

Comment 11 Fedora Update System 2025-09-16 20:04:53 UTC
FEDORA-2025-9a2946a4e8 (swift-lang-6.1.3-1.fc43 and swiftlint-0.61.0-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-9a2946a4e8

Comment 12 Fedora Update System 2025-09-16 20:09:49 UTC
FEDORA-2025-ef86880bdd (swift-lang-6.1.3-1.fc44 and swiftlint-0.61.0-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2025-09-17 01:42:29 UTC
FEDORA-2025-9a2946a4e8 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-9a2946a4e8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-9a2946a4e8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2025-09-25 00:16:34 UTC
FEDORA-2025-9a2946a4e8 (swift-lang-6.1.3-1.fc43 and swiftlint-0.61.0-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Red Hat Bugzilla 2026-01-24 04:25:03 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days