[Python-modules-team] Bug#796361: python-lzma: FTBFS when building with DEB_BUILD_OPTIONS 'nocheck nobench'

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Fri Aug 21 14:19:40 UTC 2015


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 - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



More information about the Python-modules-team mailing list