Description of problem: Package tiled fails to build from source in Fedora Rawhide. Version-Release number of selected component (if applicable): 1.8.4-2.fc37 Steps to Reproduce: koji build --scratch f37 tiled-1.8.4-2.fc37.src.rpm Additional info: /builddir/build/BUILD/tiled-1.8.4/translations/translations.qbs:3:1 Error while handling product 'translations': /builddir/build/BUILD/tiled-1.8.4/translations/translations.qbs:3:1 Profile 'x86_64-redhat-linux-gcc' does not exist.
Trying to build this in mock, the current spec fails even on x86_64, since qbs reports that is has a "x86_64-redhat-linux-gcc-12" profile (note the "-12" at the end), so when asked to use "x86_64-redhat-linux-gcc", it fails because no such profile was found. Calling "qbs setup-toolchains --detect" automatically selects a profile, and it seems to always be the gcc one, so it should be safe to just drop the "qbs config defaultProfile ..." line from the spec. Trying to perform a mockbuild with the line removed, it fails with the following error: ERROR: In file included from /usr/include/qt5/QtQml/5.15.4/QtQml/private/qqmldata_p.h:54, from /builddir/build/BUILD/tiled-1.8.4/src/tiled/editablemanager.cpp:37: /usr/include/qt5/QtQml/5.15.4/QtQml/private/qtqmlglobal_p.h:54:10: fatal error: QtCore/private/qglobal_p.h: No such file or directory 54 | #include <QtCore/private/qglobal_p.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle. Changing version to 37.
Fixed in https://src.fedoraproject.org/rpms/tiled/c/776b7903f6473ae74dcb95b2969fb44906398778?branch=rawhide
FEDORA-2022-f8e35be44d has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-f8e35be44d
+4 in https://pagure.io/fedora-qa/blocker-review/issue/879 , marking accepted.
FEDORA-2022-f8e35be44d has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.