From owner-freebsd-ports@FreeBSD.ORG Tue Jul 21 13:26:51 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4678A106566C for ; Tue, 21 Jul 2009 13:26:51 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: from syn.atarininja.org (syn.csh.rit.edu [129.21.60.158]) by mx1.freebsd.org (Postfix) with ESMTP id 1712B8FC13 for ; Tue, 21 Jul 2009 13:26:50 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: by syn.atarininja.org (Postfix, from userid 1001) id 536D75C34; Tue, 21 Jul 2009 09:26:50 -0400 (EDT) Date: Tue, 21 Jul 2009 09:26:50 -0400 From: Wesley Shields To: freebsd-ports@freebsd.org Message-ID: <20090721132650.GB50935@atarininja.org> References: <4A64EE54.6080207@intersonic.se> <20090720232511.GA50935@atarininja.org> <4A6500EA.2030905@intersonic.se> <20090721040047.GB22720@tandon.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090721040047.GB22720@tandon.net> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: keramida@FreeBSD.org Subject: Re: error updating Postfix X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2009 13:26:51 -0000 On Tue, Jul 21, 2009 at 12:00:47AM -0400, Sahil Tandon wrote: > On Tue, 21 Jul 2009, Per olof Ljungmark wrote: > > > Wesley Shields wrote: > >> On Tue, Jul 21, 2009 at 12:23:16AM +0200, Per olof Ljungmark wrote: > >>> cc -DDEF_CONFIG_DIR=\"/usr/local/etc/postfix\" > >>> -DDEF_DAEMON_DIR=\"/usr/local/libexec/postfix\" > >>> -DDEF_COMMAND_DIR=\"/usr/local/sbin\" > >>> -DDEF_SENDMAIL_PATH=\"/usr/local/sbin/sendmail\" > >>> -DDEF_NEWALIAS_PATH=\"/usr/local/bin/newaliases\" > >>> -DDEF_MAILQ_PATH=\"/usr/local/bin/mailq\" > >>> -DDEF_MANPAGE_DIR=\"/usr/local/man\" > >>> -DDEF_README_DIR=\"/usr/local/share/doc/postfix\" > >>> -DDEF_HTML_DIR=\"/usr/local/share/doc/postfix\" > >>> -DDEF_QUEUE_DIR=\"/var/spool/postfix\" > >>> -DDEF_DATA_DIR=\"/var/db/postfix\" -DDEF_MAIL_OWNER=\"postfix\" > >>> -DDEF_SGID_GROUP=\"maildrop\" -DHAS_PCRE -I/usr/local/include > >>> -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/local/include > >>> -I/usr/local/include/sasl -DUSE_TLS -I/usr/include -O2 > >>> -fno-strict-aliasing -pipe -I. -DFREEBSD7 -c attr_clnt.c > >>> In file included from attr_clnt.c:77: > >>> /usr/include/unistd.h:329: error: conflicting types for 'closefrom' > >>> ./sys_defs.h:1404: error: previous declaration of 'closefrom' was here > >>> *** Error code 1 > >> > >> It was fixed on 2009/07/09. Make sure you have the latest ports tree. > > > > Hm, I updated an hour ago... from cvsup.FreeBSD.org, the makefile is > > dated July 17th when the system was also updated. > > > > 7.2-STABLE FreeBSD 7.2-STABLE #0: Fri Jul 17 17:27:43 CEST 2009 > > > > Just for the sake of it I cvsupped again just now to be sure but no > > change. What was fixed in the 9th.? I obviously need to check if > > something went wrong when I updated the system. > > On 9 Jul 2009, ports/136599 fixed build on 8.0 systems. Now that the > closefrom() system call has been MFC'd to -STABLE, a similar patch is > required for mail/postfix. This was broached on cvs-ports@ on 17 Jul 2009 > and keramida@ was testing a patch over the weekend. I've copied him on > this message. For context (and an example of all that is really needed in > ${WRKSRC}/src/util/sys_defs.h), see: Ah, I didn't realize the fix had been MFC'ed and that the machine in question was RELENG_7. That explains it. Hopefully keramida@ has time to commit it. Sorry for the noise. -- WXS