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

Ruslan Ermilov ru at freebsd.org
Fri Sep 12 13:14:26 PDT 2003


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@ 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030912/02a148b3/attachment.bin


More information about the freebsd-current mailing list