portmaster: "No valid installed port, or port directory given"??!?

David Wolfskill david at catwhisker.org
Thu Sep 3 11:40:44 UTC 2015


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.

Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
Those who would murder in the name of God or prophet are blasphemous cowards.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20150903/93d8b139/attachment.bin>


More information about the freebsd-ports mailing list