Bug 1923651

Summary: kompare: FTBFS in Fedora rawhide/f34
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: kompareAssignee: Rex Dieter <rdieter>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jgrulich, kde-sig, kevin, rdieter, than
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kompare-20.12.2-1.fc34 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-04 15:58:29 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: 1868278    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2021-02-01 17:22:51 UTC
kompare failed to build from source in Fedora rawhide/f34

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Please fix kompare 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,
kompare will be orphaned. Before branching of Fedora 35,
kompare 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 2021-02-01 17:22:54 UTC
Created attachment 1753894 [details]
build.log

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

Comment 2 Fedora Release Engineering 2021-02-01 17:22:55 UTC
Created attachment 1753895 [details]
root.log

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

Comment 3 Fedora Release Engineering 2021-02-01 17:22:56 UTC
Created attachment 1753896 [details]
state.log

Comment 4 Kevin Kofler 2021-02-01 18:38:41 UTC
Issue with deprecated functions. I am really tempted to just eradicate all traces of *_DISABLE_DEPRECATED_* from the upstream and downstream CMakeLists.txt. I never added or approved those, and I am the upstream maintainer.

/builddir/build/BUILD/kompare-20.08.3/komparepart/kompare_part.cpp:613:13: error: 'class QPrinter' has no member named 'setOrientation'; did you mean 'Orientation'?

Comment 5 Kevin Kofler 2021-02-01 18:43:18 UTC
That said, this upstream commit:
https://invent.kde.org/sdk/kompare/-/commit/68d3eee36c48a2f44ccfd3f9e5a36311b829104b
ports away from the deprecated functions. It is already included in 20.12.0 and higher. Current is 20.12.1. Rawhide is stuck on the obsolete 20.08.3.

Rex: Will F34 ship with outdated KDE Applications? Or when will 20.12.x get in?

Comment 6 Kevin Kofler 2021-02-04 15:58:29 UTC
Fixed in kompare-20.12.2-1.fc34 (built successfully), thanks Rex!