Bug 2112595

Summary: sdrangel failed to rebuild on updated fedora36
Product: [Fedora] Fedora Reporter: opx801
Component: sdrangelAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED DUPLICATE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: jskarvad
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-07 21:08:09 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:
Attachments:
Description Flags
sdrangel-7.6.0 recompilation log from srpm none

Description opx801 2022-07-30 21:11:48 UTC
Description of problem:

sdrangel 7.4.0 does not recompile from srpm on the updated version of fedora 36.

Version-Release number of selected component (if applicable):

sdrangel-7.4.0-3.fc36.src.rpm 


How reproducible:

rpmbuild --rebuild sdrangel-7.4.0-3.fc36.src.rpm 

Steps to Reproduce:
1. dnf download --source sdrangel
2. rpmbuild --rebuild sdrangel-7.4.0-3.fc36.src.rpm


Actual results:

Failed to compile

Expected results:

<...>/rpmbuild/RPMS/x86_64/sdrangel-7.4.0-3.fc36.x86_64.rpm
+ exit 0

Additional info:

The solution is the following:
Add the following line in sdrangel.spec

%{_bindir}/ldpctool

It is recompiled using the command:

rpmbuild -ba ../SPECS/sdrangel.spec

Comment 1 Jaroslav Škarvada 2022-08-04 16:01:35 UTC
I cannot reproduce:

# dnf builddep sdrangel
# dnf install rpm-build
# dnf download --source sdrangel
# rpmbuild --rebuild ./sdrangel-7.6.0-1.fc36.src.rpm

It works fine for me, cleanly provisioned Fedora 36.

Comment 2 opx801 2022-08-04 18:59:35 UTC
The recompilation for the current version sdrangel-7.6.0 failed even after performing the indicated procedures.
I have attached the log
Recompile from sources was retried because install from repository fails with a package version conflict for qt5-qtbase-gui.

# dnf update
Last metadata expiration check: 5:37:19 ago on Thu 04 Aug 2022 16:04:00 EEST.
Dependencies resolved.

 Problem: package sdrangel-7.6.0-1.fc36.x86_64 requires libQt5Gui.so.5(Qt_5.15.3_PRIVATE_API)(64bit), but none of the providers can be installed
  - cannot install both qt5-qtbase-gui-5.15.3-1.fc36.x86_64 and qt5-qtbase-gui-5.15.5-2.fc36.x86_64
  - cannot install the best update candidate for package sdrangel-7.4.0-4.fc36.x86_64
  - cannot install the best update candidate for package qt5-qtbase-gui-5.15.5-2.fc36.x86_64
=======================================================================================================================================================
 Package                                           Architecture                              Version                          Repository                                  Size
=======================================================================================================================================================
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 qt5-qtbase-gui                                    x86_64                    5.15.3-1.fc36                  fedora               6.3 M
Skipping packages with broken dependencies:
 sdrangel                                          x86_64                    7.6.0-1.fc36                   updates             34 M

Transaction Summary
=======================================================================================================================================================
Skip  2 Packages

Nothing to do.
Complete!

Comment 3 opx801 2022-08-04 19:06:00 UTC
Created attachment 1903735 [details]
sdrangel-7.6.0 recompilation log from srpm

sudo dnf builddep sdrangel
sudo dnf install rpm-build
dnf download --source sdrangel
rpmbuild --rebuild ./sdrangel-7.6.0-1.fc36.src.rpm

Comment 4 Jaroslav Škarvada 2022-08-07 21:06:23 UTC
Try with sdrangel-7.6.1 in updates testing:
https://bodhi.fedoraproject.org/updates/FEDORA-2022-342628841c

Comment 5 Jaroslav Škarvada 2022-08-07 21:08:09 UTC

*** This bug has been marked as a duplicate of bug 2112956 ***