Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Nov 2011 22:07:08 +0100
From:      Damien Fleuriot <ml@my.gd>
To:        freebsd-questions@freebsd.org
Subject:   Re: Failed make buildworld on 8.2-RELEASE
Message-ID:  <4ED69AFC.5020602@my.gd>
In-Reply-To: <265641322680526@web43.yandex.ru>
References:  <265641322680526@web43.yandex.ru>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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 ?




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4ED69AFC.5020602>