Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Mar 2004 15:00:01 -0800 (PST)
From:      Julian Elischer <julian@elischer.org>
To:        hackers@freebsd.org
Subject:   -stable needs rw obj dir for install?
Message-ID:  <Pine.BSF.4.21.0403031425110.62088-100000@InterJet.elischer.org>

next in thread | raw e-mail | index | archive | help
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#



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0403031425110.62088-100000>