svn commit: r521479 - head/editors/vscode
Ben Woods
woodsb02 at FreeBSD.org
Mon Dec 30 10:59:43 UTC 2019
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 at 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 \
More information about the svn-ports-all
mailing list