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 1303249 - Kernel RPM packages built from source fail to install due to wrong requirements: 'kysm' instead of kernel'
Summary: Kernel RPM packages built from source fail to install due to wrong requiremen...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: redhat-rpm-config
Version: 6.7
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Florian Festi
QA Contact: Karel Srot
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-29 22:37 UTC by Oliver Kurth
Modified: 2016-05-11 01:03 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-11 01:03:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
repclace LANG=C with LC_ALL=C (2.23 KB, patch)
2016-01-29 23:19 UTC, Oliver Kurth
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0948 0 normal SHIPPED_LIVE redhat-rpm-config bug fix update 2016-05-10 22:56:02 UTC

Description Oliver Kurth 2016-01-29 22:37:36 UTC
Description of problem:

Kernel RPM packages built from source fail to install due to wrong requirements: 'kysm' instead of kernel'

The issue looks very similar to bugs https://bugzilla.redhat.com/show_bug.cgi?id=642768 and https://bugzilla.redhat.com/show_bug.cgi?id=767738

Version-Release number of selected component (if applicable):
9.0.3-44

How reproducible:
always

Steps to Reproduce:
Set LC_ALL=en_US.UTF-8 and build kmod package from source, eg:

rpmbuild --rebuild vmware-tools-pvscsi-1.2.3.0-2.6.32.71.el6.i686.5.el6.src.rpm
and try to install the resultin binary rpm. It  will fail.

Actual results:
error: Failed dependencies:
...
 ksym(free_pages) = 0x4302d0eb is needed by kmod-vmware-tools-pvscsi-0:1.2.3.0-2.6.32.573.el6.x86_64.5.el6.x86_64
 ksym(scsi_add_device) = 0x9d8c0f66 is needed by kmod-vmware-tools-pvscsi-0:1.2.3.0-2.6.32.573.el6.x86_64.5.el6.x86_64


Expected results:
No failed depenencies on kernel symbols.

Additional info:

The issue can be fixed easily by replacing all occurrences of LANG=C with LC_ALL=C in /usr/lib/rpm/redhat/find-requires.ksyms

Comment 2 Oliver Kurth 2016-01-29 23:19:53 UTC
Created attachment 1119548 [details]
repclace LANG=C with LC_ALL=C

Attaching a patch that fixes the problem. All it does is s/LANG=C/LC_ALL=C/g.

Comment 6 Ľuboš Kardoš 2016-02-09 14:25:52 UTC
Yes, we can fix it in 6.8.

Comment 9 Ľuboš Kardoš 2016-02-09 15:46:23 UTC
The real problem here is:
    
    LANG=C join -t '\t' -j 1 ...

Delimiter '\t' is literally interpreted as '\t' and not as a tabulator. This confuses join command and it is not able to join input data correctly.

I replaced '\t' with $'\t' and to be 100% sure, I also added LC_LANG=C.

Fixed in redhat-rpm-config-9.0.3-48.el6

Comment 10 Ľuboš Kardoš 2016-02-09 15:47:11 UTC
s/LC_LANG/LC_ALL/

Comment 13 errata-xmlrpc 2016-05-11 01:03: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, 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://rhn.redhat.com/errata/RHBA-2016-0948.html


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