Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2013 11:21:55 +0100
From:      Peter Olsson <pol@leissner.se>
To:        Baptiste Daroussin <bapt@freebsd.org>
Cc:        Vikas Mahajan <vikas.mahajan12@gmail.com>, freebsd-ports@freebsd.org
Subject:   Re: Unable to install new dialog for ports on FreeBsd 7.0
Message-ID:  <20130321102155.GH949@pol-server.leissner.se>
In-Reply-To: <20130321094928.GB45222@ithaqua.etoilebsd.net>
References:  <CAEd%2Bihz%2Bo6c_gbqdni-N7EfBjo=WZpXd3%2BrbbBY9zaC=A14quw@mail.gmail.com> <20130321075634.GB34508@ithaqua.etoilebsd.net> <CAEd%2BihzcvqJrN3XRYtuBDjkwRFj-Y5ry2p84w-yWvqPK3cYpFA@mail.gmail.com> <20130321094928.GB45222@ithaqua.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <bapt@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130321102155.GH949>