This bug has also been fixed in the 'bugfixes' branch of https://github.com/e7appew/python-lzma.git.
On Fri, 21 Aug 2015 16:19:40 +0200 John Paul Adrian Glaubitz wrote: > Package: python-lzma > Version: 0.5.3-3 > Severity: normal > > Hello! > > python-lzma fails to build from source when disabling the test suite by setting the > appropriate DEB_BUILD_OPTIONS flags 'nocheck nobench': > > debian/rules override_dh_auto_test > make[1]: Entering directory '/«PKGBUILDDIR»' > make[1]: *** No rule to make target 'test2.7', needed by 'override_dh_auto_test'. Stop. > make[1]: Leaving directory '/«PKGBUILDDIR»' > make: *** [build-arch] Error 2 > debian/rules:42: recipe for target 'build-arch' failed > dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2 > > While disabling the testsuite is normally not advised, it is often desirable when > doing a quick test build, especially when building the package on slower machines > like the m68k or sh4 buildds. > > Could you please drop the dependency of the override_dh_auto_test target on the > target test2.7 such that python-lzma builds fine even when tests are disabled? > > Thanks, > > Adrian > > -- > .''`. John Paul Adrian Glaubitz > : :' : Debian Developer - glaub...@debian.org > `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de > `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 > >