Hide Forgot
Description of problem: The kernel source file crypto/signature/key.h is missing. Version-Release number of selected component (if applicable):2.6.32-220 How reproducible:unable to build kernel Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: I was able to copy the crypto/signature/key.h file from 2.6.32-131 and successfully build the kernel.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Source rpm installed and built in local ~/rpmbuild tree. Compilation of kernel fails when it tries to build crypto/signature files. Copying key.h from 2.6.32-131 source rpm into crypto/signature allows the build to continue and successfully complete. This seemed safe to me since no other files in that directory had changed between the 131 and 220 kernels.
$ rpm -ivh kernel-2.6.32-220.el6.src.rpm ... $ rpmbuild -bp kernel.spec ... $ ls ~/rpmbuild/BUILD/kernel-2.6.32-220.el6/ linux-2.6.32-220.el6.x86_64 vanilla-2.6.32-220.el6 $ ls ~/rpmbuild/BUILD/kernel-2.6.32-220.el6/linux-2.6.32-220.el6.x86_64/crypto/signature/ dsa.c key.h ksign.c ksign-keyring.c ksign-parse.c ksign-publickey.c local.h Makefile As you can see, key.h is there. Its not in the vanilla-* dir, because its generated on the fly by kernel.spec: $ grep key.h kernel.spec scripts/bin2c ksign_def_public_key __initdata <extract.pub >crypto/signature/key.h There's no bug here, looks like you're just looking in the wrong place. Note also, that building out-of-tree modules isn't generally supposed to be done against a full rebuild of the running kernel, but rather against the running kernel's kernel-devel package.
Deleted Technical Notes Contents. Old Contents: Source rpm installed and built in local ~/rpmbuild tree. Compilation of kernel fails when it tries to build crypto/signature files. Copying key.h from 2.6.32-131 source rpm into crypto/signature allows the build to continue and successfully complete. This seemed safe to me since no other files in that directory had changed between the 131 and 220 kernels.
Ok. I was not using rpmbuild to prep the OS, extracting some of those pesky missing parts. Interesting that the kernel built as soon as the key.h file had been restored. Anyway, sorry for the panic.