buildworld problems when DESTDIR is specified?

From: Mayo Jordanov <mayo_at_mayo.sk>
Date: Mon, 23 Aug 2004 16:42:22 -0700
Hello,

I'm trying to buildworld with today's (Monday) RELENG_5 (cvsupped
sometime in the morning (also tried with one from sat/sun).

When I just run make buildworld, it builds everything just fine, however
it fails when DESTDIR is specified (for both, buildworld and
installworld). The error occurs in stage 1.2, in gnu/usr.bin/gperf/doc.

Whole stage 1.2 section is attached below.

Can someone give me any pointers?

Thanks,
m


--------------------------------
[123] mayo_at_einstein (16:04:48) [src]# make world DESTDIR=/tmp/tmproot

--------------------------------------------------------------
>>> Rebuilding the temporary build tree
--------------------------------------------------------------
...
...
--------------------------------------------------------------
>>> 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=/tmp/tmproot -m /usr/src/share/mk" make -f Makefile.inc1  BOOTSTRAPPING=502128  -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: /tmp/tmproot/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 /tmp/tmproot/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.


Received on Mon Aug 23 2004 - 21:42:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:08 UTC