From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 27 10:44:14 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 2CFCE16A420 for ; Tue, 27 Dec 2005 10:44:14 +0000 (GMT) (envelope-from dr2867@pacbell.net) Received: from smtp103.sbc.mail.mud.yahoo.com (smtp103.sbc.mail.mud.yahoo.com [68.142.198.202]) by mx1.FreeBSD.org (Postfix) with SMTP id 9481B43D5C for ; Tue, 27 Dec 2005 10:44:13 +0000 (GMT) (envelope-from dr2867@pacbell.net) Received: (qmail 71236 invoked from network); 27 Dec 2005 10:44:12 -0000 Received: from unknown (HELO ?127.0.0.1?) (dr2867.business@pacbell.net@68.126.236.234 with plain) by smtp103.sbc.mail.mud.yahoo.com with SMTP; 27 Dec 2005 10:44:12 -0000 Message-ID: <43B11B11.7010206@pacbell.net> Date: Tue, 27 Dec 2005 02:44:33 -0800 From: Daniel Rudy User-Agent: Mozilla/5.0 (X11R6; UNIX; FreeBSD/i386 6.0-RELEASE; en-US; ja-JP; rv:1.7.12) Gecko/20050915 MultiZilla/1.6.2.0c Mnenhy/0.7.2.0 X-Accept-Language: en-us, en, ja MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Building a release X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Dec 2005 10:44:14 -0000 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