Subject: Re: crosscompiling fails with "missing separator."
To: Havard Eidnes <he@uninett.no>
From: sp4rc <sammyshome@gmx.net>
List: current-users
Date: 05/11/2006 21:20:54
On Thu, 2006-05-11 at 11:02 +0200, Havard Eidnes wrote:
> Secondly, I'd say it's at best unconventional to use relative
> paths as arguments to -O and -T.  Please try to use absolute
> paths instead and see if that improves the situation. 

thanks for your answer, I have tried your advice but it didn't improve
the situation. Anyway the official documentation advices me to use
relative paths http://www.netbsd.org/Documentation/current/

I have updated the source tree today and tried it again using:

# sh build.sh -m sparc64 -O /usr/obj -T /usr/tools -U -j 5 release

now it stops here:

[...]
postinstall fixes failed:
   ===============================
checkflist ===> distrib/sets
--- check_DESTDIR ---
--- /usr/obj/destdir.sparc64/METALOG.sanitised ---
( cat /usr/src/etc/mtree/NetBSD.dist ;  echo '/unset all' ;
cat /usr/obj/destdir.sparc64/METALOG )  | grep -v " optional"
| /usr/tools/bin/nbmtree -C -k all -N /usr/src/etc
>/usr/obj/destdir.sparc64/METALOG.sanitised
--- checkflist ---
cd /usr/src/distrib/sets &&  DESTDIR=/usr/obj/destdir.sparc64
MACHINE=sparc64 MACHINE_ARCH=sparc64  CKSUM=/usr/tools/bin/nbcksum
DB=/usr/tools/bin/nbdb  HOST_SH=sh  MAKE=/usr/tools/bin/nbmake
MKTEMP=/usr/tools/bin/nbmktemp  MTREE=/usr/tools/bin/nbmtree
PAX=/usr/tools/bin/nbpax  TSORT=/usr/tools/bin/nbtsort\ -q
sh /usr/src/distrib/sets/checkflist
-M /usr/obj/destdir.sparc64/METALOG.sanitised
=======  2 extra files in DESTDIR  =========
Files in DESTDIR but missing from flist.
File is obsolete or flist is out of date ?
------------------------------------------
./usr/lib/libpcap.so.1
./usr/lib/libpcap.so.1.5
=========  end of 2 extra files  ===========
*** [checkflist] Error code 1
1 error

nbmake: stopped in /usr/src/distrib/sets
*** [distribution] Error code 2
1 error

nbmake: stopped in /usr/src
*** [release] Error code 2
1 error

nbmake: stopped in /usr/src

ERROR: Failed to make release
*** BUILD ABORTED ***


-- 
/sp4rc