Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Nov 2005 08:02:21 -0500
From:      "J. W. Ballantine" <jwb@homer.att.com>
To:        freebsd-questions@freebsd.org
Subject:   mergemaster and RELENG6
Message-ID:  <200511111302.jABD2Lj18381@akiva.homer.att.com>

next in thread | raw e-mail | index | archive | help

I'm trying to install RELEASE6 on a BSD machine, and the
install fails in the mergemaster stage with:

mtree -deU  -f /usr/src/etc/mtree/BIND.chroot.dist  -p 
/var/tmp/temproot/var/named
./dev missing (created)
./etc missing (created)
./etc/namedb missing (created)
./etc/namedb/dynamic missing (created)
./etc/namedb/master missing (created)
./etc/namedb/slave missing (created)
./var missing (created)
./var/dump missing (created)
./var/log missing (created)
./var/run missing (created)
./var/run/named missing (created)
./var/stats missing (created)
cd /var/tmp/temproot/; rm -f /var/tmp/temproot/sys; ln -s usr/src/sys sys
cd /var/tmp/temproot/usr/share/man/en.ISO8859-1; ln -sf ../man* .
cd /var/tmp/temproot/usr/share/man;  set - `grep "^[a-zA-Z]" 
/usr/src/etc/man.alias`;  while [ $# -gt 0 ] ;  do  rm -rf "$1";  ln -s "$2" 
"$1";  shift; shift;  done
cd /var/tmp/temproot/usr/share/openssl/man;  set - `grep "^[a-zA-Z]" 
/usr/src/etc/man.alias`;  while [ $# -gt 0 ] ;  do  rm -rf "$1";  ln -s "$2" 
"$1";  shift; shift;  done
cd /var/tmp/temproot/usr/share/openssl/man/en.ISO8859-1; ln -sf ../man* .
cd /var/tmp/temproot/usr/share/nls;  set - `grep "^[a-zA-Z]" 
/usr/src/etc/nls.alias`;  while [ $# -gt 0 ] ;  do  rm -rf "$1";  ln -s "$2" 
"$1";  shift; shift;  done
/var/tmp/temproot/usr/obj/usr/src/etc created for /usr/src/etc
cd /usr/src/etc;  install -o root -g wheel -m 644  amd.map apmd.conf auth.conf 
 crontab csh.cshrc csh.login csh.logout devd.conf devfs.conf  dhclient.conf 
disktab fbtab ftpusers gettytab group  hosts hosts.allow hosts.equiv hosts.lpd 
 inetd.conf login.access login.conf  mac.conf motd netconfig network.subr 
networks newsyslog.conf  portsnap.conf pf.conf pf.os phones profile protocols  
rc rc.bsdextended rc.firewall rc.firewall6 rc.initdiskless  rc.sendmail 
rc.shutdown  rc.subr remote rpc services shells  snmpd.config sysctl.conf 
syslog.conf usbd.conf  etc.i386/ttys  /usr/src/etc/../gnu/usr.bin/man/manpath/m
anpath.config  /usr/src/etc/
../usr.bin/mail/misc/mail.rc  /usr/src/etc/../usr.bin/locate/locate/locate.rc 
printcap /var/tmp/temproot/etc;  cap_mkdb -l /var/tmp/temproot/etc/login.conf; 
 install -o root -g wheel -m 755  netstart pccard_ether rc.suspend rc.resume 
/var/tmp/temproot/etc;
  install -o root -g wheel -m 600  master.passwd nsmb.conf opieaccess 
/var/tmp/temproot/etc;  pwd_mkdb -L -p -d /var/tmp/temproot/etc  
/var/tmp/temproot/etc/master.passwd
cap_mkdb: illegal option -- l
usage: cap_mkdb [-v] [-f outfile] file [file ...]
*** Error code 1

Stop in /usr/src/etc.

  *** FATAL ERROR: Cannot 'cd' to /usr/src/etc and install files to
      the temproot environment

The steps I took were:

  copied /etc/rc.d to /etc/old_rc.d
  removed /usr/src/* /usr/obj/*
  cvsup'ed RELENG6
  changed to /usr/src
  did a make buildworld
  did a make buildkernel
  did a make installkernel
  did a mergemaster -i

Anyone have any thoughts on what is causing mergemaster to fail?

Thanks
Jim Ballantine





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