From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 49BE569A71 for ; Wed, 24 Feb 2021 22:08:22 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id D58112DE43 for ; Wed, 24 Feb 2021 22:08:21 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [212.186.127.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id E927E2DDF3 for ; Wed, 24 Feb 2021 22:08:19 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id B1FC2462FC for ; Wed, 24 Feb 2021 22:08:19 +0100 (CET) From: Stoiko Ivanov To: pve-devel@lists.proxmox.com Date: Wed, 24 Feb 2021 22:08:02 +0100 Message-Id: <20210224210802.8425-5-s.ivanov@proxmox.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210224210802.8425-1-s.ivanov@proxmox.com> References: <20210224210802.8425-1-s.ivanov@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.064 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] [PATCH zfsonlinux 4/4] buildsys: validate ABI at build time X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2021 21:08:22 -0000 this commit follows: 93661343d884a5339631afd7b683e232d20b7baf and 0b52b09c6083bd590e46cb9884d06bae1b712a2a from debian-upstream [0]. the `make checkabi` invocation takes < .4s on my workstation - so it seems worth the change. [0] https://salsa.debian.org/zfsonlinux-team/zfs Signed-off-by: Stoiko Ivanov --- debian/control | 3 ++- debian/rules | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 4ab6bda4..619244e9 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,8 @@ Source: zfs-linux Section: contrib/kernel Priority: optional Maintainer: Proxmox Support Team -Build-Depends: debhelper (>= 10~), +Build-Depends: abigail-tools, + debhelper (>= 10~), dh-python, libblkid-dev, libelf-dev, diff --git a/debian/rules b/debian/rules index fe09e2e1..836e4bc4 100755 --- a/debian/rules +++ b/debian/rules @@ -47,6 +47,12 @@ override_dh_auto_configure: done override_dh_auto_test: +override_dh_auto_test: +ifeq (amd64,$(DEB_HOST_ARCH)) + # Upstream provides an ABI guarantee that we validate here + $(MAKE) checkabi +endif + # The dh_auto_test rule is disabled because # `make check` cannot run in an unprivileged build environment. -- 2.20.1