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 2045945 - Can't build nbdkit packages from src nbdkit-1.24.0-3.module+el8.6.0 package
Summary: Can't build nbdkit packages from src nbdkit-1.24.0-3.module+el8.6.0 package
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: nbdkit
Version: 8.6
Hardware: x86_64
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Virtualization Maintenance
QA Contact: mxie@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-26 02:27 UTC by mxie@redhat.com
Modified: 2022-05-10 13:40 UTC (History)
12 users (show)

Fixed In Version: nbdkit-1.24.0-4.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-10 13:25:26 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-109721 0 None None None 2022-01-26 02:39:20 UTC
Red Hat Product Errata RHSA-2022:1759 0 None None None 2022-05-10 13:26:28 UTC

Description mxie@redhat.com 2022-01-26 02:27:37 UTC
Description of problem:
Can't build nbdkit packages from src nbdkit-1.24.0-3.module+el8.6.0 package

Version-Release number of selected component (if applicable):
nbdkit-1.24.0-3.module+el8.6.0+12861+13975d62.src.rpm 


How reproducible:
100%

Steps to Reproduce:
1. Build nbdkit packages from src package.

1.1 Download nbdkit src package and create .rpmmacros file 
$ cat .rpmmacros
%_topdir  %(echo $HOME)/rpmbuild
%_smp_mflags -j5

1.2 Resolve the dependence problem before rebuilding,then build nbdkit rpm packages from src package
$ rpmbuild --rebuild nbdkit-1.24.0-3.module+el8.6.0+12861+13975d62.src.rpm 
.....
+ requires test x86_64 = i686
+ echo '/home/mxie/rpmbuild/BUILD/nbdkit-1.24.0/tests/test-old-plugins.sh: ‘test x86_64 = i686’ failed with error code 1'
/home/mxie/rpmbuild/BUILD/nbdkit-1.24.0/tests/test-old-plugins.sh: ‘test x86_64 = i686’ failed with error code 1
+ echo '/home/mxie/rpmbuild/BUILD/nbdkit-1.24.0/tests/test-old-plugins.sh: test prerequisite is missing or not working'
/home/mxie/rpmbuild/BUILD/nbdkit-1.24.0/tests/test-old-plugins.sh: test prerequisite is missing or not working
+ exit 77
+ _run_cleanup_hooks
+ local _status=77 _i
+ set +e
+ trap '' INT QUIT TERM EXIT ERR
+ echo /home/mxie/rpmbuild/BUILD/nbdkit-1.24.0/tests/test-old-plugins.sh: run cleanup hooks: exit code 77
/home/mxie/rpmbuild/BUILD/nbdkit-1.24.0/tests/test-old-plugins.sh: run cleanup hooks: exit code 77
+ (( _i = 0 ))
+ (( _i < 0 ))
+ exit 77
SKIP test-old-plugins-i686-Linux-v1.18.4.sh (exit status: 77)

+ exit 1
error: Bad exit status from /var/tmp/rpm-tmp.WCKCDc (%check)


Actual results:
As description

Expected results:
Can build nbdkit packages from src nbdkit-1.24.0-3.module+el8.6.0 package successfully

Additional info:

Comment 2 Richard W.M. Jones 2022-01-26 10:55:43 UTC
The failure is:

nbdkit: qemu-img: cow-diff.qcow2: Backing file specified without backing format

This is caused by qemu 6.2.  It is fixed upstream by:

commit 618290ef33ce13b75c1a79fea1f1ffb327b5ba07
Author: Richard W.M. Jones <rjones>
Date:   Tue Aug 31 11:23:27 2021 +0100

    cow: Fix for qemu 6.1 which requires backing format

https://gitlab.com/nbdkit/nbdkit/-/commit/618290ef33ce13b75c1a79fea1f1ffb327b5ba07

Comment 5 mxie@redhat.com 2022-01-27 03:37:03 UTC
Verify the bug with nbdkit-1.24.0-4.module+el8.6.0+14028+61a29763.src.rpm

Steps:
1. Build nbdkit packages from src package.

1.1 Download nbdkit src package and create .rpmmacros file 
$ cat .rpmmacros
%_topdir  %(echo $HOME)/rpmbuild
%_smp_mflags -j5

1.2 Resolve the dependence problem before rebuilding,then build nbdkit rpm packages from src package
$ rpmbuild --rebuild nbdkit-1.24.0-4.module+el8.6.0+14028+61a29763.src.rpm
.....
Wrote: /home/mxie/rpmbuild/RPMS/x86_64/nbdkit-tar-filter-debuginfo-1.24.0-4.el8.x86_64.rpm
Wrote: /home/mxie/rpmbuild/RPMS/x86_64/nbdkit-xz-filter-debuginfo-1.24.0-4.el8.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.DTKXRR
+ umask 022
+ cd /home/mxie/rpmbuild/BUILD
+ cd nbdkit-1.24.0
+ /usr/bin/rm -rf /home/mxie/rpmbuild/BUILDROOT/nbdkit-1.24.0-4.el8.x86_64
+ exit 0
Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.pVGYbR
+ umask 022
+ cd /home/mxie/rpmbuild/BUILD
+ rm -rf nbdkit-1.24.0
+ exit 0


Result:
   Bug has been fixed, move the bug from ON_QA to VERIFIED

Comment 7 errata-xmlrpc 2022-05-10 13:25:26 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 (Moderate: virt:rhel and virt-devel:rhel security, 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/RHSA-2022:1759


Note You need to log in before you can comment on or make changes to this bug.