From nobody Sun Jul 14 10:38:58 2024 X-Original-To: dev-commits-ports-all@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 4WMMJL6hSsz5QnbS; Sun, 14 Jul 2024 10:38:58 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WMMJL5qgFz4f8Y; Sun, 14 Jul 2024 10:38:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720953538; 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=oICEcOSBasusdt+oWExfuLsp5mpmUf/1rEPz0y8Qvn8=; b=Zoy58PUXh9KZ9iUhbUQdGavYXsA8VTSUfnWBBXiqkFgePipz+yXFNcHwF7jzKYJvD5ygD7 r9m4lNSKzGGGD3oPZSM8RRXfYx9Re+JeYL30x20H97ZcDakrnqvvutrgIM+35DeuzhubOa 9UQjnXYQDMGWCL41ZhdhO+pfkyM0C1hKDBeFvAdODZN7IbTd7trjg0iTSMFRoniyA56KN/ ZIzLejpfoOuloT0VgOwJL/pesDqM+GUYYeFZ9dPMNfMxyUdxEtFEi50K9kC4dWmTOASWiC Dwblh+Xwz0iNNzNN3nv5pdLDCDEfpzTCGmwK7vxq6ztHkuiGd19x2alhugbTIw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1720953538; a=rsa-sha256; cv=none; b=lcwuctjTKTzcFSlv6s2GnNCq7zoWoHGplZAC4yiskh/ARc/4wDlUncVIGoeGBxEeXuNiWo E/zpskSuAKzoUtbq131gsQL4uIMTGs0buYAqMgw2p96oBeR6Kp+OG7EMRRvfgg6c+rLdnI 2dmLNQCsDnrkQ1DQBO7j4+YVSxlIwhyDIYwM1JKXAUb1AqqnqF8vMbkb/5ao8YAaoT8RP+ l+Hm2t1oNaLHik2VpUrOL+FfbsThxYaYj7+JY/Lmd4NaRIaCrXHgsvhgq07isisSCgZ4Fs mhQAybRhQX/FNkpjn5+swECGV5naIMJF2/2RHu7Y7jU6SIa3aPI74fGH3XT8Sw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720953538; 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=oICEcOSBasusdt+oWExfuLsp5mpmUf/1rEPz0y8Qvn8=; b=xqPkvzBNk/G3weFP1Vi6yMw7pik14foYEJAk9vuzr3HZx6NNOWtM8zZF9639+8E7mEB+79 cttRUxB1GnXo9hiuWBk96GnoNXMWmP/ir/VHf59xcuSa9eOrIfUcUmBuTfCluGEqty4RWS EEVnRtCodMTJIhUXEEiBmCbZ09EV91GJducMzRqGYvHYbYJ3X84jV2wmL4vXANncWZyPqT kdt5XGOoRvKhhCUY/7koBNwYLMIQELQVQFW39A7B8wH1I9udEJ2Dnn017i5H5qtvNcQ/3y IkXbQRNl4HsuS8FJZCBw4slL70S6MEMZunZ24pdUGk7KH+yb7E8YDrHleXmGjQ== 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 4WMMJL57XHz15bF; Sun, 14 Jul 2024 10:38:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46EAcwj5011703; Sun, 14 Jul 2024 10:38:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46EAcwpN011700; Sun, 14 Jul 2024 10:38:58 GMT (envelope-from git) Date: Sun, 14 Jul 2024 10:38:58 GMT Message-Id: <202407141038.46EAcwpN011700@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Gleb Popov Subject: git: bd0711903140 - 2024Q3 - Uses/cabal.mk: Remove the --offline flag from the do-build command List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: arrowd X-Git-Repository: ports X-Git-Refname: refs/heads/2024Q3 X-Git-Reftype: branch X-Git-Commit: bd0711903140301d392dc44e073067fc4f85115e Auto-Submitted: auto-generated The branch 2024Q3 has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=bd0711903140301d392dc44e073067fc4f85115e commit bd0711903140301d392dc44e073067fc4f85115e Author: Gleb Popov AuthorDate: 2024-07-08 10:31:54 +0000 Commit: Gleb Popov CommitDate: 2024-07-14 10:38:42 +0000 Uses/cabal.mk: Remove the --offline flag from the do-build command It is a fatal error now if Cabal is passed --offline and there are VCS dependencies in the cabal.project This change is no-op for Poudriere builds since it shuts down networking for the build stage by default. (cherry picked from commit fe95e6b94dc2ce4908578fbe4d697245c750a263) --- Mk/Uses/cabal.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mk/Uses/cabal.mk b/Mk/Uses/cabal.mk index 2ee0596e0a6e..49d5f06d22bb 100644 --- a/Mk/Uses/cabal.mk +++ b/Mk/Uses/cabal.mk @@ -318,7 +318,7 @@ cabal-pre-configure: . if !target(do-build) do-build: cd ${WRKSRC} && \ - ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${CABAL_HOME_ENV} ${CABAL_CMD} build --offline --disable-benchmarks --disable-tests ${CABAL_WITH_ARGS} ${CABAL_LTO_ARGS} --flags "${CABAL_FLAGS}" ${BUILD_ARGS} ${BUILD_TARGET} + ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${CABAL_HOME_ENV} ${CABAL_CMD} build --disable-benchmarks --disable-tests ${CABAL_WITH_ARGS} ${CABAL_LTO_ARGS} --flags "${CABAL_FLAGS}" ${BUILD_ARGS} ${BUILD_TARGET} . endif . if !target(do-install)