From owner-freebsd-questions@FreeBSD.ORG Fri Apr 4 16:06:53 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8EDC37B401 for ; Fri, 4 Apr 2003 16:06:53 -0800 (PST) Received: from smtp2.mts.net (smtp2.mts.net [205.200.16.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id E43BA43F93 for ; Fri, 4 Apr 2003 16:06:52 -0800 (PST) (envelope-from cbajus@mts.net) Received: from rigel.bajus.ca (wnpgmb01dc6-res-54-206.mts.net [142.161.54.206]) by smtp2.mts.net (8.12.8/8.11.3) with ESMTP id h3506pHH012495 for ; Fri, 4 Apr 2003 18:06:51 -0600 (CST) Received: from rigel.bajus.ca (localhost [127.0.0.1]) by rigel.bajus.ca (8.12.8/8.12.8) with ESMTP id h3506pm4067997 for ; Fri, 4 Apr 2003 18:06:51 -0600 (CST) (envelope-from cbajus@rigel.bajus.ca) Received: (from cbajus@localhost) by rigel.bajus.ca (8.12.8/8.12.8/Submit) id h3506o0W067994 for freebsd-questions@freebsd.org; Fri, 4 Apr 2003 18:06:51 -0600 (CST) Date: Fri, 4 Apr 2003 18:06:50 -0600 From: Cory Bajus To: freebsd-questions@freebsd.org Message-ID: <20030405000650.GA44940@rigel.bajus.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: Read-only /usr/ports (problem with fontconfig) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Apr 2003 00:06:54 -0000 Is a read-only /usr/ports directory supported? I received the following error message during installation of x11-fonts/fontconfig (as part of a build of x11/XFree86-4): install -c -o root -g wheel -m 444 ./fontconfig.pc /usr/X11R6/libdata/pkgconfig /fontconfig.pc gmake[2]: Leaving directory `/usr/work/usr/ports/x11-fonts/fontconfig/work/fontc onfig-2.1.92' gmake[1]: Leaving directory `/usr/work/usr/ports/x11-fonts/fontconfig/work/fontc onfig-2.1.92' ===> Generating temporary packing list cannot create /usr/ports/x11-fonts/fontconfig/pkg-install: read-only file system *** Error code 2 Stop in /usr/ports/x11-fonts/fontconfig. *** Error code 1 Stop in /usr/ports/x11/XFree86-4-libraries. *** Error code 1 Stop in /usr/ports/x11/XFree86-4. My /usr/ports directory is NFS mounted (read-only) from another system. I have the following entries in /etc/make.conf to allow multiple clients to share the same /usr/ports tree: WRKDIRPREFIX= /usr/work (local directory) DISTDIR= /usr/distfiles (NFS mounted read-write) Is it normal for a port to try to write into /usr/ports when WRKDIRPREFIX is defined like this? Thanks in advance, Cory.