Hi All,
While fixing a hedgewars F36 bug, the f37/rawhide build of the
fixed pkg is failing:
In both F36 and F37 the invocation is:
/usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG
-DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF
-DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include
-DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc
-DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON
-DMINIMAL_FLAGS=1 -DNOVIDEOREC=1 -DBUILD_ENGINE_C=1 -DGHFLAGS=-dynamic
'-DFONTS_DIRS=/usr/share/fonts;/usr/share/fonts/google-noto-vf;/usr/share/fonts/dejavu-sans-fonts;/usr/share/fonts/wqy-zenhei;'
.
Followed by a bunch of output and then weirdness happens, F37 last cmake output line:
-- Build files have been written to: /builddir/build/BUILD/hedgewars-src-1.0.0
vs F36 last output line:
-- Build files have been written to:
/builddir/build/BUILD/hedgewars-src-1.0.0/redhat-linux-build
F37 cmake seems to ignore the "-B redhat-linux-build" leading to this subsequent
build error:
+ /usr/bin/cmake --build redhat-linux-build -j6 --verbose
Error: /builddir/build/BUILD/hedgewars-src-1.0.0/redhat-linux-build is not a directory
Any help with this would be much appreciated.
Regards,
Hans