On Thu, 14 Feb 2013, Christos Zoulas wrote:
=== configuring sets === *** [smp_beagleboard] Error code 1That does not contain the actual error.It surprised me, too. The build was run with -J1 and there is nothing else in the log file. (I can provide the complete log file, and/or a larger pre- and post-error context, upon request.) It would appear that (something within) mkimage exitted silently.Could be, you could edit mkimage to add -x to the shell invocation and then: build.sh <args> disk-image=beagleboard
Here we go... Looks like mkimage was invoked with -x even though no X build was included in the 'build.sh release'
release ===> etc/evbarm/cdroms/installcd /build/netbsd-local/tools/x86_64/evbarm-el/bin/arm--netbsdelf-install -r -p -c -m 444 /build/netbsd-local/obj/evbarm-el/sys/arch/evbarm/stand/boot2440/bootmini2440 /build/netbsd-local/release/evbarm/installation TOOL_MAKEFS=/build/netbsd-local/tools/x86_64/evbarm-el/bin/nbmakefs TOOL_DISKLABEL=/build/netbsd-local/tools/x86_64/evbarm-el/bin/nbdisklabel-evbarm-el TOOL_FDISK=/build/netbsd-local/tools/x86_64/evbarm-el/bin/arm--netbsdelf-fdisk TOOL_MKNOD=/build/netbsd-local/tools/x86_64/evbarm-el/bin/nbmknod TOOL_PAX=/build/netbsd-local/tools/x86_64/evbarm-el/bin/nbpax TOOL_MTREE=/build/netbsd-local/tools/x86_64/evbarm-el/bin/nbmtree /build/netbsd-local/src/distrib/utils/embedded/mkimage -x -h beagleboard -D /build/netbsd-local/dest/evbarm-el -K /build/netbsd-local/release/evbarm/binary/kernel/netbsd-BEAGLEBOARD.ub.gz -S /build/netbsd-local/src /build/netbsd-local/release/evbarm/binary/gzimg/beagleboard.img.gz + set -e + dirname /build/netbsd-local/src/distrib/utils/embedded/mkimage + cd /build/netbsd-local/src/distrib/utils/embedded + pwd + DIR=/build/netbsd-local/src/distrib/utils/embedded + basename /build/netbsd-local/src/distrib/utils/embedded/mkimage + PROG=mkimage + 'DISKLABEL=/build/netbsd-local/tools/x86_64/evbarm-el/bin/nbdisklabel-evbarm-el' + 'FDISK=/build/netbsd-local/tools/x86_64/evbarm-el/bin/arm--netbsdelf-fdisk' + 'MAKEFS=/build/netbsd-local/tools/x86_64/evbarm-el/bin/nbmakefs' + 'MTREE=/build/netbsd-local/tools/x86_64/evbarm-el/bin/nbmtree' + src=/usr/src + release=/usr/obj/evbarm/release + 'sets=base comp etc games man misc modules text' + 'xsets=xbase xcomp xetc xfont xserver' + 'minfree=10%' + bar==== + mktemp -d '/tmp/mkimage.XXXXXX' + 'tmp=/tmp/mkimage.16616a' + 'mnt=/tmp/mkimage.16616a/mnt' + mkdir -p '/tmp/mkimage.16616a/mnt/etc' '/tmp/mkimage.16616a/mnt/dev' '/tmp/mkimage.16616a/mnt/boot' + trap cleanup 0 1 2 3 15 + 'OPTS=K:D:S:c:h:s:x' + getopts 'K:D:S:c:h:s:x' f + getopts 'K:D:S:c:h:s:x' f + h=beagleboard + getopts 'K:D:S:c:h:s:x' f + getopts 'K:D:S:c:h:s:x' f + getopts 'K:D:S:c:h:s:x' f + src=/build/netbsd-local/src + getopts 'K:D:S:c:h:s:x' f + '[' -z beagleboard ']' + '[' '!' -f '/build/netbsd-local/src/distrib/utils/embedded/conf/beagleboard.conf' ']' + '.' '/build/netbsd-local/src/distrib/utils/embedded/conf/beagleboard.conf' + board=beagleboard + 'kernel=/build/netbsd-local/src/sys/arch/evbarm/compile/obj/BEAGLEBOARD/netbsd.ub' + '.' '/build/netbsd-local/src/distrib/utils/embedded/conf/evbarm.conf' + 'image=/home/paul/beagleboard.img' + 'specialdirs=/kern /proc' + swap=256 + extra=8 + boot=112 + init=8 + size=0 + msdosid=12 + 'kernelimg=netbsd.ub' + loadaddr=81000000 + 'selected_sets=base comp etc games man misc modules text' + OPTIND=1 + getopts 'K:D:S:c:h:s:x' f + 'selected_sets=base comp etc games man misc modules text xbase xcomp xetc xfont xserver' + getopts 'K:D:S:c:h:s:x' f + getopts 'K:D:S:c:h:s:x' f + release=/build/netbsd-local/dest/evbarm-el + getopts 'K:D:S:c:h:s:x' f + 'kernel=/build/netbsd-local/release/evbarm/binary/kernel/netbsd-BEAGLEBOARD.ub.gz' + getopts 'K:D:S:c:h:s:x' f + getopts 'K:D:S:c:h:s:x' f + shift 9 + '[' -n '/build/netbsd-local/release/evbarm/binary/gzimg/beagleboard.img.gz' ']' + 'image=/build/netbsd-local/release/evbarm/binary/gzimg/beagleboard.img.gz' + shift + compress=true + 'image=/build/netbsd-local/release/evbarm/binary/gzimg/beagleboard.img' + echo === configuring sets === === configuring sets === + echo '/set type=dir uname=root gname=wheel mode=0755' + 's=/build/netbsd-local/dest/evbarm-el/etc/mtree/set.base' + '[' -f '/build/netbsd-local/dest/evbarm-el/etc/mtree/set.base' ']' + cat '/build/netbsd-local/dest/evbarm-el/etc/mtree/set.base' + 's=/build/netbsd-local/dest/evbarm-el/etc/mtree/set.comp' + '[' -f '/build/netbsd-local/dest/evbarm-el/etc/mtree/set.comp' ']' + cat '/build/netbsd-local/dest/evbarm-el/etc/mtree/set.comp' + 's=/build/netbsd-local/dest/evbarm-el/etc/mtree/set.etc' + '[' -f '/build/netbsd-local/dest/evbarm-el/etc/mtree/set.etc' ']' + cat '/build/netbsd-local/dest/evbarm-el/etc/mtree/set.etc' + 's=/build/netbsd-local/dest/evbarm-el/etc/mtree/set.games' + '[' -f '/build/netbsd-local/dest/evbarm-el/etc/mtree/set.games' ']' + cat '/build/netbsd-local/dest/evbarm-el/etc/mtree/set.games' + 's=/build/netbsd-local/dest/evbarm-el/etc/mtree/set.man' + '[' -f '/build/netbsd-local/dest/evbarm-el/etc/mtree/set.man' ']' + cat '/build/netbsd-local/dest/evbarm-el/etc/mtree/set.man' + 's=/build/netbsd-local/dest/evbarm-el/etc/mtree/set.misc' + '[' -f '/build/netbsd-local/dest/evbarm-el/etc/mtree/set.misc' ']' + cat '/build/netbsd-local/dest/evbarm-el/etc/mtree/set.misc' + 's=/build/netbsd-local/dest/evbarm-el/etc/mtree/set.modules' + '[' -f '/build/netbsd-local/dest/evbarm-el/etc/mtree/set.modules' ']' + cat '/build/netbsd-local/dest/evbarm-el/etc/mtree/set.modules' + 's=/build/netbsd-local/dest/evbarm-el/etc/mtree/set.text' + '[' -f '/build/netbsd-local/dest/evbarm-el/etc/mtree/set.text' ']' + cat '/build/netbsd-local/dest/evbarm-el/etc/mtree/set.text' + 's=/build/netbsd-local/dest/evbarm-el/etc/mtree/set.xbase' + '[' -f '/build/netbsd-local/dest/evbarm-el/etc/mtree/set.xbase' ']' + 's=/build/netbsd-local/dest/evbarm-el/etc/mtree/set.xcomp' + '[' -f '/build/netbsd-local/dest/evbarm-el/etc/mtree/set.xcomp' ']' + 's=/build/netbsd-local/dest/evbarm-el/etc/mtree/set.xetc' + '[' -f '/build/netbsd-local/dest/evbarm-el/etc/mtree/set.xetc' ']' + 's=/build/netbsd-local/dest/evbarm-el/etc/mtree/set.xfont' + '[' -f '/build/netbsd-local/dest/evbarm-el/etc/mtree/set.xfont' ']' + 's=/build/netbsd-local/dest/evbarm-el/etc/mtree/set.xserver' + '[' -f '/build/netbsd-local/dest/evbarm-el/etc/mtree/set.xserver' ']' + cleanup + rm -fr '/tmp/mkimage.16616a' *** [smp_beagleboard] Error code 1 nbmake: stopped in /build/netbsd-local/src/etc 1 error ------------------------------------------------------------------------- | Paul Goyette | PGP Key fingerprint: | E-mail addresses: | | Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com | | Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net | | Kernel Developer | | pgoyette at netbsd.org | -------------------------------------------------------------------------