ports/168407: [patch] lang/gauche: update to 0.9.3.2, unbreak
Vitaly Magerya
vmagerya at gmail.com
Mon May 28 13:10:04 UTC 2012
>Number: 168407
>Category: ports
>Synopsis: [patch] lang/gauche: update to 0.9.3.2, unbreak
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon May 28 13:10:03 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Vitaly Magerya
>Release: FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
>Description:
Currently lang/gauche (version 0.9.2) is broken because it ships
with old bdwgc which crashes upon startup on FreeBSD 9.0 (it's
counterpart in our ports, devel/boehm-gc-threaded, is even older
and similarly broken on 9.0).
Both the new release (0.9.3.2) and the latest git sources of Gauche
have newer versions of bdwgc (7.2alpha6 and 7.2b correspondingly),
which doesn't crash, but sometimes hang on threading tests. The
release version (0.9.3.2) also dosen't work on FreeBSD/i386 due
to a different bug.
It is only when you combine up the latest Gauche (git) sources with
the latest (git) sources of bdwgc it all works properly.
This is what this update does (I discussed this with Gauche author,
he's OK with it).
Redports logs are at [1]. You will find that some of the tests
are marked as failed in those logs; I believe this is due to
the way tinderbox is setup; all the tests pass on two machines
I tried (9.0 amd64 and 8.2 i386).
I'd appreciate if the committer would mirror the distfile
somewhere; the server I've put it on is not as stable as I'd like.
[1] https://redports.org/buildarchive/20120528121631-52964/
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN gauche.orig/Makefile gauche/Makefile
--- gauche.orig/Makefile 2012-05-28 15:24:55.000000000 +0300
+++ gauche/Makefile 2012-05-28 15:11:22.000000000 +0300
@@ -6,15 +6,15 @@
#
PORTNAME= gauche
-PORTVERSION= 0.9.2 # Keep databases/gauche-gdbm in sync with this
+PORTVERSION= 0.9.3.2.fbsd
CATEGORIES= lang scheme
-MASTER_SITES= SF/${PORTNAME}/Gauche/
-DISTNAME= Gauche-${PORTVERSION}
-EXTRACT_SUFX= .tgz
+MASTER_SITES= http://tx97.net/pub/distfiles/
MAINTAINER= erik at bz.bzflag.bz
COMMENT= Scheme script interpreter with multibyte character handling
+USE_XZ= YES
+
# Choices are: "pthreads" and "no"
GAUCHE_THREADS?= pthreads
# Choices are: "utf-8", "euc-jp", "shift-jis" and "no"
@@ -57,10 +57,6 @@
BROKEN= Does not compile on ia64, powerpc, or sparc64
.endif
-.if ${ARCH} == "amd64" && ${OSVERSION} >= 900000
-MANUAL_PACKAGE_BUILD= segfaults on pointyhat
-.endif
-
post-patch:
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e 's|all: info|all:|' ${WRKSRC}/doc/Makefile.in
@@ -83,4 +79,7 @@
${INSTALL_DATA} ${WRKSRC}/doc/*.info.gz ${WRKSRC}/doc/*.info-[1-7].gz ${PREFIX}/info/
.endif
+regression-test: build
+ cd ${WRKSRC} && ${MAKE} test
+
.include <bsd.port.post.mk>
diff -ruN gauche.orig/distinfo gauche/distinfo
--- gauche.orig/distinfo 2012-05-28 15:24:55.000000000 +0300
+++ gauche/distinfo 2012-05-28 15:12:10.000000000 +0300
@@ -1,2 +1,2 @@
-SHA256 (Gauche-0.9.2.tgz) = 16c9dfc9fa3f556f75d13e9b5a701f95e9f7749379e6d007a3a6dc561a625736
-SIZE (Gauche-0.9.2.tgz) = 4452767
+SHA256 (gauche-0.9.3.2.fbsd.tar.xz) = afa5fc65e5a1656f33236be35f7e5110adb29cf41c71ae658cd67e63805b996d
+SIZE (gauche-0.9.3.2.fbsd.tar.xz) = 3458832
diff -ruN gauche.orig/pkg-descr gauche/pkg-descr
--- gauche.orig/pkg-descr 2012-05-28 15:24:55.000000000 +0300
+++ gauche/pkg-descr 2012-05-22 22:36:06.000000000 +0300
@@ -4,4 +4,4 @@
It can handle multibyte character strings natively.
Author: Shiro Kawai <shiro at acm.org>
-WWW: http://www.shiro.dreamhost.com/scheme/gauche/index.html
+WWW: http://practical-scheme.net/gauche/
diff -ruN gauche.orig/pkg-plist gauche/pkg-plist
--- gauche.orig/pkg-plist 2012-05-28 15:24:55.000000000 +0300
+++ gauche/pkg-plist 2012-05-23 14:32:22.000000000 +0300
@@ -20,7 +20,6 @@
%%DATADIR%%/%%VERSION%%/lib/file/util.scm
%%DATADIR%%/%%VERSION%%/lib/gauche-init.scm
%%DATADIR%%/%%VERSION%%/lib/gauche/array.scm
-%%DATADIR%%/%%VERSION%%/lib/gauche/auxsys.scm
%%DATADIR%%/%%VERSION%%/lib/gauche/cgen.scm
%%DATADIR%%/%%VERSION%%/lib/gauche/cgen/cise.scm
%%DATADIR%%/%%VERSION%%/lib/gauche/cgen/literal.scm
@@ -47,6 +46,7 @@
%%DATADIR%%/%%VERSION%%/lib/gauche/interactive.scm
%%DATADIR%%/%%VERSION%%/lib/gauche/interactive/info.scm
%%DATADIR%%/%%VERSION%%/lib/gauche/interpolate.scm
+%%DATADIR%%/%%VERSION%%/lib/gauche/lazy.scm
%%DATADIR%%/%%VERSION%%/lib/gauche/let-opt.scm
%%DATADIR%%/%%VERSION%%/lib/gauche/libutil.scm
%%DATADIR%%/%%VERSION%%/lib/gauche/listener.scm
@@ -85,6 +85,7 @@
%%DATADIR%%/%%VERSION%%/lib/gauche/sortutil.scm
%%DATADIR%%/%%VERSION%%/lib/gauche/stringutil.scm
%%DATADIR%%/%%VERSION%%/lib/gauche/syslog.scm
+%%DATADIR%%/%%VERSION%%/lib/gauche/sysutil.scm
%%DATADIR%%/%%VERSION%%/lib/gauche/termios.scm
%%DATADIR%%/%%VERSION%%/lib/gauche/test.scm
%%DATADIR%%/%%VERSION%%/lib/gauche/threads.scm
@@ -119,6 +120,7 @@
%%DATADIR%%/%%VERSION%%/lib/rfc/quoted-printable.scm
%%DATADIR%%/%%VERSION%%/lib/rfc/sha.scm
%%DATADIR%%/%%VERSION%%/lib/rfc/sha1.scm
+%%DATADIR%%/%%VERSION%%/lib/rfc/tls.scm
%%DATADIR%%/%%VERSION%%/lib/rfc/uri.scm
%%DATADIR%%/%%VERSION%%/lib/rfc/zlib.scm
%%DATADIR%%/%%VERSION%%/lib/slib.scm
@@ -199,7 +201,6 @@
lib/gauche-0.9/%%VERSION%%/%%TARGET%%/crypt--bcrypt.so
lib/gauche-0.9/%%VERSION%%/%%TARGET%%/dbm--ndbm.so
lib/gauche-0.9/%%VERSION%%/%%TARGET%%/file--util.so
-lib/gauche-0.9/%%VERSION%%/%%TARGET%%/gauche--auxsys.so
lib/gauche-0.9/%%VERSION%%/%%TARGET%%/gauche--charconv.so
lib/gauche-0.9/%%VERSION%%/%%TARGET%%/gauche--collection.so
lib/gauche-0.9/%%VERSION%%/%%TARGET%%/gauche--fcntl.so
@@ -223,6 +224,7 @@
lib/gauche-0.9/%%VERSION%%/%%TARGET%%/parser--peg.so
lib/gauche-0.9/%%VERSION%%/%%TARGET%%/rfc--md5.so
lib/gauche-0.9/%%VERSION%%/%%TARGET%%/rfc--sha.so
+lib/gauche-0.9/%%VERSION%%/%%TARGET%%/rfc--tls.so
lib/gauche-0.9/%%VERSION%%/%%TARGET%%/rfc--zlib.so
lib/gauche-0.9/%%VERSION%%/%%TARGET%%/srfi-1.so
lib/gauche-0.9/%%VERSION%%/%%TARGET%%/srfi-13.so
@@ -254,6 +256,7 @@
lib/gauche-0.9/%%VERSION%%/include/gauche/code.h
lib/gauche-0.9/%%VERSION%%/include/gauche/collection.h
lib/gauche-0.9/%%VERSION%%/include/gauche/config.h
+lib/gauche-0.9/%%VERSION%%/include/gauche/config_threads.h
lib/gauche-0.9/%%VERSION%%/include/gauche/exception.h
lib/gauche-0.9/%%VERSION%%/include/gauche/extend.h
lib/gauche-0.9/%%VERSION%%/include/gauche/extern.h
@@ -285,6 +288,7 @@
lib/gauche-0.9/%%VERSION%%/include/gauche/vminsn.h
lib/gauche-0.9/%%VERSION%%/include/gauche/weak.h
lib/gauche-0.9/%%VERSION%%/include/gauche/win-compat.h
+lib/gauche-0.9/%%VERSION%%/include/gauche/wthread.h
lib/gauche-0.9/%%VERSION%%/include/gc.h
lib/gauche-0.9/%%VERSION%%/include/gc_allocator.h
lib/gauche-0.9/%%VERSION%%/include/gc_config_macros.h
@@ -298,7 +302,7 @@
lib/gauche-0.9/site/%%TARGET%%/.keepme
lib/libgauche-0.9.so
lib/libgauche-0.9.so.0
-lib/libgauche-0.9.so.0.2
+lib/libgauche-0.9.so.0.3
share/aclocal/gauche.m4
share/doc/gauche/.keepme
share/examples/gauche/.keepme
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list