Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Dec 2018 11:19:54 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r487744 - head/editors/nano
Message-ID:  <201812181119.wBIBJsDa052467@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812181119.wBIBJsDa052467>