Bug 2340904

Summary: nas-1.9.5-12.fc42 FTBFS with GCC 15
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: nasAssignee: Petr Pisar <ppisar>
Status: ASSIGNED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 42CC: ppisar, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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, 2339432    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2025-01-22 21:03:45 UTC
nas failed to build from source in Fedora rawhide/f42

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
Please fix nas 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,
nas will be orphaned. Before branching of Fedora 43,
nas 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:03:48 UTC
Created attachment 2071243 [details]
build.log

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

Comment 2 Fedora Release Engineering 2025-01-22 21:03:50 UTC
Created attachment 2071244 [details]
root.log

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

Comment 3 Fedora Release Engineering 2025-01-22 21:03:51 UTC
Created attachment 2071245 [details]
state.log

Comment 4 Petr Pisar 2025-02-19 09:45:37 UTC
From the build.log:

dixutils.c:88:14: error: too many arguments to function ‘q->function’; expected 0, have 2
   88 |         if ((*q->function) (q->client, q->closure)) {
      |             ~^~~~~~~~~~~~~  ~~~~~~~~~
In file included from dixutils.c:53:
../include/dixstruct.h:74:15: note: declared here
   74 |         Bool(*function) ();
      |               ^~~~~~~~

This is triggered by GCC 15 moving to ISO C23.

Comment 5 Petr Pisar 2025-07-31 11:33:50 UTC
*** Bug 2385205 has been marked as a duplicate of this bug. ***