Bug 2340092

Summary: dreamchess: FTBFS in Fedora rawhide/f42
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: dreamchessAssignee: Raphael Groner <projects.rg>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 42CC: projects.rg
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: 2260875, 2300528    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2025-01-22 19:29:36 UTC
dreamchess failed to build from source in Fedora rawhide/f42

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
Please fix dreamchess 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,
dreamchess will be orphaned. Before branching of Fedora 43,
dreamchess 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 19:29:38 UTC
Created attachment 2068863 [details]
build.log

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

Comment 2 Fedora Release Engineering 2025-01-22 19:29:40 UTC
Created attachment 2068864 [details]
root.log

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

Comment 3 Fedora Release Engineering 2025-01-22 19:29:41 UTC
Created attachment 2068865 [details]
state.log

Comment 4 Fedora Release Engineering 2025-01-22 21:01:31 UTC
*** Bug 2339713 has been marked as a duplicate of this bug. ***

Comment 5 Raphael Groner 2025-02-11 21:00:37 UTC
/builddir/build/BUILD/dreamchess-0.3.0-build/dreamchess-0.3.0/dreamchess/src/audio/sdlmixer.c:59:25: error: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration]
   59 |                         exit(1);
      |                         ^~~~
/builddir/build/BUILD/dreamchess-0.3.0-build/dreamchess-0.3.0/dreamchess/src/audio/sdlmixer.c:36:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
   35 | #include "theme.h"
  +++ |+#include <stdlib.h>
   36 | 
/builddir/build/BUILD/dreamchess-0.3.0-build/dreamchess-0.3.0/dreamchess/src/audio/sdlmixer.c:59:25: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
   59 |                         exit(1);
      |                         ^~~~
/builddir/build/BUILD/dreamchess-0.3.0-build/dreamchess-0.3.0/dreamchess/src/audio/sdlmixer.c:59:25: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
/builddir/build/BUILD/dreamchess-0.3.0-build/dreamchess-0.3.0/dreamchess/src/audio/sdlmixer.c: In function ‘audio_init’:
/builddir/build/BUILD/dreamchess-0.3.0-build/dreamchess-0.3.0/dreamchess/src/audio/sdlmixer.c:98:9: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   98 |         chdir("sounds");
      |         ^~~~~~~~~~~~~~~
/builddir/build/BUILD/dreamchess-0.3.0-build/dreamchess-0.3.0/dreamchess/src/audio/sdlmixer.c:100:9: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  100 |         chdir("..");
      |         ^~~~~~~~~~~
gmake[2]: *** [dreamchess/src/CMakeFiles/dreamchess.dir/build.make:318: dreamchess/src/CMakeFiles/dreamchess.dir/audio/sdlmixer.c.o] Error 1

Comment 6 Aoife Moloney 2025-02-26 13:28:29 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.