Bug 2341042

Summary: perl-threads-lite-0.034-36.fc43 FTBFS: src/resources.c:144:4: error: conflicting types for ‘S_queue_alloc’; have ‘UV(PerlInterpreter *)’ {aka ‘long unsigned int(struct interpreter *)’}
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: perl-threads-liteAssignee: Petr Pisar <ppisar>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 42CC: perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-threads-lite-0.034-37.fc42 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 17:02:02 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    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2025-01-22 21:20:51 UTC
perl-threads-lite failed to build from source in Fedora rawhide/f42

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
Please fix perl-threads-lite 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,
perl-threads-lite will be orphaned. Before branching of Fedora 43,
perl-threads-lite 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 21:20:55 UTC
Created attachment 2071657 [details]
build.log

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

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

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

Comment 4 Petr Pisar 2025-02-10 16:20:27 UTC
From build log:

gcc -Isrc -I/usr/lib64/perl5/CORE -fPIC -c -D_REENTRANT -D_GNU_SOURCE -O2 '-flto=auto' -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang '-Werror=format-security' '-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3' -Wp,-D_GLIBCXX_ASSERTIONS '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' -fstack-protector-strong '-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1' -m64 '-march=x86-64' '-mtune=generic' -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection '-mtls-dialect=gnu2' -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE '-D_FILE_OFFSET_BITS=64' -g -o src/resources.o src/resources.c
[...]
src/resources.c:144:4: error: conflicting types for ‘S_queue_alloc’; have ‘UV(PerlInterpreter *)’ {aka ‘long unsigned int(struct interpreter *)’}
  144 | UV S_queue_alloc(pTHX) {
      |    ^~~~~~~~~~~~~
In file included from src/resources.c:10:
src/resources.h:5:4: note: previous declaration of ‘S_queue_alloc’ with type ‘UV(void)’ {aka ‘long unsigned int(void)’}
    5 | UV S_queue_alloc();
      |    ^~~~~~~~~~~~~