Source: openbox-menu Version: 0.8.0+hg20161009-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap
openbox-menu runs tests as part of "make all". Thus dh_auto_build runs tests and that fails during cross builds. By passing the "openbox-menu" target to make from dh_auto_build, only the program is built and dh_auto_test (which honours DEB_BUILD_OPTIONS=nocheck) is in charge of running the tests. After doing so, openbox-menu cross builds successfully. Please consider applying the attached patch. Helmut
diff --minimal -Nru openbox-menu-0.8.0+hg20161009/debian/changelog openbox-menu-0.8.0+hg20161009/debian/changelog --- openbox-menu-0.8.0+hg20161009/debian/changelog 2017-08-12 21:30:08.000000000 +0200 +++ openbox-menu-0.8.0+hg20161009/debian/changelog 2017-10-13 11:19:41.000000000 +0200 @@ -1,3 +1,10 @@ +openbox-menu (0.8.0+hg20161009-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Don't run tests during dh_auto_build. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Fri, 13 Oct 2017 11:19:41 +0200 + openbox-menu (0.8.0+hg20161009-1) unstable; urgency=medium [ Helmut Grohne ] diff --minimal -Nru openbox-menu-0.8.0+hg20161009/debian/rules openbox-menu-0.8.0+hg20161009/debian/rules --- openbox-menu-0.8.0+hg20161009/debian/rules 2017-08-12 21:10:05.000000000 +0200 +++ openbox-menu-0.8.0+hg20161009/debian/rules 2017-10-13 11:19:40.000000000 +0200 @@ -5,5 +5,8 @@ %: dh $@ +override_dh_auto_build: + dh_auto_build -- openbox-menu + override_dh_auto_install: $(MAKE) install BINDIR=$(CURDIR)/debian/openbox-menu/usr/bin