From d2044c0e7b8e43b3abbe4c536d3e90d0faaadecf Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Sat, 6 Dec 2025 18:59:51 +0000 Subject: go-mod-vcs: missing go.mod is not a warning Signed-off-by: Bruce Ashfield --- classes/go-mod-vcs.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'classes') diff --git a/classes/go-mod-vcs.bbclass b/classes/go-mod-vcs.bbclass index cf583462..5ba6a775 100644 --- a/classes/go-mod-vcs.bbclass +++ b/classes/go-mod-vcs.bbclass @@ -301,7 +301,8 @@ python do_create_module_cache() { continue # Fallback: if no go.mod found, use requested path - bb.warn(f"No go.mod found for {requested_module} in {vcs_path}, using requested path") + # This is normal for some modules (e.g., pure Go stdlib-like packages) + bb.note(f"No go.mod found for {requested_module} in {vcs_path}, using requested path") return requested_module, '' canonical_module_path, detected_subdir = detect_canonical_module_path(vcs_path, subdir, module_path) -- cgit v1.2.3-54-g00ecf