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
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to