Bug#999879: marked as done (xfsprogs FTCBFS: [TEST] CRC32 fails to compile)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Your message dated Fri, 19 Nov 2021 18:33:43 +0100
with message-id <b14e2072-5556-41b9-dfab-035b35f3d395@xxxxxxxxxx>
and subject line xfsprogs fix
has caused the Debian Bug report #999879,
regarding xfsprogs FTCBFS: [TEST] CRC32 fails to compile
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@xxxxxxxxxxxxxxx
immediately.)


-- 
999879: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=999879
Debian Bug Tracking System
Contact owner@xxxxxxxxxxxxxxx with problems
--- Begin Message ---
Source: xfsprogs
Version: 5.14.0-rc1-1
Tags: patch
User: debian-cross@xxxxxxxxxxxxxxxx
Usertags: ftcbfs
Control: block -1 by 999743

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. I propose skipping it (e.g. by pre-creating the output
file). After doing so it fails via #999743. Please consider applying the
attached patch.

Helmut
diff --minimal -Nru xfsprogs-5.14.0-rc1/debian/changelog xfsprogs-5.14.0-rc1/debian/changelog
--- xfsprogs-5.14.0-rc1/debian/changelog	2021-11-14 23:18:22.000000000 +0100
+++ xfsprogs-5.14.0-rc1/debian/changelog	2021-11-16 14:43:28.000000000 +0100
@@ -1,3 +1,10 @@
+xfsprogs (5.14.0-rc1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Skip crc32 test. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@xxxxxxxxxx>  Tue, 16 Nov 2021 14:43:28 +0100
+
 xfsprogs (5.14.0-rc1-1) unstable; urgency=medium
 
   [ Dave Chinner ]
diff --minimal -Nru xfsprogs-5.14.0-rc1/debian/rules xfsprogs-5.14.0-rc1/debian/rules
--- xfsprogs-5.14.0-rc1/debian/rules	2021-11-14 23:18:22.000000000 +0100
+++ xfsprogs-5.14.0-rc1/debian/rules	2021-11-16 14:43:28.000000000 +0100
@@ -40,6 +40,9 @@
 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
 

--- End Message ---
--- Begin Message ---
Version: 5.14.0-1

--- End Message ---

[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux