On Friday, April 1, 2022 5:45:38 PM CEST Hans de Goede wrote: > 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/f > onts/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 It is most likely this (not a) bug: https://bugzilla.redhat.com/show_bug.cgi?id=2057738 ... also discussed on here on the mailing list some time ago: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx/thread/YM4WDDZL6PMSODITVYWMPWC4TC4447AY/ It seems to be triggered by the following intentional change in upstream cmake: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/7001 Yet another consequence of the unnecessary change of %cmake macros in Fedora 33: https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds Kamil _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure