Bug 625843 - kmod build fails with latest kmodtool
kmod build fails with latest kmodtool
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: driver-update-program (Show other bugs)
6.0
All Linux
low Severity high
: rc
: ---
Assigned To: Jon Masters
CAI Qian
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-20 11:23 EDT by Martin Wilck
Modified: 2010-08-23 18:20 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-08-20 16:23:12 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
mock build log from snapshot 11 (14.99 KB, application/force-download)
2010-08-20 11:23 EDT, Martin Wilck
no flags Details

  None (edit)
Description Martin Wilck 2010-08-20 11:23:14 EDT
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.
Comment 2 Jon Masters 2010-08-20 16:23:12 EDT
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.
Comment 5 Jon Masters 2010-08-20 17:53:19 EDT
It might be that we need to get you a newer snapshot. Do you expect to receive snapshot 12 and/or 13?

Jon.
Comment 6 Martin Wilck 2010-08-23 04:20:34 EDT
(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.
Comment 7 Martin Wilck 2010-08-23 05:25:44 EDT
(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.
Comment 8 Martin Wilck 2010-08-23 06:02:35 EDT
After re-initializing the mock buildroot, the build went fine. Sorry for the noise.
Comment 9 Jon Masters 2010-08-23 18:20:18 EDT
No problem at all! And thanks, again, for your attention and help, Martin.

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