Description of problem: rpmbuild fails to rebuild an i686 kernel .2054_FC5 Version-Release number of selected component (if applicable): kernel-2.6.15-1.2054_FC5.src.rpm How reproducible: Always Steps to Reproduce: 1. rpm --install kernel-2.6.15-1.2054_FC5.src.rpm 2. cd SPECS; rpmbuild -ba --target i686 kernel-2.6.spec 3. Actual results: + mv kernel-2.6.15-i686-guest-PAE.config .config ++ head -1 .config ++ cut -b 3- + Arch=i386 + make ARCH=i386 nonint_oldconfig .config:2564:warning: trying to reassign symbol NI5010 .config:2567:warning: trying to reassign symbol AT1700 ... .config:3006:warning: trying to reassign symbol DVB CONFIG_DEBUG_SLAB_LEAK make[1]: *** [nonint_oldconfig] Error 1 make: *** [nonint_oldconfig] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.97488 (%prep) Expected results: successful rebuild Additional info:
Stale kernel*.config in SOURCES directory got propagated into the BUILD directory. Building with --rmsource will help avoid trouble in the next build (but not the current build), but also destroys the otherwise-useful caching effect for sequential builds of sugsequent kernel-*.src.rpm. Building with --clean does not help because the problem originates in SOURCES, not in BUILD. *** This bug has been marked as a duplicate of 182950 ***