From owner-freebsd-ports Sat Sep 21 10:30: 7 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC78A37B401 for ; Sat, 21 Sep 2002 10:30:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6835743E77 for ; Sat, 21 Sep 2002 10:30:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8LHU4Co007213 for ; Sat, 21 Sep 2002 10:30:04 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8LHU4hL007212; Sat, 21 Sep 2002 10:30:04 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F70937B401 for ; Sat, 21 Sep 2002 10:22:01 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 519D243E6A for ; Sat, 21 Sep 2002 10:22:01 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g8LHLq7R092180 for ; Sat, 21 Sep 2002 10:21:52 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.6/8.12.6/Submit) id g8LHLq8j092179; Sat, 21 Sep 2002 10:21:52 -0700 (PDT) Message-Id: <200209211721.g8LHLq8j092179@www.freebsd.org> Date: Sat, 21 Sep 2002 10:21:52 -0700 (PDT) From: Rolandas Naujikas To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/43173: Cannot build any port even all distfiles are in place Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 43173 >Category: ports >Synopsis: Cannot build any port even all distfiles are in place >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 21 10:30:04 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Rolandas Naujikas >Release: FreeBSD 4.6-STABLE >Organization: VU MIF >Environment: FreeBSD ??? 4.6-STABLE FreeBSD 4.6-STABLE #0: Thu Aug 22 23:15:25 EET 2002 ???:/h/FreeBSD/obj/h/FreeBSD/src/sys/KEDRAS i386 >Description: 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. >How-To-Repeat: Try build any port when /usr/ports/distfiles is read-only and all needed distfiles are in place. >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 $ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message