Source: libgc
Version: 1:7.4.2-6
Tags: patch
User: [email protected]
Usertags: rebootstrap

Hi Christoph,

one of the recent libgc uploads added a dh_auto_test override without
checking for DEB_BUILD_OPTIONS containing nocheck. Thus the test suite
is run unconditionally which breaks cross building. I am attaching the
obvious patch for your convenience.

Helmut
--- a/debian/rules
+++ b/debian/rules
@@ -26,8 +26,10 @@
 		--build=$(DEB_BUILD_GNU_TYPE) \
 		--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)

+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 override_dh_auto_test:
 	$(MAKE) check
+endif

 override_dh_install:
 	install -D doc/gc.man debian/tmp/usr/share/man/man3/gc_malloc.3

Reply via email to