Date: Thu, 3 Sep 2015 10:11:00 -0700 From: Bryan Drewery <bdrewery@FreeBSD.org> To: David Wolfskill <david@catwhisker.org>, freebsd-ports@freebsd.org Subject: Re: portmaster: "No valid installed port, or port directory given"??!? Message-ID: <55E87F24.8060505@FreeBSD.org> In-Reply-To: <20150903114036.GA17650@albert.catwhisker.org> References: <20150901115940.GC17650@albert.catwhisker.org> <20150903114036.GA17650@albert.catwhisker.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 9/3/15 4:40 AM, David Wolfskill wrote: > On Tue, Sep 01, 2015 at 04:59:40AM -0700, David Wolfskill wrote: >> ... >> Further, I encountered a similar symptom (as described above re: the >> portmaster whine) on my build machine, running: >> ... >> >> And in this case, I was thinking of doing the Perl upgrade, so: >> >> Script started on Tue Sep 1 04:10:12 2015 >> command: portmaster -o lang/perl5.22 perl5.18-5.18.4_15 >> 0;portmaster: lang/perl5.22^G >> ===>>> Port directory: /usr/ports/lang/perl5.22 >> >> ===>>> Gathering distinfo list for installed ports >> >> ===>>> Launching 'make checksum' for lang/perl5.22 in background >> [?1049h >> >> [script renddition of a Dialog elided; I chose the default options -- dhw] >> >> ===>>> Gathering dependency list for lang/perl5.22 from ports >> ===>>> Launching child to install /net/howland/c/ports/ports-mgmt/pkg >> >> ===>>> lang/perl5.22 >> /net/howland/c/ports/ports-mgmt/pkg (1/1) >> 0;portmaster: lang/perl5.22 >> /net/howland/c/ports/ports-mgmt/pkg (1/1)^G >> ===>>> No valid installed port, or port directory given >> ===>>> Try portmaster --help >> .... > > I found a circumvention: > > freebeast(10.2-S)[6] rcsdiff -u /etc/make.conf > =================================================================== > RCS file: /etc/RCS/make.conf,v > retrieving revision 1.4 > diff -u -r1.4 /etc/make.conf > --- /etc/make.conf 2015/09/01 11:28:40 1.4 > +++ /etc/make.conf 2015/09/03 11:34:16 > @@ -1,2 +1,3 @@ > SENDMAIL_MC=/etc/mail/client.mc > SENDMAIL_ADDITIONAL_MC= /etc/mail/bastion.mc > /etc/mail/catwhisker.org.mc > +PORTSDIR=/usr/ports > freebeast(10.2-S)[7] > > Yeah: appending an explicit "PORTSDIR=/usr/ports" makes thinigs work > again. I'm fixing this in portmaster and releasing 3.17.8 shortly. It is making a bad assumption rather than trusting the value of PORTSDIR from /usr/share/mk/bsd.port.mk. -- Regards, Bryan Drewery
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55E87F24.8060505>