From owner-freebsd-current@FreeBSD.ORG Fri Sep 12 13:14:26 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5817616A4BF; Fri, 12 Sep 2003 13:14:26 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id A59B643FEC; Fri, 12 Sep 2003 13:14:20 -0700 (PDT) (envelope-from ru@sunbay.com) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h8CKEF9F072000 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 12 Sep 2003 23:14:16 +0300 (EEST) (envelope-from ru@sunbay.com) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h8CKEFKS071999; Fri, 12 Sep 2003 23:14:15 +0300 (EEST) (envelope-from ru) Date: Fri, 12 Sep 2003 23:14:15 +0300 From: Ruslan Ermilov To: Kris Kennaway Message-ID: <20030912201415.GB70123@sunbay.com> References: <20030912200006.GA12534@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EuxKj2iCbKjpUGkD" Content-Disposition: inline In-Reply-To: <20030912200006.GA12534@rot13.obsecurity.org> User-Agent: Mutt/1.5.4i cc: gshapiro@freebsd.org cc: current@freebsd.org Subject: Re: 'cd /usr/src/etc; make distribute' broken. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Sep 2003 20:14:26 -0000 --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--