From owner-freebsd-ports@FreeBSD.ORG Fri Sep 2 04:36:20 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7B1B16A41F for ; Fri, 2 Sep 2005 04:36:20 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from smtp1.utdallas.edu (smtp1.utdallas.edu [129.110.10.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69A4A43D49 for ; Fri, 2 Sep 2005 04:36:20 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from utd51056.campus.ad.utdallas.edu (dialup-4.88.37.45.Dial1.Atlanta1.Level3.net [4.88.37.45]) by smtp1.utdallas.edu (Postfix) with ESMTP id 6F77B388D36; Thu, 1 Sep 2005 23:36:16 -0500 (CDT) Date: Thu, 01 Sep 2005 23:36:17 -0500 From: Paul Schmehl To: robert@webtent.com, FreeBSD Ports Message-ID: In-Reply-To: <1125403722.10883.5.camel@columbus> References: <1125403722.10883.5.camel@columbus> X-Mailer: Mulberry/4.0.0 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: broken getopt 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: Fri, 02 Sep 2005 04:36:20 -0000 --On Tuesday, August 30, 2005 8:08 AM -0400 Robert Fitzpatrick wrote: >> > Victor referred me to the archives after finding out I have linked >> > Postfix with a broken GNU getopt(), but I have not been able to come up >> > with the solution. My current getopt package is gengetopt-2.11, should >> > I resort to an earlier version and re-compile Postfix? >> > >> >> Look at the definition of GETOPT in src/util/sys_defs.h, this expects the >> GNU getopt on Linux, and the standard GETOPT on BSD and other systems. >> Problems happen when you link with a GNU getopt on a non GNU libc (i.e. >> Linux) system. >> >> If you really must link Postfix with libraries that slurp-up GNU getopt, >> "fix" the definition of GETOPT() in sys/util/sys_defs.h. Perhaps there >> should be a CCARGS override for this... >> > > I'll have to say I have no idea what these guys are talking about on the > Postfix list, it must be some port I've installed that has linked in a > way they suggest. I have not done anything except install very common > ports on this FreeBSD mail server with no special linking or compile > options, etc. All ran smooth until the latest portupgrade of Postfix and > other related packages - amavisd-new, SpamAssassin, etc. Can someone > here perhaps suggest how I might track down this problem? > make rmconfig, then run install again - this time don't select SPF. That should solve your problem. The problem isn't with gnu getopt. It's with SPF. Paul Schmehl (pauls@utdallas.edu) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/