From owner-freebsd-questions@FreeBSD.ORG Mon Nov 8 22:26:42 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7EBEF16A4CE for ; Mon, 8 Nov 2004 22:26:42 +0000 (GMT) Received: from galilee.polands.org (CPE-24-208-53-189.new.rr.com [24.208.53.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id A557743D48 for ; Mon, 8 Nov 2004 22:26:39 +0000 (GMT) (envelope-from djp@polands.org) Received: from jericho.polands.org (jericho.polands.org [172.16.1.35]) by galilee.polands.org (8.12.9/8.12.9) with ESMTP id iA8MQcRZ036100 for ; Mon, 8 Nov 2004 16:26:38 -0600 (CST) (envelope-from djp@polands.org) Received: from jericho.polands.org (localhost [127.0.0.1]) by jericho.polands.org (8.13.1/8.13.1) with ESMTP id iA8MQcZ9050468 for ; Mon, 8 Nov 2004 16:26:38 -0600 (CST) (envelope-from djp@jericho.polands.org) Received: (from djp@localhost) by jericho.polands.org (8.13.1/8.13.1/Submit) id iA8MQcAw050467 for questions@freebsd.org; Mon, 8 Nov 2004 16:26:38 -0600 (CST) (envelope-from djp) Date: Mon, 8 Nov 2004 16:26:38 -0600 From: Doug Poland To: questions@freebsd.org Message-ID: <20041108222638.GD92358@polands.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i Subject: Problem making jail in 5.3-STABLE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 22:26:42 -0000 Hello, I have two systems freshly cvsup'd and built to 5.3-STABLE as of yesterday. Today I wanted to experiment with creating and using jail environments. I followed the man page exactly and on both machines have the same error, to wit... setenv D /data/jail/172.16.1.99 mkdir -p $D cd /usr/src make world DESTDIR=$D ...snip... -------------------------------------------------------------- >>> stage 1.2: bootstrap tools -------------------------------------------------------------- cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/i386 DESTDIR= INSTALL="sh /usr/src/tools/install.sh" PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin WORLDTMP=/usr/obj/usr/src/i386 MAKEFLAGS="-m /usr/src/tools/build/mk DESTDIR=/data/jail/172.16.1.99 -m /usr/src/share/mk" make -f Makefile.inc1 BOOTSTRAPPING=503000 -DNOHTML -DNOINFO -DNOLINT -DNOMAN -DNOPIC -DNOPROFILE -DNOSHARED -DNO_CPU_CFLAGS -DNO_WARNS bootstrap-tools ===> games/fortune/strfile /usr/obj/usr/src/i386/usr/src/games/fortune/strfile created for /usr/src/games/fortune/strfile rm -f .depend mkdep -f .depend -a -I/usr/obj/usr/src/i386/legacy/usr/include /usr/src/games/fortune/strfile/strfile.c echo strfile: /data/jail/172.16.1.99/usr/lib/libc.a /usr/obj/usr/src/i386/legacy/usr/lib/libegacy.a >> .depend cc -O -pipe -I/usr/obj/usr/src/i386/legacy/usr/include -c /usr/src/games/fortune/strfile/strfile.c make: don't know how to make /data/jail/172.16.1.99/usr/lib/libc.a. Stop *** Error code 2 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. I must be doing something wrong, but have followed the instructions precisely. Any suggestions? -- Regards, Doug