Bug 625843 - kmod build fails with latest kmodtool
Summary: kmod build fails with latest kmodtool
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: driver-update-program
Version: 6.0
Hardware: All
OS: Linux
low
high
Target Milestone: rc
: ---
Assignee: Jon Masters
QA Contact: Qian Cai
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-20 15:23 UTC by Martin Wilck
Modified: 2010-08-23 22:20 UTC (History)
2 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2010-08-20 20:23:12 UTC


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

Description Martin Wilck 2010-08-20 15:23:14 UTC
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 20:23:12 UTC
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 21:53:19 UTC
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 08:20:34 UTC
(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 09:25:44 UTC
(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 10:02:35 UTC
After re-initializing the mock buildroot, the build went fine. Sorry for the noise.

Comment 9 Jon Masters 2010-08-23 22:20:18 UTC
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.