Bug 144529 - rpmbuild from kernel-2.6.9-1.724_FC3.src.rpm fails
Summary: rpmbuild from kernel-2.6.9-1.724_FC3.src.rpm fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Dave Jones
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-01-07 22:20 UTC by Joe Christy
Modified: 2015-01-04 22:15 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-01-12 18:28:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
log from a failed rpmbuild (32.44 KB, text/plain)
2005-01-07 22:20 UTC, Joe Christy
no flags Details

Description Joe Christy 2005-01-07 22:20:41 UTC
Description of problem:
One can't execute rpmbuild -bp with kernel-2.6.9-1.724_FC3.src.rpm.


Version-Release number of selected component (if applicable):
kernel-2.6.9-1.724_FC3.src.rpm

How reproducible:
Every time

Steps to Reproduce:
1. rpm -ivh kernel-2.6.9-1.724_FC3.src.rpm
2. rpmbuild -bp --target=i686 kernel-2.6.spec
3. Groan
  
Actual results:
rpmbuild dies running oldconfig over all the config files.
Specifically make ARCH=i386 nonint_oldconfig trys to assign many  nonexistent
symbols.

Expected results:
rpmbuild finishes

Additional info:
cf. attached build log

Comment 1 Joe Christy 2005-01-07 22:20:41 UTC
Created attachment 109502 [details]
log from a failed rpmbuild

Comment 2 Dave Jones 2005-01-08 02:43:56 UTC
it's complaining about the lack of CONFIG_MEGARAID_LEGACY. (The other warnings
are just informational, and won't cause any problems).

Why it's doing that I'm not sure, as it's definitly defined here...

configs/kernel-2.6.9-i586.config:CONFIG_MEGARAID_LEGACY=m
configs/kernel-2.6.9-i586-smp.config:CONFIG_MEGARAID_LEGACY=m
configs/kernel-2.6.9-i686.config:CONFIG_MEGARAID_LEGACY=m
configs/kernel-2.6.9-i686-hugemem.config:CONFIG_MEGARAID_LEGACY=m
configs/kernel-2.6.9-i686-smp.config:CONFIG_MEGARAID_LEGACY=m
configs/kernel-2.6.9-ia64.config:CONFIG_MEGARAID_LEGACY=m
configs/kernel-2.6.9-ppc64.config:CONFIG_MEGARAID_LEGACY=m
configs/kernel-2.6.9-ppc64iseries.config:CONFIG_MEGARAID_LEGACY=m
configs/kernel-2.6.9-ppc.config:CONFIG_MEGARAID_LEGACY=m
configs/kernel-2.6.9-x86_64.config:CONFIG_MEGARAID_LEGACY=m
configs/kernel-2.6.9-x86_64-smp.config:CONFIG_MEGARAID_LEGACY=m


Comment 3 Joe Christy 2005-01-12 17:11:23 UTC
The problem no longer exists with kernel-2.6.10-1.737_FC3.src.rpm

Comment 4 Joe Christy 2005-01-12 17:21:45 UTC
FWIW, I think the problem was simply in the packaging. After I submitted the
bug, I noticed that the spec file, towards the end of pre, was iterating
oldconfig over a list of directories that it had generated by reading from the
BUILD tree on disc. Unfortunately, there was a spurious i386 subdirectory that
sent rpmbuild off trying to config an i386 kernel, which hasn't been supported
for some time.

In any case, a) the rpmbuild failure nonetheless left me with the bits I needed
to (attempt to) build a custom kernel for my Pentium M laptop (which wouldn't
compile with the tweaks i wanted anyway), and b) the latest kernel src.rpm
doesn't suffer from the problem (and I built my custom kernel w/o problems).


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