From owner-freebsd-ports@FreeBSD.ORG Tue Jul 21 04:00:49 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 E5F971065714; Tue, 21 Jul 2009 04:00:49 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from aegis.hamla.org (aegis.hamla.org [206.251.255.39]) by mx1.freebsd.org (Postfix) with ESMTP id BEE968FC35; Tue, 21 Jul 2009 04:00:49 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from localhost (localhost [127.0.0.1]) by aegis.hamla.org (Postfix) with ESMTP id 424E15C52; Tue, 21 Jul 2009 00:03:02 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tandon.net; h= user-agent:in-reply-to:content-disposition:content-type :mime-version:references:reply-to:message-id:subject:from:date :received:received:received; s=aegis; t=1248148982; bh=xu4u/JegJ kl9OLwfFRUF1vtXoXVY9sHGL03u8UfO/YY=; b=lfVMhDJfHf/8svT7RPCVXt3D6 aZIGqpT6nr27NpTECBVMsM1H/K0tGzj/6REKxv6pVT+2X4kvcafbNu5HvNhUP++f yffUxHmW3Fl/V6nIgan5TGchGpejyRI3MkmXOhfKZtX+wKdj6su9SqIeMaDiABjK ZylW8Tf8VwlA+MdF50= Received: from aegis.hamla.org ([127.0.0.1]) by localhost (aegis.hamla.org [127.0.0.1]) (amavisd-new, port 10027) with LMTP id MgY4J9JhoexO; Tue, 21 Jul 2009 00:03:02 -0400 (EDT) Received: from shepherd.hamla.org (cpe-68-174-170-210.nyc.res.rr.com [68.174.170.210]) by aegis.hamla.org (Postfix) with ESMTPSA id C8EA65C50; Tue, 21 Jul 2009 00:03:01 -0400 (EDT) Received: by shepherd.hamla.org (Postfix, from userid 501) id C462B1A1E9EC; Tue, 21 Jul 2009 00:00:47 -0400 (EDT) Date: Tue, 21 Jul 2009 00:00:47 -0400 From: Sahil Tandon To: freebsd-ports@freebsd.org Message-ID: <20090721040047.GB22720@tandon.net> References: <4A64EE54.6080207@intersonic.se> <20090720232511.GA50935@atarininja.org> <4A6500EA.2030905@intersonic.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A6500EA.2030905@intersonic.se> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: keramida@FreeBSD.org Subject: Re: error updating Postfix X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-ports@freebsd.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2009 04:00:53 -0000 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: http://docs.FreeBSD.org/cgi/mid.cgi?87fxcvim4x.fsf -- Sahil Tandon