From owner-dev-commits-ports-all@freebsd.org Tue Apr 13 07:07:39 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E667D5D4BF7; Tue, 13 Apr 2021 07:07:39 +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 4FKGrq69lLz3tWN; Tue, 13 Apr 2021 07:07:39 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 C1F24265F1; Tue, 13 Apr 2021 07:07:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 13D77dc4028405; Tue, 13 Apr 2021 07:07:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13D77dOD028404; Tue, 13 Apr 2021 07:07:39 GMT (envelope-from git) Date: Tue, 13 Apr 2021 07:07:39 GMT Message-Id: <202104130707.13D77dOD028404@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Tobias Kortkamp Subject: git: 7bec7b192cda - main - Mk/Uses/cargo.mk: Make build scripts more verbose MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tobik X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7bec7b192cdabe3fc1ba9ddaeb4e6edc42c1be01 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2021 07:07:40 -0000 The branch main has been updated by tobik: URL: https://cgit.FreeBSD.org/ports/commit/?id=7bec7b192cdabe3fc1ba9ddaeb4e6edc42c1be01 commit 7bec7b192cdabe3fc1ba9ddaeb4e6edc42c1be01 Author: Tobias Kortkamp AuthorDate: 2021-04-13 07:01:20 +0000 Commit: Tobias Kortkamp CommitDate: 2021-04-13 07:05:40 +0000 Mk/Uses/cargo.mk: Make build scripts more verbose Build scripts might build bundled libraries but non-error output is hiddden by cargo. Given a crate with large enough bundled library (looking at you rusty_v8) the build just sits there in silence forever and you do not know what is happening or if anything is happening at all. This also makes Poudriere build logs less useful. Pass an additional --verbose to cargo to get more noisy output. https://doc.rust-lang.org/cargo/reference/build-scripts.html#outputs-of-the-build-script --- Mk/Uses/cargo.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Mk/Uses/cargo.mk b/Mk/Uses/cargo.mk index 226e3ebdb132..69a1ee45c8a4 100644 --- a/Mk/Uses/cargo.mk +++ b/Mk/Uses/cargo.mk @@ -277,6 +277,7 @@ cargo-configure: @${CARGO_CARGO_RUN} update \ --manifest-path ${CARGO_CARGOTOML} \ --verbose \ + --verbose \ ${CARGO_UPDATE_ARGS} .endif @@ -285,6 +286,7 @@ do-build: @${CARGO_CARGO_RUN} build \ --manifest-path ${CARGO_CARGOTOML} \ --verbose \ + --verbose \ ${CARGO_BUILD_ARGS} .endif @@ -296,6 +298,7 @@ do-install: --path "${path}" \ --root "${STAGEDIR}${PREFIX}" \ --verbose \ + --verbose \ ${CARGO_INSTALL_ARGS} . endfor .endif @@ -305,6 +308,7 @@ do-test: @${CARGO_CARGO_RUN} test \ --manifest-path ${CARGO_CARGOTOML} \ --verbose \ + --verbose \ ${CARGO_TEST_ARGS} .endif