From owner-freebsd-hackers Tue Jul 2 18:36:36 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 776C537B400 for ; Tue, 2 Jul 2002 18:36:32 -0700 (PDT) Received: from natto.numachi.com (natto.numachi.com [198.175.254.216]) by mx1.FreeBSD.org (Postfix) with SMTP id 85AA543E3B for ; Tue, 2 Jul 2002 18:36:31 -0700 (PDT) (envelope-from reichert@numachi.com) Received: (qmail 57051 invoked by uid 1001); 3 Jul 2002 01:36:30 -0000 Date: Tue, 2 Jul 2002 21:36:30 -0400 From: Brian Reichert To: Don Lewis Cc: reichert@numachi.com, freebsd-hackers@FreeBSD.ORG Subject: Re: 'make release' tries to build a port? Message-ID: <20020702213630.M262@numachi.com> References: <20020702165747.K262@numachi.com> <200207022247.g62Ml00M008526@gw.catspoiler.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200207022247.g62Ml00M008526@gw.catspoiler.org>; from dl-freebsd@catspoiler.org on Tue, Jul 02, 2002 at 03:46:18PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jul 02, 2002 at 03:46:18PM -0700, Don Lewis wrote: > On 2 Jul, Brian Reichert wrote: > > I'm mucking with 'make release' under 4.5-RELEASE, and keep running > > into a stumbling block: > > > > When the documentation toolset is being built in the chrooted > > environment, at one point docbook-dsssl-doc is built, among other > > things, via ports. > > > > Regrettably, this is hosted on Sourceforge, who've interposed a > > 'pick-a-mirror' webpage when you attempt to do a regular http > > download. > > > > So, the port build fails, and 'make release' fails, and rerunning > > 'make release' scrubs all of your work. > > > > I seem to have two options: > > > > - convince Sourceforge to unbreak themselves, or > > - install these documentation tools on my system, and make them > > somehow available in the chrooted environment. > > Try manually downloading a copy of the distfile into your non-chrooted > /usr/ports/distfiles directory. "make release" copies all your > distfiles into the chrooted environment. I did copy those file to my /usr/ports/distfiles manually, in preperation for installing them in the base system; % ls -ld /usr/ports/distfiles/docb* -rw-r--r-- 1 root ports 61031 Jan 10 1997 /usr/ports/distfiles/docbk30.tar.Z -rw------- 1 root ports 336295 Jun 30 02:44 /usr/ports/distfiles/docbook-dsssl-1.73.tar.gz -rw-r--r-- 1 root ports 217706 Jun 30 20:32 /usr/ports/distfiles/docbook-dsssl-doc-1.73.tar.gz But, not all of /usr/ports/distfiles is copied into the chrooted directory. I have well over a hundred files there, and oly a dozen or so got subsequently fetched. I've saved a typescript of my efforts, if you think perusing that would be helpful. I ran 'make release' thusly: /usr/bin/time make release \ CHROOTDIR=/home/release \ BUILDNAME=4.5-RELEASE \ CVSROOT=/home/ncvs \ RELEASETAG=RELENG_4_5_0_RELEASE in a script session. The resulting typescript has this line in it (I've wrapped it): if [ -d /home/src/release/../../ports/distfiles/ ]; then cp -rp /home/src/release/../../ports/distfiles /home/release/usr/ports/distfiles; fi And sure enough. /home/src/release/../../ports/distfiles/ is not congruent to /usr/src/distfiles. In fact, I don't see where in that typescript file the distfiles tree is copied at all. Did I mis-invoke make? If anyone cares, here's a typescript of my efforts: http://www.numachi.com/~reichert/misc/typescript.make_release.1025660080 Again, thanks for your time... -- Brian 'you Bastard' Reichert 37 Crystal Ave. #303 Daytime number: (603) 434-6842 Derry NH 03038-1713 USA Intel architecture: the left-hand path To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message