Bug 2226476
Summary: | swift-lang: FTBFS in Fedora rawhide/f39 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Fedora Release Engineering <releng> | ||||||||
Component: | swift-lang | Assignee: | Ron Olson <tachoknight> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | unspecified | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 39 | CC: | awilliam, mhroncok, tachoknight, thrnciar | ||||||||
Target Milestone: | --- | Keywords: | Reopened | ||||||||
Target Release: | --- | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | AcceptedFreezeException | ||||||||||
Fixed In Version: | swift-lang-5.8.1-1.fc40 swift-lang-5.8.1-2.fc39 | Doc Type: | If docs needed, set a value | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2023-08-28 16:36:39 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: | 2135404, 2143445, 2168842, 2231791 | ||||||||||
Attachments: |
|
Description
Fedora Release Engineering
2023-07-25 20:19:06 UTC
Created attachment 1979761 [details]
build.log
file build.log too big, will only attach last 32768 bytes
Created attachment 1979762 [details]
root.log
file root.log too big, will only attach last 32768 bytes
Created attachment 1979763 [details]
state.log
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle. Changing version to 39. This package needs a rebuild with Python 3.12 not to depend on Python 3.11. Could you please fix this in time for Fedora 39? Thanks I have “BuildRequires: python3” in the spec file, what needs to be done to make it work with 3.12? A successful rebuild is all that is needed. Currently, a rebuild fails with: FAILED: CoreFoundation/CMakeFiles/CoreFoundation.dir/Locale.subproj/CFLocale.c.o /builddir/build/BUILD/swift-source/build/buildbot_linux/llvm-linux-x86_64/bin/clang -DCF_BUILDING_CF -DDEPLOYMENT_RUNTIME_SWIFT -DHAVE_SCHED_GETAFFINITY -DU_SHOW_DRAFT_API -D_GNU_SOURCE -I/builddir/build/BUILD/swift-source/swift-corelibs-foundation/CoreFoundation -Iuuid-headers -ICoreFoundation.framework/Headers -isystem /builddir/build/BUILD/swift-source/swift-corelibs-libdispatch/src/BlocksRuntime -isystem /builddir/build/BUILD/swift-source/build/buildbot_linux/libdispatch-linux-x86_64 -isystem /builddir/build/BUILD/swift-source/swift-corelibs-libdispatch -isystem /builddir/build/BUILD/swift-source/swift-corelibs-libdispatch/src -isystem /builddir/build/BUILD/swift-source/build/buildbot_linux/libdispatch-linux-x86_64/src -isystem /builddir/build/BUILD/swift-source/build/buildbot_linux/libicu-linux-x86_64/tmp_install/include -O3 -DNDEBUG -fPIC -include /builddir/build/BUILD/swift-source/swift-corelibs-foundation/CoreFoundation/Base.subproj/CoreFoundation_Prefix.h -fblocks -fexceptions -fconstant-cfstrings -fdollars-in-identifiers -fno-common -Werror=implicit-function-declaration -fcf-runtime-abi=swift -Wno-shorten-64-to-32 -Wno-deprecated-declarations -Wno-unreachable-code -Wno-conditional-uninitialized -Wno-unused-variable -Wno-int-conversion -Wno-unused-function -Wno-microsoft-enum-forward-reference -F /builddir/build/BUILD/swift-source/build/buildbot_linux/foundation-linux-x86_64 -I /builddir/build/BUILD/swift-source/build/buildbot_linux/foundation-linux-x86_64/CoreFoundation.framework/PrivateHeaders -std=gnu99 -MD -MT CoreFoundation/CMakeFiles/CoreFoundation.dir/Locale.subproj/CFLocale.c.o -MF CoreFoundation/CMakeFiles/CoreFoundation.dir/Locale.subproj/CFLocale.c.o.d -o CoreFoundation/CMakeFiles/CoreFoundation.dir/Locale.subproj/CFLocale.c.o -c /builddir/build/BUILD/swift-source/swift-corelibs-foundation/CoreFoundation/Locale.subproj/CFLocale.c In file included from <built-in>:1: /builddir/build/BUILD/swift-source/swift-corelibs-foundation/CoreFoundation/Base.subproj/CoreFoundation_Prefix.h:194:1: error: static declaration of 'strlcpy' follows non-static declaration strlcpy(char * dst, const char * src, size_t maxlen) { ^ /usr/include/string.h:506:15: note: previous declaration is here extern size_t strlcpy (char *__restrict __dest, ^ In file included from <built-in>:1: /builddir/build/BUILD/swift-source/swift-corelibs-foundation/CoreFoundation/Base.subproj/CoreFoundation_Prefix.h:206:1: error: static declaration of 'strlcat' follows non-static declaration strlcat(char * dst, const char * src, size_t maxlen) { ^ /usr/include/string.h:512:15: note: previous declaration is here extern size_t strlcat (char *__restrict __dest, ^ 2 errors generated. That means, keep “BuildRequires: python3” -- but please do fix the compilation error and build it. FEDORA-2023-25150d5757 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-25150d5757 FEDORA-2023-25150d5757 has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report. Thanks! I see the Fedora 39 build is running, so I will reopen this bugzilla until it goes stable. FEDORA-2023-22f3f6aed0 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-22f3f6aed0 FEDORA-2023-58b9da92fb has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-58b9da92fb FEDORA-2023-58b9da92fb has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-58b9da92fb` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-58b9da92fb See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. +4 in https://pagure.io/fedora-qa/blocker-review/issue/1207 , marking accepted. FEDORA-2023-58b9da92fb has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report. |