chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] gmake check fails on OpenBSD 5.0


From: Pekka Niiranen
Subject: [Chicken-users] gmake check fails on OpenBSD 5.0
Date: Fri, 04 Nov 2011 20:37:29 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1

Hi,

I would like to help in analysing the two problems below.
Can anybody give pointers how to proceed?


Version "chicken-4.7.0-st" compiles in OpenBSD/amd64(Vmware Fusion)
but running

  gmake PLATFORM=bsd ARC=x86-64 PREFIX=/usr/local check

fails in two test:

1) Procedures check on output ports being closed

--------- error message 1 starts ---------------
write...OK
fprintf...OK
print-call-chain...OK
print-error-message...OK
print...OK
print*...OK
display...OK
terminal-port?...OK
newline...OK
write-char...OK
write-line...OK
write-u8vector...OK
port->fileno...FAIL [ 8 ]

Error: assertion failed: (eq? okay (condition-case (begin (print* (quote port->fileno) "...") (flush-output) (let ((output (port->fileno out))) (printf "FAIL [ ~S ]\n" output))) ((exn i/o file) (printf "OK\n") okay)))

        Call history:

        <eval>      (memv688 (##core#quote i/o682) kvar686)
        <eval>      (memv688 (##core#quote file683) kvar686)
        <eval>      (printf680 "OK\n")
        <eval>      (list712 (quote713 okay711))
<eval> (eq?715 okay711 (condition-case716 (begin717 (print*718 (quote709 port->fileno) "...") (flush-output...... <eval> ((call-with-current-continuation735 (##core#lambda (k733) (with-exception-handler736 (##core#lambda ... <eval> (call-with-current-continuation735 (##core#lambda (k733) (with-exception-handler736 (##core#lambda (...... <eval> (with-exception-handler736 (##core#lambda (exvar726) (k733 (##core#lambda () (##core#let ((kvar727 (...... <eval> (##sys#call-with-values (##core#lambda () (begin717 (print*718 (quote709 port->fileno) "...") (flush......
        <eval>      (print*718 (quote709 port->fileno) "...")
        <eval>      (flush-output719)
        <eval>      (port->fileno out)
        <eval>      (printf721 "FAIL [ ~S ]\n" output720)
        <eval>      (k733 (##core#lambda () (##sys#apply ##sys#values args734)))
        <eval>      (##sys#apply ##sys#values args734)
<eval> (##sys#error "assertion failed" (##core#quote (eq? okay (condition-case (begin (print* (quote port->...... <--
gmake[1]: *** [check] Error 70
gmake[1]: Leaving directory `/home/pekka/compile/chicken-4.7.0.3-st'
gmake: *** [check] Error 2
--------- error message 1 ends -----------------

I commented out the following two lines from "port-tests.scm"

        (check (port->fileno out))
        (check (port->fileno in))

and the test sequence continued up to the next error:

--------- error message 2 starts ---------------
======================================== symbol-GC tests ...
../chicken symbolgc-tests.scm -output-file a.c -include-path ..
gcc a.c -o a.o -c -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -Os -fomit-frame-pointer -I.. -I"/usr/local/include/chicken"
rm a.c
gcc a.o -o a.out -L.. -L"/usr/local/lib" -Wl,-R"/usr/local/lib" -lchicken -lm -lpthread ../libchicken.so: warning: strcpy() is almost always misused, please use strlcpy()
../libchicken.so: warning: sprintf() is often misused, please use snprintf()
../libchicken.so: warning: strcat() is almost always misused, please use strlcat()
rm a.o
starting with 1232 symbols
interning 10000 symbols ...
Segmentation fault (core dumped)
gmake[1]: *** [check] Error 139
gmake[1]: Leaving directory `/home/pekka/compile/chicken-4.7.0.3-st'
gmake: *** [check] Error 2
--------- error message 2 ends -----------------


-pekka-




reply via email to

[Prev in Thread] Current Thread [Next in Thread]