Running `make config` in the port directory causes the first one, or running `portmaster -t -y --clean-distfiles` causes both of these new errors: make: "/basejail/usr/ports/base/binutils/Makefile" line 14: Please define CROSS_TOOLCHAIN before building ===>>> No DISTINFO_FILE in /basejail/usr/ports/base/binutils These are seen on 10.3-STABLE FreeBSD 10.3-STABLE #0 r305166, amd64.
I have the same problem on 11.0 # portmaster -ty --clean-distfiles ===>>> Gathering distinfo list for all ports (This will take several minutes) make: "/zfs_pool/system/usr/ports/base/binutils/Makefile" line 14: Please define CROSS_TOOLCHAIN before building ===>>> No DISTINFO_FILE in /zfs_pool/system/usr/ports/base/binutils
I might be misunderstanding, are you running portmaster from inside of base/binutils? base/ is special, see base/README.
I see the problem in portmaster now: for origin in ${pd}/*/*; do
A commit references this bug: Author: bdrewery Date: Fri Feb 3 22:12:54 UTC 2017 New revision: 433268 URL: https://svnweb.freebsd.org/changeset/ports/433268 Log: - Update to 3.17.10 Fixes --clean-distfiles trying to read in base/ [1] Saves port failures to TMPDIR/portmasterfail.txt [2] PR: 212376 [1] Reported by: wblock [1] Tested by: wblock [1] Submitted by: Torsten Z?hlsdorff <t.zuehlsdorff@anymotion.de> [2] Changes: head/ports-mgmt/portmaster/Makefile head/ports-mgmt/portmaster/distinfo