Source: z80asm Version: 1.8-1 Tags: patch User: [email protected] Usertags: ftcbfs
z80asm fails to cross build from source, because it fails running tests despite DEB_BUILD_OPTIONS=nocheck. The upstream build system runs them as part of the build target and offers no test target. The attached patch fixes that. Please consider applying it. Helmut
diff -u z80asm-1.8/debian/changelog z80asm-1.8/debian/changelog --- z80asm-1.8/debian/changelog +++ z80asm-1.8/debian/changelog @@ -1,3 +1,10 @@ +z80asm (1.8-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Honour DEB_BUILD_OPTIONS=nocheck. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Sun, 08 Sep 2019 19:14:53 +0200 + z80asm (1.8-1) unstable; urgency=low * New upstream release. Fixes defw bug. (Closes: #519098) diff -u z80asm-1.8/debian/rules z80asm-1.8/debian/rules --- z80asm-1.8/debian/rules +++ z80asm-1.8/debian/rules @@ -3,0 +4,5 @@ + +override_dh_auto_test: +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) + $(MAKE) -C tests +endif only in patch2: unchanged: --- z80asm-1.8.orig/Makefile +++ z80asm-1.8/Makefile @@ -25,7 +25,6 @@ z80asm: z80asm.o expressions.o Makefile gnulib/getopt.o gnulib/getopt1.o $(CC) $(LDFLAGS) $(filter %.o,$^) -o $@ - $(MAKE) -C tests || rm $@ %.o:%.c z80asm.h gnulib/getopt.h Makefile $(CC) $(CFLAGS) -c $< -o $@ -DVERSION=\"$(shell cat VERSION)\"

