Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Sep 2015 04:40:36 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: portmaster: "No valid installed port, or port directory given"??!?
Message-ID:  <20150903114036.GA17650@albert.catwhisker.org>
In-Reply-To: <20150901115940.GC17650@albert.catwhisker.org>
References:  <20150901115940.GC17650@albert.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--M9u+pkcMrQJw6us1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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:
> ...=20
>=20
> And in this case, I was thinking of doing the Perl upgrade, so:
>=20
> 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
> =3D=3D=3D>>> Port directory: /usr/ports/lang/perl5.22
>=20
> =3D=3D=3D>>> Gathering distinfo list for installed ports
>=20
> =3D=3D=3D>>> Launching 'make checksum' for lang/perl5.22 in background
> [?1049h
>=20
> [script renddition of a Dialog elided; I chose the default options -- dhw]
>=20
> =3D=3D=3D>>> Gathering dependency list for lang/perl5.22 from ports
> =3D=3D=3D>>> Launching child to install /net/howland/c/ports/ports-mgmt/p=
kg
>=20
> =3D=3D=3D>>> 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
> =3D=3D=3D>>> No valid installed port, or port directory given
> =3D=3D=3D>>> Try portmaster --help
> ....

I found a circumvention:

freebeast(10.2-S)[6] rcsdiff -u /etc/make.conf
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
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=3D/etc/mail/client.mc
 SENDMAIL_ADDITIONAL_MC=3D /etc/mail/bastion.mc
/etc/mail/catwhisker.org.mc
+PORTSDIR=3D/usr/ports
freebeast(10.2-S)[7]=20

Yeah: appending an explicit "PORTSDIR=3D/usr/ports" makes thinigs work
again.

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Those who would murder in the name of God or prophet are blasphemous coward=
s.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--M9u+pkcMrQJw6us1
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJV6DG0XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RThEMDY4QTIxMjc1MDZFRDIzODYzRTc4
QTY3RjlDOERFRjQxOTNCAAoJEIpn+cje9Bk7FXIP/3CZCL6GDMnCqcng7MK7IWdQ
r9oJd+dPG4+iUjoaY4CReGoE3X13EAsy+YpAFaRvR9nsC/oxhN2vGrOmolGWuie3
oyyscMXtzNbkrlaTS2HAsLp4V77p9N3BS3fuLMxv6bALkoD7dcGUvu8mNcwZpBqG
VeWIZTxIKmZhngTHEs/pO+lZ9KoQCU308lZ8oB9B/5VfNR2Yduk4t0TAFPgPfQep
twewbBy2kdjScpJR51d624UtX1aMNBx0mOh4PbCl2WZduAbYYXeQgHi+5VXCn06w
2F58+Zyf6vq1XqepHbn2C4/Vh7dWLJuq82YlHKC6jxlYq8oS2LT6WtDokEQVZOp7
rfcDf5Z+2fg/MIeMLOIsZZbR4epeHnr5IKKu3HnpVB4V4LMegS9azlWqIZZeE6p8
n7MeQGLO0MyzbkM8vBXqqb0oWvkdun0lJsAfgzZo7XOVJCQn/zUfMVuENMvSJiHi
eoKvYInAW/A1HKghFHhXD1BnuFTtcMr3+z23L99MkvhZUqbgJIf349EJ0KFaEe4m
pOhIvNQAWhXsPGyitOcF3CyMTZIgyWy0Sn6XBZMuGrSlfl94IHpvZ6b1o1kTNuPS
Mru/ckcN0WRzChduSAwWXKkuH9y7gs14e3yJK52Yfc4CmaABOssEEod9/B0jEY4Y
DBYzAt6rajd8ByWaT58m
=m7Kw
-----END PGP SIGNATURE-----

--M9u+pkcMrQJw6us1--



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