From owner-freebsd-questions@FreeBSD.ORG Wed Nov 30 21:07:15 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A89FC106564A for ; Wed, 30 Nov 2011 21:07:15 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 417AF8FC0C for ; Wed, 30 Nov 2011 21:07:14 +0000 (UTC) Received: by bkat2 with SMTP id t2so1265658bka.13 for ; Wed, 30 Nov 2011 13:07:14 -0800 (PST) Received: by 10.205.122.1 with SMTP id ge1mr4011714bkc.103.1322687233967; Wed, 30 Nov 2011 13:07:13 -0800 (PST) Received: from dfleuriot.local ([2a01:e35:2f1b:d6f0:e6ce:8fff:fe15:741a]) by mx.google.com with ESMTPS id iu9sm6628182bkc.0.2011.11.30.13.07.09 (version=SSLv3 cipher=OTHER); Wed, 30 Nov 2011 13:07:10 -0800 (PST) Message-ID: <4ED69AFC.5020602@my.gd> Date: Wed, 30 Nov 2011 22:07:08 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <265641322680526@web43.yandex.ru> In-Reply-To: <265641322680526@web43.yandex.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: Failed make buildworld on 8.2-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Nov 2011 21:07:15 -0000 On 11/30/11 8:15 PM, Антон Клесс wrote: > Good day! > > I trying to make buildworld my first time and need some help. > > In fact I'm trying to make a jail. > > # uname -a > FreeBSD othal.net 8.2-RELEASE-p4 FreeBSD 8.2-RELEASE-p4 #0: Mon Nov 21 22:48:16 MSK 2011 root@othal.net:/usr/obj/usr/src/sys/OTHAL amd64 > # rm -rf /usr/obj > # cd /usr/src/ > # make buildworld > -------------------------------------------------------------- >>>> World build started on Wed Nov 30 23:10:32 MSK 2011 > -------------------------------------------------------------- > > -------------------------------------------------------------- >>>> Rebuilding the temporary build tree > -------------------------------------------------------------- > rm -rf /usr/obj/usr/src/tmp > rm -rf /usr/obj/usr/src/lib32 > mkdir -p /usr/obj/usr/src/tmp/lib > mkdir -p /usr/obj/usr/src/tmp/usr > mkdir -p /usr/obj/usr/src/tmp/legacy/usr > mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist -p /usr/obj/usr/src/tmp/legacy/usr >/dev/null > mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist -p /usr/obj/usr/src/tmp/usr >/dev/null > mtree -deU -f /usr/src/etc/mtree/BSD.include.dist -p /usr/obj/usr/src/tmp/usr/include >/dev/null > ln -sf /usr/src/sys /usr/obj/usr/src/tmp > > -------------------------------------------------------------- >>>> stage 1.1: legacy release compatibility shims > -------------------------------------------------------------- > cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/tmp INSTALL="sh /usr/src/tools/install.sh" PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin WORLDTMP=/usr/obj/usr/src/tmp VERSION="FreeBSD 8.2-RELEASE-p4 amd64 802000" MAKEFLAGS="-m /usr/src/tools/build/mk -m /usr/src/share/mk" make -f Makefile.inc1 DESTDIR= BOOTSTRAPPING=802000 SSP_CFLAGS= -DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT -DWITHOUT_MAN -DNO_PIC -DWITHOUT_PROFILE -DNO_SHARED -DNO_CPU_CFLAGS -DNO_WARNS -DNO_CTF legacy > ===> tools/build (obj,includes,depend,all,install) > /usr/obj/usr/src/tmp/usr/src/tools/build created for /usr/src/tools/build > cd /usr/src/tools/build; make buildincludes; make installincludes > rm -f .depend > mkdep -f .depend -a -I/usr/obj/usr/src/tmp/legacy/usr/include /usr/src/tools/build/dummy.c > cc -O2 -pipe -I/usr/obj/usr/src/tmp/legacy/usr/include -c /usr/src/tools/build/dummy.c > building static egacy library > ranlib libegacy.a > sh /usr/src/tools/install.sh -C -o root -g wheel -m 444 libegacy.a /usr/obj/usr/src/tmp/legacy/usr/lib > > -------------------------------------------------------------- >>>> stage 1.2: bootstrap tools > -------------------------------------------------------------- > cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/tmp INSTALL="sh /usr/src/tools/install.sh" PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin WORLDTMP=/usr/obj/usr/src/tmp VERSION="FreeBSD 8.2-RELEASE-p4 amd64 802000" MAKEFLAGS="-m /usr/src/tools/build/mk -m /usr/src/share/mk" make -f Makefile.inc1 DESTDIR= BOOTSTRAPPING=802000 SSP_CFLAGS= -DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT -DWITHOUT_MAN -DNO_PIC -DWITHOUT_PROFILE -DNO_SHARED -DNO_CPU_CFLAGS -DNO_WARNS -DNO_CTF bootstrap-tools > ===> cddl/usr.bin/sgsmsg (obj,depend,all,install) > cd: can't cd to /usr/src/cddl/usr.bin/sgsmsg > *** Error code 2 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > > # ls -l /usr/src/ > total 438 > -rw-r--r-- 1 root wheel 6200 Dec 31 2010 COPYRIGHT > -rw-r--r-- 1 root wheel 442 Dec 21 2010 LOCKS > -rw-r--r-- 1 root wheel 6659 Dec 21 2010 MAINTAINERS > -rw-r--r-- 1 root wheel 12990 Dec 21 2010 Makefile > -rw-r--r-- 1 root wheel 42773 Dec 22 2010 Makefile.inc1 > -rw-r--r-- 1 root wheel 230702 Dec 21 2010 ObsoleteFiles.inc > -rw-r--r-- 1 root wheel 3087 Dec 21 2010 README > -rw-r--r-- 1 root wheel 70999 Feb 16 2011 UPDATING > drwxr-xr-x 40 root wheel 1024 Feb 17 2011 bin > drwxr-xr-x 55 root wheel 1024 Feb 17 2011 contrib > drwxr-xr-x 5 root wheel 512 Feb 17 2011 crypto > drwxr-xr-x 22 root wheel 2048 Feb 17 2011 etc > drwxr-xr-x 4 root wheel 512 Feb 17 2011 gnu > drwxr-xr-x 7 root wheel 2048 Feb 17 2011 include > drwxr-xr-x 80 root wheel 1536 Feb 17 2011 lib > drwxr-xr-x 31 root wheel 1024 Feb 17 2011 libexec > drwxr-xr-x 91 root wheel 2048 Feb 17 2011 sbin > drwxr-xr-x 6 root wheel 512 Feb 17 2011 secure > drwxr-xr-x 24 root wheel 512 Feb 17 2011 share > drwxr-xr-x 56 root wheel 1024 Feb 17 2011 sys > drwxr-xr-x 12 root wheel 512 Feb 17 2011 tools > drwxr-xr-x 232 root wheel 4096 Feb 17 2011 usr.bin > drwxr-xr-x 208 root wheel 4096 Feb 17 2011 usr.sbin > > > I don't have /usr/src/cddl in my system. Does it required to build world? > An early guess is that you didn't sync your sources properly. Would you kindly post the contents of /etc/make.conf and the supfile you used ?