Re: Error with 002_openssl.patch (SOLVED)

2006-11-11 Thread Federico Giannici
Federico Giannici wrote: Dan Harnett wrote: On Sat, Nov 11, 2006 at 03:40:34PM +0100, Federico Giannici wrote: [...] /usr/src/lib/libssl/src/crypto/rsa/rsa_x931.c:165: error: `NID_sha256' undeclared (first use in this function) /usr/src/lib/libssl/src/crypto/rsa/rsa_x931.c:165: error:

Re: Error with 002_openssl.patch

2006-11-11 Thread Steve Tornio
On Nov 11, 2006, at 10:47 AM, Federico Giannici wrote: No, I'm SURE I executed ALL of them, including "make includes"! In fact, it is in the steps I wrote. And I repeated it a couple of times. There must be something else wrong... I happened to have a freshly-upgraded 4.0 box on hand here,

Re: Error with 002_openssl.patch

2006-11-11 Thread Piotr Jedryczek
On 11/11/06, Federico Giannici <[EMAIL PROTECTED]> wrote: OK, I can do it, but then why the patches exist if I HAVE to use -stable??? You don't have to use -stable. -- Piotr Jjdryczek RLU #271063 RBU #51278

Re: Error with 002_openssl.patch

2006-11-11 Thread Darrin Chandler
On Sat, Nov 11, 2006 at 05:44:42PM +0100, Federico Giannici wrote: > Joel Goguen wrote: > >Don't patch. Start with an empty /usr/src/ and extract fresh archives, > >then update them to -stable and recompile *ALL* userland binaries. > >These pages are your friend for this: > > OK, I can do it, but

Re: Error with 002_openssl.patch

2006-11-11 Thread Joel Goguen
If you update your kernel to -stable, you must also update your userland binaries to -stable, and your ports tree. When running -stable you don't need the patches, since the patches are applied against -release and are already incorporated into -stable. Basically, choose one. Either run -release

Re: Error with 002_openssl.patch

2006-11-11 Thread Darrin Chandler
On Sat, Nov 11, 2006 at 04:58:36PM +0100, Federico Giannici wrote: > Darrin Chandler wrote: > >So you moved your source back to -release and the patch applied. Moving > >back to -release sources on a -stable system isn't a good idea. > > Humm... > So you are saying that it's not possible compile a

Re: Error with 002_openssl.patch

2006-11-11 Thread Federico Giannici
Dan Harnett wrote: On Sat, Nov 11, 2006 at 03:40:34PM +0100, Federico Giannici wrote: [...] /usr/src/lib/libssl/src/crypto/rsa/rsa_x931.c:165: error: `NID_sha256' undeclared (first use in this function) /usr/src/lib/libssl/src/crypto/rsa/rsa_x931.c:165: error: (Each undeclared identi

Re: Error with 002_openssl.patch

2006-11-11 Thread Federico Giannici
Joel Goguen wrote: Don't patch. Start with an empty /usr/src/ and extract fresh archives, then update them to -stable and recompile *ALL* userland binaries. These pages are your friend for this: OK, I can do it, but then why the patches exist if I HAVE to use -stable??? I extracted a fresh -r

Re: Error with 002_openssl.patch

2006-11-11 Thread Joel Goguen
Don't patch. Start with an empty /usr/src/ and extract fresh archives, then update them to -stable and recompile *ALL* userland binaries. These pages are your friend for this: http://www.openbsd.org/anoncvs.html http://www.openbsd.org/stable.html Federico Giannici wrote: > Federico Giannici wrot

Re: Error with 002_openssl.patch

2006-11-11 Thread Dan Harnett
On Sat, Nov 11, 2006 at 03:40:34PM +0100, Federico Giannici wrote: [...] > >/usr/src/lib/libssl/src/crypto/rsa/rsa_x931.c:165: error: `NID_sha256' > >undeclared (first use in this function) > >/usr/src/lib/libssl/src/crypto/rsa/rsa_x931.c:165: error: (Each > >undeclared identifier i

Re: Error with 002_openssl.patch

2006-11-11 Thread Federico Giannici
Federico Giannici wrote: Darrin Chandler wrote: 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. Good. Then you should have compiled userland as well and forgotten about the patching proce

Re: Error with 002_openssl.patch

2006-11-11 Thread Josh Grosse
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

Re: Error with 002_openssl.patch

2006-11-11 Thread Federico Giannici
Darrin Chandler wrote: 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. Good. Then you should have compiled userland as well and forgotten about the patching process, since you already had

Re: Error with 002_openssl.patch

2006-11-11 Thread Joel Goguen
Try this: Update ports, src, sys, and XF4 archives to -stable as outlined on http://www.openbsd.org/anoncvs.html. After you've got -stable ports and source, re-compile your kernel and your userland as outlined on http://www.openbsd.org/stable.html. Then, while your userland binaries are recompil

Re: Error with 002_openssl.patch

2006-11-11 Thread Darrin Chandler
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. Good. Then you should have compiled userland as well and forgotten about the patching process, since you already had the patch as part o

Re: Error with 002_openssl.patch

2006-11-11 Thread Federico Giannici
z0mbix wrote: On 11/11/06, Federico Giannici <[EMAIL PROTECTED]> wrote: Dunceor wrote: > On 11/11/06, *Federico Giannici* <[EMAIL PROTECTED] > > wrote: > > I have upgraded an amd64 from 3.9 to 4.0. > I followed all the Upgrade Guide using install media. > Up

Re: Error with 002_openssl.patch

2006-11-11 Thread z0mbix
On 11/11/06, Federico Giannici <[EMAIL PROTECTED]> wrote: Dunceor wrote: > On 11/11/06, *Federico Giannici* <[EMAIL PROTECTED] > > wrote: > > I have upgraded an amd64 from 3.9 to 4.0. > I followed all the Upgrade Guide using install media. > Updated packages.

Re: Error with 002_openssl.patch

2006-11-11 Thread Federico Giannici
Dunceor wrote: On 11/11/06, *Federico Giannici* <[EMAIL PROTECTED] > wrote: I have upgraded an amd64 from 3.9 to 4.0. I followed all the Upgrade Guide using install media. Updated packages. Updated sys sources to -stable and made a new kernel. Every

Re: Error with 002_openssl.patch

2006-11-11 Thread Dunceor
On 11/11/06, Federico Giannici <[EMAIL PROTECTED]> wrote: > > I have upgraded an amd64 from 3.9 to 4.0. > I followed all the Upgrade Guide using install media. > Updated packages. > Updated sys sources to -stable and made a new kernel. > Everything worked perfectly. > > Then I download and extracte

Error with 002_openssl.patch

2006-11-11 Thread Federico Giannici
I have upgraded an amd64 from 3.9 to 4.0. I followed all the Upgrade Guide using install media. Updated packages. Updated sys sources to -stable and made a new kernel. Everything worked perfectly. Then I download and extracted "src.tar.gz". Nothing else was present in the "src" directory but "sy