﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	difficulty
690	"""make check"" errors on cygwin"	Mario Domenech Goulart	Mario Domenech Goulart	"It seems that cygchicken-0.dll is expected to be found in the {{{tests}}} directory:

{{{
$ make PLATFORM=cygwin PREFIX=/home/mario/local/chicken-core DEBUGBUILD=1 CHICKEN=./chicken-boot check
make -f ./Makefile.cygwin CONFIG= check
make[1]: Entering directory `/home/mario/src/chicken-core'
cd tests; sh runtests.sh
======================================== compiler tests ...
../chicken compiler-tests.scm -output-file a.c -verbose -include-path ..

Note: global variable `bla#blabla' is only locally visible and never used

Note: global variable `foo#bar' is only locally visible and never used
gcc a.c -o a.o -c  -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H -DC_ENAB
LE_PTABLES -g -Wall -Wno-unused -I.. -I""/home/mario/local/chicken-core/include/c
hicken""
rm a.c
gcc a.o -o a.out -L.. -L""/home/mario/local/chicken-core/lib"" -lchicken -lm
rm a.o
/home/mario/src/chicken-core/tests/a.out: error while loading shared libraries:
cygchicken-0.dll: cannot open shared object file: No such file or directory
make[1]: *** [check] Error 127
make[1]: Leaving directory `/home/mario/src/chicken-core'
make: *** [check] Error 2
}}}


If I

{{{
cp cygchicken-0.dll tests
}}}

some tests can be run, but then:

{{{
$ make PLATFORM=cygwin PREFIX=/home/mario/local/chicken-core DEBUGBUILD=1 CHICKEN=./chicken-boot check

...

======================================== callback tests ...
../chicken callback-tests.scm -output-file a.c -verbose -include-path ..
gcc a.c -o a.o -c  -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H -DC_ENAB
LE_PTABLES -g -Wall -Wno-unused -I.. -I""/home/mario/local/chicken-core/include/c
hicken""
rm a.c
gcc a.o -o a.out -L.. -L""/home/mario/local/chicken-core/lib"" -lchicken -lm
rm a.o
callbacks ...
hi!
callbacks ...
hi!
hi!
[panic] callback returned twice - execution terminated

callback-tests.scm:16: print
##sys#gc
g1112
callback-tests.scm:7: call/cc
callback-tests.scm:9: print
callback-tests.scm:19: command-line-arguments
callback-tests.scm:20: k1
callback-tests.scm:9: print     <--
double-return from callback failed as it should.
======================================== runtime tests ...
[panic] nursery is too small - try higher setting using the `-:s' option - execu
tion terminated

make[1]: *** [check] Error 1
make[1]: Leaving directory `/home/mario/src/chicken-core'
make: *** [check] Error 2
}}}

Happens to both 4.7.0 and git HEAD.

I cannot reproduce this error on Linux systems.

"	defect	closed	major		unknown	4.7.x	fixed	"""make check"" cygchicken-0.dll"		
