Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2002 02:52:13 +0900
From:      Hiroo Ono <hiroo@oikumene.gcd.org>
To:        stable@freebsd.org
Subject:   Re: make world w/MAKEOBJDIRPREFIX is broken
Message-ID:  <867kobrsj6.wl@chrysanthe.oikumene.gcd.org>
In-Reply-To: <20020221055102.GA3054@nomad.thehutt.org>
References:  <20020221055102.GA3054@nomad.thehutt.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I had the same problem with stable cvsuped around 13 Mar. 2002 03:15 +0900.

At Thu, 21 Feb 2002 00:51:02 -0500,
Jerry A! wrote:
> "make world" is broken if MAKEOBJDIRPREFIX is set in make.conf.

I put
  MAKEOBJDIRPREFIX=/build/obj
in /etc/make.conf, did make buildworld, and got the following:

chrysanthe% make buildworld

--------------------------------------------------------------
>>> Rebuilding the temporary build tree
--------------------------------------------------------------
(snip)
--------------------------------------------------------------
>>> stage 1: bootstrap tools
--------------------------------------------------------------
cd /usr/src; MAKEOBJDIRPREFIX=/build/obj/usr/src/i386  DESTDIR=  INSTALL="sh /usr/src/tools/install.sh" make -f Makefile.inc1 -DBOOTSTRAPPING  -DNOHTML -DNOINFO -DNOMAN -DNOPIC -DNOPROFILE -DNOSHARED bootstrap-tools
cd /usr/src/games/fortune/strfile;  make obj;  make depend;  make all;  make DESTDIR=/build/obj install
/build/obj/usr/src/games/fortune/strfile created for /usr/src/games/fortune/strfile
sh /usr/src/tools/install.sh -c -s -o root -g wheel -m 555   strfile /build/obj/usr/games
cd /usr/src/usr.bin/yacc;  make obj;  make depend;  make all;  make DESTDIR=/build/obj install
/build/obj/usr/src/usr.bin/yacc created for /usr/src/usr.bin/yacc
sh /usr/src/tools/install.sh -c -o root  -g wheel -m 555   yyfix.sh  /build/obj/usr/bin/yyfix
install: /build/obj/usr/bin/yyfix: No such file or directory
*** Error code 71


It seems that the directory /build/obj/usr/bin is not created.

chrysanthe% mkdir -p /build/obj/usr/bin
chrysanthe% make buildworld

--------------------------------------------------------------
>>> Rebuilding the temporary build tree
--------------------------------------------------------------
(snip)
--------------------------------------------------------------
>>> stage 1: bootstrap tools
--------------------------------------------------------------
cd /usr/src; MAKEOBJDIRPREFIX=/build/obj/usr/src/i386  DESTDIR=  INSTALL="sh /usr/src/tools/install.sh" make -f Makefile.inc1 -DBOOTSTRAPPING  -DNOHTML -DNOINFO -DNOMAN -DNOPIC -DNOPROFILE -DNOSHARED bootstrap-tools
cd /usr/src/games/fortune/strfile;  make obj;  make depend;  make all;  make DESTDIR=/build/obj install
sh /usr/src/tools/install.sh -c -s -o root -g wheel -m 555   strfile /build/obj/usr/games
cd /usr/src/usr.bin/yacc;  make obj;  make depend;  make all;  make DESTDIR=/build/obj install
sh /usr/src/tools/install.sh -c -o root  -g wheel -m 555   yyfix.sh  /build/obj/usr/bin/yyfix
sh /usr/src/tools/install.sh -c -s -o root -g wheel -m 555   yacc /build/obj/usr/bin
/build/obj/usr/bin/byacc -> /build/obj/usr/bin/yacc
cd /usr/src/usr.bin/colldef;  make obj;  make depend;  make all;  make DESTDIR=/build/obj install
/build/obj/usr/src/usr.bin/colldef created for /usr/src/usr.bin/colldef
sh /usr/src/tools/install.sh -c -s -o root -g wheel -m 555   colldef /build/obj/usr/bin
cd /usr/src/usr.bin/xinstall;  make obj;  make depend;  make all;  make DESTDIR=/build/obj install
/build/obj/usr/src/usr.bin/xinstall created for /usr/src/usr.bin/xinstall
sh /usr/src/tools/install.sh -c -s -o root -g wheel -m 555   xinstall /build/obj/usr/bin/install
cd /usr/src/usr.bin/mk_cmds;  make obj;  make depend;  make all;  make DESTDIR=/build/obj install
/build/obj/usr/src/usr.bin/mk_cmds created for /usr/src/usr.bin/mk_cmds
sh /usr/src/tools/install.sh -c -s -o root -g wheel -m 555   mk_cmds /build/obj/usr/bin
cd /usr/src/usr.sbin/config;  make obj;  make depend;  make all;  make DESTDIR=/build/obj install
/build/obj/usr/src/usr.sbin/config created for /usr/src/usr.sbin/config
sh /usr/src/tools/install.sh -c -s -o root -g wheel -m 555   config /build/obj/usr/sbin
cd /usr/src/gnu/usr.bin/gperf;  make obj;  make depend;  make all;  make DESTDIR=/build/obj install
/build/obj/usr/src/gnu/usr.bin/gperf created for /usr/src/gnu/usr.bin/gperf
(snip)
===> contrib
===> contrib/mm
sh /usr/src/tools/install.sh -c -o root -g wheel -m 444  /dev/null /build/obj/usr/share/tmac/mm/locale
install: /build/obj/usr/share/tmac/mm/locale: No such file or directory
*** Error code 71

Stop in /usr/src/gnu/usr.bin/groff/contrib/mm.
*** Error code 1

And so on.
What can I do to complete buildworld (not mkdir'ing all these
missing directories)?

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?867kobrsj6.wl>