From owner-svn-ports-all@freebsd.org Mon May 7 15:34:43 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 87C83FB507F; Mon, 7 May 2018 15:34:43 +0000 (UTC) (envelope-from leres@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2E33883A94; Mon, 7 May 2018 15:34:43 +0000 (UTC) (envelope-from leres@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 250CB1D40C; Mon, 7 May 2018 15:34:43 +0000 (UTC) (envelope-from leres@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w47FYgPL050419; Mon, 7 May 2018 15:34:42 GMT (envelope-from leres@FreeBSD.org) Received: (from leres@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w47FYgNA050418; Mon, 7 May 2018 15:34:42 GMT (envelope-from leres@FreeBSD.org) Message-Id: <201805071534.w47FYgNA050418@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: leres set sender to leres@FreeBSD.org using -f From: Craig Leres Date: Mon, 7 May 2018 15:34:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r469294 - head/devel/xtensa-esp32-elf X-SVN-Group: ports-head X-SVN-Commit-Author: leres X-SVN-Commit-Paths: head/devel/xtensa-esp32-elf X-SVN-Commit-Revision: 469294 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 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: Mon, 07 May 2018 15:34:43 -0000 Author: leres Date: Mon May 7 15:34:42 2018 New Revision: 469294 URL: https://svnweb.freebsd.org/changeset/ports/469294 Log: Fix build as non-root user (BUILD_AS_NON_ROOT=yes in poudriere.conf) reported by pkg-fallout. While we're at it turn off annoying CT_LOG_PROGRESS_BAR spinner (which also makes the build log huge). Reviewed by: matthew (mentor) Approved by: matthew (mentor) Differential Revision: https://reviews.freebsd.org/D15312 Modified: head/devel/xtensa-esp32-elf/Makefile Modified: head/devel/xtensa-esp32-elf/Makefile ============================================================================== --- head/devel/xtensa-esp32-elf/Makefile Mon May 7 15:25:36 2018 (r469293) +++ head/devel/xtensa-esp32-elf/Makefile Mon May 7 15:34:42 2018 (r469294) @@ -66,6 +66,8 @@ post-extract: ${LN} -s ${DISTDIR}/${F:C/:source[0-9]+$//} \ ${BUILD_WRKSRC}/.build/tarballs .endfor + echo CT_LOG_PROGRESS_BAR=n >> \ + ${BUILD_WRKSRC}/samples/${PORTNAME}/crosstool.config do-configure: cd ${BUILD_WRKSRC} && ./bootstrap @@ -81,7 +83,9 @@ do-configure: do-build: cd ${BUILD_WRKSRC} && ${SETENV} ${BUILD_ENV} ./ct-ng build cd ${BUILD_WRKSRC}/builds/${PORTNAME} && \ - ${RM} build.log.bz2 lib/charset.alias + ${CHMOD} +w . lib && \ + ${RM} build.log.bz2 lib/charset.alias && \ + ${CHMOD} -w . lib do-install: cd ${BUILD_WRKSRC}/builds && \