Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1870521

Summary: cockpit-debuginfo and cockpit-appstream-debuginfo ship the same files
Product: Red Hat Enterprise Linux 8 Reporter: Matej Marušák <mmarusak>
Component: cockpit-appstreamAssignee: Martin Pitt <mpitt>
Status: CLOSED ERRATA QA Contact: Jan Ščotka <jscotka>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.3CC: kkoukiou
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 233.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 15:53:11 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:

Description Matej Marušák 2020-08-20 09:32:40 UTC
Description of problem:
Package `cockpit-debuginfo` ships the same failes that `cockpit-appstream-debuginfo` does. I believe c-appstream-dbg should ship only debuginfos for appstream packages.


Version-Release number of selected component (if applicable):
cockpit-224.2-1
cockpit-appstream-224.2.1
But also checked with versions 223 to make sure this was not a new regression.


Steps to Reproduce:
1. dnf install cockpit-debuginfo cockpit-appstream-debuginfo
2. rpm -ql cockpit-debuginfo | grep tuned
/usr/share/cockpit/tuned/performance.css.map
/usr/share/cockpit/tuned/performance.min.js.map
3. rpm -ql cockpit-appstream-debuginfo | grep tuned
/usr/share/cockpit/tuned/performance.css.map
/usr/share/cockpit/tuned/performance.min.js.map

Actual results:
Both packages ship these files. (tuned is example, every package is there)


Expected results:
Each file would be shipped by exactly one package.


Additional info:
Seen in [1] in failing osci.brew-build.rpmdeplint.functional <arch>-check-conflicts. Log in [2].

[1] https://dashboard.osci.redhat.com/#/artifact/brew-build/aid/30824040
[2] http://artifacts.osci.redhat.com/rpmdeplint/rhel-8.3.0/cockpit-appstream/30824040-22543/FAIL_x86_64-check-conflicts.log

Comment 1 Martin Pitt 2020-09-22 09:38:56 UTC
We fixed the upstream test/image-prepare to actually do the split srpm build, so it's now easy to reproduce/CI-test/fix this.

Comment 2 Martin Pitt 2020-09-22 11:47:59 UTC
https://github.com/cockpit-project/bots/pull/1251 adds a check to our CI that catches the bug.

Comment 3 Martin Pitt 2020-09-22 13:19:51 UTC
Fix: https://github.com/cockpit-project/cockpit/pull/14650

Comment 7 Jan Ščotka 2020-12-14 15:31:53 UTC
tested by automated testcase: /CoreOS/cockpit-appstream/Sanity/bz1870521-cockpit-debuginfo-and-cockpit-appstream-debuginfo
PASSed
    Regards
    Honza

Comment 9 errata-xmlrpc 2021-05-18 15:53:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (cockpit-appstream bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:1875