From nobody Sat Aug 19 18:52:14 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RSnsp2xNrz4mKv8; Sat, 19 Aug 2023 18:52:14 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RSnsp2X7Nz4Z98; Sat, 19 Aug 2023 18:52:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692471134; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bVHBTSMIgSRQEbm4ignPR4nnVBl0jbHiYWd8s1kkxtw=; b=wbs2uxG11R8W63JBl8M9ovCbpTGZW83FAhLZ61nAklO13/CzIB9EE0IaUifVIL9J8tSOSm EUfbmujbayUUFUtA2EdSiRrNfWB184K+bXpg0ErzAin3J+XfgdlRZ9ytUyRf48vCsrh1va v4rcifAntTZ1laGB6u96SwRvam36LvAjAk6tMrn/KVzVijF/MLlax2tQBqSRxqA+G+ivz/ ib9jsd1ENL6M7JeLKc2d4VIgEEKh7vy3S+M65lhUYEBYe+i8WGtRVgGImB0QJKBJJfRXaF 6FMMl+yOdPXhPH0pGPBHYax1GFMe+85IxRjiVfzv/IHr1bZOO9PC1i8R/tjB/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692471134; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bVHBTSMIgSRQEbm4ignPR4nnVBl0jbHiYWd8s1kkxtw=; b=ynO2oISzLeapoK5ap2jpRyrIMQeWUddcNTbMw0xy+fyn8NCW7o9oETmy5hekEDId1udzHT AC5lImx2KU5kqlh9i9FV62eJTyiVP/sGKyEvBXgIbju7Ee95iGWee0YKQPAaNXFu5atd3A XLfz4yEeHDBfmxP+/k67Xu01hwg38k5L/cVnjConGxIgN1SOJHL7HAlfrEn3AkhCv0jLms zuBzSeEZdqYmgtvE36/VxMVOPkvP62adra5guzr3IJadPcFwrJcYxNpEU1Thp3J3hRPCVr iAjEv6UKkubF4a6ESVx54PRGkdH+k8PHIm4ZUsJsW4cIhg+keEoOyyI00f4maw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692471134; a=rsa-sha256; cv=none; b=PnhTn9hQb98jEmhZTKjzzJvjaTXq/EKp3k2bzgK8MUjYXmMsAgRVafXmbB4przABrInxvu nCjc8oRzH3g60Q4tcdM3RgZW+SWhT3AtgcNTLRf4cbd0OGNxV5s6PI8p5aYQqiZpxlC6tn pXyR7lLDea8sN733k8wRFNpZPfCxLmaz3374tx6TRYoN99wBE/wOUKrs7lfSns9E/bezrp 0ujSGMGjY7trKDHO/Q8VeR0SX81sQkKMEAGr+Mrb9XAvxSU3aEtpQtN6LPz1v0JKn0pL7Z rHh/JM1gQ1N0f23mMJYT70vjc679lAzEj1Qf/ZUlOItKwUK8vHXhRScTG17ycg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RSnsp1cL1z17Zn; Sat, 19 Aug 2023 18:52:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37JIqEoU080687; Sat, 19 Aug 2023 18:52:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37JIqEtQ080684; Sat, 19 Aug 2023 18:52:14 GMT (envelope-from git) Date: Sat, 19 Aug 2023 18:52:14 GMT Message-Id: <202308191852.37JIqEtQ080684@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Lewis Cook Subject: git: 365c8812950b - main - devel/golangci-lint: Set MAKE_ENV during shell completion generation List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: lcook X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 365c8812950b1eccd29a6d63731a9bdd1d87fe29 Auto-Submitted: auto-generated The branch main has been updated by lcook: URL: https://cgit.FreeBSD.org/ports/commit/?id=365c8812950b1eccd29a6d63731a9bdd1d87fe29 commit 365c8812950b1eccd29a6d63731a9bdd1d87fe29 Author: Lewis Cook AuthorDate: 2023-08-19 18:13:43 +0000 Commit: Lewis Cook CommitDate: 2023-08-19 18:51:31 +0000 devel/golangci-lint: Set MAKE_ENV during shell completion generation During this process, Go looks for `$XDG_CACHE_HOME` which is initially undefined for the build cache directory. Therefore, during Poudriere builds, we attempt to write to `/nonexistent` and subsequently fail. Setting `MAKE_ENV` resolves that. Reported by: pkg-fallout --- devel/golangci-lint/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/devel/golangci-lint/Makefile b/devel/golangci-lint/Makefile index 7125b2260b54..0a309eb7b48c 100644 --- a/devel/golangci-lint/Makefile +++ b/devel/golangci-lint/Makefile @@ -1,6 +1,7 @@ PORTNAME= golangci-lint DISTVERSIONPREFIX= v DISTVERSION= 1.54.1 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= lcook@FreeBSD.org @@ -38,7 +39,7 @@ COMPLETIONS_PLIST_FILES= share/bash-completion/completions/${PORTNAME} \ post-install-COMPLETIONS-on: .for _shell in bash fish zsh - ${GO_WRKDIR_BIN}/${PORTNAME} completion ${_shell} \ + ${SET_ENV} ${MAKE_ENV} ${GO_ENV} ${GO_WRKDIR_BIN}/${PORTNAME} completion ${_shell} \ >${STAGEDIR}${PREFIX}/${COMPLETIONS_PLIST_FILES:M*${_shell}*} .endfor