Hi, I tried to cross-compile release with:
sudo ./build.sh -N 4 -O ./build/ -m i386 release
in a Ubuntu 10.04 box.
After several hours it went into an error:
...
+ echo i386
/home/developer/git/minix/./build/tooldir.Linux-4.4.0-116-generic-x86_64/bin/nbawk: non-terminated string echo i386p... at source line 70
context is
wanted["machine_cpu=" "echo i386 >>>
<<<
DEBUG: list_set_files: ./lists/minix-base/mi
DEBUG: list_set_files: ./lists/minix-base/md.i386
xargs: /home/developer/git/minix/./build/tooldir.Linux-4.4.0-116-generic-x86_64/bin/nbsed: terminated by signal 13
makeflist output is empty for minix-base
*** Failed target: makesetfiles
*** Failed command: cd /home/developer/git/minix/distrib/sets && DESTDIR=/home/developer/git/minix/./build/destdir.i386 MACHINE=i386 MACHINE_ARCH=i386 AWK=/home/developer/git/minix/./build/tooldir.Linux-4.4.0-116-generic-x86_64/bin/nbawk CKSUM=/home/developer/git/minix/./build/tooldir.Linux-4.4.0-116-generic-x86_64/bin/nbcksum DB=/home/developer/git/minix/./build/tooldir.Linux-4.4.0-116-generic-x86_64/bin/nbdb HOST_SH=/bin/sh MAKE=/home/developer/git/minix/./build/tooldir.Linux-4.4.0-116-generic-x86_64/bin/nbmake MKTEMP=/home/developer/git/minix/./build/tooldir.Linux-4.4.0-116-generic-x86_64/bin/nbmktemp MTREE=/home/developer/git/minix/./build/tooldir.Linux-4.4.0-116-generic-x86_64/bin/nbmtree PAX=/home/developer/git/minix/./build/tooldir.Linux-4.4.0-116-generic-x86_64/bin/nbpax COMPRESS_PROGRAM=gzip GZIP=-n PKG_CREATE=/home/developer/git/minix/./build/tooldir.Linux-4.4.0-116-generic-x86_64/bin/nbpkg_create SED=/home/developer/git/minix/./build/tooldir.Linux-4.4.0-116-generic-x86_64/bin/nbsed TSORT=/home/developer/git/minix/./build/tooldir.Linux-4.4.0-116-generic-x86_64/bin/nbtsort\ -q /bin/sh ./maketars -S -d /home/developer/git/minix/./build/destdir.i386 -N /home/developer/git/minix/etc -L base -t /home/developer/git/minix/./build/releasedir/i386/binary/sets
*** Error code 1
Stop.
nbmake[3]: stopped in /home/developer/git/minix/distrib/sets
*** Failed target: distribution
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="etc/"; real="/home/developer/git/minix/etc" ;; *) this="etc/${dir}/"; real="/home/developer/git/minix/etc/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /home/developer/git/minix/./build/tooldir.Linux-4.4.0-116-generic-x86_64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget /home/developer/git/minix/distrib/sets makesetfiles
*** Error code 1
Stop.
nbmake[2]: stopped in /home/developer/git/minix/etc
*** Failed target: distribution
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/home/developer/git/minix" ;; *) this="${dir}/"; real="/home/developer/git/minix/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /home/developer/git/minix/./build/tooldir.Linux-4.4.0-116-generic-x86_64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget etc distribution INSTALL_DONE=1
*** Error code 1
Stop.
nbmake[1]: stopped in /home/developer/git/minix
*** Failed target: release
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/home/developer/git/minix" ;; *) this="${dir}/"; real="/home/developer/git/minix/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /home/developer/git/minix/./build/tooldir.Linux-4.4.0-116-generic-x86_64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . distribution
*** Error code 1
Stop.
nbmake: stopped in /home/developer/git/minix
ERROR: Failed to make release
*** BUILD ABORTED ***
any clue about the problem?.
Regards