Re: latest sendmail patch

2006-06-20 Thread Alexander Belikov
AH Monah Baki wrote:
 Hi all,
 
 I'm trying to apply the latest patch for sendmail and on my make, I get
 the following error:
 
 cc -O2 -pipe  -DSTARTTLS -DMILTER -DFAST_PID_RECYCLE -D_FFR_USE_SETLOGIN
 -DSM_OMIT_BOGUS_WARNINGS -DNEWDB -DMAP_REGEX -DNETINET6 -DNEEDSGETIPNODE
 -DSM_CONF_SHM -DNIS -DTCPWRAPPERS
 -I/usr/src/gnu/usr.sbin/sendmail/sendmail/../sendmail
 -I/usr/src/gnu/usr.sbin/sendmail/sendmail/../include   -c
 /usr/src/gnu/usr.sbin/sendmail/sendmail/deliver.c
 /usr/src/gnu/usr.sbin/sendmail/sendmail/deliver.c: In function `deliver':
 /usr/src/gnu/usr.sbin/sendmail/sendmail/deliver.c:3269: error: syntax
 error before '' token
 /usr/src/gnu/usr.sbin/sendmail/sendmail/deliver.c:3286: error: syntax
 error before '==' token
 /usr/src/gnu/usr.sbin/sendmail/sendmail/deliver.c:3294: error: syntax
 error before '' token
 /usr/src/gnu/usr.sbin/sendmail/sendmail/deliver.c:3430: confused by
 earlier errors, bailing out
 *** Error code 1
 
 Stop in /usr/src/gnu/usr.sbin/sendmail/sendmail.
 *** Error code 1
 
 Stop in /usr/src/gnu/usr.sbin/sendmail.

AH The patch did not apply cleanly. Reinstall the 3_9_BASE sources from cvs
AH or cd and patch it again.

... or just update your source tree to OPENBSD_3_9

AH Did you apply the first sendmail patch before? If not, and they affect
AH the same places in the same file(s), you might get conflicts like this.
AH Dunno about these patches, though.

AH /Alexander



Re: latest sendmail patch

2006-06-20 Thread Moritz Grimm

Monah Baki wrote:

I'm trying to apply the latest patch for sendmail and on my make, I get
the following error:

[...]

OpenBSD 3.9-current (GENERIC) #685: Mon Apr 10 14:00:41 MDT 2006


Something is quite weird with your system. Try to run either -current, 
-release+patches or -stable (the latter two would be painful and 
unsupported downgrades in your case; a reinstall would make sense, I 
guess), and not a mix of different versions. It's what the FAQ calls 
being out of sync on several occasions, and it's lots of trouble.



Moritz



Re: latest sendmail patch

2006-06-20 Thread Nick Holland

Monah Baki wrote:

Hi all,

I'm trying to apply the latest patch for sendmail and on my make, I get
the following error:

...

OpenBSD 3.9-current (GENERIC) #685: Mon Apr 10 14:00:41 MDT 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC


Patches are for RELEASE.  Not -current.  You are running a -current, so 
you are committed to running -current, your (only) option is to upgrade 
to the most recent snapshot...which will have the fix, and you won't 
have to compile anything.



Nick.



Re: latest sendmail patch

2006-06-20 Thread Nick Holland

Nick Holland wrote:

Monah Baki wrote:

Hi all,

I'm trying to apply the latest patch for sendmail and on my make, I get
the following error:

...

OpenBSD 3.9-current (GENERIC) #685: Mon Apr 10 14:00:41 MDT 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC


Patches are for RELEASE.  Not -current.  You are running a -current, so 
you are committed to running -current, your (only) option is to upgrade 
to the most recent snapshot...which will have the fix, and you won't 
have to compile anything.


eh...
In *this case*, there are other options.
But I'm not going to detail those.  I don't like special cases... 
especially when it might encourage people to do things wrong and think 
they got away with it.


Nick.



latest sendmail patch

2006-06-19 Thread Monah Baki
Hi all,

I'm trying to apply the latest patch for sendmail and on my make, I get
the following error:

cc -O2 -pipe  -DSTARTTLS -DMILTER -DFAST_PID_RECYCLE -D_FFR_USE_SETLOGIN
-DSM_OMIT_BOGUS_WARNINGS -DNEWDB -DMAP_REGEX -DNETINET6 -DNEEDSGETIPNODE
-DSM_CONF_SHM -DNIS -DTCPWRAPPERS
-I/usr/src/gnu/usr.sbin/sendmail/sendmail/../sendmail
-I/usr/src/gnu/usr.sbin/sendmail/sendmail/../include   -c
/usr/src/gnu/usr.sbin/sendmail/sendmail/deliver.c
/usr/src/gnu/usr.sbin/sendmail/sendmail/deliver.c: In function `deliver':
/usr/src/gnu/usr.sbin/sendmail/sendmail/deliver.c:3269: error: syntax
error before '' token
/usr/src/gnu/usr.sbin/sendmail/sendmail/deliver.c:3286: error: syntax
error before '==' token
/usr/src/gnu/usr.sbin/sendmail/sendmail/deliver.c:3294: error: syntax
error before '' token
/usr/src/gnu/usr.sbin/sendmail/sendmail/deliver.c:3430: confused by
earlier errors, bailing out
*** Error code 1

Stop in /usr/src/gnu/usr.sbin/sendmail/sendmail.
*** Error code 1

Stop in /usr/src/gnu/usr.sbin/sendmail.




Partial dmesg

OpenBSD 3.9-current (GENERIC) #685: Mon Apr 10 14:00:41 MDT 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium II (GenuineIntel 686-class, 512KB L2 cache) 349 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MM
X,FXSR
real mem  = 536444928 (523872K)
avail mem = 482459648 (471152K)




Thank you

BSD Networking, Microsoft Notworking



Re: latest sendmail patch

2006-06-19 Thread Alexander Hall

Monah Baki wrote:

Hi all,

I'm trying to apply the latest patch for sendmail and on my make, I get
the following error:

cc -O2 -pipe  -DSTARTTLS -DMILTER -DFAST_PID_RECYCLE -D_FFR_USE_SETLOGIN
-DSM_OMIT_BOGUS_WARNINGS -DNEWDB -DMAP_REGEX -DNETINET6 -DNEEDSGETIPNODE
-DSM_CONF_SHM -DNIS -DTCPWRAPPERS
-I/usr/src/gnu/usr.sbin/sendmail/sendmail/../sendmail
-I/usr/src/gnu/usr.sbin/sendmail/sendmail/../include   -c
/usr/src/gnu/usr.sbin/sendmail/sendmail/deliver.c
/usr/src/gnu/usr.sbin/sendmail/sendmail/deliver.c: In function `deliver':
/usr/src/gnu/usr.sbin/sendmail/sendmail/deliver.c:3269: error: syntax
error before '' token
/usr/src/gnu/usr.sbin/sendmail/sendmail/deliver.c:3286: error: syntax
error before '==' token
/usr/src/gnu/usr.sbin/sendmail/sendmail/deliver.c:3294: error: syntax
error before '' token
/usr/src/gnu/usr.sbin/sendmail/sendmail/deliver.c:3430: confused by
earlier errors, bailing out
*** Error code 1

Stop in /usr/src/gnu/usr.sbin/sendmail/sendmail.
*** Error code 1

Stop in /usr/src/gnu/usr.sbin/sendmail.


The patch did not apply cleanly. Reinstall the 3_9_BASE sources from cvs 
or cd and patch it again.


Did you apply the first sendmail patch before? If not, and they affect 
the same places in the same file(s), you might get conflicts like this. 
Dunno about these patches, though.


/Alexander