Bug 2045702 - hedgewars: FTBFS in Fedora rawhide/f36
Summary: hedgewars: FTBFS in Fedora rawhide/f36
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: hedgewars
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nikolay Nikolov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F36FTBFS F37FTBFS
TreeView+ depends on / blocked
 
Reported: 2022-01-25 18:24 UTC by Fedora Release Engineering
Modified: 2022-04-14 23:22 UTC (History)
5 users (show)

Fixed In Version: hedgewars-1.0.0-23.fc36
Clone Of:
Environment:
Last Closed: 2022-04-14 23:22:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2022-01-25 18:24 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2022-01-25 18:24 UTC, Fedora Release Engineering
no flags Details
state.log (984 bytes, text/plain)
2022-01-25 18:24 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2022-01-25 18:24:45 UTC
hedgewars failed to build from source in Fedora rawhide/f36

https://koji.fedoraproject.org/koji/taskinfo?taskID=81785758


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Please fix hedgewars at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
hedgewars will be orphaned. Before branching of Fedora 37,
hedgewars will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2022-01-25 18:24:48 UTC
Created attachment 1854953 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2022-01-25 18:24:49 UTC
Created attachment 1854954 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2022-01-25 18:24:51 UTC
Created attachment 1854955 [details]
state.log

Comment 4 Ben Cotton 2022-02-08 20:44:17 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 5 Hans de Goede 2022-03-08 21:27:48 UTC
I have taken a quick look and just doing another rebuild seems to succeed locally, but there is some weird issue on armv7 only related to clang being used to build some C-bits and this not liking the new https://fedoraproject.org/wiki/Changes/Package_information_on_ELF_objects change, but only on armv7.

A later rawhide build did succeed, because armv7 has been disabled for f37 and later, so this won't be a problem going forward and I'm closing this with a resolution of rawhide.

Comment 6 Hans de Goede 2022-04-01 14:53:00 UTC
Because of a new QT5 we really need to build hedgewars for f36 now to fix broken deps.

So I've taken a second look at this and while looking into how to disable .package.note support on armv7hl I found that the .package.note rpm macros actually have special clang + armv7hl support and that this can (probably, still need to do an actual build) be fixed by adding:

%define toolchain clang

to the .spec, as a bonus this also fixes LTO support, so the:

%define _lto_cflags %{nil}

to disable LTO support can be dropped from the spec file.

Comment 7 Fedora Update System 2022-04-01 15:47:15 UTC
FEDORA-2022-84dfdd4848 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-84dfdd4848

Comment 8 Fedora Update System 2022-04-02 01:25:25 UTC
FEDORA-2022-84dfdd4848 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-84dfdd4848`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-84dfdd4848

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2022-04-14 23:22:44 UTC
FEDORA-2022-84dfdd4848 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.