Bug 24769

Summary: rpmspec reports wrong number of debuginfo subpackages
Product: Mageia Reporter: Oleg Bosis <olelukoie>
Component: RPM PackagesAssignee: RPM stack maintainers <rpmstack>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Normal CC: marja11, olelukoie, thierry.vignaud
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: rpm-build-4.14.2.1-10.mga7 CVE:
Status comment:

Description Oleg Bosis 2019-05-04 12:42:43 CEST
Description of problem:
I have to rebuild qtbase5 package with custom corporate patches to make it work with our Intranet.

I've began to prepare our repository for MGA7 and noticed that the command I used to remove previous version of the package from out internal repository now misses a lot of debuginfo subpackages.

The command I used is
rpmspec -q --rpms <spec_file>

This command reports the following for qtbase5:

$ rpmspec -q --rpms qtbase5.spec | grep debug
qtbase5-debuginfo-5.12.3-3.mga7.mrc
qtbase5-debugsource-5.12.3-3.mga7.mrc

But when I simply search for binary packages with a simple script I see much more debuginfo packages related to qtbase5. The script:

for i in `ls *debuginfo*`; do
    SRC=`rpm -qi $i | grep src.rpm | awk '{print $4}'`
    if [ "$SRC" == "qtbase5-5.12.3-3.mga7.mrc.src.rpm" ]; then
        echo $i
    fi
done

The script's output:

lib64qt5concurrent5-debuginfo-5.12.3-3.mga7.mrc.x86_64.rpm
lib64qt5core5-debuginfo-5.12.3-3.mga7.mrc.x86_64.rpm
lib64qt5-database-plugin-mysql-debuginfo-5.12.3-3.mga7.mrc.x86_64.rpm
lib64qt5-database-plugin-odbc-debuginfo-5.12.3-3.mga7.mrc.x86_64.rpm
lib64qt5-database-plugin-pgsql-debuginfo-5.12.3-3.mga7.mrc.x86_64.rpm
lib64qt5-database-plugin-sqlite-debuginfo-5.12.3-3.mga7.mrc.x86_64.rpm
lib64qt5-database-plugin-tds-debuginfo-5.12.3-3.mga7.mrc.x86_64.rpm
lib64qt5dbus5-debuginfo-5.12.3-3.mga7.mrc.x86_64.rpm
lib64qt5eglfsdeviceintegration5-debuginfo-5.12.3-3.mga7.mrc.x86_64.rpm
lib64qt5eglfskmssupport5-debuginfo-5.12.3-3.mga7.mrc.x86_64.rpm
lib64qt5gui5-debuginfo-5.12.3-3.mga7.mrc.x86_64.rpm
lib64qt5network5-debuginfo-5.12.3-3.mga7.mrc.x86_64.rpm
lib64qt5opengl5-debuginfo-5.12.3-3.mga7.mrc.x86_64.rpm
lib64qt5printsupport5-debuginfo-5.12.3-3.mga7.mrc.x86_64.rpm
lib64qt5sql5-debuginfo-5.12.3-3.mga7.mrc.x86_64.rpm
lib64qt5test5-debuginfo-5.12.3-3.mga7.mrc.x86_64.rpm
lib64qt5widgets5-debuginfo-5.12.3-3.mga7.mrc.x86_64.rpm
lib64qt5xcbqpa5-debuginfo-5.12.3-3.mga7.mrc.x86_64.rpm
lib64qt5xml5-debuginfo-5.12.3-3.mga7.mrc.x86_64.rpm
qtbase5-common-debuginfo-5.12.3-3.mga7.mrc.x86_64.rpm
qtbase5-common-devel-debuginfo-5.12.3-3.mga7.mrc.x86_64.rpm
qtbase5-examples-debuginfo-5.12.3-3.mga7.mrc.x86_64.rpm

Version-Release number of selected component (if applicable):
rpm-build-4.14.2.1-10.mga7

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.
Oleg Bosis 2019-05-04 12:43:00 CEST

CC: (none) => olelukoie

Comment 1 Marja Van Waes 2019-05-05 15:47:53 CEST
rpm-build-4.14.2.1-11.mga7 was pushed yesterday, but I the patch that was added seems unrelated.

Assigning to the rpm stack maintainers, CC'ing the registered maintainer.

Assignee: bugsquad => rpmstack
CC: (none) => marja11, thierry.vignaud