Bug 2331208

Summary: epson-inkjet-printer-escpr fails to build with GCC 15 (implicit int param in function prototype)
Product: [Fedora] Fedora Reporter: Dave Malcolm <dmalcolm>
Component: epson-inkjet-printer-escprAssignee: Orphan Owner <extras-orphan>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: jpopelka, orion, susi.lehtola
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-01-29 20:25:14 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: 2333037    

Description Dave Malcolm 2024-12-09 18:50:46 UTC
I'm experimentally rebuilding rawhide with the not-yet-released GCC 15 to see if anything breaks, and to help write the porting guide.

In https://download.copr.fedorainfracloud.org/results/dmalcolm/gcc-15-smoketest/fedora-rawhide-aarch64/08368364-epson-inkjet-printer-escpr/builder-live.log.gz

I see this build failure:

filter.c: In function ‘main’:
filter.c:380:15: error: too many arguments to function ‘SendStartJob’
  380 |         err = SendStartJob(FALSE);
      |               ^~~~~~~~~~~~
filter.c:49:21: note: declared here
   49 | extern EPS_ERR_CODE SendStartJob ();
      |                     ^~~~~~~~~~~~

GCC 15 defaults to C23, in which I believe the () in a decl now means "void" rather than implicit "int"; see:
https://fedoraproject.org/wiki/User:Dmalcolm/gcc-15#Function_prototypes_with_empty_params_change_from_implicit_%22int%22_to_%22void%22

Hence this looks like an issue with the prototype in filter.c

Reproducible: Always




I didn't check to see if this is fixed upstream yet.

Comment 1 Fedora Admin user for bugzilla script actions 2024-12-10 15:57:02 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 2 Maxwell G 2025-01-29 20:25:14 UTC
Automation has figured out the package is retired in Fedora Rawhide.

If you like it to be unretired, please open a ticket at
https://pagure.io/releng/new_issue?template=package_unretirement