From owner-freebsd-bugs@FreeBSD.ORG Tue Jan 25 10:39:28 2005 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D19116A4CE for ; Tue, 25 Jan 2005 10:39:28 +0000 (GMT) Received: from donnex.net (donnex.net [82.96.44.37]) by mx1.FreeBSD.org (Postfix) with SMTP id 5DD6543D2F for ; Tue, 25 Jan 2005 10:39:27 +0000 (GMT) (envelope-from donnex@donnex.net) Received: (qmail 36048 invoked by uid 1001); 25 Jan 2005 10:39:26 -0000 Date: Tue, 25 Jan 2005 11:39:26 +0100 From: Daniel Johansson To: freebsd-bugs@freebsd.org Message-ID: <20050125103926.GA32384@donnex.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: Builgin jails (using DESTDIR) is broken in 5.3.. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jan 2005 10:39:28 -0000 Hi, I just want to report, that building jails is broken in 5.3-RELEASE and p5. When using make world DESTDIR=/path/to/jail the make workd fails with this message: -------------------------------------------------------------- >>> 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=/usr/jail/jail.henrikssons.net -m /usr/src/share/mk" make -f Makefile.inc1 BOOTSTRAPPING=503001 -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: /usr/jail/jail.henrikssons.net/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 /usr/jail/jail.henrikssons.net/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 found out that this is because something is wrong with /usr/src/Makefile.inc1. What I did to solve this, don't know if this is the correct way, was to download the Makefile.inc1 from STABLE and that worked just fine. I guess they have fixed the problem in STABLE. Any reason why this is not fixed in RELENG_5_3 yet? Atleast there is a workaround but I guess more people will have problems with making jails in 5.3 if this isn't fixed. If you answer to this please CC me. -- Daniel Johansson -