From owner-freebsd-bugs Fri Dec 21 19:15:36 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from netcop.newsbastards.org (pop-mu-9-2-dialup-120.freesurf.ch [194.230.146.120]) by hub.freebsd.org (Postfix) with ESMTP id 8B1DE37B41F for ; Fri, 21 Dec 2001 19:14:27 -0800 (PST) Received: (from root@localhost) by dastardly.newsbastards.org (8.11.6/8.11.6) id fBM1OfD85379; Sat, 22 Dec 2001 02:24:41 +0100 (CET) (envelope-from bounce@dcf77-zeit.netscum.dyndns.dk) Date: Sat, 22 Dec 2001 02:24:41 +0100 (CET) Message-Id: <200112220124.fBM1OfD85379@dastardly.newsbastards.org> To: freebsd-bugs@freebsd.org Subject: changing MAKEOBJDIRPREFIX crashes buildworld with read-only src From: BOUWSMA Beery Organization: Men not wearing any pants that dont shave X-Hacked: via telnet to your port 25, what else? X-Internet-Access-Provided-By: TDC Suisse AG, Rumlang X-NetScum: Yes X-One-And-Only-Real-True-Fluffy: No Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org [replies sent directly to me may timeout and bounce, since I'm not online as often as I should be, but I'll check the list archives] This is 4.4-stable that I could have hosed but I think I fixed it I've got /usr/src mounted read-only, and I have a buildworld happening in /usr/obj, while I've decided to start building world somewhere else, like /usr/obj/4.4-STABLE When I do so, the `make depend' promptly fails. -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- rm -rf /usr/obj/4.4-STABLE/usr/src/i386 mkdir -p /usr/obj/4.4-STABLE/usr/src/i386/usr/bin [...] ln -sf /usr/src/sys /usr/obj/4.4-STABLE/usr/src/i386 -------------------------------------------------------------- >>> stage 1: bootstrap tools -------------------------------------------------------------- cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/4.4-STABLE/usr/src/i386 DESTDIR=/usr/obj /4.4-STABLE/usr/src/i386 INSTALL="sh /usr/src/tools/install.sh" MACHINE_ARCH=i 386 TOOLS_PREFIX=/usr/obj/4.4-STABLE/usr/src/i386 PATH=/usr/obj/4.4-STABLE/usr /src/i386/usr/sbin:/usr/obj/4.4-STABLE/usr/src/i386/usr/bin:/usr/obj/4.4-STABLE/ usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin make -f Makefile.inc1 -DBOO TSTRAPPING -DNOHTML -DNOINFO -DNOMAN -DNOPIC -DNOPROFILE -DNOSHARED bootstrap-t ools cd /usr/src/games/fortune/strfile; make obj; make depend; make all; make ins tall rm -f .depend mkdep -f .depend -a strfile.c /usr/bin/mkdep: cannot create _mkdep55632: read-only file system *** Error code 2 Stop in /usr/src/games/fortune/strfile. *** Error code 1 Stop in /usr/src. The buildworld in just /usr/obj runs fine with read-only /usr/src. Oh yeah, this just in -- a `buildkernel' attempt with the -stable src/Makefile.inc1 hacked to pull the kernel config from KERNCONFDIR also fails with a similar error: [...] ===> wi /usr/obj/4.4-STABLE/usr/src/sys/modules/wi created for /usr/src/sys/modules/wi ===> accf_data @ -> /usr/src/sys ln: @: Read-only file system *** Error code 1 Stop in /usr/src/sys/modules/accf_data. *** Error code 1 Stop in /usr/src/sys/modules. Guess I'll do it the normal way for now... thanks barry bouwsma To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message