Bug 43173

Summary: Cannot build any port even all distfiles are in place
Product: Ports & Packages Reporter: Rolandas Naujikas <rolnas>
Component: Individual Port(s)Assignee: Kris Kennaway <kris>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Rolandas Naujikas 2002-09-21 18:30:04 UTC
      We are fetching all needed distfiles on one machine, and building ports on another. Another machines mounts /usr/ports and /usr/ports/distfiles read-only (aka root) via NFS. After changes from ports/19270 inserted, I cannot build any port when all distfiles needed to build are in place. It try do-fetch in bsd.ports.mk, and clash in the first test, when really it do not need fetch any file.

Fix: 

Move check for write access to before acctual fetch. I made patch, that fix this problem at http://www.mif.vu.lt/~rolnas/freebsd/patch-bsd.port.mk
It is against bsd.port.mk revision
# $FreeBSD: ports/Mk/bsd.port.mk,v 1.424 2002/09/19 00:16:39 kris Exp $
How-To-Repeat:       Try build any port when /usr/ports/distfiles is read-only and all needed distfiles are in place.
Comment 1 Ying-Chieh Liao freebsd_committer freebsd_triage 2002-09-21 18:44:19 UTC
Responsible Changed
From-To: freebsd-ports->kris

kris is working on this
Comment 2 Kris Kennaway freebsd_committer freebsd_triage 2002-10-06 10:41:20 UTC
State Changed
From-To: open->closed

This was resolved in rev 1.425 of bsd.port.mk