Bug 2045759

Summary: kf5-kpimtextedit: FTBFS in Fedora rawhide/f36
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: kf5-kpimtexteditAssignee: Kevin Kofler <kevin>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: kde-sig, kevin, me
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kf5-kpimtextedit-21.12.1-4.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-02-01 03:26:48 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: 1987385, 1992484    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2022-01-25 18:30:53 UTC
kf5-kpimtextedit failed to build from source in Fedora rawhide/f36

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Please fix kf5-kpimtextedit 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,
kf5-kpimtextedit will be orphaned. Before branching of Fedora 37,
kf5-kpimtextedit 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:30:55 UTC
Created attachment 1855109 [details]
build.log

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

Comment 2 Fedora Release Engineering 2022-01-25 18:30:57 UTC
Created attachment 1855110 [details]
root.log

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

Comment 3 Fedora Release Engineering 2022-01-25 18:30:58 UTC
Created attachment 1855111 [details]
state.log

Comment 4 Kevin Kofler 2022-01-26 03:35:04 UTC
A whole bunch of errors of the form:

/builddir/build/BUILD/kpimtextedit-21.12.1/src/texttospeech/abstracttexttospeechinterface.h:23:13: error: standard attributes in middle of decl-specifiers
   23 |     virtual Q_REQUIRED_RESULT bool isReady() const;
      |             ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/kpimtextedit-21.12.1/src/texttospeech/abstracttexttospeechinterface.h:23:13: note: standard attributes must precede the decl-specifiers to apply to the declaration, or follow them to apply to the type

or:

/builddir/build/BUILD/kpimtextedit-21.12.1/src/composer-ng/richtextcomposerimages.h:99:12: error: standard attributes in middle of decl-specifiers
   99 |     static Q_REQUIRED_RESULT QByteArray imageNamesToContentIds(const QByteArray &htmlBody, const ImageList &imageList);
      |            ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/kpimtextedit-21.12.1/src/composer-ng/richtextcomposerimages.h:99:12: note: standard attributes must precede the decl-specifiers to apply to the declaration, or follow them to apply to the type

from GCC 12.

Comment 6 Kevin Kofler 2022-02-01 03:07:02 UTC
This is the cherry-pick on the release/21.12 branch:
https://invent.kde.org/pim/kpimtextedit/-/commit/e570898fa2f7abd217865506477610b50b23e295

Comment 7 Kevin Kofler 2022-02-01 03:26:48 UTC
82216688 build (rawhide, /rpms/kf5-kpimtextedit.git:69e3f482c8872afe8a12149dd685dcdd818d3f02) completed successfully