Date: Sat, 9 Feb 2002 18:43:18 +0100 (CET) From: BOUWSMA Beery <freebsd-user@dcf77-zeit.netscum.dyndns.dk> To: Vallo Kallaste <kalts@estpak.ee> Cc: freebsd-stable@freebsd.org Subject: Re: buildworld with ro /usr/src broken Message-ID: <200202091743.g19HhIm00362@beerswilling.netscum.dyndns.dk> References: <20020209130437.GA15287@myhakas.estpak.ee>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202091743.g19HhIm00362>
