Problem installing eggs on Win10 MSYS2 MinGW 64-bit added by jacius on Fri Feb 15 08:37:31 2019

Using Windows 10, MSYS2 MinGW 64-bit.
Installed CHICKEN 5 following exactly http://wiki.call-cc.org/msys2
Seems to work except for installing eggs. I tried miscmacros, srfi-1, and test, but they all fail in the same way.


John@DESKTOP-PL945UO MINGW64 ~
$ csc -version
CHICKEN
(c) 2008-2018, The CHICKEN Team
(c) 2000-2007, Felix L. Winkelmann
Version 5.0.0 (rev 12f2f2cc)
mingw32-windows-gnu-x86-64 [ 64bit dload ptables ]


John@DESKTOP-PL945UO MINGW64 ~
$ chicken-do
usage: chicken-do [-q] [-h] [--] TARGET ... : DEPENDENCY ... : COMMAND ...


John@DESKTOP-PL945UO MINGW64 ~
$ winpty csi
CHICKEN
(c) 2008-2018, The CHICKEN Team
(c) 2000-2007, Felix L. Winkelmann
Version 5.0.0 (rev 12f2f2cc)
mingw32-windows-gnu-x86-64 [ 64bit dload ptables ]

#;1> (import (chicken platform))
; loading C:/msys64/usr/local//lib/chicken/9/chicken.platform.import.so ...
#;2> (features)
(#:csi #:srfi-28 #:srfi-31 #:srfi-26 #:srfi-16 #:srfi-15 #:srfi-11 #:srfi-8 #:sr
fi-0 #:srfi-2 #:srfi-6 #:srfi-9 #:srfi-46 #:srfi-55 #:srfi-61 #:chicken-5 #:chic
ken-5.0 #:64bit #:ptables #:dload #:little-endian #:x86-64 #:gnu #:mingw32 #:win
dows #:chicken #:srfi-6 #:srfi-12 #:srfi-17 #:srfi-23 #:srfi-30 #:srfi-39 #:srfi
-62 #:full-numeric-tower)
#;3> (exit)


John@DESKTOP-PL945UO MINGW64 ~
$ chicken-install test
C:\msys64\tmp\temp4972.12160\test-support.scm
C:\msys64\tmp\temp4972.12160\test.egg
C:\msys64\tmp\temp4972.12160\test.scm
3 File(s) copied
building test
   C:/msys64/usr/local//bin/csc -host -D compiling-extension -J -s -setup-mode -I C:\msys64\home\John\.chicken-install\cache\test -C -IC:\msys64\home\John\.chicken-install\cache\test -O2 -d1 test.scm -o C:\msys64\home\John\.chicken-install\cache\test\test.so
   C:/msys64/usr/local//bin/csc -setup-mode -static -I C:\msys64\home\John\.chicken-install\cache\test -emit-link-file C:\msys64\home\John\.chicken-install\cache\test\test.link -host -D compiling-extension -c -unit test -D compiling-static-extension -C -IC:\msys64\home\John\.chicken-install\cache\test -O2 -d1 test.scm -o C:\msys64\home\John\.chicken-install\cache\test\test.static.obj
creating subprocess failed

Error: shell command terminated with nonzero exit code
1
"C:\\msys64\\home\\John\\.chicken-install\\cache\\test\\test.build.bat"


John@DESKTOP-PL945UO MINGW64 ~
$ CSC_OPTIONS="-v" chicken-install -v test
status changed for test
resolving alias `kitten-technologies' to: http://chicken.kitten-technologies.co.uk/henrietta.cgi
resolving alias `call-cc' to: http://code.call-cc.org/cgi-bin/henrietta.cgi
trying server http://chicken.kitten-technologies.co.uk/henrietta.cgi ...
downloading test: http://chicken.kitten-technologies.co.uk/henrietta.cgi
connecting to host "chicken.kitten-technologies.co.uk", port 80 ...
requesting "/henrietta.cgi?name=test&release=5&mode=default&tests=yes" ...
reading response ...
HTTP/1.1 200 OK
Date: Fri, 15 Feb 2019 07:33:35 GMT
Server: Apache/2.2.31 (Unix) DAV/2 PHP/5.5.36 mod_fastcgi/2.4.6
Connection: close
Transfer-Encoding: chunked
Content-Type: text/plain
reading chunks ..
reading files ...
  ./test-support.scm
  ./test.egg
  ./test.scm
xcopy /y /i /e "C:\msys64\tmp\temp65f7.6288"\* "C:\msys64\home\John\.chicken-install\cache\test"
C:\msys64\tmp\temp65f7.6288\test-support.scm
C:\msys64\tmp\temp65f7.6288\test.egg
C:\msys64\tmp\temp65f7.6288\test.scm
3 File(s) copied
test located at C:\msys64\home\John\.chicken-install\cache\test
checking test ...
checking platform for `test'
checking dependencies for `test'
install order:
("test")
building test
running script C:\msys64\home\John\.chicken-install\cache\test\test.build.bat
executing: "C:\\msys64\\home\\John\\.chicken-install\\cache\\test\\test.build.bat"
   C:/msys64/usr/local//bin/csc -host -D compiling-extension -J -s -setup-mode -I C:\msys64\home\John\.chicken-install\cache\test -C -IC:\msys64\home\John\.chicken-install\cache\test -O2 -d1 test.scm -o C:\msys64\home\John\.chicken-install\cache\test\test.so
""C:/msys64/usr/local/bin/chicken.exe" "test.scm" -output-file "C:/msys64/home/John/.chicken-install/cache/test/test.c" -dynamic -feature chicken-compile-shared -verbose -feature compiling-extension -emit-all-import-libraries -setup-mode -include-path C:\\msys64\\home\\John\\.chicken-install\\cache\\test -optimize-level 2 -debug-level 1"

Note: in local procedure `g323',
  in toplevel procedure `test#test-default-handler':
  expected a value of type boolean in conditional, but was given a value of type `number' which is always true:

(if tmp tmp 0)

Note: in toplevel procedure `test#test-default-group-reporter':
  expected a value of type boolean in conditional, but was given a value of type `number' which is always true:

(if tmp tmp 0)

Note: in toplevel procedure `test#test-default-group-reporter':
  expected a value of type boolean in conditional, but was given a value of type `number' which is always true:

(if tmp tmp 0)

Note: in toplevel procedure `test#test-begin':
  expected a value of type boolean in conditional, but was given a value of type `number' which is always true:

(if tmp tmp 0)
generating import library `test.import.scm' for module `test' ...
""gcc" "C:/msys64/home/John/.chicken-install/cache/test/test.c" -o "C:/msys64/home/John/.chicken-install/cache/test/test.obj" -c  -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -Os -DPIC -DC_SHARED -IC:\\msys64\\home\\John\\.chicken-install\\cache\\test -IC:/msys64/usr/local//include/chicken"
rm C:\msys64\home\John\.chicken-install\cache\test\test.c
""gcc" "C:/msys64/home/John/.chicken-install/cache/test/test.obj" -o "C:/msys64/home/John/.chicken-install/cache/test/test.so" -Wl,--enable-auto-import -shared -LC:/msys64/usr/local//lib -lchicken -lm -lws2_32"
rm C:\msys64\home\John\.chicken-install\cache\test\test.obj
   C:/msys64/usr/local//bin/csc -setup-mode -static -I C:\msys64\home\John\.chicken-install\cache\test -emit-link-file C:\msys64\home\John\.chicken-install\cache\test\test.link -host -D compiling-extension -c -unit test -D compiling-static-extension -C -IC:\msys64\home\John\.chicken-install\cache\test -O2 -d1 test.scm -o C:\msys64\home\John\.chicken-install\cache\test\test.static.obj
creating subprocess failed

Error: shell command terminated with nonzero exit code
1
"C:\\msys64\\home\\John\\.chicken-install\\cache\\test\\test.build.bat"


John@DESKTOP-PL945UO MINGW64 ~
$ cat "C:\\msys64\\home\\John\\.chicken-install\\cache\\test\\test.build.bat"
@echo off

set PATH="C:/msys64/usr/local//bin";%PATH%
set CHICKEN_CC="gcc"
set CHICKEN_CXX="g++"
set CHICKEN_CSC="C:/msys64/usr/local//bin/csc"
set CHICKEN_CSI="C:/msys64/usr/local//bin/csi"
cd "C:\msys64\home\John\.chicken-install\cache\test"

"C:\msys64\usr\local\\bin\chicken-do" "C:\msys64\home\John\.chicken-install\cache\test\test.so" "C:\msys64\home\John\.chicken-install\cache\test\test.import.scm" : "test.scm" "C:\msys64\home\John\.chicken-install\cache\test\test.egg"   "C:\msys64\home\John\.chicken-install\cache\test\test-support.scm" : "C:/msys64/usr/local//bin/csc" -host -D compiling-extension -J -s -setup-mode -I C:\msys64\home\John\.chicken-install\cache\test -C -IC:\msys64\home\John\.chicken-install\cache\test "-O2" "-d1" "test.scm" -o "C:\msys64\home\John\.chicken-install\cache\test\test.so"
if errorlevel 1 exit /b 1

"C:\msys64\usr\local\\bin\chicken-do" "C:\msys64\home\John\.chicken-install\cache\test\test.static.obj" "C:\msys64\home\John\.chicken-install\cache\test\test.link" : "test.scm" "C:\msys64\home\John\.chicken-install\cache\test\test.egg"   "C:\msys64\home\John\.chicken-install\cache\test\test-support.scm" : "C:/msys64/usr/local//bin/csc" -setup-mode -static -I C:\msys64\home\John\.chicken-install\cache\test -emit-link-file "C:\msys64\home\John\.chicken-install\cache\test\test.link" -host -D compiling-extension -c -unit test -D compiling-static-extension -C -IC:\msys64\home\John\.chicken-install\cache\test "-O2" "-d1" "test.scm" -o "C:\msys64\home\John\.chicken-install\cache\test\test.static.obj"
if errorlevel 1 exit /b 1

"C:\msys64\usr\local\\bin\chicken-do" "C:\msys64\home\John\.chicken-install\cache\test\test.import.so" : "test.import.scm" "C:\msys64\home\John\.chicken-install\cache\test\test-support.scm" : "C:/msys64/usr/local//bin/csc" -setup-mode -s -host -I C:\msys64\home\John\.chicken-install\cache\test -C -IC:\msys64\home\John\.chicken-install\cache\test "-O2" "-d0" "test.import.scm" -o "C:\msys64\home\John\.chicken-install\cache\test\test.import.so"
if errorlevel 1 exit /b 1


John@DESKTOP-PL945UO MINGW64 ~
$ ls -l "C:\\msys64\\home\\John\\.chicken-install\\cache\\test"
total 528
-rw-r--r-- 1 John None     52 Feb 15 01:33 STATUS
-rw-r--r-- 1 John None   2062 Feb 15 01:33 test.build.bat
-rw-r--r-- 1 John None    245 Feb 15 01:33 test.egg
-rw-r--r-- 1 John None   3844 Feb 15 01:33 test.import.scm
-rw-r--r-- 1 John None   1389 Feb 15 01:33 test.install.bat
-rw-r--r-- 1 John None   4368 Feb 15 01:33 test.scm
-rwxr-xr-x 1 John None 490808 Feb 15 01:33 test.so
-rw-r--r-- 1 John None  20569 Feb 15 01:33 test-support.scm
-rw-r--r-- 1 John None     10 Feb 15 01:33 TIMESTAMP
-rw-r--r-- 1 John None      5 Feb 15 01:33 VERSION