Bug 2341042 - 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 *)’}
Summary: perl-threads-lite-0.034-36.fc43 FTBFS: src/resources.c:144:4: error: conflict...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-threads-lite
Version: 42
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F42FTBFS
TreeView+ depends on / blocked
 
Reported: 2025-01-22 21:20 UTC by Fedora Release Engineering
Modified: 2025-02-10 17:02 UTC (History)
1 user (show)

Fixed In Version: perl-threads-lite-0.034-37.fc42
Clone Of:
Environment:
Last Closed: 2025-02-10 17:02:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (25.51 KB, text/plain)
2025-01-22 21:20 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2025-01-22 21:20 UTC, Fedora Release Engineering
no flags Details
state.log (1.69 KB, text/plain)
2025-01-22 21:20 UTC, Fedora Release Engineering
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github Leont threads-lite pull 3 0 None open Fix building in ISO C23 2025-02-10 16:40:45 UTC

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();
      |    ^~~~~~~~~~~~~


Note You need to log in before you can comment on or make changes to this bug.