-stable needs rw obj dir for install?

Julian Elischer julian at elischer.org
Wed Mar 3 15:00:27 PST 2004


I have not checked this with 5.x but...


/dev/ad0s1a on / (ufs, local)
/dev/ad0s1f on /usr (ufs, local)
/dev/ad0s1e on /var (ufs, local)
10.42.0.1:/usr/ports on /usr/ports (nfs, read-only)
10.42.0.1:/usr/src on /usr/src (nfs, read-only)
10.42.0.1:/usr/obj on /usr/obj (nfs, read-only)

/usr/src and /usr/obj were precompiled on the other (NFS server) machine
with "make buildworld".


then on this machine: 
"Make installworld" with /usr/src and/usr/obj NFS mounted readonly.

[...]
Installing /usr/libdata/perl/5.00503/mach/auto/POSIX/POSIX.bs
Installing /usr/libdata/perl/5.00503/mach/POSIX.pod
Installing /usr/libdata/perl/5.00503/mach/POSIX.pm
Writing /usr/libdata/perl/5.00503/mach/auto/POSIX/.packlist
Appending installation info to
/usr/libdata/perl/5.00503/mach/perllocal.pod
===> gnu/usr.bin/perl/library/SDBM_File
cd sdbm && make all
rm -rf libsdbm.a
rm: libsdbm.a: Read-only file system
*** Error code 1

Stop in
/usr/obj/usr/src/gnu/usr.bin/perl/library/SDBM_File/ext/SDBM_File/sdbm.
*** Error code 1

Stop in
/usr/obj/usr/src/gnu/usr.bin/perl/library/SDBM_File/ext/SDBM_File.
*** Error code 1

Why is perl trying to write to the obj directory in the 'install" phase?
shouldn't it have finished all that sort of stuff  by then?

ref2# mount -u -orw /usr/obj
ref2# mount
/dev/ad0s1a on / (ufs, local)
/dev/ad0s1f on /usr (ufs, local)
/dev/ad0s1e on /var (ufs, local)
10.42.0.1:/usr/ports on /usr/ports (nfs, read-only)
10.42.0.1:/usr/src on /usr/src (nfs, read-only)
10.42.0.1:/usr/obj on /usr/obj (nfs)

ref2# make installworld
[...]
===> etc
===> etc/sendmail

--------------------------------------------------------------
>>> Rebuilding man page indices
--------------------------------------------------------------
cd /usr/src/share/man; make makedb
makewhatis /usr/share/man
makewhatis /usr/share/openssl/man
makewhatis /usr/share/perl/man
rm -rf /tmp/install.47576
ref2#



More information about the freebsd-hackers mailing list