[Users] Kernel builds fail 042stab085.20 x86_64

Kir Kolyshkin kir at openvz.org
Tue Apr 1 16:55:07 PDT 2014


All right, this is all my fault. Took me a few hours to figure out :(

crypto/signature/key.h is generated from public keys using gpg
which probably failed (because of lack of entropy or some other
reason I still need to figure out).

Now, you can extract key.h from the combined patch of an older version,
recreate it yourself (grep kernel.spec for gpg, it's pretty 
straightforward),
or just use the attached patch.

I'll be doing a kernel release in a few days, will take a closer look 
what's going on.
Sorry for the trouble.

On 04/01/2014 11:22 AM, Kir Kolyshkin wrote:
> I will take a look, perhaps it's a problem generating the combined patch.
>
> Edward,
>
> Why don't use use official debian kernels (http://ftp.openvz.org/debian/)?
>
> On 04/01/2014 10:52 AM, CoolCold wrote:
>> Confirming build failure of this kernel version on Debian Squeeze amd64
>>
>>
>> On Tue, Apr 1, 2014 at 7:54 PM, Edward Konetzko <konetzed at gmail.com 
>> <mailto:konetzed at gmail.com>> wrote:
>>
>>     Trying to build the kernel from source for squeeze hosts and it
>>     fails on
>>
>>     LD fs/dlm/built-in.o
>>     LD fs/ecryptfs/built-in.o
>>     crypto/signature/ksign-publickey.c:2:17: error: key.h: No such
>>     file or
>>     directory
>>     crypto/signature/ksign-publickey.c: In function 'ksign_init':
>>     crypto/signature/ksign-publickey.c:10: error: 'ksign_def_public_key'
>>     undeclared (first use in this function)
>>     crypto/signature/ksign-publickey.c:10: error: (Each undeclared
>>     identifier is reported only once
>>     crypto/signature/ksign-publickey.c:10: error: for each function it
>>     appears in.)
>>     crypto/signature/ksign-publickey.c:11: error:
>>     'ksign_def_public_key_size' undeclared (first use in this function)
>>     make[3]: *** [crypto/signature/ksign-publickey.o] Error 1
>>     make[2]: *** [crypto/signature] Error 2
>>     make[1]: *** [crypto] Error 2
>>     make[1]: *** Waiting for unfinished jobs....
>>     CC fs/exportfs/expfs.o
>>
>>     As these files don't exist in the default 2.6.32 kernel they seem
>>     to be
>>     provided by the patch OVZ provides
>>
>>     patching file crypto/sha512_generic.c
>>     patching file crypto/signature/dsa.c
>>     patching file crypto/signature/ksign.c
>>     patching file crypto/signature/ksign-keyring.c
>>     patching file crypto/signature/ksign-parse.c
>>     patching file crypto/signature/ksign-publickey.c
>>     patching file crypto/signature/local.h
>>     patching file crypto/signature/Makefile
>>     patching file crypto/testmgr.c
>>
>>     Here are the links to the files used to build.
>>
>>     http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.32.tar.bz2
>>     http://download.openvz.org/kernel/branches/rhel6-2.6.32/042stab085.20/patches/patch-042stab085.20-combined.gz
>>     http://download.openvz.org/kernel/branches/rhel6-2.6.32/042stab085.20/configs/config-2.6.32-042stab085.20.x86_64
>>
>>     Anyone have ideas?
>>
>>     Edward
>>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/users/attachments/20140401/d106a5c9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: key.patch
Type: text/x-patch
Size: 7738 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/users/attachments/20140401/d106a5c9/attachment-0001.bin>


More information about the Users mailing list