guile30: update TODO of failing build, adjust module.mk

This commit is contained in:
nikita 2020-05-16 21:42:52 +02:00
parent eef98f6b8d
commit ab7202b011
2 changed files with 39 additions and 6 deletions

View File

@ -1,5 +1,36 @@
On NetBSD:
* with CONFIGURE_ARGS+= --disable-tmpnam
as per https://debbugs.gnu.org/cgi/bugreport.cgi?bug=29001
SNARF regex-posix.doc
CCLD libguile-3.0.la
CCLD guile
GEN guile-procedures.texi
allocating JIT code buffer failed: Permission denied
jit.c:5612: fatal: assertion failed
[1] Broken pipe cat alist.doc array-handle.doc array-map.doc a... |
Abort trap (core dumped) GUILE_AUTO_COMPILE=0 ../meta/build-env guild s...
gmake[3]: *** [Makefile:4311: guile-procedures.texi] Error 1
gmake[3]: Leaving directory '/usr/work/wip/guile30/work/guile-3.0.2/libguile'
gmake[2]: *** [Makefile:2426: all] Error 2
gmake[2]: Leaving directory '/usr/work/wip/guile30/work/guile-3.0.2/libguile'
gmake[1]: *** [Makefile:1849: all-recursive] Error 1
gmake[1]: Leaving directory '/usr/work/wip/guile30/work/guile-3.0.2'
gmake: *** [Makefile:1735: all] Error 2
*** Error code 2
Stop.
make[1]: stopped in /usr/pkgsrc/wip/guile30
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/wip/guile30
* older TODO:
With threads support:
Needs "sysctl -w security.pax.mprotect.enabled=0".
@ -23,7 +54,9 @@ FAIL: test-out-of-memory
(same as with guile22-2.2.7)
Without threads support, doesn't build:
* Without threads support, doesn't build:
CCLD libguile-3.0.la
ld: .libs/libguile_3.0_la-posix.o: in function `scm_tmpnam':

View File

@ -1,6 +1,6 @@
# $NetBSD: module.mk,v 1.1 2019/11/12 12:41:19 ng0 Exp $
#
# Common build logic for Guile 2.2 modules using gnu configure.
# Common build logic for Guile 3.0 modules using gnu configure.
#
# === Package-settable-variables ===
#
@ -11,14 +11,14 @@
# Possible values: yes no
.if defined(GNU_CONFIGURE)
GNU_CONFIGURE_PREFIX= ${PREFIX}/guile/2.2
CONFIGURE_ARGS+= --libdir=${PREFIX}/guile/2.2/lib
GNU_CONFIGURE_PREFIX= ${PREFIX}/guile/3.0
CONFIGURE_ARGS+= --libdir=${PREFIX}/guile/3.0/lib
. if defined(GUILE_NEED_BOOTSTRAP)
USE_TOOLS+= automake autoconf autoreconf
pre-configure:
(cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} autoreconf -I${PREFIX}/guile/2.2/share/aclocal -vif)
(cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} autoreconf -I${PREFIX}/guile/3.0/share/aclocal -vif)
. endif
.include "../../lang/guile22/buildlink3.mk"
.include "../../lang/guile30/buildlink3.mk"
.endif