openSUSE mingw32-cmake, mingw64-cmake failing during CI
When running CI against git master, the opensuse mingw64 cmake debug
build couldn't find the mingw64-cmake
script:
+ mingw64-cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_WERROR=ON -D CMAKE_TOOLCHAIN_FILE=/builds/dbus/dbus/cmake/x86_64-w64-mingw32.cmake -D CMAKE_PREFIX_PATH=/usr/x86_64-w64-mingw32/sys-root/x86_64-w64-mingw32 -D DBUS_USE_WINE=1 ..
./tools/ci-build.sh: line 440: mingw64-cmake: command not found
The corresponding 32-bit build isn't run by default, but would presumably fail in the same way.
I was able to resolve that as part of !405 (merged) by installing mingw${bits}-cross-cmake
, but that leaves me with another error:
+ mingw64-cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_WERROR=ON -D CMAKE_TOOLCHAIN_FILE=/builds/dbus/dbus/cmake/x86_64-w64-mingw32.cmake -D CMAKE_PREFIX_PATH=/usr/x86_64-w64-mingw32/sys-root/x86_64-w64-mingw32 -D DBUS_USE_WINE=1 ..
RPM version 4.14.3
Copyright (C) 1998-2002 - Red Hat, Inc.
This program may be freely redistributed under the terms of the GNU GPL
Usage: rpm [-afgpcdLAlsiv?] [-a|--all] [-f|--file] [-g|--group]
...
[--filerequire] [--filecaps]
CMake Warning:
Ignoring extra path from command line:
".."
CMake Error: The source directory "/builds/dbus/dbus/build" does not appear to contain CMakeLists.txt.
I think this means something is wrong with either the mingw64-cmake
script, or the way we're invoking it. @rhabacker, since this seems to be your script, please could you have a look?
For now I'm going to disable the openSUSE mingw/cmake builds, because some CI is better than no CI. We still have at least some coverage of mingw/cmake on Debian, which succeeds.