[QGIS-Developer] MingW64 Windows 64bit Build action failing: a possible workaround
Andrea Giudiceandrea
andreaerdna at libero.it
Sat Sep 9 21:48:47 PDT 2023
Hi devs,
the MingW64 Windows 64bit Build action is continuously failing since a
couple of days with the following error:
/usr/bin/mingw64-cmake: line 92: fg: no job control
The issue is caused by the %__cmake macro not correctly evaluated and
misinterpreted.
A possible workaround, which I've tested and which makes the action no
longer fail and the build succeed, would be to change line 79 of
/ms-windows/mingw/build.sh from
mingw$bits-cmake \
to
rpm --eval "%{mingw64_cmake}" > mingw64-cmake.sh
sed -i -e 's/%__cmake/cmake/' mingw64-cmake.sh
chmod +x mingw64-cmake.sh
./mingw$bits-cmake.sh \
See
https://gitlab.gnome.org/TinyTrebuchet/gtk/-/blob/main/.gitlab-ci.yml#L156-158
It's not clear to me what actually triggered the issue, so very likely
there is a better fix.
Best regards.
Andrea
More information about the QGIS-Developer
mailing list