From c020d9e9432cd0e36fe47ad14216d6048adb49fc Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 10 Nov 2022 21:28:32 +0000 Subject: gentoo auto-resync : 10:11:2022 - 21:28:32 --- eclass/cargo.eclass | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'eclass/cargo.eclass') diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass index c46f48146aed..eb9d2e8c3599 100644 --- a/eclass/cargo.eclass +++ b/eclass/cargo.eclass @@ -243,7 +243,8 @@ cargo_src_unpack() { # @FUNCTION: cargo_live_src_unpack # @DESCRIPTION: -# Runs 'cargo fetch' and vendors downloaded crates for offline use, used in live ebuilds +# Runs 'cargo fetch' and vendors downloaded crates for offline use, used in live ebuilds. +# NOTE: might require passing --frozen to cargo_src_configure if git dependencies are used. cargo_live_src_unpack() { debug-print-function ${FUNCNAME} "$@" @@ -355,6 +356,10 @@ cargo_live_src_unpack() { # In some cases crates may need '--no-default-features' option, # as there is no way to disable single feature, except disabling all. # It can be passed directly to cargo_src_configure(). +# +# Some live/9999 ebuild may need '--frozen' option, if git crates +# are used. +# Otherwise src_install phase may query network again and fail. cargo_src_configure() { debug-print-function ${FUNCNAME} "$@" -- cgit v1.2.3