make distribution fails with RELENG_6 on a 5.4-RELEASE-p6 host

Brooks Davis brooks at one-eyed-alien.net
Wed Aug 31 16:48:30 GMT 2005


On Wed, Aug 31, 2005 at 05:08:11PM +0200, Jeremie Le Hen wrote:
> > I'm trying to create a livecd with freesbie2 [1] with RELENG_6 source
> > on FreeBSD 5.4-RELEASE-p6,
> > but the make distribution fails:
> > 
> > ===> etc/sendmail (install)
> > cd /net/FreeBSD/RELENG_6/src/etc/../share/man;
> > /usr/obj/net/FreeBSD/RELENG_6/src/make.i386/make makedb
> > makewhatis /net/FreeBSD/freesbie-fs/usr/share/man
> > makewhatis /net/FreeBSD/freesbie-fs/usr/share/openssl/man
> > rm -rf /tmp/install.52xkwmMp
> > cd /net/FreeBSD/RELENG_6/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
> > /net/FreeBSD/RELENG_6/src/etc/../gnu/usr.bin/man/manpath/manpath.config
> >  /net/FreeBSD/RELENG_6/src/etc/../usr.bin/mail/misc/mail.rc
> > /net/FreeBSD/RELENG_6/src/etc/../usr.bin/locate/locate/locate.rc
> > printcap /net/FreeBSD/freesbie-fs/etc;  cap_mkdb -l
> > /net/FreeBSD/freesbie-fs/etc/login.conf;  install -o root -g wheel -m
> > 755  netstart pccard_ether rc.suspend rc.resume
> > /net/FreeBSD/freesbie-fs/etc;  install -o root -g wheel -m 600
> > master.passwd nsmb.conf opieaccess /net/FreeBSD/freesbie-fs/etc;
> > pwd_mkdb -L -p -d /net/FreeBSD/freesbie-fs/etc
> > /net/FreeBSD/freesbie-fs/etc/master.passwd
> > cap_mkdb: illegal option -- l
> > usage: cap_mkdb [-v] [-f outfile] file [file ...]
> > *** Error code 1
> 
> You are supposed to make buildworld first, as stated in src/UPDATING.

You should also do the "make distribution" from <src>/ not <src>/etc/
which will actually use the tools.  I can't tell from the given output
where it's being done in this case.

-- Brooks


More information about the freebsd-current mailing list