Re: 'cd /usr/src/etc; make distribute' broken.

From: Ruslan Ermilov <ru_at_freebsd.org>
Date: Fri, 12 Sep 2003 23:14:15 +0300
On Fri, Sep 12, 2003 at 01:00:06PM -0700, Kris Kennaway wrote:
> As part of my world-building script for creating binary distributions
> for use on bento I use the following to populate /etc in the target
> directory:
> ---
> cd /usr/src/etc
> make distribute DISTRIBUTION=/destdir TARGET_ARCH=whatever
> ---
> This used to work fine, but now it is dying with the following:
> 
> install -o root -g wheel -m 644  /a/asami/portbuild/amd64/5/src/etc/sendmail/freebsd.mc /a/asami/portbuild/amd64/5/src/etc/sendmail/freebsd.cf //var/chroot/etc/mail
> install: /a/asami/portbuild/amd64/5/src/etc/sendmail/freebsd.cf: No such file or directory
> *** Error code 71
> 
> Stop in /a/asami/portbuild/amd64/5/src/etc/sendmail.
> *** Error code 1
> 
> Indeed, freebsd.cf does not appear to be built anywhere.  Does anyone
> know what is going on?
> 
A FAQ question on current_at_ these days.  The ``distribute'' is
the special case of ``install''.  Before installing stuff, you
should build it first.  There was a bug in etc/sendmail/Makefile
that was attempting to build stuff during the build, that was
fixed.  You need to catch up to this (right) change and fix
your commands like this:

cd /usr/src/etc
make obj
make all
make distribute ...


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA,
ru_at_sunbay.com		Sunbay Software Ltd,
ru_at_FreeBSD.org		FreeBSD committer

Received on Fri Sep 12 2003 - 11:14:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:22 UTC