From owner-freebsd-ports@freebsd.org Thu Sep 3 11:40:44 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 005019C9963 for ; Thu, 3 Sep 2015 11:40:44 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C6B651FAB for ; Thu, 3 Sep 2015 11:40:42 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id t83Bea2E053011 for ; Thu, 3 Sep 2015 04:40:36 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id t83Beaal053010 for freebsd-ports@freebsd.org; Thu, 3 Sep 2015 04:40:36 -0700 (PDT) (envelope-from david) Date: Thu, 3 Sep 2015 04:40:36 -0700 From: David Wolfskill To: freebsd-ports@freebsd.org Subject: Re: portmaster: "No valid installed port, or port directory given"??!? Message-ID: <20150903114036.GA17650@albert.catwhisker.org> References: <20150901115940.GC17650@albert.catwhisker.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="M9u+pkcMrQJw6us1" Content-Disposition: inline In-Reply-To: <20150901115940.GC17650@albert.catwhisker.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2015 11:40:44 -0000 --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--