Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jul 2002 21:36:30 -0400
From:      Brian Reichert <reichert@numachi.com>
To:        Don Lewis <dl-freebsd@catspoiler.org>
Cc:        reichert@numachi.com, freebsd-hackers@FreeBSD.ORG
Subject:   Re: 'make release' tries to build a port?
Message-ID:  <20020702213630.M262@numachi.com>
In-Reply-To: <200207022247.g62Ml00M008526@gw.catspoiler.org>; from dl-freebsd@catspoiler.org on Tue, Jul 02, 2002 at 03:46:18PM -0700
References:  <20020702165747.K262@numachi.com> <200207022247.g62Ml00M008526@gw.catspoiler.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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		<reichert@numachi.com>
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




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