Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Sep 2003 23:14:15 +0300
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        current@freebsd.org
Subject:   Re: 'cd /usr/src/etc; make distribute' broken.
Message-ID:  <20030912201415.GB70123@sunbay.com>
In-Reply-To: <20030912200006.GA12534@rot13.obsecurity.org>
References:  <20030912200006.GA12534@rot13.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--EuxKj2iCbKjpUGkD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=3D/destdir TARGET_ARCH=3Dwhatever
> ---
> This used to work fine, but now it is dying with the following:
>=20
> install -o root -g wheel -m 644  /a/asami/portbuild/amd64/5/src/etc/sendm=
ail/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
>=20
> Stop in /a/asami/portbuild/amd64/5/src/etc/sendmail.
> *** Error code 1
>=20
> Indeed, freebsd.cf does not appear to be built anywhere.  Does anyone
> know what is going on?
>=20
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,
--=20
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software Ltd,
ru@FreeBSD.org		FreeBSD committer

--EuxKj2iCbKjpUGkD
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE/YikXUkv4P6juNwoRAoyxAJ9M7AgbljeHCYD3ItzJzyun1CucOACcCarO
BWKwXifiMfPMgBacgjPelGQ=
=1qfp
-----END PGP SIGNATURE-----

--EuxKj2iCbKjpUGkD--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030912201415.GB70123>