Bug 625843
Summary: | kmod build fails with latest kmodtool | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Martin Wilck <martin.wilck> | ||||
Component: | driver-update-program | Assignee: | Jon Masters <jcm> | ||||
Status: | CLOSED NOTABUG | QA Contact: | Qian Cai <qcai> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 6.0 | CC: | bzeranski, ltroan | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-08-20 20:23:12 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Can you reproduce this with my ddiskit v2.4 example? I do not see such problems with file lists here on 20100815 (snapshot 12), and my examples are building and working fine on RHEL6 with redhat-rpm-config 9.0.3-25.el6. They install into /lib/modules/2.6.32-63.el6.x86_64 as expected. Please tell me: 1). What are you building on? Exactly. 2). What are you building? Do you have the SPEC file, or snippet for me? Jon. It might be that we need to get you a newer snapshot. Do you expect to receive snapshot 12 and/or 13? Jon. (In reply to comment #5) > It might be that we need to get you a newer snapshot. Do you expect to receive > snapshot 12 and/or 13? Yes, when they're ready for partners. I was building using mock on a clean snapshot 11 platform. That's the latest I have. (In reply to comment #6) > I was building using mock on a clean snapshot 11 platform. That's the latest I > have. That's what I thought I was doing. For some reason mock didn't update the redhat-rpm-config package in the chroot cleanly. After re-initializing the mock buildroot, the build went fine. Sorry for the noise. No problem at all! And thanks, again, for your attention and help, Martin. |
Created attachment 439973 [details] mock build log from snapshot 11 Description of problem: The kmodtool from redhat-rpm-config 9.0.3-25 has the %{_target_cpu} macro removed from paths in various places. That is wrong Version-Release number of selected component (if applicable): redhat-rpm-config 9.0.3-25 How reproducible: always Steps to Reproduce: 1. build kmod with current kmodtool Actual results: Build error (bad file list) Expected results: No build error Additional info: The bad path in %files causes the build error, but I am positive that %{_target_cpu} is missing in paths in various other places.