From owner-freebsd-questions@FreeBSD.ORG Fri Apr 4 17:21:21 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 4BF5D37B401 for ; Fri, 4 Apr 2003 17:21:21 -0800 (PST) Received: from mired.org (ip68-97-54-220.ok.ok.cox.net [68.97.54.220]) by mx1.FreeBSD.org (Postfix) with SMTP id 1CE2143F85 for ; Fri, 4 Apr 2003 17:21:19 -0800 (PST) (envelope-from mwm-dated-1049937678.91694b@mired.org) Received: (qmail 38461 invoked from network); 5 Apr 2003 01:21:18 -0000 Received: from localhost.mired.org (HELO guru.mired.org) (127.0.0.1) by localhost.mired.org with SMTP; 5 Apr 2003 01:21:18 -0000 Received: by guru.mired.org (tmda-inject, from uid 100); Fri, 04 Apr 2003 19:21:18 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16014.12173.346908.325970@guru.mired.org> Date: Fri, 4 Apr 2003 19:21:17 -0600 To: Cory Bajus In-Reply-To: <20030405000650.GA44940@rigel.bajus.ca> References: <20030405000650.GA44940@rigel.bajus.ca> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/0.73 (Jet Pilot) cc: freebsd-questions@freebsd.org Subject: Re: 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 01:21:21 -0000 In <20030405000650.GA44940@rigel.bajus.ca>, Cory Bajus typed: > Is a read-only /usr/ports directory supported? Yes, it is. You're supposed to be able to build ports off of a CDROM. > 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? No, it isn't. I've been using a setup similar to yours for years, and have never had a problem. I could swear I saw a note in the porter's handbook that scratch files were supposed to be built in $(WRKDIR), which is in $(WRKDIRPREFIX). I'd contact the maintainer of the of the fontconfig port about this - it seems like it's touching something it shouldn't. http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information.