Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

latest sendmail patch

2 views
Skip to first unread message

Monah Baki

unread,
Jun 19, 2006, 7:50:34 PM6/19/06
to
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
der...@i386.openbsd.org:/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

Alexander Hall

unread,
Jun 19, 2006, 10:11:51 PM6/19/06
to
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

Alexander Belikov

unread,
Jun 20, 2006, 5:36:35 AM6/20/06
to
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

Nick Holland

unread,
Jun 20, 2006, 7:24:48 AM6/20/06
to
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
> der...@i386.openbsd.org:/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.

Nick Holland

unread,
Jun 20, 2006, 7:25:36 AM6/20/06
to

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.

Moritz Grimm

unread,
Jun 20, 2006, 7:50:56 AM6/20/06
to
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

0 new messages