On 28/03/2017 04:15, Yaakov Selkowitz wrote:
On 2016-07-17 12:01, Marco Atzeri wrote:
On 14/07/2016 23:29, Yaakov Selkowitz wrote:
https://github.com/cygwinports/guile
https://github.com/cygwinports/guile1.8
(Those haven't been updated in a while, so they may need version/release
bumps.)
thanks
2.0.12 build fine, I need just to look on some test failures
00-socket.test seems to cause a segfault.
Ping?
Last week I was planning to just release guile-2.0.14,
but while the test of guile itself is almost fine I noticed an issue
when building "make" with it.
Only tested on 64 bits, 'make check' of make fails on all guile tests
-------------------------------------------
functions/guile .........................................
Test timed out after 5 seconds
Error running ../make (expected 0; got 14): ../make -f
work/functions/guile.mk
Caught signal 14!
Test timed out after 5 seconds
Error running ../make (expected 0; got 14): ../make -f
work/functions/guile.mk.1
Caught signal 14!
Test timed out after 5 seconds
Error running ../make (expected 0; got 14): ../make -f
work/functions/guile.mk.2
--------------------------------------------------
no real time in the next month to chase it.
As I am on the road and upload is not working on my
website, I am attaching the latest cygport and patch file
just in case you or some else would like to check.
Regards
Marco
NAME="guile"
VERSION=2.0.14
RELEASE=1
CATEGORY="Interpreters"
SUMMARY="GNU Scheme interpreter library"
DESCRIPTION="Guile is an interpreter for Scheme, packaged as a library that
you can link into your applications to give them their own scripting language."
HOMEPAGE="http://www.gnu.org/software/guile/guile.html"
SRC_URI="mirror://gnu/guile/${NAME}-${VERSION}.tar.xz
mirror://gnu/guile/${NAME}-${VERSION}.tar.xz.sig"
# 1.8.5-export-symbols.patch
# 1.8.5-module-ldflags.patch
PATCH_URI="test-ffi.patch"
# FIXME: libguile-devel
PKG_NAMES="${NAME} lib${NAME}22 ${NAME}-devel"
PKG_CONTENTS[0]="--exclude=*.dll --exclude=guile-config usr/bin/
usr/share/doc/ usr/share/info/ usr/share/man/"
PKG_SUMMARY[0]="${SUMMARY}"
PKG_CONTENTS[1]="usr/bin/cygguile-*.dll
usr/bin/cygguilereadline-*dll usr/share/guile/"
PKG_SUMMARY[1]="${SUMMARY} - runtime"
PKG_CONTENTS[2]="usr/bin/*-config usr/include/ usr/lib/libguile*
usr/lib/pkgconfig/ usr/share/aclocal/"
PKG_SUMMARY[2]="${SUMMARY} - devel"
DIFF_EXCLUDES="ref test-suite"
KEEP_LA_FILES="module"
# --disable-debug-freelist \
# --enable-elisp \
CYGCONF_ARGS="
--includedir=/usr/include/guile/2.0
--disable-debug-malloc \
--disable-guile-debug \
--disable-error-on-warning \
--disable-rpath \
--disable-static \
--enable-deprecated \
--enable-networking \
--enable-nls \
--enable-posix \
--enable-regex \
--with-threads \
--with-modules
"
src_test() {
cd ${B}
make -i check
}
--- origsrc/guile-2.0.14/test-suite/standalone/test-ffi 2013-03-01
17:50:05.000000000 +0100
+++ test-suite/standalone/test-ffi 2017-03-25 12:49:48.062647800 +0100
@@ -266,11 +266,11 @@
(define global (dynamic-link))
(define strerror
- (pointer->procedure '* (dynamic-func "strerror" global)
+ (pointer->procedure '* (dynamic-func "strerror" (dynamic-link "cygwin1"))
(list int)))
(define strlen
- (pointer->procedure size_t (dynamic-func "strlen" global)
+ (pointer->procedure size_t (dynamic-func "strlen" (dynamic-link "cygwin1"))
(list '*)))
(let* ((ptr (strerror ENOENT))