2.6.29.1-102.fc11 --with vanilla broken

Chuck Anderson cra at WPI.EDU
Tue Apr 28 15:17:04 UTC 2009


On Tue, Apr 28, 2009 at 11:08:05AM -0400, Chuck Ebbert wrote:
> On Wed, 22 Apr 2009 18:18:07 -0400
> Chuck Anderson <cra at WPI.EDU> wrote:
> 
> > ERROR: Patch  linux-2.6-build-nonintconfig.patch  not listed as a 
> > source patch in specfile
> > error: Bad exit status from /var/tmp/rpm-tmp.8pegaB (%prep)
> > 
> > this is due to the following code in ApplyPatch():
> > 
> >   if ! egrep "^Patch[0-9]+: $patch\$" %{_specdir}/%{name}.spec ; then
> >     if [ "${patch:0:10}" != "patch-2.6." ] ; then
> >       echo "ERROR: Patch  $patch  not listed as a source patch in specfile"
> >       exit 1
> >     fi
> >   fi 2>/dev/null
> > 
> 
> It's trying to grep in {_specdir}/kernel-vanilla.spec because of the ugly name-munging
> that's used to build the vanilla kernel.
> 
> Fixed in 2.6.29.1-114:
> 
>   if ! egrep "^Patch[0-9]+: $patch\$" %{_specdir}/${RPM_PACKAGE_NAME%%%%%{?variant}}.spec ; then

Great.  I ended up having lots of other issues with vanilla build.  At 
some point during the build, the "make oldconfig" becomes interactive 
during the %install phase.  I answer all the questions with default 
values (hitting enter on each one) and then the build fails.  I also 
see some interesting thigs with ia64.  Why is it messing with ia64 
configs?

Excerpts:

Building for target noarch
...
+ Arch=ia64
+ make ARCH=ia64 loose_nonint_oldconfig
/home/cra/rpmbuild/BUILD/kernel-2.6.29/linux-2.6.29.noarch/arch/ia64/scripts/check-segrel.S: 
Assembler messages:
/home/cra/rpmbuild/BUILD/kernel-2.6.29/linux-2.6.29.noarch/arch/ia64/scripts/check-segrel.S:1: 
Error: unknown pseudo-op: `.rodata'
/home/cra/rpmbuild/BUILD/kernel-2.6.29/linux-2.6.29.noarch/arch/ia64/scripts/check-segrel.S:2: 
Error: no such instruction: `data4 @segrel(start)'
objdump: '/tmp/out12892': No such file
/home/cra/rpmbuild/BUILD/kernel-2.6.29/linux-2.6.29.noarch/arch/ia64/scripts/toolchain-flags: 
line 19: [: !=: unary operator expected
/home/cra/rpmbuild/BUILD/kernel-2.6.29/linux-2.6.29.noarch/arch/ia64/scripts/check-text-align.S: 
Assembler messages:
/home/cra/rpmbuild/BUILD/kernel-2.6.29/linux-2.6.29.noarch/arch/ia64/scripts/check-text-align.S:1: 
Error: unknown pseudo-op: `.proc'
/home/cra/rpmbuild/BUILD/kernel-2.6.29/linux-2.6.29.noarch/arch/ia64/scripts/check-text-align.S:2: 
Error: unknown pseudo-op: `.prologue'
/home/cra/rpmbuild/BUILD/kernel-2.6.29/linux-2.6.29.noarch/arch/ia64/scripts/check-text-align.S:3: 
Error: unknown pseudo-op: `.save'
/home/cra/rpmbuild/BUILD/kernel-2.6.29/linux-2.6.29.noarch/arch/ia64/scripts/check-text-align.S:6: 
Error: unknown pseudo-op: `.endp'
readelf: Error: '/tmp/out12892': No such file
/home/cra/rpmbuild/BUILD/kernel-2.6.29/linux-2.6.29.noarch/arch/ia64/scripts/check-gas-asm.S: 
Assembler messages:
/home/cra/rpmbuild/BUILD/kernel-2.6.29/linux-2.6.29.noarch/arch/ia64/scripts/check-gas-asm.S:1: 
Error: junk at end of line, first unrecognized character is `['
/home/cra/rpmbuild/BUILD/kernel-2.6.29/linux-2.6.29.noarch/arch/ia64/scripts/check-gas-asm.S:2: 
Error: unknown pseudo-op: `.xdata4'
objdump: '/tmp/out12918.o': No such file
/home/cra/rpmbuild/BUILD/kernel-2.6.29/linux-2.6.29.noarch/arch/ia64/scripts/check-gas: 
line 10: [: !=: unary operator expected
+ echo '# ia64'
...


Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.RmV63c
+ umask 022
+ cd /home/cra/rpmbuild/BUILD
+ cd kernel-2.6.29
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd linux-2.6.29.noarch
+ make 
INSTALL_FW_PATH=/home/cra/rpmbuild/BUILDROOT/kernel-vanilla-2.6.29.1-102.fc10.noarch/lib/firmware 
firmware_install
scripts/kconfig/conf -s arch/x86/Kconfig
*
* Restart config...
*
*
* Enable the block layer
*
Enable the block layer (BLOCK) [Y/?] y
  Support for large block devices and files (LBD) [N/y/?] (NEW) 
aborted!

Console input/output is redirected. Run 'make oldconfig' to update 
configuration.

make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
...
/bin/sh: 
/home/cra/rpmbuild/BUILD/kernel-2.6.29/linux-2.6.29.noarch/scripts/ihex2fw: 
No such file or directory
make[1]: *** [firmware/dabusb/firmware.fw] Error 127
make: *** [firmware_install] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.RmV63c (%install)
...
   File listed twice: /usr/src/kernels/2.6.29.1-102.fc10.i686.PAE/usr
    File listed twice: 
/usr/src/kernels/2.6.29.1-102.fc10.i686.PAE/usr/Kconfig
    File listed twice: 
/usr/src/kernels/2.6.29.1-102.fc10.i686.PAE/usr/Makefile
    Bad exit status from /var/tmp/rpm-tmp.RmV63c (%install)




More information about the Fedora-kernel-list mailing list