From patchwork Mon Dec 14 22:00:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamal Mostafa X-Patchwork-Id: 1416204 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CvwM74x4pz9s0b; Tue, 15 Dec 2020 09:01:07 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1kovtw-0008Il-Uo; Mon, 14 Dec 2020 22:01:04 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1kovtv-0008IN-Pz for kernel-team@lists.ubuntu.com; Mon, 14 Dec 2020 22:01:03 +0000 Received: from [192.188.8.81] (helo=ascalon) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1kovtv-0005RZ-CV for kernel-team@lists.ubuntu.com; Mon, 14 Dec 2020 22:01:03 +0000 Received: from kamal by ascalon with local (Exim 4.90_1) (envelope-from ) id 1kovtt-0002tY-TK for kernel-team@lists.ubuntu.com; Mon, 14 Dec 2020 14:01:01 -0800 From: Kamal Mostafa To: kernel-team@lists.ubuntu.com Subject: [SRU][G, H][PATCH 3/3] UBUNTU: disable building bpf selftests (no VMLINUX_BTF) Date: Mon, 14 Dec 2020 14:00:40 -0800 Message-Id: <20201214220040.10644-4-kamal@canonical.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201214220040.10644-1-kamal@canonical.com> References: <20201214220040.10644-1-kamal@canonical.com> X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1908144 Disable selftests/bpf since it cannot be built without having built vmlinux first, else build fails with either: Makefile:148: *** cannot find a vmlinux for VMLINUX_BTF at any of "{paths}". Stop. or this more cryptic variant: Error: failed to load BTF from format: No such file or directory Reference: "UBUNTU: SAUCE: selftests/bpf: clarify build error if no vmlinux" Reference: https://lore.kernel.org/bpf/20201210185233.28091-1-broonie@kernel.org/ Signed-off-by: Kamal Mostafa --- debian/rules.d/0-common-vars.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules.d/0-common-vars.mk b/debian/rules.d/0-common-vars.mk index 92597bf38b6b..4a04c41eedfd 100644 --- a/debian/rules.d/0-common-vars.mk +++ b/debian/rules.d/0-common-vars.mk @@ -275,4 +275,4 @@ custom_override = \ $(shell if [ -n "$($(1)_$(2))" ]; then echo "$($(1)_$(2))"; else echo "$($(1))"; fi) # selftests that Ubuntu cares about -ubuntu_selftests = breakpoints bpf cpu-hotplug efivarfs memfd memory-hotplug mount net ptrace seccomp timers powerpc user ftrace +ubuntu_selftests = breakpoints cpu-hotplug efivarfs memfd memory-hotplug mount net ptrace seccomp timers powerpc user ftrace