public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Marco Atzeri <marco.atzeri@gmail.com>
To: cygwin-apps@cygwin.com
Subject: Re: how to manage 2 guile version
Date: Tue, 28 Mar 2017 05:50:00 -0000	[thread overview]
Message-ID: <46c991b5-ba66-4c9e-204b-ec17a7b76292@gmail.com> (raw)
In-Reply-To: <6d3c740a-b478-cf44-6ca2-e69980b859f9@cygwin.com>

[-- Attachment #1: Type: text/plain, Size: 1434 bytes --]

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


[-- Attachment #2: guile.cygport --]
[-- Type: text/plain, Size: 1534 bytes --]

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      
}


[-- Attachment #3: test-ffi.patch --]
[-- Type: text/plain, Size: 637 bytes --]

--- 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))

  reply	other threads:[~2017-03-28  5:50 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-14 20:13 Marco Atzeri
2016-07-14 21:29 ` Yaakov Selkowitz
2016-07-17 17:02   ` Marco Atzeri
2017-03-28  2:16     ` Yaakov Selkowitz
2017-03-28  5:50       ` Marco Atzeri [this message]
2017-03-28  7:09         ` szgyg
2017-03-28 16:01           ` Yaakov Selkowitz
2017-03-28 19:50             ` Marco Atzeri
2017-03-28 21:19               ` Yaakov Selkowitz
2017-03-28 15:34         ` Yaakov Selkowitz
2017-03-28 16:01           ` Marco Atzeri
2017-03-28 16:08             ` Yaakov Selkowitz
2017-04-01 12:30               ` Marco Atzeri
2017-04-03  2:07                 ` Yaakov Selkowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46c991b5-ba66-4c9e-204b-ec17a7b76292@gmail.com \
    --to=marco.atzeri@gmail.com \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).