From owner-freebsd-stable Sat Feb 9 9:43:35 2002 Delivered-To: freebsd-stable@freebsd.org Received: from dastardly.newsbastards.org.72.27.172.IN-addr.ARPA.NetScum.dyndns.dk (dclient217-162-168-98.hispeed.ch [217.162.168.98]) by hub.freebsd.org (Postfix) with ESMTP id 1F1C637B405 for ; Sat, 9 Feb 2002 09:43:30 -0800 (PST) Received: from beerswilling.netscum.dyndns.dk (dcf77-zeit.netscum.dyndns.dk [172.27.72.27] (may be forged)) by dastardly.newsbastards.org.72.27.172.IN-addr.ARPA.NetScum.dyndns.dk (8.11.6/8.11.6) with ESMTP id g19HhIc00363 (using TLSv1/SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168 bits) verified FAIL); Sat, 9 Feb 2002 18:43:26 +0100 (CET) (envelope-from bounce@dcf77-zeit.netscum.dyndns.dk) Received: (from root@localhost) by beerswilling.netscum.dyndns.dk (8.11.6/8.11.6) id g19HhIm00362; Sat, 9 Feb 2002 18:43:18 +0100 (CET) (envelope-from bounce@dcf77-zeit.netscum.dyndns.dk) Date: Sat, 9 Feb 2002 18:43:18 +0100 (CET) Message-Id: <200202091743.g19HhIm00362@beerswilling.netscum.dyndns.dk> From: BOUWSMA Beery To: Vallo Kallaste Cc: freebsd-stable@freebsd.org Subject: Re: buildworld with ro /usr/src broken References: <20020209130437.GA15287@myhakas.estpak.ee> Organization: Men not wearing any pants that dont shave X-Hacked: via telnet to your port 25, what else? X-Internet-Access-Provided-By: Mountain Informatik AG, Zuerich X-NetScum: Yes X-One-And-Only-Real-True-Fluffy: No Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Serwoas! %s wrote on %.3s, %lld Sep 1993 > Buildworld with ro NFS mounted /usr/src is broken. I have > MAKEOBJDIRPREFIX set to nonstandard location. Look back in the freebsd-hackers list a few days or so. I gave a pretty lengthy explanation of what you need to do to get it to work. (Also in freebsd-bugs, maybe a month ago) In short, either use `env MAKEOBJDIRPREFIX ... ' or if you set it in /etc/make.conf, dont use `=' but instead use `?=' Here's what is happening: > cd /usr/src; MAKEOBJDIRPREFIX=/cache/b/obj/usr/src/i386 ^^^^^^^^^^^^^^^^^^^^^^^^^ this is generated from the value you provide > /cache/b/obj/usr/src/usr.bin/yacc created for /usr/src/usr.bin/yacc ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this too was generated from the value you gave, instead of being formed based on the prefix above, and it's missing the `i386' in the path > mkdep -f .depend -a closure.c error.c lalr.c lr0.c main.c mkpar.c > /usr/bin/mkdep: cannot create _mkdep3993: read-only file system the mkdep command can't find the object directory it's looking for, since what was created by `make obj' wasn't where it's looking, so it tries to work in the current source (read-only) directory barry bouwsma To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message