svn commit: r487744 - head/editors/nano
Kubilay Kocak
koobs at FreeBSD.org
Tue Dec 18 11:19:55 UTC 2018
Author: koobs
Date: Tue Dec 18 11:19:54 2018
New Revision: 487744
URL: https://svnweb.freebsd.org/changeset/ports/487744
Log:
editors/nano: Fix build (configure) on ARM
The arm package builder when building this port, fails with the following
error during configure:
checking whether printf survives out-of-memory conditions...
=>> Killing runaway build after 21600 seconds with no output
The root cause is described in bug 224740, which has not been resolved yet:
low RLIMIT_VMEM hangs qemu due to GSlice allocation failure
In the meantime, this change applies a known workaround which has already
been applied in several ports, which disables the specific (hanging) configure
check, if the build is run with qemu emulation.
PR: 231346, 224740
Reported by: many
Approved by: portmgr (blanket: build fix, jfi)
MFH: 2018Q4
Modified:
head/editors/nano/Makefile
Modified: head/editors/nano/Makefile
==============================================================================
--- head/editors/nano/Makefile Tue Dec 18 11:13:23 2018 (r487743)
+++ head/editors/nano/Makefile Tue Dec 18 11:19:54 2018 (r487744)
@@ -32,6 +32,11 @@ INFO= nano
PORTSCOUT= limitw:1,even
+.ifdef QEMU_EMULATING
+# XXX bug 224740/231346: configure hangs
+CONFIGURE_ENV+= gl_cv_func_printf_enomem=no
+.endif
+
post-patch:
${REINPLACE_CMD} -e 's/^groff.*/false/' ${WRKSRC}/configure
More information about the svn-ports-all
mailing list