Bug 2148432

Summary: perl-Curses: Feature detection does not work for C99 compilers
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: perl-CursesAssignee: Florian Weimer <fweimer>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: perl-devel, steve.traylen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-Curses-1.41-2.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-25 13:08:12 UTC Type: Bug
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: 2141798    
Attachments:
Description Flags
perl-Curses-test-syms-c99.patch
none
Additional patch to remove implicit ints none

Description Florian Weimer 2022-11-25 12:34:09 UTC
Created attachment 1927392 [details]
perl-Curses-test-syms-c99.patch

CursesDef.h is not available during feature probing using testsym.c, and the relevant Curses headers are not included because the macros guarding the inclusion are not defined. As a result, must of the feature tests fail in C99 mode because the compiler refuses to compile calls to undefined functions.

rt.cpan.org no longer allows me to file tickets, and the upstream author says in the ticket that they prefer email anyway. So I'm filing this bug as a public reference.

Comment 1 Florian Weimer 2022-11-25 12:34:40 UTC
Created attachment 1927393 [details]
Additional patch to remove implicit ints

Comment 2 Florian Weimer 2022-11-25 13:08:12 UTC
I contacted the upstream author by email, following the README instructions.