From owner-freebsd-ports@FreeBSD.ORG Thu Mar 21 10:44:03 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2F5CA19D; Thu, 21 Mar 2013 10:44:03 +0000 (UTC) (envelope-from pol@leissner.se) Received: from mailgate.leissner.se (mailgate.leissner.se [212.3.1.210]) by mx1.freebsd.org (Postfix) with ESMTP id AC501BE8; Thu, 21 Mar 2013 10:44:02 +0000 (UTC) Received: from mailgate.leissner.se (localhost [127.0.0.1]) by mailgate.leissner.se (8.14.6/8.14.6) with ESMTP id r2LAM1gR065643; Thu, 21 Mar 2013 11:22:01 +0100 (CET) (envelope-from pol@leissner.se) Received: (from uucp@localhost) by mailgate.leissner.se (8.14.6/8.14.6/Submit) id r2LAM1CS065641; Thu, 21 Mar 2013 11:22:01 +0100 (CET) (envelope-from pol@leissner.se) Received: from pol.leissner.se(192.71.29.17), claiming to be "pol-server.leissner.se" via SMTP by mailgate.leissner.se, id smtpd2TGzwJ; Thu Mar 21 11:21:55 2013 Received: from pol-server.leissner.se (localhost [127.0.0.1]) by pol-server.leissner.se (8.14.6/8.14.5) with ESMTP id r2LALt88085327; Thu, 21 Mar 2013 11:21:55 +0100 (CET) (envelope-from pol@leissner.se) Received: (from pol@localhost) by pol-server.leissner.se (8.14.6/8.14.5/Submit) id r2LALtt2085326; Thu, 21 Mar 2013 11:21:55 +0100 (CET) (envelope-from pol@leissner.se) X-Authentication-Warning: pol-server.leissner.se: pol set sender to pol@leissner.se using -f Date: Thu, 21 Mar 2013 11:21:55 +0100 From: Peter Olsson To: Baptiste Daroussin Subject: Re: Unable to install new dialog for ports on FreeBsd 7.0 Message-ID: <20130321102155.GH949@pol-server.leissner.se> References: <20130321075634.GB34508@ithaqua.etoilebsd.net> <20130321094928.GB45222@ithaqua.etoilebsd.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130321094928.GB45222@ithaqua.etoilebsd.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Vikas Mahajan , freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Mar 2013 10:44:03 -0000 On Thu, Mar 21, 2013 at 10:49:29AM +0100, Baptiste Daroussin wrote: > On Thu, Mar 21, 2013 at 03:06:43PM +0530, Vikas Mahajan wrote: > > On 21 March 2013 13:26, Baptiste Daroussin wrote: > > > > > Try replacing the ports-mgmt/pkg/files/patch-Makefile by this one: > > > http://people.freebsd.org/~bapt/patch-Makefile > > There was no file named patch-Makefile. I created new file with contents as > > given by you, but still getting same error. > > > > > And tell me if it works. > > > > > > But please notice that 7.x is EOLed 28 feb, more and more the ports tree > > will > > > get incompatible, and if we want to follow the direction for FreeBSD 10 > > (replace > > > our make by bmake) we will need to a day or another break totally > > compatibility > > > with 7. > > > > > > Consider upgrading your boxes. > > I repeated same steps on March 13th on some other box and everything works. > > Introduction of new dialog created problem. Steps, I followed to get latest > > ports: > > # portsnap fetch > > # mv /usr/ports /usr/ports_old > > # portsnap extract > > > > > > -- > > Regards > > > > Vikas Mahajan > > I just tested on a 7.x it works out of the box. I don't know what is happening > on your system. or maybe portsnap for unknown reason is giving a wrong old > version. > > regards, > Bapt I get the sqrt error while trying to install dialog4ports on all my servers that are still running 7.4. I try installing it like this: portsnap fetch portsnap update portmaster ports-mgmt/dialog4ports I did this yesterday and also right now, same error: cc -O2 -fno-strict-aliasing -pipe -I/usr/ports/ports-mgmt/dialog4ports/work/dialog-1.1-20120706 -D_XOPEN_SOURCE_EXTENDED -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -o dialog4ports dialog4ports.o mixedlist.o arrows.o buttons.o dlg_keys.o help.o inputstr.o mouse.o mousewget.o textbox.o rc.o trace.o ui_getc.o util.o version.o -lncursesw util.o(.text+0x2ead): In function `dlg_auto_size': : undefined reference to `sqrt' *** Error code 1 1 error *** Error code 1 And, for the record, I'm really pi**ed off about the way that this clear POLA violation was introduced without mention in ports UPDATING. I ran portmaster upgrades in several servers (7.4, 8.3 and 9.0) yesterday, and all of them just skipped every config dialog with this error: env: /usr/local/bin/dialog4ports: No such file or directory Peter Olsson