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: CLOSED ERRATA 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: nas-1.9.5-15.fc44 nas-1.9.5-14.fc43 nas-1.9.5-13.fc42 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-02-05 00:57:51 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: 2339432, 2300528    
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. ***

Comment 6 Petr Pisar 2026-01-27 10:15:49 UTC
I resorted to building with -std=c99. Porting the code showed to be a huge task.

Comment 7 Fedora Update System 2026-01-27 10:25:40 UTC
FEDORA-2026-6e504e7274 (nas-1.9.5-14.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-6e504e7274

Comment 8 Fedora Update System 2026-01-27 11:57:49 UTC
FEDORA-2026-9bcd422079 (nas-1.9.5-13.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-9bcd422079

Comment 9 Fedora Update System 2026-01-28 01:09:02 UTC
FEDORA-2026-6e504e7274 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-6e504e7274`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-6e504e7274

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2026-01-28 01:52:31 UTC
FEDORA-2026-9bcd422079 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-9bcd422079`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-9bcd422079

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2026-02-05 00:57:51 UTC
FEDORA-2026-6e504e7274 (nas-1.9.5-14.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2026-02-06 01:09:38 UTC
FEDORA-2026-9bcd422079 (nas-1.9.5-13.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.