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

Jeremie Le Hen jeremie at
Wed Aug 31 15:07:54 GMT 2005

> 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
> 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.

Otherwise, Warner Losh recently fixed this in CURRENT [1], I hope he
will MFC this before RELEASE.

You can manually patch your sources.

Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >

More information about the freebsd-current mailing list