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

From: Jeremie Le Hen <jeremie_at_le-hen.org>
Date: Wed, 31 Aug 2005 17:08:11 +0200
> 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.

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

You can manually patch your sources.

Regards,
[1] http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/Makefile.diff?r1=1.346&r2=1.347
-- 
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >
Received on Wed Aug 31 2005 - 13:07:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:42 UTC