Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jun 2006 12:10:41 +0200
From:      Rene van Hoek <rene@active8.nl>
To:        freebsd-questions@FreeBSD.org
Cc:        erik@a8.nl
Subject:   FreeBSD-SA-06:17.sendmail : sendmail/src/mime.c:106: error: number of arguments doesn't match prototype
Message-ID:  <44913221.40609@active8.nl>

next in thread | raw e-mail | index | archive | help
Hello,

While applying security advisory FreeBSD-SA-06:17.sendmail, the compilation of 
sendmail stops with error code 1.

In applying the patch, it gives me some failures. Some hunks failed.
When I continue with the compile, it stops while compiling 
contrib/sendmail/src/mime.c: on line 106.

The uname is:
FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 2005 
root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC


The output is as follows:

testmail# patch < /tmp/patch/sendmail.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: contrib/sendmail/src/deliver.c
|===================================================================
|RCS file: /home/ncvs/src/contrib/sendmail/src/deliver.c,v
|retrieving revision 1.1.1.24
|diff -u -I__FBSDID -r1.1.1.24 deliver.c
|--- contrib/sendmail/src/deliver.c     22 Mar 2006 16:39:57 -0000      1.1.1.24
|+++ contrib/sendmail/src/deliver.c     12 Jun 2006 11:42:10 -0000
--------------------------
Patching file contrib/sendmail/src/deliver.c using Plan A...
Hunk #1 failed at 4623.
Hunk #2 failed at 4654.
2 out of 2 hunks failed--saving rejects to contrib/sendmail/src/deliver.c.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: contrib/sendmail/src/mime.c
|===================================================================
|RCS file: /home/ncvs/src/contrib/sendmail/src/mime.c,v
|retrieving revision 1.1.1.14
|diff -u -I__FBSDID -r1.1.1.14 mime.c
|--- contrib/sendmail/src/mime.c        22 Mar 2006 16:39:59 -0000      1.1.1.14
|+++ contrib/sendmail/src/mime.c        12 Jun 2006 11:42:11 -0000
--------------------------
Patching file contrib/sendmail/src/mime.c using Plan A...
Hunk #1 succeeded at 80.
Hunk #2 succeeded at 96 (offset -1 lines).
Hunk #3 succeeded at 123 (offset -1 lines).
Hunk #4 succeeded at 255 (offset -1 lines).
Hunk #5 succeeded at 301 (offset -1 lines).
Hunk #6 failed at 351.
Hunk #7 succeeded at 386 (offset -8 lines).
Hunk #8 failed at 410.
2 out of 8 hunks failed--saving rejects to contrib/sendmail/src/mime.c.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: contrib/sendmail/src/sendmail.h
|===================================================================
|RCS file: /home/ncvs/src/contrib/sendmail/src/sendmail.h,v
|retrieving revision 1.1.1.27
|diff -u -I__FBSDID -r1.1.1.27 sendmail.h
|--- contrib/sendmail/src/sendmail.h    22 Mar 2006 16:40:02 -0000      1.1.1.27
|+++ contrib/sendmail/src/sendmail.h    12 Jun 2006 11:42:13 -0000
--------------------------
Patching file contrib/sendmail/src/sendmail.h using Plan A...
Hunk #1 succeeded at 942.
Hunk #2 failed at 1656.
1 out of 2 hunks failed--saving rejects to contrib/sendmail/src/sendmail.h.rej
done
testmail#

...
...
And the output of compiling sendmail:

cc -O2 -fno-strict-aliasing -pipe 
-I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src 
-I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB -DNIS 
-DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS -D_FFR_TLS_1 
-D_FFR_DEAL_WITH_ERROR_SSL   -c 
/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/mime.c
/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/mime.c: In function 
`mime8to7':
/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/mime.c:106: error: number 
of arguments doesn't match prototype
/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src/sendmail.h:1655: error: 
prototype declaration
*** Error code 1

Stop in /usr/src/usr.sbin/sendmail.
testmail#

-- 
Greetings,

Rene van Hoek
rene@active8.nl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44913221.40609>