###
### Wed Jul 7 21:09:14 CEST 2004:
### /usr/pkg/bin/bmake bulk-package for scm-5d8
### Current pkg count: 1 installed packages: digest-20021220
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
===> Cleaning for scm-5d8
===> Cleaning for slib-2.4.6
===> Cleaning for pkg_install-info-4.5nb2
===> Cleaning for unzip-5.51
===> Cleaning for zlib-1.2.1nb1
===> Cleaning for libtool-base-1.5.6nb1
===> Cleaning for patch-2.5.4nb2
===> Cleaning for gmake-3.80nb3
===> Cleaning for gettext-lib-0.11.5nb3
===> Cleaning for libiconv-1.9.1nb2
BULK> Removing installed packages which are not needed to build scm-5d8
BULK> Keeping BULK_PREREQ: digest-20021220 (pkgtools/digest)
BULK> Installing packages which are required to build scm-5d8.
BULK> /usr/pkg/sbin/pkg_add -K /var/db/pkg /packages/All/slib-2.4.6.tgz
BULK> Required package pkg_install-info-4.5nb2 (pkgtools/pkg_install-info) is already installed
BULK> /usr/pkg/sbin/pkg_add -K /var/db/pkg /packages/All/unzip-5.51.tgz
BULK> Required package zlib-1.2.1nb1 (devel/zlib) is already installed
BULK> /usr/pkg/sbin/pkg_add -K /var/db/pkg /packages/All/libtool-base-1.5.6nb1.tgz
BULK> /usr/pkg/sbin/pkg_add -K /var/db/pkg /packages/All/patch-2.5.4nb2.tgz
BULK> /usr/pkg/sbin/pkg_add -K /var/db/pkg /packages/All/gmake-3.80nb3.tgz
===> Installing configuration/support files for libiconv-1.9.1nb2
/usr/pkg/lib/charset.alias
BULK> Required package gettext-lib-0.11.5nb3 (devel/gettext-lib) is already installed
BULK> Required package libiconv-1.9.1nb2 (converters/libiconv) is already installed
BULK> Required package digest-20021220 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (scm-5d8)
===> Checking for vulnerabilities in scm-5d8
=> scm5d8.zip doesn't seem to exist on this system.
=> Attempting to fetch scm5d8.zip from ftp://ftp.cz.NetBSD.org/pub/NetBSD/packages/distfiles/.
=> [835040 bytes]
=> Checksum OK for scm5d8.zip.
work -> /pkgbuild/lang/scm/work
===> Extracting for scm-5d8
===> Required installed package slib>=2.4.6: slib-2.4.6 found
===> Required installed package pkg_install-info-[0-9]*: pkg_install-info-4.5nb2 found
===> Required installed package gmake>=3.78: gmake-3.80nb3 found
===> Required installed package patch>=2.2: patch-2.5.4nb2 found
===> Required installed package unzip-[0-9]*: unzip-5.51 found
===> Patching for scm-5d8
===> Applying pkgsrc patches for scm-5d8
/usr/pkg/bin/nbsed -e 's|%%LOCALBASE%%|/usr/pkg|g' < /usr/pkgsrc/lang/scm/files/require.scm > /pkgbuild/lang/scm/work/scm/require.scm
===> Overriding tools for scm-5d8
===> Configuring for scm-5d8
===> Building for scm-5d8
Makefile:69: srcdir.mk: No such file or directory
echo "CPROTO=`type cproto | sed 's%.* %%'`" > srcdir.mk
echo "srcdir=`pwd`/" >> srcdir.mk
echo "#ifndef IMPLINIT" > newflags.h
echo "#define IMPLINIT \"/pkgbuild/lang/scm/work/scm/Init5d8.scm\"" >> newflags.h
echo "#endif" >> newflags.h
echo "#define CAUTIOUS" >> newflags.h
if (diff newflags.h scmflags.h) then rm newflags.h; \
else mv newflags.h scmflags.h; fi
diff: scmflags.h: No such file or directory
cc -c -g scm.c -o scm.o
cc -c -g time.c -o time.o
cc -c -g repl.c -o repl.o
"repl.c", line 1352: warning: implicit function declaration: isspace
"repl.c", line 1583: warning: implicit function declaration: sbrk
cc -c -g scl.c -o scl.o
cc -c -g sys.c -o sys.o
"sys.c", line 545: warning: initialization type mismatch
"sys.c", line 546: warning: initialization type mismatch
"sys.c", line 547: warning: initialization type mismatch
"sys.c", line 549: warning: initialization type mismatch
"sys.c", line 550: warning: initialization type mismatch
"sys.c", line 644: warning: initialization type mismatch
"sys.c", line 645: warning: initialization type mismatch
"sys.c", line 646: warning: initialization type mismatch
"sys.c", line 647: warning: initialization type mismatch
"sys.c", line 648: warning: initialization type mismatch
"sys.c", line 649: warning: initialization type mismatch
"sys.c", line 681: warning: initialization type mismatch
"sys.c", line 682: warning: initialization type mismatch
"sys.c", line 756: warning: initialization type mismatch
"sys.c", line 757: warning: initialization type mismatch
"sys.c", line 850: warning: initialization type mismatch
"sys.c", line 851: warning: initialization type mismatch
"sys.c", line 852: warning: initialization type mismatch
"sys.c", line 853: warning: initialization type mismatch
cc -c -g eval.c -o eval.o
cc -c -g subr.c -o subr.o
cc -c -g unif.c -o unif.o
cc -c -g rope.c -o rope.o
cc -c -g continue.c -o continue.o
cc -c -g findexec.c -o findexec.o
cc -c -g script.c -o script.o
cc -c -g debug.c -o debug.o
cc -c -g scmmain.c -o scmmain.o
cc -o scmlit scm.o time.o repl.o scl.o sys.o eval.o subr.o unif.o rope.o continue.o findexec.o script.o debug.o scmmain.o
/usr/pkg/bin/gmake checklit
gmake[1]: Entering directory `/pkgbuild/lang/scm/work/scm'
./scmlit -fr4rstest.scm -e'(test-sc4)(test-cont)(test-delay)(gc)' \
-e '(or (null? errs) (quit 1))'
SECTION(2 1)
SECTION(3 4)
#
#
#
#
#
#
#
#
#
(#t #f #f #f #f #f #f #f #f)#t
(#t #f #f #f #f #f #f #f #f)#f
(#f #t #f #f #f #f #f #f #f)#\a
(#f #f #t #f #f #f #f #f #f)()
(#f #f #f #t #f #f #f #f #f)9739
(#f #f #f #f #t #f #f #f #f)(test)
(#f #f #f #f #f #t #f #f #f)#
(#f #f #f #f #f #f #t #f #f)"test"
(#f #f #f #f #f #f #t #f #f)""
(#f #f #f #f #f #f #f #t #f)test
(#f #f #f #f #f #f #f #f #t)#()
(#f #f #f #f #f #f #f #f #t)#(a b c)
SECTION(4 1 2)
(quote (quote a)) ==> (quote a)
(quote (quote a)) ==> (quote a)
SECTION(4 1 3)
(# 3 4) ==> 12
SECTION(4 1 4)
(# "r4rstest.scm": (x) (+ x x)> 4) ==> 8
(# 7 10) ==> 3
(# "r4rstest.scm": (y) (+ x y)> 6) ==> 10
(# "r4rstest.scm": x x> 3 4 5 6) ==> (3 4 5 6)
(# "r4rstest.scm": (x y . z) z> 3 4 5 6) ==> (5 6)
SECTION(4 1 5)
(if yes) ==> yes
(if no) ==> no
(if 1) ==> 1
SECTION(4 1 6)
(define 3) ==> 3
(set! 5) ==> 5
SECTION(4 2 1)
(cond greater) ==> greater
(cond equal) ==> equal
(cond 2) ==> 2
(case composite) ==> composite
(case consonant) ==> consonant
(and #t) ==> #t
(and #f) ==> #f
(and (f g)) ==> (f g)
(and #t) ==> #t
(or #t) ==> #t
(or #t) ==> #t
(or #f) ==> #f
(or #f) ==> #f
(or (b c)) ==> (b c)
SECTION(4 2 2)
(let 6) ==> 6
(let 35) ==> 35
(let* 70) ==> 70
(letrec #t) ==> #t
(let 5) ==> 5
(let 34) ==> 34
(let 6) ==> 6
(let 34) ==> 34
(let* 7) ==> 7
(let* 34) ==> 34
(let* 8) ==> 8
(let* 34) ==> 34
(letrec 9) ==> 9
(letrec 34) ==> 34
(letrec 10) ==> 10
(letrec 34) ==> 34
SECTION(4 2 3)
(begin 6) ==> 6
SECTION(4 2 4)
(do #(0 1 2 3 4)) ==> #(0 1 2 3 4)
(do 25) ==> 25
(let 1) ==> 1
(let ((6 1 3) (-5 -2))) ==> ((6 1 3) (-5 -2))
(let -1) ==> -1
SECTION(4 2 6)
(quasiquote (list 3 4)) ==> (list 3 4)
(quasiquote (list a (quote a))) ==> (list a (quote a))
(quasiquote (a 3 4 5 6 b)) ==> (a 3 4 5 6 b)
(quasiquote ((foo 7) . cons)) ==> ((foo 7) . cons)
(quasiquote #(10 5 2 4 3 8)) ==> #(10 5 2 4 3 8)
(quasiquote 5) ==> 5
(quasiquote (a (quasiquote (b (unquote (+ 1 2)) (unquote (foo 4 d)) e)) f)) ==> (a (quasiquote (b (unquote (+ 1 2)) (unquote (foo 4 d)) e)) f)
(quasiquote (a (quasiquote (b (unquote x) (unquote (quote y)) d)) e)) ==> (a (quasiquote (b (unquote x) (unquote (quote y)) d)) e)
(quasiquote (list 3 4)) ==> (list 3 4)
(quasiquote (quasiquote (list (unquote (+ 1 2)) 4))) ==> (quasiquote (list (unquote (+ 1 2)) 4))
SECTION(5 2 1)
(define 6) ==> 6
(define 1) ==> 1
(# 6) ==> (3 6)
(# 6) ==> 9
SECTION(5 2 2)
(define 45) ==> 45
(#) ==> 5
(define 34) ==> 34
(#) ==> 5
(define 34) ==> 34
(# 88) ==> 88
(# 4) ==> 4
(define 34) ==> 34
(internal-define 99) ==> 99
(internal-define 77) ==> 77
SECTION(6 1)
(# #t) ==> #f
(# 3) ==> #f
(# (3)) ==> #f
(# #f) ==> #t
(# ()) ==> #f
(# ()) ==> #f
(# nil) ==> #f
SECTION(6 2)
(# a a) ==> #t
(# a b) ==> #f
(# 2 2) ==> #t
(# () ()) ==> #t
(# 10000 10000) ==> #t
(# (1 . 2) (1 . 2)) ==> #f
(# # "r4rstest.scm": () 1> # "r4rstest.scm": () 2>) ==> #f
(# #f nil) ==> #f
(# # #) ==> #t
(# # "r4rstest.scm": () (set! n (+ n 1)) n> # "r4rstest.scm": () (set! n (+ n 1)) n>) ==> #t
(# # "r4rstest.scm": () (set! n (+ n 1)) n> # "r4rstest.scm": () (set! n (+ n 1)) n>) ==> #f
(# # #) ==> #f
(# a a) ==> #t
(# (a) (a)) ==> #f
(# () ()) ==> #t
(# # #) ==> #t
(# (a) (a)) ==> #t
(# #() #()) ==> #t
(# # #) ==> #t
(# a a) ==> #t
(# (a) (a)) ==> #t
(# (a (b) c) (a (b) c)) ==> #t
(# "abc" "abc") ==> #t
(# 2 2) ==> #t
(# #(a a a a a) #(a a a a a)) ==> #t
SECTION(6 3)
(dot (a b c d e)) ==> (a b c d e)
(# (a b c)) ==> #t
(set-cdr! (a . 4)) ==> (a . 4)
(# (a . 4) (a . 4)) ==> #t
(dot (a b c . d)) ==> (a b c . d)
(# (a . 4)) ==> #f
(list? #f) ==> #f
(# a ()) ==> (a)
(# (a) (b c d)) ==> ((a) b c d)
(# "a" (b c)) ==> ("a" b c)
(# a 3) ==> (a . 3)
(# (a b) c) ==> ((a b) . c)
(# (a b c)) ==> a
(# ((a) b c d)) ==> (a)
(# (1 . 2)) ==> 1
(# ((a) b c d)) ==> (b c d)
(# (1 . 2)) ==> 2
(# a 7 c) ==> (a 7 c)
(#) ==> ()
(# (a b c)) ==> 3
(# (a (b) (c d e))) ==> 3
(# ()) ==> 0
(# (x) (y)) ==> (x y)
(# (a) (b c d)) ==> (a b c d)
(# (a (b)) ((c))) ==> (a (b) (c))
(#) ==> ()
(# (a b) (c . d)) ==> (a b c . d)
(# () a) ==> a
(# (a b c)) ==> (c b a)
(# (a (b c) d (e (f)))) ==> ((e (f)) d (b c) a)
(# (a b c d) 2) ==> c
(# a (a b c)) ==> (a b c)
(# b (a b c)) ==> (b c)
(# a (b c d)) ==> #f
(# (a) (b (a) c)) ==> #f
(# (a) (b (a) c)) ==> ((a) c)
(# 101 (100 101 102)) ==> (101 102)
(# a ((a 1) (b 2) (c 3))) ==> (a 1)
(# b ((a 1) (b 2) (c 3))) ==> (b 2)
(# d ((a 1) (b 2) (c 3))) ==> #f
(# (a) (((a)) ((b)) ((c)))) ==> #f
(# (a) (((a)) ((b)) ((c)))) ==> ((a))
(# 5 ((2 3) (5 7) (11 13))) ==> (5 7)
SECTION(6 4)
(# a) ==> #t
(standard-case #t) ==> #t
(standard-case #t) ==> #t
(#string> flying-fish) ==> "flying-fish"
(#string> martin) ==> "martin"
(#string> Malvina) ==> "Malvina"
(standard-case #t) ==> #t
(string-set! "cb") ==> "cb"
(#string> ab) ==> "ab"
(#symbol> "ab") ==> ab
(# mississippi mississippi) ==> #t
(string->symbol #f) ==> #f
(#symbol> "jollywog") ==> jollywog
SECTION(6 5 5)
(# 3) ==> #t
(# 3) ==> #t
(# 3) ==> #t
(# 3) ==> #t
(# 3) ==> #t
(# 3) ==> #t
(# 3) ==> #f
(# 22 22 22) ==> #t
(# 22 22) ==> #t
(# 34 34 35) ==> #f
(# 34 35) ==> #f
(#> 3 -6246) ==> #t
(#> 9 9 -2424) ==> #f
(#=> 3 -4 -6246) ==> #t
(#=> 9 9) ==> #t
(#=> 8 9) ==> #f
(# -1 2 3 4 5 6 7 8) ==> #t
(# -1 2 3 4 4 5 6 7) ==> #f
(# -1 2 3 4 5 6 7 8) ==> #t
(# -1 2 3 4 4 5 6 7) ==> #t
(# 1 3 2) ==> #f
(#=> 1 3 2) ==> #f
(# 0) ==> #t
(# 1) ==> #f
(# -1) ==> #f
(# -100) ==> #f
(# 4) ==> #t
(# -4) ==> #f
(# 0) ==> #f
(# 4) ==> #f
(# -4) ==> #t
(# 0) ==> #f
(# 3) ==> #t
(# 2) ==> #f
(# -4) ==> #f
(# -1) ==> #t
(# 3) ==> #f
(# 2) ==> #t
(# -4) ==> #t
(# -1) ==> #f
(# 34 5 7 38 6) ==> 38
(# 3 5 5 330 4 -24) ==> -24
(# 3 4) ==> 7
(# 3) ==> 3
(#) ==> 0
(# 4) ==> 4
(#) ==> 1
(# 3 4) ==> -1
(# 3) ==> -3
(# -7) ==> 7
(# 7) ==> 7
(# 0) ==> 0
(# 35 7) ==> 5
(# -35 7) ==> -5
(# 35 -7) ==> -5
(# -35 -7) ==> 5
(# 13 4) ==> 1
(# 13 4) ==> 1
(# -13 4) ==> 3
(# -13 4) ==> -1
(# 13 -4) ==> -3
(# 13 -4) ==> 1
(# -13 -4) ==> -1
(# -13 -4) ==> -1
(# 0 86400) ==> 0
(# 0 -86400) ==> 0
(# 238 9) ==> #t
(# -238 9) ==> #t
(# 238 -9) ==> #t
(# -238 -9) ==> #t
(# 0 4) ==> 4
(# -4 0) ==> 4
(# 32 -36) ==> 4
(#) ==> 0
(# 32 -36) ==> 288
(#) ==> 1
SECTION(6 5 9)
(#string> 0) ==> "0"
(#string> 100) ==> "100"
(#string> 256 16) ==> "100"
(#number> "100") ==> 100
(#number> "100" 16) ==> 256
(#number> "") ==> #f
(#number> ".") ==> #f
(#number> "d") ==> #f
(#number> "D") ==> #f
(#number> "i") ==> #f
(#number> "I") ==> #f
(#number> "3i") ==> #f
(#number> "3I") ==> #f
(#number> "33i") ==> #f
(#number> "33I") ==> #f
(#number> "3.3i") ==> #f
(#number> "3.3I") ==> #f
(#number> "-") ==> #f
(#number> "+") ==> #f
(string->number #t) ==> #t
(string->number #t) ==> #t
SECTION(6 6)
(# #\space #\space) ==> #t
(# #\space #\space) ==> #t
(# #\a) ==> #t
(# #\() ==> #t
(# #\space) ==> #t
(# #\nl) ==> #t
(# #\A #\B) ==> #f
(# #\a #\b) ==> #f
(# #\9 #\0) ==> #f
(# #\A #\A) ==> #t
(# #\A #\B) ==> #t
(# #\a #\b) ==> #t
(# #\9 #\0) ==> #f
(# #\A #\A) ==> #f
(#?> #\A #\B) ==> #f
(#?> #\a #\b) ==> #f
(#?> #\9 #\0) ==> #t
(#?> #\A #\A) ==> #f
(# #\A #\B) ==> #t
(# #\a #\b) ==> #t
(# #\9 #\0) ==> #f
(# #\A #\A) ==> #t
(#=?> #\A #\B) ==> #f
(#=?> #\a #\b) ==> #f
(#=?> #\9 #\0) ==> #t
(#=?> #\A #\A) ==> #t
(# #\A #\B) ==> #f
(# #\a #\B) ==> #f
(# #\A #\b) ==> #f
(# #\a #\b) ==> #f
(# #\9 #\0) ==> #f
(# #\A #\A) ==> #t
(# #\A #\a) ==> #t
(# #\A #\B) ==> #t
(# #\a #\B) ==> #t
(# #\A #\b) ==> #t
(# #\a #\b) ==> #t
(# #\9 #\0) ==> #f
(# #\A #\A) ==> #f
(# #\A #\a) ==> #f
(#?> #\A #\B) ==> #f
(#?> #\a #\B) ==> #f
(#?> #\A #\b) ==> #f
(#