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 1884997 - qemu-kvm FTBFS on rhel7.9
Summary: qemu-kvm FTBFS on rhel7.9
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.9
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: ---
Assignee: Miroslav Rezanina
QA Contact: Quan Wenli
URL:
Whiteboard:
Depends On:
Blocks: 1885321
TreeView+ depends on / blocked
 
Reported: 2020-10-04 10:41 UTC by Tuomo Soini
Modified: 2021-02-02 12:07 UTC (History)
9 users (show)

Fixed In Version: qemu-kvm-1.5.3-175.el7_9.3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1885321 (view as bug list)
Environment:
Last Closed: 2021-02-02 12:07:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
End of config.log (5.02 KB, text/plain)
2020-10-04 17:33 UTC, Tuomo Soini
no flags Details

Description Tuomo Soini 2020-10-04 10:41:16 UTC
After nss-3.53.1 upgrade qemu-kvm fails to build. Configure gives this error:

ERROR: User requested feature nss
       configure was not able to find it

This configure used C code snippet fails to build (succeeds with nss-3.44.0)

#include <pk11pub.h>
int main(void) { PK11_FreeSlot(0); return 0; }

Comment 2 Tuomo Soini 2020-10-04 17:33:08 UTC
Created attachment 1718817 [details]
End of config.log

Comment 4 Tuomo Soini 2020-10-05 15:14:45 UTC
Actually that was bad testing from me. I change component to qemu-kvm because nss is not the reason for this compiler warning.

So on 7.8 build wroks.
On 7.9 build fails - and it is not about nss version. On 7.9 with old nss-3.44.0 builds fails identically.

Comment 18 Quan Wenli 2021-01-08 07:09:56 UTC
Have successfully reproduce it with qemu-kvm-1.5.3-175.el7_9.1. 

With qemu-kvm-1.5.3-175.el7_9.1:

+ ./configure --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc --interp-prefix=/usr/qemu-%M --audio-drv-list=pa,alsa --with-confsuffix=/qemu-kvm --localstatedir=/var --libexecdir=/usr/libexec --with-pkgversion=qemu-kvm-1.5.3-175.el7.test --disable-strip --disable-qom-cast-debug '--extra-ldflags=-Wl,--build-id -pie -Wl,-z,relro -Wl,-z,now' '--extra-cflags=-O2 -g -pipe -Wall  -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIE -DPIE' --enable-trace-backend=dtrace --enable-werror --disable-xen --disable-virtfs --enable-kvm --enable-libusb --enable-spice --enable-seccomp --disable-fdt --enable-docs --disable-sdl --disable-debug-tcg --disable-sparse --disable-brlapi --disable-bluez --disable-vde --disable-curses --enable-curl --enable-libssh2 --enable-vnc-tls --enable-vnc-sasl --enable-linux-aio --enable-smartcard-nss --enable-lzo --enable-snappy --enable-usb-redir --enable-vnc-png --disable-vnc-jpeg --enable-vnc-ws --enable-uuid --disable-vhost-scsi --disable-guest-agent --disable-live-block-ops --disable-live-block-migration --enable-rbd --enable-glusterfs --enable-tcmalloc --block-drv-rw-whitelist=qcow2,raw,file,host_device,blkdebug,nbd,iscsi,gluster,rbd --block-drv-ro-whitelist=vmdk,vhdx,vpc,ssh,https --iasl=/bin/false --target-list=x86_64-softmmu

ERROR: User requested feature nss
       configure was not able to find it

error: Bad exit status from /var/tmp/rpm-tmp.mxuYra (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.mxuYra (%build)
make: *** [rh-rpms] Error 1



With qemu-kvm-1.5.3-175.el7_9.3, there are no build error. so set it to VERIFIED. thanks,

Comment 23 errata-xmlrpc 2021-02-02 12:07:01 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: qemu-kvm security and bug fix 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-2021:0347


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