Hi, I found a little problem with RELENG_5_4 buildworld in my env. I have a little patched RELENG_5_4 src in a local cvs server, mounted ro,-L in the build machine (/usr/src) No rpc.lockd or rpc.statd daemon running in both machines. build machine timesync with cvs server by ntpdate before build. Every time I do a rm -rf /usr/obj/* && cd /usr/src && make buildworld I get: cc -Os -fno-strict-aliasing -mtune=athlon-xp -pipe -I. -I/usr/src/usr.sbin/confi g -I/usr/obj/usr/src/i386/legacy/usr/include -static -L/usr/obj/usr/src/i386/l egacy/usr/lib -o config config.o main.o lang.o mkmakefile.o mkheaders.o mkoption s.o -ll -legacy sh /usr/src/tools/install.sh -s -o root -g wheel -m 555 config /usr/obj/usr/sr c/i386/legacy/usr/sbin -------------------------------------------------------------->>> stage 2.1: cleaning up the object tree-------------------------------------------------------------- cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE =pentium-mmx GROFF_BIN_PATH=/usr/obj/usr/src/i386/legacy/usr/bin GROFF_FONT_PA TH=/usr/obj/usr/src/i386/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/u sr/src/i386/legacy/usr/share/tmac _SHLIBDIRPREFIX=/usr/obj/usr/src/i386 INSTAL L="sh /usr/src/tools/install.sh" PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/us r/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/usr/ob j/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/ games:/sbin:/bin:/usr/sbin:/usr/bin make -f Makefile.inc1 DESTDIR=/usr/obj/usr/s rc/i386 par-cleandir ===> share/info ===> include rm -f osreldate.h version vers.c rm: version: Read-only file system *** Error code 1 The only thing I change form previous week builds are the -L mount and disabling the rpc.lockd and rpc.statd daemons in both machines. I can solve the problem doing a make obj before make buildworld. Can someone reproduce this? thanks in advance, -- josemi
On Mon, 11 Apr 2005, Jose M Rodriguez wrote:> Hi, > > I found a little problem with RELENG_5_4 buildworld in my env. > > I have a little patched RELENG_5_4 src in a local cvs server, mounted > ro,-L in the build machine (/usr/src) > > No rpc.lockd or rpc.statd daemon running in both machines. build > machine timesync with cvs server by ntpdate before build. > > Every time I do a rm -rf /usr/obj/* && cd /usr/src && make buildworld I > get: > > ===> share/info > ===> include > rm -f osreldate.h version vers.c > rm: version: Read-only file system > *** Error code 1 > > The only thing I change form previous week builds are the -L mount and > disabling the rpc.lockd and rpc.statd daemons in both machines. > > I can solve the problem doing a make obj before make buildworld.Sounds like these files may be leftovers from a local build on the NFS server. You might try doing 'make cleandir; make cleandir' on the server to remove any remnants. Areyou setting MAKEOBJDIRPREFIX in /etc/make.conf? -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org