Date: Fri, 19 Jul 2002 13:37:31 +1000 From: Edwin Groothuis <edwin@mavetju.org> To: Cyrille Lefevre <cyrille.lefevre@laposte.net> Cc: Thierry Thomas <thierry@pompo.net>, ports@FreeBSD.ORG Subject: Re: Possibly unbuildable ports reminder Message-ID: <20020719033731.GI574@k7.mavetju> In-Reply-To: <20020718070809.GA6946@gits.dyndns.org> References: <200207141700.g6EH021r064341@freefall.freebsd.org> <20020716220633.GA32807@hobbes.oban.frmug.org> <20020717195442.GA17100@gits.dyndns.org> <20020717201231.GA84947@graf.pompo.net> <20020718070809.GA6946@gits.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 18, 2002 at 09:08:09AM +0200, Cyrille Lefevre wrote: > On Wed, Jul 17, 2002 at 10:12:31PM +0200, Thierry Thomas wrote: > > Le 17 jul 02 à 21:54:42 +0000, Cyrille Lefevre écrivait : > > > > For 4-STABLE, a lot of build errors are similar to: > > > > > > > > sed: illegal option -- i > > > > usage: sed script [-Ean] [file ...] > > > > sed [-an] [-e script] ... [-f script_file] ... [file ...] > > > > *** Error code 1 > > > > > > > > Is it because the build environment does not have a recent 'sed' yet? > > > > > > if I'm right, the problem come from a misplaced USE_REINPLACE. > > > USE_REINPLACE *must* be before .include <bsd.port.pre.mk>, not after. > > > > I do not think so: for example, there is this error for news/newsx > > > > <URL:http://bento.freebsd.org/errorlogs/4-full/newsx-1.4.6.log> > > > > and it does not include bsd.port.pre.mk. > > same here w/ a port working some days ago (i.e. isc-dhcp3). > so, something has changed in bsd.port.mk which breaks USE_REINPLACE. > > # pwd > /usr/ports/net/isc-dhcp3 > # make -V REINPLACE_CMD > sed -i.bak It's not. It's broken because /usr/local/bin/sed_inplace isn't listed as a dependancy for a package. Which is true. But it is a dependancy for a port. Which is true. And confusing. For both the port and me. And you probably too :-) Possible solutions? - Add textproc/sed_inplace as a run-dependency if the port has USE_REINPLACE. Cons: sed_inplace isn't a run-dependency. - Automatic install textproc/sed_inplace even if it's not needed. Cons: It doesn't check if the USE_REINPLACE is defined properly. - Update /usr/bin/sed to the version which understands the -i parameter. - Wait until Bento has FreeBSD 460101 installed: 4.6-STABLE after MFC of `sed -i' I would go for the last solution. Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Weblog: http://www.mavetju.org/weblog/weblog.php bash$ :(){ :|:&};: | Interested in MUDs? http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020719033731.GI574>