Bug 212376 - base/binutils CROSS_TOOLCHAIN and DISTINFO errors
Summary: base/binutils CROSS_TOOLCHAIN and DISTINFO errors
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-04 22:57 UTC by Warren Block
Modified: 2017-02-03 22:13 UTC (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Warren Block freebsd_committer freebsd_triage 2016-09-04 22:57:55 UTC
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.
Comment 1 glerak 2017-02-03 20:16:45 UTC
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
Comment 2 Bryan Drewery freebsd_committer freebsd_triage 2017-02-03 21:29:55 UTC
I might be misunderstanding, are you running portmaster from inside of base/binutils?

base/ is special, see base/README.
Comment 3 Bryan Drewery freebsd_committer freebsd_triage 2017-02-03 21:42:47 UTC
I see the problem in portmaster now:
for origin in ${pd}/*/*; do
Comment 4 commit-hook freebsd_committer freebsd_triage 2017-02-03 22:13:48 UTC
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