Bug 2046932

Summary: qt6-qtshadertools: FTBFS in Fedora rawhide/f36
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: high    
Version: rawhideCC: aoliva, dmalcolm, fweimer, jakub, jgrulich, jwakely, kde-sig, law, mpolacek, msebor, nickc, sipoyare
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gcc-12.0.1-0.6.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-02-06 18:11:37 UTC Type: ---
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: 1992484    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2022-01-27 09:43:15 UTC
qt6-qtshadertools failed to build from source in Fedora rawhide/f36

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Please fix qt6-qtshadertools 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,
qt6-qtshadertools will be orphaned. Before branching of Fedora 37,
qt6-qtshadertools 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-27 09:43:18 UTC
Created attachment 1856414 [details]
build.log

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

Comment 2 Fedora Release Engineering 2022-01-27 09:43:19 UTC
Created attachment 1856415 [details]
root.log

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

Comment 3 Fedora Release Engineering 2022-01-27 09:43:21 UTC
Created attachment 1856416 [details]
state.log

Comment 4 Jan Grulich 2022-01-31 18:39:10 UTC
With GCC 12 now in Rawhide I'm unable to build this package:

*** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins.
Event                            | Plugins
PLUGIN_FINISH_UNIT               | annobin: Generate final annotations
PLUGIN_START_UNIT                | annobin: Generate global annotations
PLUGIN_ALL_PASSES_START          | annobin: Generate per-function annotations
PLUGIN_ALL_PASSES_END            | annobin: Register per-function end symbols
In file included from /builddir/build/BUILD/qtshadertools-everywhere-src-6.2.3/src/3rdparty/SPIRV-Cross/spirv_cross_parsed_ir.hpp:27,
                 from /builddir/build/BUILD/qtshadertools-everywhere-src-6.2.3/src/3rdparty/SPIRV-Cross/spirv_cross_parsed_ir.cpp:24:
/builddir/build/BUILD/qtshadertools-everywhere-src-6.2.3/src/3rdparty/SPIRV-Cross/spirv_common.hpp: In member function 'void spirv_cross::SPIRConstant::make_null(const spirv_cross::SPIRType&)':
/builddir/build/BUILD/qtshadertools-everywhere-src-6.2.3/src/3rdparty/SPIRV-Cross/spirv_common.hpp:1244:22: internal compiler error: in gimplify_var_or_parm_decl, at gimplify.cc:2985
 1244 |                 m = {};
      |                      ^

Comment 5 Marek Polacek 2022-01-31 19:05:41 UTC
Most likely https://gcc.gnu.org/PR104300

Comment 6 Jan Grulich 2022-02-04 07:23:32 UTC
I just tested with latest GCC in rawhide and it still fails. This blocks the whole Qt6 update in Rawhide.

Comment 7 Fedora Update System 2022-02-06 17:40:03 UTC
FEDORA-2022-fba9d09417 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-fba9d09417

Comment 8 Fedora Update System 2022-02-06 18:11:37 UTC
FEDORA-2022-fba9d09417 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.