=> Bootstrap dependency digest>=20010302: found digest-20121220
WARNING: [bsd.prefs.mk] The package mtd-utils-1.0.0 is missing DESTDIR support.
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for mtd-utils-1.0.0
cp /usr/pkgsrc/wip/mtd-utils/files/include/mtd_swab.h /scratch/wip/mtd-utils/work/mtd-utils-1.0.0/include
gcc -I./include -O2 -Wall -D_NETBSD_SOURCE -g -c -o ftl_format.o ftl_format.c -g -Wp,-MD,.ftl_format.c.dep
gcc -I./include -O2 -Wall -D_NETBSD_SOURCE -g -c -o flash_erase.o flash_erase.c -g -Wp,-MD,.flash_erase.c.dep
gcc -I./include -O2 -Wall -D_NETBSD_SOURCE -g -c -o crc32.o crc32.c -g -Wp,-MD,.crc32.c.dep
gcc -I./include -O2 -Wall -D_NETBSD_SOURCE -g -c -o flash_eraseall.o flash_eraseall.c -g -Wp,-MD,.flash_eraseall.c.dep
gcc -I./include -O2 -Wall -D_NETBSD_SOURCE -g -c -o nanddump.o nanddump.c -g -Wp,-MD,.nanddump.c.dep
gcc -I./include -O2 -Wall -D_NETBSD_SOURCE -g -c -o doc_loadbios.o doc_loadbios.c -g -Wp,-MD,.doc_loadbios.c.dep
gcc -I./include -O2 -Wall -D_NETBSD_SOURCE -g -c -o mkfs.jffs.o mkfs.jffs.c -g -Wp,-MD,.mkfs.jffs.c.dep
gcc -I./include -O2 -Wall -D_NETBSD_SOURCE -g -c -o ftl_check.o ftl_check.c -g -Wp,-MD,.ftl_check.c.dep
gcc -I./include -O2 -Wall -D_NETBSD_SOURCE -g -c -o compr_rtime.o compr_rtime.c -g -Wp,-MD,.compr_rtime.c.dep
gcc -I./include -O2 -Wall -D_NETBSD_SOURCE -g -c -o mkfs.jffs2.o mkfs.jffs2.c -g -Wp,-MD,.mkfs.jffs2.c.dep
mkfs.jffs.c: In function 'read_data':
mkfs.jffs.c:411:13: warning: cast from pointer to integer of different size
mkfs.jffs.c: In function 'main':
mkfs.jffs.c:705:7: warning: array subscript has type 'char'
gcc -I./include -O2 -Wall -D_NETBSD_SOURCE -g -c -o compr_zlib.o compr_zlib.c -g -Wp,-MD,.compr_zlib.c.dep
mkfs.jffs2.c: In function 'parse_device_table':
mkfs.jffs2.c:600:31: warning: comparison between pointer and integer
mkfs.jffs2.c:605:3: warning: array subscript has type 'char'
mkfs.jffs2.c: In function 'process_buffer':
mkfs.jffs2.c:1247:12: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
mkfs.jffs2.c:1247:12: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
mkfs.jffs2.c:1271:7: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
mkfs.jffs2.c:1271:7: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
mkfs.jffs2.c:1288:7: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
mkfs.jffs2.c:1288:7: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
mkfs.jffs2.c:1297:7: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
mkfs.jffs2.c:1297:7: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
mkfs.jffs2.c:1307:7: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
mkfs.jffs2.c:1307:7: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
mkfs.jffs2.c:1321:7: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
mkfs.jffs2.c:1321:7: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
gcc -I./include -O2 -Wall -D_NETBSD_SOURCE -g -c -o compr.o compr.c -g -Wp,-MD,.compr.c.dep
gcc -I./include -O2 -Wall -D_NETBSD_SOURCE -g -c -o flash_lock.o flash_lock.c -g -Wp,-MD,.flash_lock.c.dep
gcc -I./include -O2 -Wall -D_NETBSD_SOURCE -g -c -o flash_unlock.o flash_unlock.c -g -Wp,-MD,.flash_unlock.c.dep
gcc -I./include -O2 -Wall -D_NETBSD_SOURCE -g -c -o flash_info.o flash_info.c -g -Wp,-MD,.flash_info.c.dep
gcc -I./include -O2 -Wall -D_NETBSD_SOURCE -g -c -o flash_otp_info.o flash_otp_info.c -g -Wp,-MD,.flash_otp_info.c.dep
gcc -I./include -O2 -Wall -D_NETBSD_SOURCE -g -c -o flash_otp_dump.o flash_otp_dump.c -g -Wp,-MD,.flash_otp_dump.c.dep
gcc -I./include -O2 -Wall -D_NETBSD_SOURCE -g -c -o mtd_debug.o mtd_debug.c -g -Wp,-MD,.mtd_debug.c.dep
mtd_debug.c: In function 'flash_to_file':
mtd_debug.c:164:4: warning: format '%d' expects type 'int', but argument 2 has type 'size_t'
mtd_debug.c:164:4: warning: format '%d' expects type 'int', but argument 2 has type 'size_t'
gcc -I./include -O2 -Wall -D_NETBSD_SOURCE -g -c -o flashcp.o flashcp.c -g -Wp,-MD,.flashcp.c.dep
gcc -I./include -O2 -Wall -D_NETBSD_SOURCE -g -c -o nandwrite.o nandwrite.c -g -Wp,-MD,.nandwrite.c.dep
flashcp.c: In function 'main':
flashcp.c:258:2: warning: #warning "Check for smaller erase regions"
gcc -I./include -O2 -Wall -D_NETBSD_SOURCE -g -c -o jffs2dump.o jffs2dump.c -g -Wp,-MD,.jffs2dump.c.dep
gcc -I./include -O2 -Wall -D_NETBSD_SOURCE -g -c -o nftldump.o nftldump.c -g -Wp,-MD,.nftldump.c.dep
gcc -I./include -O2 -Wall -D_NETBSD_SOURCE -g -c -o nftl_format.o nftl_format.c -g -Wp,-MD,.nftl_format.c.dep
jffs2dump.c: In function 'do_dumpcontent':
jffs2dump.c:213:4: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
jffs2dump.c:213:4: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
jffs2dump.c:213:4: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
jffs2dump.c:213:4: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
jffs2dump.c:218:12: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
jffs2dump.c:218:12: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
jffs2dump.c:236:4: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
jffs2dump.c:236:4: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
jffs2dump.c:249:6: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
jffs2dump.c:249:6: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
jffs2dump.c:253:5: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
jffs2dump.c:253:5: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
jffs2dump.c:261:5: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
jffs2dump.c:261:5: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
jffs2dump.c:277:6: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
jffs2dump.c:277:6: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
jffs2dump.c:281:5: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
jffs2dump.c:281:5: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
jffs2dump.c:289:5: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
jffs2dump.c:289:5: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
jffs2dump.c:308:6: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
jffs2dump.c:308:6: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
jffs2dump.c:312:5: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
jffs2dump.c:312:5: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
jffs2dump.c:320:5: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
jffs2dump.c:320:5: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
jffs2dump.c:395:6: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
jffs2dump.c:395:6: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
jffs2dump.c:404:6: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
jffs2dump.c:404:6: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
jffs2dump.c:418:6: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
jffs2dump.c:418:6: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
jffs2dump.c: In function 'do_endianconvert':
jffs2dump.c:458:4: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
jffs2dump.c:458:4: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
jffs2dump.c:468:4: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
jffs2dump.c:468:4: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
jffs2dump.c:633:4: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
jffs2dump.c:633:4: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
gcc -I./include -O2 -Wall -D_NETBSD_SOURCE -g -c -o docfdisk.o docfdisk.c -g -Wp,-MD,.docfdisk.c.dep
gcc -I./include -O2 -Wall -D_NETBSD_SOURCE -g -c -o rfddump.o rfddump.c -g -Wp,-MD,.rfddump.c.dep
gcc -I./include -O2 -Wall -D_NETBSD_SOURCE -g -c -o rfdformat.o rfdformat.c -g -Wp,-MD,.rfdformat.c.dep
gcc -I./include -O2 -Wall -D_NETBSD_SOURCE -g -c -o sumtool.o sumtool.c -g -Wp,-MD,.sumtool.c.dep
gcc -Wl,-R/usr/pkg/lib -g -o ftl_format ftl_format.o
gcc -Wl,-R/usr/pkg/lib -g -o flash_erase flash_erase.o
sumtool.c: In function 'create_summed_image':
sumtool.c:672:5: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
sumtool.c:672:5: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
sumtool.c:691:4: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
sumtool.c:691:4: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
sumtool.c:703:7: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
sumtool.c:703:7: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
sumtool.c:707:6: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
sumtool.c:707:6: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
sumtool.c:714:6: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
sumtool.c:714:6: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
sumtool.c:733:7: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
sumtool.c:733:7: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
sumtool.c:737:6: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
sumtool.c:737:6: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
sumtool.c:744:6: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
sumtool.c:744:6: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long int'
sumtool.c:758:7: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
sumtool.c:758:7: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
sumtool.c:777:7: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
sumtool.c:777:7: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
sumtool.c:790:7: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
sumtool.c:790:7: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'long int'
gcc -Wl,-R/usr/pkg/lib -o flash_eraseall crc32.o flash_eraseall.o
gcc -Wl,-R/usr/pkg/lib -g -o nanddump nanddump.o
gcc -Wl,-R/usr/pkg/lib -g -o doc_loadbios doc_loadbios.o
gcc -Wl,-R/usr/pkg/lib -g -o mkfs.jffs mkfs.jffs.o
gcc -Wl,-R/usr/pkg/lib -g -o ftl_check ftl_check.o
gcc -Wl,-R/usr/pkg/lib -o mkfs.jffs2 crc32.o compr_rtime.o mkfs.jffs2.o compr_zlib.o compr.o -lz
gcc -Wl,-R/usr/pkg/lib -g -o flash_lock flash_lock.o
gcc -Wl,-R/usr/pkg/lib -g -o flash_unlock flash_unlock.o
gcc -Wl,-R/usr/pkg/lib -g -o flash_info flash_info.o
gcc -Wl,-R/usr/pkg/lib -g -o flash_otp_info flash_otp_info.o
gcc -Wl,-R/usr/pkg/lib -g -o flash_otp_dump flash_otp_dump.o
gcc -Wl,-R/usr/pkg/lib -g -o mtd_debug mtd_debug.o
gcc -Wl,-R/usr/pkg/lib -g -o flashcp flashcp.o
gcc -Wl,-R/usr/pkg/lib -g -o nandwrite nandwrite.o
gcc -Wl,-R/usr/pkg/lib -o jffs2dump jffs2dump.o crc32.o
gcc -Wl,-R/usr/pkg/lib -g -o nftldump nftldump.o
gcc -Wl,-R/usr/pkg/lib -g -o nftl_format nftl_format.o
gcc -Wl,-R/usr/pkg/lib -g -o docfdisk docfdisk.o
gcc -Wl,-R/usr/pkg/lib -g -o rfddump rfddump.o
gcc -Wl,-R/usr/pkg/lib -g -o rfdformat rfdformat.o
gcc -Wl,-R/usr/pkg/lib -o sumtool sumtool.o crc32.o
rm doc_loadbios.o flash_info.o docfdisk.o ftl_check.o rfdformat.o nandwrite.o mtd_debug.o mkfs.jffs.o flash_otp_dump.o nftldump.o flash_otp_info.o rfddump.o flash_unlock.o nftl_format.o flash_lock.o flashcp.o flash_erase.o ftl_format.o nanddump.o
=> Unwrapping files-to-be-installed.
cd /scratch/wip/mtd-utils/work/mtd-utils-1.0.0/checkfs && /usr/bin/make
gcc -g -Wall -c comm.c -o comm.o
comm.c: In function 'do_pwr_dn':
comm.c:47:5: warning: implicit declaration of function 'strlen'
comm.c:47:23: warning: incompatible implicit declaration of built-in function 'strlen'
gcc -g -Wall checkfs.c comm.o -o checkfs
checkfs.c: In function 'processCmdLine':
checkfs.c:524:28: warning: format '%i' expects type 'int', but argument 2 has type 'long unsigned int'
checkfs.c:524:28: warning: format '%i' expects type 'int', but argument 2 has type 'long unsigned int'
gcc -g -Wall makefiles.c -o makefiles
cd /scratch/wip/mtd-utils/work/mtd-utils-1.0.0/jittertest && /usr/bin/make
gcc -O3 -Wall -march=i486 -fomit-frame-pointer -D_NETBSD_SOURCE -L/usr/lib -lm -lpthread JitterTest.c -o JitterTest
JitterTest.c:1:0: error: CPU you selected does not support x86-64 instruction set
JitterTest.c:1:0: error: CPU you selected does not support x86-64 instruction set
*** Error code 1

Stop.
make: stopped in /scratch/wip/mtd-utils/work/mtd-utils-1.0.0/jittertest
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/wip/mtd-utils
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/wip/mtd-utils