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 2072377 - Fix build warnings that occur when installing the keymap files
Summary: Fix build warnings that occur when installing the keymap files
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: qemu-kvm
Version: 8.7
Hardware: All
OS: Unspecified
low
low
Target Milestone: rc
: 8.7
Assignee: Miroslav Rezanina
QA Contact: Yiqian Wei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-06 07:51 UTC by Thomas Huth
Modified: 2022-11-08 09:46 UTC (History)
7 users (show)

Fixed In Version: qemu-kvm-6.2.0-10.module+el8.7.0+14901+eadd11c6
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-08 09:19:55 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gitlab redhat/rhel/src/qemu-kvm qemu-kvm merge_requests 150 0 None None None 2022-04-12 11:01:25 UTC
Red Hat Issue Tracker RHELPLAN-118003 0 None None None 2022-04-06 08:08:27 UTC
Red Hat Product Errata RHSA-2022:7472 0 None None None 2022-11-08 09:20:49 UTC

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


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