Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Dec 2005 02:44:33 -0800
From:      Daniel Rudy <dr2867@pacbell.net>
To:        freebsd-hackers@freebsd.org
Subject:   Building a release
Message-ID:  <43B11B11.7010206@pacbell.net>

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

I'm having some difficulties in building a release ISO from sources.
When I do a make release in /usr/src/release, everything seems to go
well until is tries to access perl5.8 in the ports.  I go into ports and
find that there is nothing there.  Here's what I have been doing:

Build directory trees:
mkdir /usr/cvsroot
mkdir /usr/release
mkdir /usr/tmp/cvs

Get CVS tree:
cd /usr/tmp/cvs
cvs -d anoncvs@anoncvs1.FreeBSD.org:/home/ncvs co -rRELENG_6_0_0_RELEASE src
cvs -d anoncvs@anoncvs1.FreeBSD.org:/home/ncvs co doc
cvs -d anoncvs@anoncvs1.FreeBSD.org:/home/ncvs co ports

Build local CVS repository:
cd /usr/cvsroot
CVSROOT=/usr/cvsroot ; export CVSROOT
CVSEDITOR=vi ; export CVSEDITOR
cvs init
cd /usr/tmp/cvs/src
cvs import src RELENG_6_0_0_RELEASE src
cd /usr/tmp/cvs/doc
cvs import doc RELENG_6_0_0_RELEASE doc
cd /usr/tmp/cvs/ports
cvs import ports RELENG_6_0_0_RELEASE ports

Build release:
cd /usr/src/release
make release CHROOTDIR=/usr/release BUILDNAME=6.0-RELEASE
CVSROOT=/usr/cvsroot RELEASETAG=RELENG_6_0_0_RELEASE


This is what I get:
cvs checkout: Updating doc/zh_TW.Big5/share
cvs checkout: Updating doc/zh_TW.Big5/share/sgml
cvs checkout: Updating doc/zh_TW.Big5/share/sgml/glossary
if [ -d /usr/src/release/../../ports/distfiles/ ]; then  cp -rp
/usr/src/release/../../ports/distfiles /usr/re
lease/usr/ports/distfiles;  else  mkdir -p
/usr/release/usr/ports/distfiles;  fi
cd: can't cd to /usr/release/usr/ports/lang/perl5.8
*** Error code 2

Stop in /usr/src/release.
*** Error code 1

Stop in /usr/src/release.

Now, I did notice something odd.  When the source is checked out, I get
the following:
cd /usr/release/usr &&   cvs -R  -d /usr/cvsroot  co  -P -r
RELENG_6_0_0_RELEASE src
cvs checkout: Updating src
U src/COPYRIGHT
U src/LOCKS
U src/MAINTAINERS
U src/Makefile
U src/Makefile.inc1
U src/README

But, when ports or doc is checked out, this is what I see:
rm -rf /usr/release/usr/ports
cd /usr/release/usr &&  cvs -R  -d /usr/cvsroot  co  -P -r RELEASE_6_0_0
ports
cvs checkout: Updating ports
cvs checkout: Updating ports/Mk
cvs checkout: Updating ports/Templates
cvs checkout: Updating ports/Tools
cvs checkout: Updating ports/Tools/portbuild
cvs checkout: Updating ports/Tools/portbuild/2.2
cvs checkout: Updating ports/Tools/portbuild/2.2/bindist
...
rm -rf /usr/release/usr/doc
cd /usr/release/usr &&  cvs -R  -d /usr/cvsroot  co  -P -r RELEASE_6_0_0 doc
cvs checkout: Updating doc
cvs checkout: Updating doc/FAQ
cvs checkout: Updating doc/bn_BD.ISO10646-1
cvs checkout: Updating doc/bn_BD.ISO10646-1/articles
cvs checkout: Updating doc/bn_BD.ISO10646-1/articles/explaining-bsd
cvs checkout: Updating doc/bn_BD.ISO10646-1/articles/new-users
...

Same command, different collections, and different results.  Why?  I'm
wondering if this is the problem as both ports and doc are not populated.

Any suggestions, ideas?
-- 
Daniel Rudy




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