portmaster: "No valid installed port, or port directory given"??!?
David Wolfskill
david at catwhisker.org
Tue Sep 1 11:59:48 UTC 2015
During the "update all installed ports" phase of today's daily updates
on my laptop, I received a bit of an unpleasant surprise.
As I build stable/10, it is my habit to also run "portmaster -aF" --
pre-fetching distribution files (to the extent that I can). This
occurred without incident.
My ports working directory resides at /common/ports; I have a symlink
named /usr/ports that points to it (from each of the 4 file systems that
can be mounted as /usr -- one for each slice). That working directory
was updated to r395749 overnight:
g1-252(10.2-S)[4] svn info /usr/ports
Path: /usr/ports
Working Copy Root Path: /usr/ports
URL: file:///svn/freebsd/ports/head
Relative URL: ^/head
Repository Root: file:///svn/freebsd/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 395750
Node Kind: directory
Schedule: normal
Last Changed Author: koobs
Last Changed Rev: 395749
Last Changed Date: 2015-09-01 00:44:43 -0700 (Tue, 01 Sep 2015)
g1-252(10.2-S)[5]
The update of stable/10 appears to have been successful; I started (this
morning) running:
FreeBSD g1-252.catwhisker.org 10.2-STABLE FreeBSD 10.2-STABLE #133 r287298M/287303:1002500: Sun Aug 30 04:21:44 PDT 2015 root at g1-252.catwhisker.org:/common/S1/obj/usr/src/sys/CANARY amd64
and am now running:
FreeBSD g1-252.catwhisker.org 10.2-STABLE FreeBSD 10.2-STABLE #134 r287339M/287355:1002500: Tue Sep 1 04:05:52 PDT 2015 root at g1-252.catwhisker.org:/common/S1/obj/usr/src/sys/CANARY amd64
(There were no updates to stable/10 from r287298 to the point that I
synchronized my private SVN repo yesterday morning.)
So, for updating the ports, I ran "portmaster -ad"; here is what happened:
Script started on Tue Sep 1 04:31:20 2015
command: portmaster -ad
===>>> Gathering distinfo list for installed ports
0;portmaster: All^G===>>> Starting check of installed ports for available updates
===>>> Launching child to update png-1.6.17_1 to png-1.6.18
===>>> All >> png-1.6.17_1 (1/1)
0;portmaster: All >> png-1.6.17_1 (1/1)^G
===>>> Currently installed version: png-1.6.17_1
===>>> Port directory: /usr/ports/graphics/png
===>>> Launching 'make checksum' for graphics/png in background
===>>> Gathering dependency list for graphics/png from ports
===>>> Launching child to install /common/ports/ports-mgmt/pkg
===>>> All >> png-1.6.17_1 >> /common/ports/ports-mgmt/pkg (2/2)
0;portmaster: All >> png-1.6.17_1 >> /common/ports/ports-mgmt/pkg (2/2)^G
===>>> No valid installed port, or port directory given
===>>> Try portmaster --help
===>>> Update for /common/ports/ports-mgmt/pkg failed
===>>> Aborting update
===>>> Update for png-1.6.17_1 failed
===>>> Aborting update
Script done on Tue Sep 1 04:31:24 2015
Prior to the overnight update, my ports working directory was at r395661,
and the above-described procedure worked -- as it has for years.
/etc/make.conf is:
g1-252(10.2-S)[7] cat /etc/make.conf NET_SNMP_SYS_CONTACT="david at catwhisker.org"
NET_SNMP_SYS_LOCATION="variable"
NET_SNMP_LOGFILE=/var/log/snmpd.log
NET_SNMP_PERSISTENTDIR=/var/net-snmp
WITH_BSD_JDK=TRUE
# For mplayer
WITHOUT_RUNTIME_CPUDETECTION= YES
WITH_OPTIMIZED_CFLAGS= YES
WITHOUT_CJK= YES
NO_SUID_XSERVER=YES
# For Linux compat
OVERRIDE_LINUX_BASE_PORT=c6
OVERRIDE_LINUX_NONBASE_PORTS=c6
INSTALL_AS_NCFTP=yes
g1-252(10.2-S)[8]
Yesterday afternoon, I also performed a bit of out-of-the-ordinary
maintenance: I switched from lang/perl5.18 to perl5.22. As far as
the ports are concerned, that was uneventful. (I had some issues
with suspend/resume, as the process hadn't finished at a time when I
needed to put the laptop in a backpack while I was cycling. I was
able to recover despite the reboot that was required before the Perl
upgrade was completely done.)
Further, I encountered a similar symptom (as described above re: the
portmaster whine) on my build machine, running:
FreeBSD freebeast.catwhisker.org 10.2-STABLE FreeBSD 10.2-STABLE #1788 r287339M/287355:1002500: Tue Sep 1 04:03:21 PDT 2015 root at freebeast.catwhisker.org:/common/S1/obj/usr/src/sys/GENERIC amd64
with a ports working directory:
freebeast(10.2-S)[9] svn info /usr/ports
Path: /usr/ports
Working Copy Root Path: /usr/ports
URL: file:///svn/freebsd/ports/head
Relative URL: ^/head
Repository Root: file:///svn/freebsd/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 395750
Node Kind: directory
Schedule: normal
Last Changed Author: koobs
Last Changed Rev: 395749
Last Changed Date: 2015-09-01 00:44:43 -0700 (Tue, 01 Sep 2015)
freebeast(10.2-S)[10]
which actually resides on a ReadyNAS:
freebeast(10.2-S)[10] ls -lT !$
ls -lT /usr/ports
lrwxr-xr-x 1 root wheel 20 Jul 3 20:25:14 2015 /usr/ports -> /net/howland/c/ports
(as it has for a couple of years now).
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
===>>> Update for /net/howland/c/ports/ports-mgmt/pkg failed
===>>> Aborting update
Script done on Tue Sep 1 04:10:14 2015
In this case, /etc/make.conf is:
freebeast(10.2-S)[11] cat /etc/make.conf
SENDMAIL_MC=/etc/mail/client.mc
SENDMAIL_ADDITIONAL_MC= /etc/mail/bastion.mc /etc/mail/catwhisker.org.mc
freebeast(10.2-S)[12]
I'm pretty well thrown for a loop on this one. I'll go wander off
and build head, pending clues.
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/20150901/54f90f38/attachment.bin>
More information about the freebsd-ports
mailing list