From owner-freebsd-questions@FreeBSD.ORG Thu Jun 15 10:10:48 2006 Return-Path: X-Original-To: freebsd-questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7BEE16A479 for ; Thu, 15 Jun 2006 10:10:47 +0000 (UTC) (envelope-from rene@active8.nl) Received: from sem.active8.nl (sem.active8.nl [195.86.22.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A7F143D45 for ; Thu, 15 Jun 2006 10:10:47 +0000 (GMT) (envelope-from rene@active8.nl) Received: from [192.168.0.6] (unknown [213.201.153.68]) by sem.active8.nl (Postfix) with ESMTP id 95E2273028; Thu, 15 Jun 2006 12:10:43 +0200 (CEST) Message-ID: <44913221.40609@active8.nl> Date: Thu, 15 Jun 2006 12:10:41 +0200 From: Rene van Hoek User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: erik@a8.nl Subject: FreeBSD-SA-06:17.sendmail : sendmail/src/mime.c:106: error: number of arguments doesn't match prototype X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2006 10:10:48 -0000 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