Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Nov 2000 01:50:04 -0800 (PST)
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/22661: Mergemaster Fails with R/O NFS Mounted /usr/src
Message-ID:  <200011080950.BAA89230@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/22661; it has been noted by GNATS.

From: Bruce Evans <bde@zeta.org.au>
To: Cy.Schubert@uumail.gov.bc.ca
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/22661: Mergemaster Fails with R/O NFS Mounted /usr/src
Date: Wed, 8 Nov 2000 20:44:42 +1100 (EST)

 On Tue, 7 Nov 2000 Cy.Schubert@uumail.gov.bc.ca wrote:
 
 > >Description:
 > 
 > Installing 4.2-BETA on a system from read-only NFS mounted /usr/src and 
 > /usr/obj, mergemaster fails with the following:
 > 
 > [lines removed]
 > cd /usr/share/nls;  set - `cat /usr/opt/cvs-420b-001106/src/etc/locale.a
 > lias`;  while [ $# -gt 0 ] ;  do  rm -rf "$1";  ln -s "$2" "$1";  
 > shift; shift;  done;  rm -rf POSIX;  ln -s C POSIX
 > rm: ASCII: Read-only file system
 > *** Error code 1
 
 I think this can only fail if /usr/share/nls is read-only.
 
 > >Fix:
 > 
 > Based upon the diffs between mergemaster 1.6.2.3 and 1.6.2.4, here's my 
 > workaround:
 > 
 > --- src/usr.sbin/mergemaster/mergemaster.sh.orig	Wed Nov  1 00:34:30 2000
 > +++ src/usr.sbin/mergemaster/mergemaster.sh	Tue Nov  7 06:38:46 2000
 > @@ -428,7 +428,7 @@
 >    esac
 >  
 >    { cd ${SOURCEDIR} &&
 > -    make DESTDIR=${DESTDIR} distrib-dirs &&
 > +    touch .foobar && rm .foobar && make DESTDIR=${DESTDIR} distrib-dirs
 >      make DESTDIR=${TEMPROOT} distrib-dirs &&
 >      make DESTDIR=${TEMPROOT} -DNO_MAKEDEV distribution;} ||
 >    { echo '';
 
 Making distrib-dirs has other problems.  It updates ${DESTDIR} without
 asking, and shows bugs in the support for the SHARED=symlinks case.
 
 Bruce
 
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011080950.BAA89230>