Bug 2072377

Summary: Fix build warnings that occur when installing the keymap files
Product: Red Hat Enterprise Linux 8 Reporter: Thomas Huth <thuth>
Component: qemu-kvmAssignee: Miroslav Rezanina <mrezanin>
qemu-kvm sub component: General QA Contact: Yiqian Wei <yiwei>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: low CC: coli, ddepaula, jinzhao, jmaloy, juzhang, mrezanin, virt-maint
Version: 8.7Keywords: Triaged
Target Milestone: rc   
Target Release: 8.7   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-6.2.0-10.module+el8.7.0+14901+eadd11c6 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-08 09:19:55 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 Thomas Huth 2022-04-06 07:51:22 UTC
Description of problem:
When looking at a build log e.g. here:
http://download.eng.bos.redhat.com/brewroot/vol/rhel-8/packages/qemu-kvm/6.2.0/11.module+el8.6.0+14712+f96656d3/data/logs/x86_64/build.log
there are lots of harmless but distracting warnings like this:

*** WARNING: ./usr/share/qemu-kvm/keymaps/ar is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/qemu-kvm/keymaps/bepo is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/qemu-kvm/keymaps/cz is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/qemu-kvm/keymaps/da is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/qemu-kvm/keymaps/de is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/qemu-kvm/keymaps/de-ch is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/qemu-kvm/keymaps/en-gb is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/qemu-kvm/keymaps/en-us is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/qemu-kvm/keymaps/es is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/qemu-kvm/keymaps/et is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/qemu-kvm/keymaps/fi is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/qemu-kvm/keymaps/fo is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/qemu-kvm/keymaps/fr is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/qemu-kvm/keymaps/fr-be is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/qemu-kvm/keymaps/fr-ca is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/qemu-kvm/keymaps/fr-ch is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/qemu-kvm/keymaps/hr is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/qemu-kvm/keymaps/hu is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/qemu-kvm/keymaps/is is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/qemu-kvm/keymaps/it is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/qemu-kvm/keymaps/ja is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/qemu-kvm/keymaps/lt is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/qemu-kvm/keymaps/lv is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/qemu-kvm/keymaps/mk is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/qemu-kvm/keymaps/nl is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/qemu-kvm/keymaps/no is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/qemu-kvm/keymaps/pl is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/qemu-kvm/keymaps/pt is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/qemu-kvm/keymaps/pt-br is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/qemu-kvm/keymaps/ru is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/qemu-kvm/keymaps/th is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/qemu-kvm/keymaps/tr is executable but has no shebang, removing executable bit

and also:

*** WARNING: ./usr/lib64/qemu-kvm/tests-src/tests/Makefile.include is executable but has no shebang, removing executable bit

It would be good to avoid these warnings by using the "-m" switch of the install command.

Version-Release number of selected component (if applicable):
qemu-kvm-6.2.0-11.module+el8.6.0+14712+f96656d3

How reproducible:
100%

Actual results:
Lots of warnings in the build log

Expected results:
No warnings in the build log

Comment 1 Danilo de Paula 2022-04-11 19:50:04 UTC
@mrezanin might take a look into this?

Comment 2 Miroslav Rezanina 2022-04-12 10:45:59 UTC
Yes, fixing the issue is simple. Targeting 8.7 (and will include the changes for QEMU 7.0.0 rebase too).

Comment 4 Yanan Fu 2022-04-22 06:27:26 UTC
QE bot(pre verify): Set 'Verified:Tested,SanityOnly' as gating/tier1 test pass.

Comment 10 errata-xmlrpc 2022-11-08 09:19:55 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 (Low: 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:7472