Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Nov 2004 09:59:30 -0700
From:      "Chad Leigh -- Shire.Net LLC" <chad@shire.net>
To:        FreeBSD questions list <freebsd-questions@freebsd.org>
Subject:   make world DESTDIR=/foo does not work under 5.3-RELEASE on i386 or amd64
Message-ID:  <8EA27754-31A7-11D9-BFDF-003065A70D30@shire.net>

next in thread | raw e-mail | index | archive | help
make world DESTDIR=/foo
or
make buildworld DESTDIR=/foo

does not work on either my i386 or amd64 systems after a cvsup to  
5.3-RELEASE and native build.  If you leave off the DESTDIR and build  
for the running machine, it works fine.  And the DESTDIR worked fine  
under  beta7 (and possibly under RC1)

Here is what I get on either machine.

myhost# make world DESTDIR=/local/jails/test
--------------------------------------------------------------
 >>> make world started on Mon Nov  8 10:55:55 MST 2004
--------------------------------------------------------------

--------------------------------------------------------------
 >>> Rebuilding the temporary build tree
--------------------------------------------------------------
rm -rf /usr/obj/usr/src/i386
mkdir -p /usr/obj/usr/src/i386/legacy/usr/bin
mkdir -p /usr/obj/usr/src/i386/legacy/usr/games
mkdir -p /usr/obj/usr/src/i386/legacy/usr/include/c++/3.3
mkdir -p /usr/obj/usr/src/i386/legacy/usr/include/sys
mkdir -p /usr/obj/usr/src/i386/legacy/usr/lib
mkdir -p /usr/obj/usr/src/i386/legacy/usr/libexec
mkdir -p /usr/obj/usr/src/i386/legacy/usr/sbin
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/dict
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devX100
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devX100-12
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devX75
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devX75-12
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devascii
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devcp1047
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devdvi
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devhtml
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devkoi8-r
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devlatin1
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devlbp
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devlj4
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devps
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/groff_font/devutf8
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/tmac/mdoc
mkdir -p /usr/obj/usr/src/i386/legacy/usr/share/tmac/mm
mkdir -p /usr/obj/usr/src/i386/lib
mkdir -p /usr/obj/usr/src/i386/usr/bin
mkdir -p /usr/obj/usr/src/i386/usr/include
mkdir -p /usr/obj/usr/src/i386/usr/lib/compat/aout
mkdir -p /usr/obj/usr/src/i386/usr/libdata/ldscripts
mkdir -p /usr/obj/usr/src/i386/usr/libexec
mkdir -p /usr/obj/usr/src/i386/usr/sbin
mkdir -p /usr/obj/usr/src/i386/usr/share/misc
mkdir -p /usr/obj/usr/src/i386/usr/share/snmp/defs
mkdir -p /usr/obj/usr/src/i386/usr/share/snmp/mibs
mtree -deU -f /usr/src/etc/mtree/BSD.include.dist  -p  
/usr/obj/usr/src/i386/usr/include >/dev/null
ln -sf /usr/src/sys /usr/obj/usr/src/i386

--------------------------------------------------------------
 >>> stage 1.1: legacy release compatibility shims
--------------------------------------------------------------
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=/local/jails/test -m  
/usr/src/share/mk" /usr/obj/usr/src/make.i386/make -f Makefile.inc1   
BOOTSTRAPPING=503001  -DNOHTML -DNOINFO -DNOLINT -DNOMAN -DNOPIC  
-DNOPROFILE  -DNOSHARED -DNO_CPU_CFLAGS -DNO_WARNS legacy
===> tools/build
/usr/obj/usr/src/i386/usr/src/tools/build created for  
/usr/src/tools/build
cd /usr/src/tools/build; /usr/obj/usr/src/make.i386/make buildincludes;  
/usr/obj/usr/src/make.i386/make installincludes
rm -f .depend
mkdep -f .depend -a    -I/usr/obj/usr/src/i386/legacy/usr/include  
/usr/src/tools/build/dummy.c
cc -O -pipe  -I/usr/obj/usr/src/i386/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/i386/legacy/usr/lib

--------------------------------------------------------------
 >>> 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=/local/jails/test -m  
/usr/src/share/mk" /usr/obj/usr/src/make.i386/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: /local/jails/test/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 /local/jails/test/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.
myhost# 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8EA27754-31A7-11D9-BFDF-003065A70D30>