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

2023-09-15 Thread Sandro Mani via QGIS-Developer



On 15.09.23 10:35, Andrea Giudiceandrea wrote:

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



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


Hi Sandro,
the new fixed version is now available used, so I will remove my 
workaround.


Anyway the MingW64 Windows 64bit Build is failing again for: "dnf5: 
command not found".
The command was changed from dnf to dnf5 1 month ago with 
https://github.com/qgis/QGIS/pull/54152/commits/2a4a4b69475f9ae7d00880a6d3434f723a2a52c1 
because of "dnf: command not found".


Reverting back to dnf would fix the issue.

Do you know if it is a temporary issue with dnf5 or should we 
permanently use dnf?



Hi Andrea

I'd revert back to dnf, dnf5 has been postponed for the time being.

Sandro

___
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


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

2023-09-11 Thread Sandro Mani via QGIS-Developer

Hi

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

Sandro

[1] 
https://lists.fedoraproject.org/archives/list/mi...@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@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

___
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