hedgewars failed to build from source in Fedora rawhide/f39 https://koji.fedoraproject.org/koji/taskinfo?taskID=103607070 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Please fix hedgewars 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, hedgewars will be orphaned. Before branching of Fedora 40, hedgewars 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/
Created attachment 1978183 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 1978184 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 1978185 [details] state.log
Btw I see the same failure for x86_64 on F39 and F38 /builddir/build/BUILD/hedgewars-src-1.0.2/project_files/hwc/rtl/misc.c:223:5: error: call to undeclared function 'glShaderSource'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] glShaderSource(shader, count, (const char * const *)string, length); ^ 1 warning and 1 error generated. gmake[2]: *** [project_files/hwc/rtl/CMakeFiles/fpcrtl.dir/build.make:93: project_files/hwc/rtl/CMakeFiles/fpcrtl.dir/misc.c.o] Error 1 gmake[2]: *** Waiting for unfinished jobs....
I just tried a x86_64 mockbuild for F38 and it succeeds now, no glShaderSource error. Also tried it for rawhide and I get a new error there now: File "_none_", line 1: Alert ocaml_deprecated_auto_include: OCaml's lib directory layout changed in 5.0. The unix subdirectory has been automatically added to the search path, but you should add -I +unix to the command-line to silence this alert (e.g. by adding unix to the list of libraries in your dune file, or adding use_unix to your _tags file for ocamlbuild, or using -package unix for ocamlfind). File "freetennis.ml", line 6654, characters 31-47: 6654 | let mayb = translateName (String.lowercase !p0Name ) in ^^^^^^^^^^^^^^^^ Error: Unbound value String.lowercase I'm afraid my ocaml skills are pretty much non existent. Does this Unbound value String.lowercase indicate a missing include or ...?
Ugh never mind I was mockbuilding freetennis while responding to the hedgewars FTFBS (both are FTBFS), please ignore.
https://issues.hedgewars.org/show_bug.cgi?id=855
(In reply to Gwyn Ciesla from comment #7) > https://issues.hedgewars.org/show_bug.cgi?id=855 I've worked around this for now by adding the following to the .spec file before %cmake: export CFLAGS="%{build_cflags} -DGL_GLEXT_PROTOTYPES" export CXXFLAGS="%{build_cxxflags} -DGL_GLEXT_PROTOTYPES" and I've started a koji build to fix the FTBFS.
FEDORA-2023-d4dd820b59 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-d4dd820b59
FEDORA-2023-d4dd820b59 has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.
Thank you!