From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 131F9158094 for ; Mon, 8 Aug 2022 11:50:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DDC18E09F1; Mon, 8 Aug 2022 11:50:01 +0000 (UTC) Received: from out0.migadu.com (out0.migadu.com [94.23.1.103]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D7576E09F1 for ; Mon, 8 Aug 2022 11:50:00 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=laumann.xyz; s=key1; t=1659959398; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=zyHyHpPdHue73IQrJjLqTIyYNtciL94Rbzq1mXzryzo=; b=s6u4B4fBZpmH9wrsqT4tNYwRsJ1qN9TwImzPjwV9k7BGd1tOs5ILAi0EmFedqLkK6Q8xzo 4SYJBzYhMuqRKfxxF0CHaYHb+swx+hA+Shee2yeN9rM4dILFte+Sbos/FoQVKmvPK+J7fe 9RIQoZDLQpLaYkNUxlY43ZEAn0xAyp+GYiIrUSLiQ6qDkWSDr9LYAMb69ErdDREzKxfVVO FBC8YvuHakXnSumP/tTuuIPzgFexpXcNAvqY6TJp9J0vCDxbBzCv6+UyRW0v/KsgYK+yVg San/trHfoeo6iPGwBHTqXgNG7N+KGDLM/Z+8KXVSnZlzx+DVQOZ25l4Zab3NTw== From: Thomas Bracht Laumann Jespersen To: gentoo-portage-dev@lists.gentoo.org Cc: Thomas Bracht Laumann Jespersen Subject: [gentoo-portage-dev] [PATCH] EbuildPhase: print SLOT along other build metadata Date: Mon, 8 Aug 2022 13:49:53 +0200 Message-Id: <20220808114953.8009-1-t@laumann.xyz> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: laumann.xyz X-Archives-Salt: 66c16427-4a8e-497d-bec4-ea6dbd84635f X-Archives-Hash: 02418525688bb4747ca8704c29e8542e Requested as a useful part in the output from tinderbox runs. Closes: https://bugs.gentoo.org/864382 Signed-off-by: Thomas Bracht Laumann Jespersen --- Quick tests with a random non-SLOT=0 package produces this now: * Package: dev-libs/libdaemon-0.14-r3 * Slot: 0/5 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking libdaemon-0.14.tar.gz to /var/tmp/portage/dev-libs/libdaemon-0.14-r3/work >>> Source unpacked in /var/tmp/portage/dev-libs/libdaemon-0.14-r3/work I hope I haven't overlooked anything. lib/_emerge/EbuildPhase.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/_emerge/EbuildPhase.py b/lib/_emerge/EbuildPhase.py index 9a04f9c1f..6dce4aedb 100644 --- a/lib/_emerge/EbuildPhase.py +++ b/lib/_emerge/EbuildPhase.py @@ -136,6 +136,7 @@ class EbuildPhase(CompositeTask): msg = [] msg.append("Package: %s" % self.settings.mycpv) + msg.append("Slot: %s" % self.settings["SLOT"]) if self.settings.get("PORTAGE_REPO_NAME"): msg.append("Repository: %s" % self.settings["PORTAGE_REPO_NAME"]) if maint_str: -- 2.37.1