On Sat, Nov 11, 2006 at 04:25:29PM +0100, Federico Giannici wrote: > I have written that I upgraded to -stable the KERNEL (src/sys) and > compiled a new one. > > THEN I extracted the src.tar.gz archive, patched it with > "002_openssl.patch", and note that the patch SUCCEDED. > > Then I tried to compile the library (following instruction in the head > of the patch) and, after a while, the compilation aborted.
You do not appear to understand how to update OpenBSD properly. The errata patches are designed to be used with -release. The kernel source tarball (sys.tar.gz) and the userland source tarball (src.tar.gz) together make up the -release source tree. The -stable flavor requires the use of AnonCVS, CVSup, or CTM against the complete source tree, which includes *both* the kernel and userland sources. The CVS source tree for kernel and userland is inseparate. You say you've updated only the kernel to -stable, and now wish to update userland to -release+patches. This is not possible with the CVS structure unless you make a specific effort to do so with AnonCVS, and is not supported by the OpenBSD project. Kernel, Userland, and Ports trees should be kept in sync. Please read the FAQ.