[Python-modules-team] Bug#845009: Cannot specify a 'check' option [ crc32 | crc64 | sha256 ]
Package: python-lzma Version: 0.5.3-3 Severity: normal Tags: patch Hello! python-lzma fails with a ValueError exception if you try to set the 'check' option to any of the accepted values as stated in the documentation. I have attached an example script to demonstrate the problem. This bug was reported upstream quite a while ago now, here: https://bugs.launchpad.net/pyliblzma/+bug/1243344, but remains unfixed. I have recently forwarded my patch though, here: https://code.launchpad.net/~e7appew/pyliblzma/bugfix-1243344. I will soon make my fix to the Debian package along with other changes in the 'bugfixes' branch of this repo: https://github.com/e7appew/python-lzma.git. Best regards, Carlos -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (990, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.7.0-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages python-lzma depends on: ii libc6 2.24-5 ii liblzma55.2.2-1.2 ii python 2.7.11-2 pn python:any python-lzma recommends no packages. python-lzma suggests no packages. -- no debconf information #!/usr/bin/python import lzma with open('data.tar', 'rb') as infile: with open('new-data.tar.xz', 'wb') as outfile: outfile.write(lzma.compress(infile.read(), options={'check':'crc64'})) ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Bug#796361: python-lzma: FTBFS when building with DEB_BUILD_OPTIONS 'nocheck nobench'
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 > > ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team