Subject: Re: crosscompiling fails with "missing separator."
To: None <current-users@netbsd.org>
From: sp4rc <sammyshome@gmx.net>
List: current-users
Date: 05/10/2006 16:18:49
After updating the sourcetree with

# cvs update -dP 
# USETOOLS=yes sh build.sh -m sparch64 -O ../../obj -T ../../tools -u -U
release

another error occurs. 

nbmtree: ./usr/include/sparc64: No such file or directory

But this directory exists!

root@hydra > ls -ld /opt/obj/destdir.sparc64/usr/include/sparc64/   
drwxr-xr-x  2 root  wheel  1536 May 10
12:45 /opt/obj/destdir.sparc64/usr/include/sparc64/


Anyone?



[...]
checkflist ===> distrib/sets
( cat /opt/netbsd-current/src/etc/mtree/NetBSD.dist ;  echo '/unset
all' ;  cat /opt/netbsd-current/src/../../obj/destdir.sparc64/METALOG )
| grep -v " optional"  | /opt/netbsd-current/src/../../tools/bin/nbmtree
-C -k all -N /opt/netbsd-current/src/etc
>/opt/netbsd-current/src/../../obj/destdir.sparc64/METALOG.sanitised
nbmtree: ./usr/include/sparc64: No such file or directory
nbmtree: failed at line 2224 of the specification

*** Failed
target:  /opt/netbsd-current/src/../../obj/destdir.sparc64/METALOG.sanitised
*** Failed command:
( cat /opt/netbsd-current/src/etc/mtree/NetBSD.dist ; echo '/unset
all' ; cat /opt/netbsd-current/src/../../obj/destdir.sparc64/METALOG ) |
grep -v " optional" | /opt/netbsd-current/src/../../tools/bin/nbmtree -C
-k all -N /opt/netbsd-current/src/etc
>/opt/netbsd-current/src/../../obj/destdir.sparc64/METALOG.sanitised
*** Error code 1

Stop.
nbmake: stopped in /opt/netbsd-current/src/distrib/sets

*** Failed target:  distribution
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/opt/netbsd-current/src" ;; *) this="${dir}/";
real="/opt/netbsd-current/src/${dir}" ;; esac; show=${this:-.}; echo
"${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}"
&& /opt/netbsd-current/src/../../tools/bin/nbmake _THISDIR_="${this}"
"$@" ${target}; }; _makedirtarget distrib/sets checkflist
*** Error code 1

Stop.
nbmake: stopped in /opt/netbsd-current/src

*** Failed target:  release
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/opt/netbsd-current/src" ;; *) this="${dir}/";
real="/opt/netbsd-current/src/${dir}" ;; esac; show=${this:-.}; echo
"${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}"
&& /opt/netbsd-current/src/../../tools/bin/nbmake _THISDIR_="${this}"
"$@" ${target}; }; _makedirtarget . distribution
*** Error code 1

Stop.
nbmake: stopped in /opt/netbsd-current/src

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


On Tue, 2006-05-09 at 21:58 +0200, sp4rc wrote:
> Hello list-members, 
> 
> i am trying to cross compile NetBSD-current for a sparc64 computer on a
> i386 system running NetBSD 3.0.
> 
> These were the commands I have issued
> 
> # root > mkdir ../../{obj,tools}
> # root > USETOOLS=yes sh build.sh -m sparc64 -j 4 -O ../../obj
> -T ../../tools release
> 
> 
> [...] 
> # compute checksums
> CKSUM=/opt/netbsd-current/src/../../tools/bin/nbcksum
> sh /opt/netbsd-current/src/distrib/sets/makesums
> -t /opt/netbsd-current/src/../../obj/releasedir/sparc64/installation/miniroot '*'
> /var/tmp/Gm10618a:1: *** missing separator.  Stop.
> GNU: not found
> eval: 1: Syntax error: word unexpected (expecting ")")
> *** [snap_md_post] Error code 2
> 1 error
> 
> nbmake: stopped in /opt/netbsd-current/src/etc
> *** [release] Error code 2
> 1 error
> 
> nbmake: stopped in /opt/netbsd-current/src
> 
> ERROR: Failed to make release
> *** BUILD ABORTED ***
> 
> What am I doing wrong? Any hints on this?
-- 
/sp4rc