rpm -bi SPECS/kernel.spec fails with the following at the end of the output. I can supply a full log of output if required (but nothing else looked relevant to me). make -C aic7xxx_new modules make[3]: Entering directory `/usr/src/redhat/BUILD/kernel-2.4.1/linux/drivers/scsi/aic7xxx_new' aicasm/aicasm -I. -r aic7xxx_reg.h -o aic7xxx_seq.h aic7xxx.seq make[3]: aicasm/aicasm: Command not found make[3]: *** [aic7xxx_reg.h] Error 127 make[3]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.4.1/linux/drivers/scsi/aic7xxx_new' make[2]: *** [_modsubdir_aic7xxx_new] Error 2 make[2]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.4.1/linux/drivers/scsi' make[1]: *** [_modsubdir_scsi] Error 2 make[1]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.4.1/linux/drivers' make: *** [_mod_drivers] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.7696 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.7696 (%build)
Fixed in our current kernel source tree, will be in the next rawhide update.