problem patching with 004: RELIABILITY FIX: November 17, 2010

2010-11-19 Thread FUGU
I experience the following when I try to patch with 004 patch on openbsd 4.8

=== mount_portal
make: don't know how to make /usr/src/sys/sys/simplelock.h. Stop in
/usr/src/sbin/mount_portal.
*** Error code 2

Stop in /usr/src/sbin (line 48 of /usr/share/mk/bsd.subdir.mk).

Has anyone encountered this?
I have encountered this on macppc system and on amd64.
Both systems are 4.8 with the 3 previous errata patches applied.


Both systems are updated from 4.7(perhaps this is to blame)
I will try this on a clean install of 4.8 when I get home from work.



Re: problem patching with 004: RELIABILITY FIX: November 17, 2010

2010-11-19 Thread FUGU
ok, thnx for the reply :)

On Fri, Nov 19, 2010 at 11:00 AM, Richard Toohey
richardtoo...@paradise.net.nz wrote:
 On 19/11/2010, at 9:01 PM, FUGU wrote:

 I experience the following when I try to patch with 004 patch on openbsd 4.8

 === mount_portal
 make: don't know how to make /usr/src/sys/sys/simplelock.h. Stop in
 /usr/src/sbin/mount_portal.
 *** Error code 2

 Stop in /usr/src/sbin (line 48 of /usr/share/mk/bsd.subdir.mk).

 Has anyone encountered this?
 I have encountered this on macppc system and on amd64.
 Both systems are 4.8 with the 3 previous errata patches applied.


 Both systems are updated from 4.7(perhaps this is to blame)
 I will try this on a clean install of 4.8 when I get home from work.


 Yes, I get the same error on amd64 upgraded from 4.7 to 4.8.

 This thread is for you:

 http://marc.info/?l=openbsd-miscm=127574687031774w=2

 And read this ...

 http://www.openbsd.org/faq/faq10.html#Patches

 ... and this ...

 http://www.openbsd.org/faq/faq5.html#BldUserland

 HTH.



Re: problem patching with 004: RELIABILITY FIX: November 17, 2010

2010-11-19 Thread Richard Toohey
On 19/11/2010, at 9:01 PM, FUGU wrote:

 I experience the following when I try to patch with 004 patch on openbsd
4.8

 === mount_portal
 make: don't know how to make /usr/src/sys/sys/simplelock.h. Stop in
 /usr/src/sbin/mount_portal.
 *** Error code 2

 Stop in /usr/src/sbin (line 48 of /usr/share/mk/bsd.subdir.mk).

 Has anyone encountered this?
 I have encountered this on macppc system and on amd64.
 Both systems are 4.8 with the 3 previous errata patches applied.


 Both systems are updated from 4.7(perhaps this is to blame)
 I will try this on a clean install of 4.8 when I get home from work.


Yes, I get the same error on amd64 upgraded from 4.7 to 4.8.

This thread is for you:

http://marc.info/?l=openbsd-miscm=127574687031774w=2

And read this ...

http://www.openbsd.org/faq/faq10.html#Patches

... and this ...

http://www.openbsd.org/faq/faq5.html#BldUserland

HTH.



Re: problem patching with 004: RELIABILITY FIX: November 17, 2010

2010-11-19 Thread FUGU
After removing /usr/obj/* problem solved.
I should have read the docs.

On Fri, Nov 19, 2010 at 12:28 PM, FUGU fugu...@gmail.com wrote:
 After removing /usr/obj/* problem solved.
 Thnx

 On Fri, Nov 19, 2010 at 11:56 AM, FUGU fugu...@gmail.com wrote:
 ok, thnx for the reply :)

 On Fri, Nov 19, 2010 at 11:00 AM, Richard Toohey
 richardtoo...@paradise.net.nz wrote:
 On 19/11/2010, at 9:01 PM, FUGU wrote:

 I experience the following when I try to patch with 004 patch on openbsd 
 4.8

 === mount_portal
 make: don't know how to make /usr/src/sys/sys/simplelock.h. Stop in
 /usr/src/sbin/mount_portal.
 *** Error code 2

 Stop in /usr/src/sbin (line 48 of /usr/share/mk/bsd.subdir.mk).

 Has anyone encountered this?
 I have encountered this on macppc system and on amd64.
 Both systems are 4.8 with the 3 previous errata patches applied.


 Both systems are updated from 4.7(perhaps this is to blame)
 I will try this on a clean install of 4.8 when I get home from work.


 Yes, I get the same error on amd64 upgraded from 4.7 to 4.8.

 This thread is for you:

 http://marc.info/?l=openbsd-miscm=127574687031774w=2

 And read this ...

 http://www.openbsd.org/faq/faq10.html#Patches

 ... and this ...

 http://www.openbsd.org/faq/faq5.html#BldUserland

 HTH.



Re: problem patching with 004: RELIABILITY FIX: November 17, 2010

2010-11-19 Thread Daniel A. Ramaley
On 2010-11-19 at 07:22:29, FUGU wrote:
I should have read the docs.

With OpenBSD and its excellent documentation, that's usually the 
solution. I can't count the number of times i was about to post to this 
list asking for help but ended up not sending anything because in the 
process of researching my problem i found the answers i needed. 
Occasionally the answers are in the list archive, but more commonly in 
the man pages or the FAQ.

__
Daniel A. Ramaley
Network Engineer 2

Dial Center 118, Drake University
2407 Carpenter Ave / Des Moines IA 50311 USA
Tel: +1 515 271-4540
Fax: +1 515 271-1938
E-mail: daniel.rama...@drake.edu