Subject: problems compiling i386-current (what's generating the second -l
To: None <tech-toolchain@netbsd.org>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: tech-toolchain
Date: 07/06/2005 10:47:39
I got no bites in current-users and after rading the man page and
looking at the following line, I see that the nbinstall line below has
TWO -l commands. Anyone know why that is and why it gives me the error:
realpath: Not a directory
--
Hisashi T Fujinaka - htodd@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte
---------- Forwarded message ----------
Date: Tue, 5 Jul 2005 20:44:54 -0700 (PDT)
From: Hisashi T Fujinaka <htodd@twofifty.com>
To: current-users@NetBSD.org
Subject: problems compiling i386-current and trying to figure out env variables
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 sha1 -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