[QGIS-Developer] MingW64 Windows 64bit Build action failing: a possible workaround

Sandro Mani manisandro at gmail.com
Mon Sep 11 22:22:12 PDT 2023


Hi

This should since be fixed in the latest mingw-filesystem. See [1].

Sandro

[1] 
https://lists.fedoraproject.org/archives/list/mingw@lists.fedoraproject.org/thread/UQXZXB4O4GJZC4TQCDZNMQBA23TWISQQ/

On 10.09.23 06:48, Andrea Giudiceandrea via QGIS-Developer wrote:
> 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 at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the QGIS-Developer mailing list