=> Bootstrap dependency digest>=20010302: found digest-20111104
=> Bootstrap dependency fetch-[0-9]*: found fetch-1.7
===> Building for scsh-0.6.7nb1
--- go ---
--- c/smain.o ---
--- c/main.o ---
--- scsh/process_args.o ---
--- c/init.o ---
--- go ---
echo '#!/bin/sh'	>go &&					 echo			>>go &&					 echo "lib=`pwd`"	>>go &&					 echo 'exec $lib/scshvm -o $lib/scshvm -i $lib/scsh/scsh.image "$@"'	 >>go &&					 chmod +x go
--- c/smain.o ---
gcc -c  -DHAVE_CONFIG_H -O3 -pipe -fstack-protector -Wno-format -fno-builtin -DSTATIC_AREAS -o c/smain.o ./c/main.c
--- c/main.o ---
gcc -c -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o c/main.o  -DDEFAULT_IMAGE_NAME=\"/usr/pkg/lib/scsh/scsh.image\"   -DHAVE_CONFIG_H ./c/main.c
--- scsh/process_args.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o scsh/process_args.o scsh/process_args.c
--- c/init.o ---
gcc -c -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o c/init.o  -DDEFAULT_IMAGE_NAME=\"/usr/pkg/lib/scsh/scsh.image\"   -DHAVE_CONFIG_H ./c/init.c
--- c/scheme48vm.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o c/scheme48vm.o c/scheme48vm.c
--- c/scheme48heap.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o c/scheme48heap.o c/scheme48heap.c
--- cig/libcig1.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o cig/libcig1.o cig/libcig1.c
--- scsh/cstuff.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o scsh/cstuff.o scsh/cstuff.c
--- scsh/dirstuff1.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o scsh/dirstuff1.o scsh/dirstuff1.c
--- scsh/fdports1.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o scsh/fdports1.o scsh/fdports1.c
--- scsh/flock1.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o scsh/flock1.o scsh/flock1.c
--- scsh/machine/time_dep1.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o scsh/machine/time_dep1.o scsh/machine/time_dep1.c
--- scsh/signals1.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o scsh/signals1.o scsh/signals1.c
--- scsh/machine/libansi.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o scsh/machine/libansi.o scsh/machine/libansi.c
--- scsh/network1.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o scsh/network1.o scsh/network1.c
--- scsh/putenv.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o scsh/putenv.o scsh/putenv.c
--- scsh/sleep1.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o scsh/sleep1.o scsh/sleep1.c
--- scsh/network1.o ---
scsh/network1.c: In function 'scheme_getsockopt':
scsh/network1.c:418:4: warning: passing argument 5 of 'getsockopt' from incompatible pointer type
/usr/include/sys/socket.h:190:12: note: expected 'socklen_t * __restrict__' but argument is of type 'size_t *'
scsh/network1.c: In function 'scheme_getsockopt_linger':
scsh/network1.c:435:4: warning: passing argument 5 of 'getsockopt' from incompatible pointer type
/usr/include/sys/socket.h:190:12: note: expected 'socklen_t * __restrict__' but argument is of type 'size_t *'
scsh/network1.c: In function 'scheme_getsockopt_timeout':
scsh/network1.c:453:4: warning: passing argument 5 of 'getsockopt' from incompatible pointer type
/usr/include/sys/socket.h:190:12: note: expected 'socklen_t * __restrict__' but argument is of type 'size_t *'
--- scsh/syscalls1.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o scsh/syscalls1.o scsh/syscalls1.c
--- scsh/time1.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o scsh/time1.o scsh/time1.c
--- scsh/tty1.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o scsh/tty1.o scsh/tty1.c
scsh/tty1.c: In function 'allocate_slave_name':
scsh/tty1.c:497:14: warning: assignment makes pointer from integer without a cast
--- scsh/userinfo1.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o scsh/userinfo1.o scsh/userinfo1.c
--- scsh/sighandlers1.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o scsh/sighandlers1.o scsh/sighandlers1.c
--- scsh/libscsh.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o scsh/libscsh.o scsh/libscsh.c
--- scsh/md5.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o scsh/md5.o scsh/md5.c
--- scsh/proc2.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o scsh/proc2.o scsh/proc2.c
--- c/srfi/srfi-27.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o c/srfi/srfi-27.o c/srfi/srfi-27.c
--- c/unix/misc.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o c/unix/misc.o c/unix/misc.c
--- c/unix/io.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o c/unix/io.o c/unix/io.c
--- c/unix/fd-io.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o c/unix/fd-io.o c/unix/fd-io.c
--- c/unix/event.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o c/unix/event.o c/unix/event.c
--- scsh/scsh ---
gcc -o scsh/scsh  -O3 -pipe -fstack-protector -Wno-format -fno-builtin  -DVM=\"/usr/pkg/lib/scsh/scshvm\"  -DIMAGE=\"/usr/pkg/lib/scsh/scsh.image\"  ./scsh/scsh-tramp.c
--- scsh/configure.scm ---
sed -e 's|@scsh_host@|x86_64-unknown-linux-gnu|g'  -e 's|@scsh_prefix@|/usr/pkg|g'  -e 's|@scsh_exec_prefix@|/usr/pkg|g'  -e 's|@scsh_bindir@|/usr/pkg/bin|g'  -e 's|@scsh_libdir@|/usr/pkg/lib|g'  -e 's|@scsh_includedir@|/usr/pkg/include|g'  -e 's|@scsh_mandir@|/usr/pkg/share/man/man1|g'  -e 's|@scsh_lib_dirs_list@|("/usr/pkg/lib/scsh/modules" "/usr/pkg/lib/scsh/modules/0.6")|g'  -e 's|@scsh_LIBS@|-lcrypt -lnsl -ldl -lm -lc -lutil|g'  -e 's|@scsh_DEFS@|-DHAVE_CONFIG_H|g'  -e 's|@scsh_CFLAGS@|-O3 -pipe -fstack-protector -Wno-format -fno-builtin|g'  -e 's|@scsh_CPPFLAGS@||g'  -e 's|@scsh_LDFLAGS@|-Wl,-R/usr/pkg/lib -rdynamic|g' ./scsh/configure.scm.in > scsh/configure.scm
--- c/unix/socket.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o c/unix/socket.o c/unix/socket.c
--- c/unix/dynamo.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o c/unix/dynamo.o c/unix/dynamo.c
--- scsh/rx/regexp1.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o scsh/rx/regexp1.o scsh/rx/regexp1.c
--- c/unix/socket.o ---
c/unix/socket.c: In function 's48_get_host_name':
c/unix/socket.c:393:11: warning: cast to pointer from integer of different size
--- scsh/syslog1.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o scsh/syslog1.o scsh/syslog1.c
--- c/extension.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o c/extension.o c/extension.c
--- c/external.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o c/external.o c/external.c
--- cig/libcig.o ---
gcc -c -DHAVE_CONFIG_H -I ./c -I./c -I./cig  -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o cig/libcig.o cig/libcig.c
--- scshvm ---
--- cig/libscshvm.a ---
--- scsh/libscshvm.a ---
--- scsh/libscsh.a ---
--- scshvm ---
rm -f /tmp/s48_external_$$.c &&					 ./build/build-external-modules /tmp/s48_external_$$.c		 s48_init_additional_inits s48_init_socket 	 s48_init_external_lookup 							 s48_init_syslog s48_init_posix_regexp  s48_init_userinfo s48_init_sighandlers  s48_init_syscalls s48_init_network s48_init_flock  s48_init_dirstuff s48_init_time s48_init_tty  s48_init_cig s48_init_libscsh s48_init_md5 s48_init_srfi_27				 s48_init_cig &&					 gcc -Wl,-R/usr/pkg/lib -rdynamic -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o scshvm c/main.o scsh/process_args.o c/init.o c/scheme48vm.o c/scheme48heap.o c/extension.o c/external.o cig/libcig.o cig/libcig1.o scsh/cstuff.o  scsh/dirstuff1.o  scsh/fdports1.o  scsh/flock1.o  scsh/machine/time_dep1.o  scsh/signals1.o  scsh/machine/libansi.o  scsh/network1.o  scsh/putenv.o  scsh/rx/regexp1.o  scsh/sleep1.o  scsh/syscalls1.o  scsh/syslog1.o  scsh/time1.o  scsh/tty1.o  scsh/userinfo1.o  scsh/sighandlers1.o  scsh/libscsh.o  scsh/md5.o  scsh/proc2.o c/srfi/srfi-27.o c/unix/misc.o c/unix/io.o c/unix/fd-io.o c/unix/event.o		 /tmp/s48_external_$$.c					 c/unix/socket.o c/unix/dynamo.o 			  -lcrypt -lnsl -ldl -lm -lc -lutil &&						 rm -f /tmp/s48_external_$$.c
--- cig/libscshvm.a ---
rm -f cig/libscshvm.a
--- scsh/libscshvm.a ---
rm -f scsh/libscshvm.a
--- scsh/libscsh.a ---
rm -f scsh/libscsh.a								 rm -f /tmp/s48_external_$$.c &&					 ./build/build-external-modules /tmp/s48_external_$$.c		 s48_init_additional_inits s48_init_socket 	 s48_init_external_lookup 							 s48_init_syslog s48_init_posix_regexp  s48_init_userinfo s48_init_sighandlers  s48_init_syscalls s48_init_network s48_init_flock  s48_init_dirstuff s48_init_time s48_init_tty  s48_init_cig s48_init_libscsh s48_init_md5 s48_init_srfi_27				 s48_init_cig &&					 gcc -c -O3 -pipe -fstack-protector -Wno-format -fno-builtin -o  /tmp/s48_external_$$.o				 /tmp/s48_external_$$.c &&				 ar cq scsh/libscsh.a scsh/process_args.o c/init.o c/scheme48vm.o c/scheme48heap.o c/extension.o c/external.o cig/libcig.o cig/libcig1.o scsh/cstuff.o  scsh/dirstuff1.o  scsh/fdports1.o  scsh/flock1.o  scsh/machine/time_dep1.o  scsh/signals1.o  scsh/machine/libansi.o  scsh/network1.o  scsh/putenv.o  scsh/rx/regexp1.o  scsh/sleep1.o  scsh/syscalls1.o  scsh/syslog1.o  scsh/time1.o  scsh/tty1.o  scsh/userinfo1.o  scsh/sighandlers1.o  scsh/libscsh.o  scsh/md5.o  scsh/proc2.o c/srfi/srfi-27.o c/unix/misc.o c/unix/io.o c/unix/fd-io.o c/unix/event.o  c/unix/socket.o c/unix/dynamo.o	 /tmp/s48_external_$$.o &&					 ranlib scsh/libscsh.a &&								 rm -f /tmp/s48_external_$$.c /tmp/s48_external_$$.o
--- cig/libscshvm.a ---
ar cq cig/libscshvm.a c/main.o  scsh/process_args.o c/init.o c/scheme48vm.o c/scheme48heap.o c/extension.o c/external.o cig/libcig.o cig/libcig1.o scsh/cstuff.o  scsh/dirstuff1.o  scsh/fdports1.o  scsh/flock1.o  scsh/machine/time_dep1.o  scsh/signals1.o  scsh/machine/libansi.o  scsh/network1.o  scsh/putenv.o  scsh/rx/regexp1.o  scsh/sleep1.o  scsh/syscalls1.o  scsh/syslog1.o  scsh/time1.o  scsh/tty1.o  scsh/userinfo1.o  scsh/sighandlers1.o  scsh/libscsh.o  scsh/md5.o  scsh/proc2.o c/srfi/srfi-27.o
--- scsh/libscshvm.a ---
ar cq scsh/libscshvm.a c/smain.o scsh/process_args.o c/init.o c/scheme48vm.o c/scheme48heap.o c/extension.o c/external.o cig/libcig.o cig/libcig1.o scsh/cstuff.o  scsh/dirstuff1.o  scsh/fdports1.o  scsh/flock1.o  scsh/machine/time_dep1.o  scsh/signals1.o  scsh/machine/libansi.o  scsh/network1.o  scsh/putenv.o  scsh/rx/regexp1.o  scsh/sleep1.o  scsh/syscalls1.o  scsh/syslog1.o  scsh/time1.o  scsh/tty1.o  scsh/userinfo1.o  scsh/sighandlers1.o  scsh/libscsh.o  scsh/md5.o  scsh/proc2.o c/srfi/srfi-27.o
--- cig/libscshvm.a ---
ranlib cig/libscshvm.a
--- scsh/libscshvm.a ---
ranlib scsh/libscshvm.a
--- scsh.image ---
./build/build-usual-image . "./scheme" 'scsh.image' './scshvm'  './build/initial.image'
./build/build-usual-image: line 34: 27550 Segmentation fault      ./$vm -o ./$vm -i $initial batch  <<EOF
,load $srcdir/scheme/env/init-defpackage.scm
((*structure-ref filenames 'set-translation!)
 "=scheme48/" "$srcdir/scheme/")
,load =scheme48/more-interfaces.scm =scheme48/sort/interfaces.scm
,load =scheme48/link-packages.scm
,load =scheme48/more-packages.scm
(ensure-loaded command-processor)
(ensure-loaded usual-commands)
,go ((*structure-ref command 'command-processor)
     (structure-package usual-commands)
     (list "batch"))
(ensure-loaded usual-features)
,structure more-structures more-structures-interface
,in debuginfo (read-debug-info "$srcdir/build/initial.debug")
,keep maps source files
,translate =scheme48/ $lib/
,build ((*structure-ref package-commands-internal
			'new-command-processor)
	"(made by $USER on $date)"
	usual-commands
	built-in-structures more-structures) $image
EOF

*** [scsh.image] Error code 139

bmake: stopped in /tmp/pkgsrc/shells/scsh/work/scsh-0.6.7
1 error

bmake: stopped in /tmp/pkgsrc/shells/scsh/work/scsh-0.6.7
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/shells/scsh
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/shells/scsh