https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: games-fps/doomsday-2.3.1 fails to compile (CLANG-STRICTER-SYSTEM). Discovered on: amd64 (internal ref: clang-stricter_tinderbox) NOTE: (CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types See also: https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240 https://wiki.gentoo.org/wiki/Modern_C_porting
Created attachment 840975 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: -- Package 'SDL2_mixer', required by 'virtual:world', not found -- Package 'fluidsynth', required by 'virtual:world', not found -- Package 'sdl2', required by 'virtual:world', not found FAILED: sdk/libcore/CMakeFiles/libcore.dir/libcore_autogen/mocs_compilation.cpp.o FAILED: sdk/libcore/CMakeFiles/libcore.dir/src/c_wrapper.cpp.o FAILED: sdk/libcore/CMakeFiles/libcore.dir/src/charsymbols.cpp.o FAILED: sdk/libcore/CMakeFiles/libcore.dir/src/error.cpp.o FAILED: sdk/libcore/CMakeFiles/libcore.dir/src/math.cpp.o FAILED: sdk/libcore/CMakeFiles/libcore.dir/src/matrix.cpp.o FAILED: sdk/libcore/CMakeFiles/libcore.dir/src/version.cpp.o FAILED: sdk/libcore/CMakeFiles/libcore.dir/src_concurrency_turbo.cpp.o FAILED: sdk/libcore/CMakeFiles/libcore.dir/src_core_turbo.cpp.o FAILED: sdk/libcore/CMakeFiles/libcore.dir/src_data_turbo.cpp.o FAILED: sdk/libcore/CMakeFiles/libcore.dir/src_filesys_remote_turbo.cpp.o FAILED: sdk/libcore/CMakeFiles/libcore.dir/src_filesys_turbo.cpp.o error: trigraphs was enabled in PCH file but is currently disabled
Hello Agostino, Pierre-Henri aka Peter currently an OpenMandriva user (clang in force ><) Haven't ported the package yet, it's kind of a "known bug" for non-windows user. If you try to compile on linux without using a cache system like *ccache*, the script by default will try to enable *cotire*. You can disable it with the **DE_ENABLE_COTIRE** directive. (Warning: used to be called DENG_ENABLE_COTIRE in the past, the prefix is **DE** not **DENG**) I successfully built it with the following cmake command: cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_BUILD_TYPE=Release -DDE_ENABLE_COTIRE=NO .. Hope it will help you or other users on the net. Cheers
(In reply to Agostino Sarubbo from comment #2) > Error(s) that match a know pattern in addition to what has been reported in > the summary: > > > -- Package 'SDL2_mixer', required by 'virtual:world', not found > -- Package 'fluidsynth', required by 'virtual:world', not found > -- Package 'sdl2', required by 'virtual:world', not found > FAILED: > sdk/libcore/CMakeFiles/libcore.dir/libcore_autogen/mocs_compilation.cpp.o > FAILED: sdk/libcore/CMakeFiles/libcore.dir/src/c_wrapper.cpp.o > FAILED: sdk/libcore/CMakeFiles/libcore.dir/src/charsymbols.cpp.o > FAILED: sdk/libcore/CMakeFiles/libcore.dir/src/error.cpp.o > FAILED: sdk/libcore/CMakeFiles/libcore.dir/src/math.cpp.o > FAILED: sdk/libcore/CMakeFiles/libcore.dir/src/matrix.cpp.o > FAILED: sdk/libcore/CMakeFiles/libcore.dir/src/version.cpp.o > FAILED: sdk/libcore/CMakeFiles/libcore.dir/src_concurrency_turbo.cpp.o > FAILED: sdk/libcore/CMakeFiles/libcore.dir/src_core_turbo.cpp.o > FAILED: sdk/libcore/CMakeFiles/libcore.dir/src_data_turbo.cpp.o > FAILED: sdk/libcore/CMakeFiles/libcore.dir/src_filesys_remote_turbo.cpp.o > FAILED: sdk/libcore/CMakeFiles/libcore.dir/src_filesys_turbo.cpp.o > error: trigraphs was enabled in PCH file but is currently disabled Regards to my previous comment I meant the error is related to cotire. I succeeded building the package with cmake / clang by disabling it.