Skip to contentSkip to conversation

Processed: xfsprogs FTCBFS: [TEST] CRC32 fails to compile

DISCUSSION Debian Bug Tracking System 1 participant 3 messages Nov 18, 2021 – Nov 19, 2021 3 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Processing control commands:

Quoted 1 line

block -1 by 999743

Bug #999879 [src:xfsprogs] xfsprogs FTCBFS: [TEST] CRC32 fails to compile 999879 was not blocked by any bugs.
999879 was not blocking any bugs.
Added blocking bug(s) of 999879: 999743

Signature · 3 lines
999879: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=999879
Debian Bug Tracking System
Contact [email protected] with problems
#3 lore raw

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

In reply to a message not in the archive

Your message dated Fri, 19 Nov 2021 18:33:43 +0100
with message-id <[email protected]> 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 [email protected] immediately.)

Signature · 3 lines
999879: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=999879
Debian Bug Tracking System
Contact [email protected] with problems

Source: xfsprogs
Version: 5.14.0-rc1-1
Tags: patch
User: [email protected]
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

debian/changelog +7 -0
diff --minimal -Nru xfsprogs-5.14.0-rc1/debian/changelog xfsprogs-5.14.0-rc1/debian/changelog
@@ -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 <[email protected]>  Tue, 16 Nov 2021 14:43:28 +0100
+
 xfsprogs (5.14.0-rc1-1) unstable; urgency=medium
 
   [ Dave Chinner ]
debian/rules +3 -0
diff --minimal -Nru xfsprogs-5.14.0-rc1/debian/rules xfsprogs-5.14.0-rc1/debian/rules
@@ -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
 

Version: 5.14.0-1

A message that is not in the archive (sent off-list or not yet received): 163700840784.4520.2954754823827344140.reportbug@localhost

#5 lore raw

Bug#999743: marked as done (xfsprogs FTBFS: .gitcensus: No such file or directory)

Your message dated Fri, 19 Nov 2021 18:33:43 +0100
with message-id <[email protected]> and subject line xfsprogs fix
has caused the Debian Bug report #999743,
regarding xfsprogs FTBFS: .gitcensus: No such file or directory 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 [email protected] immediately.)

Signature · 3 lines
999743: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=999743
Debian Bug Tracking System
Contact [email protected] with problems

Source: xfsprogs
Version: 5.14.0-rc1-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/logs.php?pkg=xfsprogs&ver=5.14.0-rc1-1

...
cat: .gitcensus: No such file or directory
/bin/tar: .gitcensus: Cannot stat: No such file or directory /bin/tar: Exiting with failure status due to previous errors gmake[2]: *** [Makefile:187: xfsprogs-5.14.0-rc1.tar.gz] Error 2

Version: 5.14.0-1