Whamcloud - gitweb
debian: don't build with libarchive on mips64el
authorTheodore Ts'o <tytso@mit.edu>
Mon, 29 Apr 2024 20:31:14 +0000 (16:31 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 29 Apr 2024 20:31:14 +0000 (16:31 -0400)
The libarchive functionality in "mke2fs -d foo.tar" is breaking the
regression test[1].  Since this is working everywhere _except_
mips64el, as a short-term workaround disable libarchive support on
this platform until it can be fixed.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1070042

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debian/rules

index 6e98d91..12dd56a 100755 (executable)
@@ -61,6 +61,11 @@ CC ?= $(DEB_HOST_GNU_TYPE)-gcc
 COMMON_CONF_FLAGS += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
 endif
 
+# work around Debian Bug #1070042
+ifeq ($(DEB_HOST_ARCH),mips64el)
+COMMON_CONF_FLAGS += --without-libarchive
+endif
+
 %:
        dh $@ -B${stdbuilddir}