From owner-svn-ports-all@freebsd.org Tue Dec 18 11:19:55 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6815E134D7D4; Tue, 18 Dec 2018 11:19:55 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DE4178E510; Tue, 18 Dec 2018 11:19:54 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CDE48260A2; Tue, 18 Dec 2018 11:19:54 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wBIBJseF052468; Tue, 18 Dec 2018 11:19:54 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wBIBJsDa052467; Tue, 18 Dec 2018 11:19:54 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201812181119.wBIBJsDa052467@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Tue, 18 Dec 2018 11:19:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r487744 - head/editors/nano X-SVN-Group: ports-head X-SVN-Commit-Author: koobs X-SVN-Commit-Paths: head/editors/nano X-SVN-Commit-Revision: 487744 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: DE4178E510 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-0.996,0]; NEURAL_HAM_SHORT(-0.95)[-0.955,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2018 11:19:55 -0000 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