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 2195897

Summary: [RHEL9] warning: File listed twice: /usr/share/doc/nvme-cli
Product: Red Hat Enterprise Linux 9 Reporter: Zhang Yi <yizhan>
Component: nvme-cliAssignee: Maurizio Lombardi <mlombard>
Status: CLOSED ERRATA QA Contact: Zhang Yi <yizhan>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.3Keywords: Triaged
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: nvme-cli-2.4-3.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-07 08:51:44 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 Zhang Yi 2023-05-06 09:48:15 UTC
Description of problem:


Version-Release number of selected component (if applicable):
nvme-cli-2.4-2.el9.src.rpm

How reproducible:
100%

Steps to Reproduce:
1. Check build log 
# rpmbuild -ba rpmbuild/SPECS/nvme-cli.spec 

2.
3.

Actual results:


Expected results:


Additional info:

# rpmbuild -ba rpmbuild/SPECS/nvme-cli.spec 
--snip--
warning: File listed twice: /usr/share/doc/nvme-cli
Provides: nvme-cli = 2.4-2.el9 nvme-cli(x86-64) = 2.4-2.el9
Requires(interp): /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/sh
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libjson-c.so.5()(64bit) libjson-c.so.5(JSONC_0.14)(64bit) libnvme-mi.so.1()(64bit) libnvme-mi.so.1(LIBNVME_MI_1_1)(64bit) libnvme-mi.so.1(LIBNVME_MI_1_2)(64bit) libnvme-mi.so.1(LIBNVME_MI_1_3)(64bit) libnvme-mi.so.1(LIBNVME_MI_1_4)(64bit) libnvme.so.1()(64bit) libnvme.so.1(LIBNVME_1_0)(64bit) libnvme.so.1(LIBNVME_1_2)(64bit) libnvme.so.1(LIBNVME_1_3)(64bit) libnvme.so.1(LIBNVME_1_4)(64bit) rtld(GNU_HASH)
Processing files: nvme-cli-debugsource-2.4-2.el9.x86_64
Provides: nvme-cli-debugsource = 2.4-2.el9 nvme-cli-debugsource(x86-64) = 2.4-2.el9
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: nvme-cli-debuginfo-2.4-2.el9.x86_64
Provides: debuginfo(build-id) = 10bb480697cb526f94d90a595183977a31b3db48 nvme-cli-debuginfo = 2.4-2.el9 nvme-cli-debuginfo(x86-64) = 2.4-2.el9
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: nvme-cli-debugsource(x86-64) = 2.4-2.el9
Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild/BUILDROOT/nvme-cli-2.4-2.el9.x86_64
Wrote: /root/rpmbuild/SRPMS/nvme-cli-2.4-2.el9.src.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/nvme-cli-debugsource-2.4-2.el9.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/nvme-cli-2.4-2.el9.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/nvme-cli-debuginfo-2.4-2.el9.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.AqSFZo
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd nvme-cli-2.4
+ /usr/bin/rm -rf /root/rpmbuild/BUILDROOT/nvme-cli-2.4-2.el9.x86_64
+ RPM_EC=0
++ jobs -p
+ exit 0

Comment 7 errata-xmlrpc 2023-11-07 08:51:44 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 (nvme-cli 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/RHEA-2023:6604