Bug 2103637
Summary: | tiled: FTBFS in Fedora Rawhide: Hardcodes x86_64 in the spec, fails on other architectures | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tomáš Hrnčiar <thrnciar> |
Component: | tiled | Assignee: | Erik Schilling <fedora> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 37 | CC: | awilliam, cheese, fedora, fedora, mhroncok, pviktori, rosset.filipe |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | AcceptedFreezeException | ||
Fixed In Version: | tiled-1.9.1-1.fc37 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-09-02 22:27:01 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 2117176, 2009538, 2016048, 2045102 |
Description
Tomáš Hrnčiar
2022-07-04 10:08:59 UTC
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. |