Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 2019 10:59:43 +0000 (UTC)
From:      Ben Woods <woodsb02@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r521479 - head/editors/vscode
Message-ID:  <201912301059.xBUAxhmh099659@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: woodsb02
Date: Mon Dec 30 10:59:42 2019
New Revision: 521479
URL: https://svnweb.freebsd.org/changeset/ports/521479

Log:
  editors/vscode: add warning for build Error: EMFILE: too many open files
  
  PR:		242871
  Suggested by:	Hiroki Tagato <tagattie@yandex.com>
  Reported by:	woodsb02
  Approved by:	portmgr blanket

Modified:
  head/editors/vscode/Makefile

Modified: head/editors/vscode/Makefile
==============================================================================
--- head/editors/vscode/Makefile	Mon Dec 30 10:09:56 2019	(r521478)
+++ head/editors/vscode/Makefile	Mon Dec 30 10:59:42 2019	(r521479)
@@ -100,6 +100,15 @@ POUDRIERE_EXTRACT_ONLY=	yarn-offline-cache-${DISTVERSI
 			vscode-marketplace-exts-${DISTVERSION}${EXTRACT_SUFX}
 POUDRIERE_EXTRA_PATCHES=	${FILESDIR}/extra-patch-build_gulpfile.extensions.js
 
+pre-everything::
+	@${ECHO_MSG} ""
+	@${ECHO_MSG} "The limit imposed by poudriere(8) for the maximum number of files allowed to be"
+	@${ECHO_MSG} "opened by a jail (default 1024) is exceeded during the build of ${PORTNAME}."
+	@${ECHO_MSG} "To successfully build ${PORTNAME} with poudriere(8), you must add the following"
+	@${ECHO_MSG} "line to poudriere.conf:"
+	@${ECHO_MSG} "MAX_FILES_${PORTNAME}=4096"
+	@${ECHO_MSG} ""
+
 post-extract:
 	${MKDIR} ${WRKDIR}/vscode-ripgrep
 	${TAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/vscode-ripgrep-${VSCODE_RIPGREP_VER}.tgz \



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