Subject: problems compiling i386-current and trying to figure out env variables
To: None <current-users@netbsd.org>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: current-users
Date: 07/05/2005 20:44:54
I'm just trying to do a "./build.sh -U distribution" and what I see is:
# install /usr/src/obj.i386/destdir.i386/lib/libc.so.12.129
STRIP=/usr/src/obj.i386/tooldir.NetBSD-3.99.7-i386/bin/i386--netbsdelf-strip /usr/src/obj.i386/tooldir.NetBSD-
3.99.7-i386/bin/nbinstall -U -M /usr/src/obj.i386/destdir.i386/METALOG -D /usr/src/obj.i386/destdir.i386 -h sh
a1 -N /usr/src/etc -c -r -o root -g wheel -m 444 libc.so.12.129 /usr/src/obj.i386/destdir.i386/lib/libc.so.12.129
STRIP=/usr/src/obj.i386/tooldir.NetBSD-3.99.7-i386/bin/i386--netbsdelf-strip /usr/src/obj.i386/tooldir.NetBSD-3.99.7-i386/bin/nbinstall -U -M /usr/src/obj.i386/destdir.i386/METALOG -D /usr/src/obj.i386/destdir.i386 -h sha1 -N /usr/src/etc -l s -r -l r /usr/src/obj.i386/destdir.i386/lib/libc.so.12.129 /usr/src/obj.i386/destdir.i386/usr/lib/libc.so.12.129
nbinstall: /usr/src/obj.i386/destdir.i386/lib/libc.so.12.129: realpath: Not a directory
*** Failed target: /usr/src/obj.i386/destdir.i386/lib/libc.so.12.129
*** Failed command: STRIP=/usr/src/obj.i386/tooldir.NetBSD-3.99.7-i386/bin/i386--netbsdelf-strip /usr/src/obj.i386/tooldir.NetBSD-3.99.7-i386/bin/nbinstall -U -M /usr/src/obj.i386/destdir.i386/METALOG -D /usr/src/obj.i386/destdir.i386 -h sha1 -N /usr/src/etc -l s -r -l r /usr/src/obj.i386/destdir.i386/lib/libc.so.12.129 /usr/src/obj.i386/destdir.i386/usr/lib/libc.so.12.129
*** Error code 1
Stop.
nbmake: stopped in /usr/src/lib/libc
The weirdest thing about my system is that my obj directories are in /var/obj. My mk.conf contains:
UPDATE_TARGET= package
BSDOBJDIR= /var/obj
BUILD= YES
BUILDID= ${MACHINE}
MKHESIOD= no
MKKERBEROS= no
MKKERBEROS4= no
MKOBJDIRS= yes
MKPOSTFIX= no
Does this make sense? Crossbuilding sparc gives me the same error. I've deleted
all of /var/obj and have also deleted and re-checked-out /usr/src. (Local
repository.)
Thanks for any help.
--
Hisashi T Fujinaka - htodd@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte