linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bastian Germann <bage@debian.org>
To: linux-xfs@vger.kernel.org
Cc: Bastian Germann <bage@debian.org>, Helmut Grohne <helmut@subdivi.de>
Subject: [PATCH 2/2] debian: Fix FTCBFS: Skip crc32 test (Closes: #999879)
Date: Fri, 19 Nov 2021 18:12:41 +0100	[thread overview]
Message-ID: <20211119171241.102173-3-bage@debian.org> (raw)
In-Reply-To: <20211119171241.102173-1-bage@debian.org>

xfsprogs fails to cross build from source, because it attempts to build
its crc32 test with the build architecture compiler and thus fails
finding the liburcu, which is only requested for the host architecture.
While this test is useful for native builds, it is not that useful for
cross builds. Skip it by pre-creating the output file.

Reported-by: Helmut Grohne <helmut@subdivi.de>
Signed-off-by: Bastian Germann <bage@debian.org>
---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index 6d5b82a8..28cc414d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -40,6 +40,9 @@ build-arch: built
 build-indep: built
 built: dibuild config
 	@echo "== dpkg-buildpackage: build" 1>&2
+ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
+	touch --date=+3day libfrog/crc32selftest
+endif
 	$(MAKE) $(PMAKEFLAGS) default
 	touch built
 
-- 
2.30.2



  parent reply	other threads:[~2021-11-19 17:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-19 17:12 [PATCH 0/2] debian: Fix xfsprogs FT(C)BFS Bastian Germann
2021-11-19 17:12 ` [PATCH 1/2] debian: Generate .gitcensus instead of .census (Closes: #999743) Bastian Germann
2021-11-23 20:01   ` Bastian Germann
2021-11-23 20:08   ` Darrick J. Wong
2021-11-19 17:12 ` Bastian Germann [this message]
2021-11-19 23:11   ` [PATCH 2/2] debian: Fix FTCBFS: Skip crc32 test (Closes: #999879) Dave Chinner
2021-11-20  7:32     ` Helmut Grohne
2021-11-20 17:15       ` Darrick J. Wong
2021-11-20 22:20         ` Dave Chinner
2021-11-20 22:27           ` Dave Chinner
2021-11-22 23:32             ` Darrick J. Wong
2021-11-22 23:31           ` Darrick J. Wong
2021-11-22 23:37             ` Dave Chinner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211119171241.102173-3-bage@debian.org \
    --to=bage@debian.org \
    --cc=helmut@subdivi.de \
    --cc=linux-xfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).