<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">All right, this is all my fault. Took
me a few hours to figure out :(<br>
<br>
crypto/signature/key.h is generated from public keys using gpg<br>
which probably failed (because of lack of entropy or some other<br>
reason I still need to figure out).<br>
<br>
Now, you can extract key.h from the combined patch of an older
version,<br>
recreate it yourself (grep kernel.spec for gpg, it's pretty
straightforward),<br>
or just use the attached patch.<br>
<br>
I'll be doing a kernel release in a few days, will take a closer
look what's going on.<br>
Sorry for the trouble.<br>
<br>
On 04/01/2014 11:22 AM, Kir Kolyshkin wrote:<br>
</div>
<blockquote cite="mid:533B03F7.6040508@openvz.org" type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div class="moz-cite-prefix">I will take a look, perhaps it's a
problem generating the combined patch.<br>
<br>
Edward,<br>
<br>
Why don't use use official debian kernels (<a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://ftp.openvz.org/debian/">http://ftp.openvz.org/debian/</a>)?<br>
<br>
On 04/01/2014 10:52 AM, CoolCold wrote:<br>
</div>
<blockquote
cite="mid:CAGqmV7qECSJnoMpR16qNtWcMC5z00bFo4hMc=Z9vjc69Wyup-A@mail.gmail.com"
type="cite">
<div dir="ltr">Confirming build failure of this kernel version
on Debian Squeeze amd64<br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Tue, Apr 1, 2014 at 7:54 PM,
Edward Konetzko <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:konetzed@gmail.com"
target="_blank">konetzed@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Trying
to build the kernel from source for squeeze hosts and it
fails on<br>
<br>
LD fs/dlm/built-in.o<br>
LD fs/ecryptfs/built-in.o<br>
crypto/signature/ksign-publickey.c:2:17: error: key.h: No
such file or<br>
directory<br>
crypto/signature/ksign-publickey.c: In function
‘ksign_init’:<br>
crypto/signature/ksign-publickey.c:10: error:
‘ksign_def_public_key’<br>
undeclared (first use in this function)<br>
crypto/signature/ksign-publickey.c:10: error: (Each
undeclared<br>
identifier is reported only once<br>
crypto/signature/ksign-publickey.c:10: error: for each
function it<br>
appears in.)<br>
crypto/signature/ksign-publickey.c:11: error:<br>
‘ksign_def_public_key_size’ undeclared (first use in this
function)<br>
make[3]: *** [crypto/signature/ksign-publickey.o] Error 1<br>
make[2]: *** [crypto/signature] Error 2<br>
make[1]: *** [crypto] Error 2<br>
make[1]: *** Waiting for unfinished jobs....<br>
CC fs/exportfs/expfs.o<br>
<br>
As these files don't exist in the default 2.6.32 kernel
they seem to be<br>
provided by the patch OVZ provides<br>
<br>
patching file crypto/sha512_generic.c<br>
patching file crypto/signature/dsa.c<br>
patching file crypto/signature/ksign.c<br>
patching file crypto/signature/ksign-keyring.c<br>
patching file crypto/signature/ksign-parse.c<br>
patching file crypto/signature/ksign-publickey.c<br>
patching file crypto/signature/local.h<br>
patching file crypto/signature/Makefile<br>
patching file crypto/testmgr.c<br>
<br>
Here are the links to the files used to build.<br>
<br>
<a moz-do-not-send="true"
href="http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.32.tar.bz2"
target="_blank">http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.32.tar.bz2</a><br>
<a moz-do-not-send="true"
href="http://download.openvz.org/kernel/branches/rhel6-2.6.32/042stab085.20/patches/patch-042stab085.20-combined.gz"
target="_blank">http://download.openvz.org/kernel/branches/rhel6-2.6.32/042stab085.20/patches/patch-042stab085.20-combined.gz</a><br>
<a moz-do-not-send="true"
href="http://download.openvz.org/kernel/branches/rhel6-2.6.32/042stab085.20/configs/config-2.6.32-042stab085.20.x86_64"
target="_blank">http://download.openvz.org/kernel/branches/rhel6-2.6.32/042stab085.20/configs/config-2.6.32-042stab085.20.x86_64</a><br>
<br>
Anyone have ideas?<br>
<br>
Edward<br>
</blockquote>
</div>
</div>
</blockquote>
</blockquote>
<br>
</body>
</html>