Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Dec 2017 02:18:15 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r457665 - head/devel/libunistring
Message-ID:  <201712310218.vBV2IFRD065059@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun Dec 31 02:18:15 2017
New Revision: 457665
URL: https://svnweb.freebsd.org/changeset/ports/457665

Log:
  devel/libunistring: temporarily skip ENOMEM check for printf
  
  configure:25883: checking whether printf survives out-of-memory conditions
  configure:26055: /nxb-bin/usr/bin/cc -o conftest -O2 -pipe  -DLIBICONV_PLUG -fno-strict-aliasing -DLIBICONV_PLUG -D_THREAD_SAFE  conftest.c  >&5
  configure:26058: $? = 0
  
  ***MEMORY-ERROR***: [67280]: GSlice: failed to allocate 496 bytes (alignment: 512): Cannot allocate memory
  
  PR:		224740
  Reported by:	Mark Millard (via ports@ list, for armv7)
  Approved by:	portmgr blanket

Modified:
  head/devel/libunistring/Makefile   (contents, props changed)

Modified: head/devel/libunistring/Makefile
==============================================================================
--- head/devel/libunistring/Makefile	Sun Dec 31 01:55:24 2017	(r457664)
+++ head/devel/libunistring/Makefile	Sun Dec 31 02:18:15 2017	(r457665)
@@ -23,4 +23,9 @@ INFO=		${PORTNAME}
 OPTIONS_DEFINE=	DOCS
 CONFIGURE_ARGS=	--disable-static
 
+.ifdef QEMU_EMULATING
+# XXX bug 224740: configure hangs: GSlice: failed to allocate 496 bytes (alignment: 512)
+CONFIGURE_ENV+=	gl_cv_func_printf_enomem=no
+.endif
+
 .include <bsd.port.mk>



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