Package: archivemail Version: 0.8.2-1 Severity: serious Justification: fails to build from source (but built successfully in the past)
Using python and python-minimal from Experimental, the package FTBFS. The last bit of the build log: ../test_archivemail .....................................................EE.E...E................................... ====================================================================== ERROR: testMixed (__main__.TestMaildir) ---------------------------------------------------------------------- Traceback (most recent call last): File "./test_archivemail", line 1432, in testMixed self.verify() File "./test_archivemail", line 1275, in verify self._verify_archive() File "./test_archivemail", line 1337, in _verify_archive for msg in mb: File "/usr/lib/python2.7/mailbox.py", line 2007, in next self._search_start() File "/usr/lib/python2.7/mailbox.py", line 2028, in _search_start self.fp.seek(pos) File "./test_archivemail", line 95, in seek gzip.GzipFile.seek(self, offset) File "/usr/lib/python2.7/gzip.py", line 423, in seek count = offset - self.offset TypeError: unsupported operand type(s) for -: 'NoneType' and 'int' ====================================================================== ERROR: testMixedExisting (__main__.TestMaildir) ---------------------------------------------------------------------- Traceback (most recent call last): File "./test_archivemail", line 1437, in testMixedExisting self.verify() File "./test_archivemail", line 1275, in verify self._verify_archive() File "./test_archivemail", line 1337, in _verify_archive for msg in mb: File "/usr/lib/python2.7/mailbox.py", line 2007, in next self._search_start() File "/usr/lib/python2.7/mailbox.py", line 2028, in _search_start self.fp.seek(pos) File "./test_archivemail", line 95, in seek gzip.GzipFile.seek(self, offset) File "/usr/lib/python2.7/gzip.py", line 423, in seek count = offset - self.offset TypeError: unsupported operand type(s) for -: 'NoneType' and 'int' ====================================================================== ERROR: testOld (__main__.TestMaildir) ---------------------------------------------------------------------- Traceback (most recent call last): File "./test_archivemail", line 1422, in testOld self.verify() File "./test_archivemail", line 1275, in verify self._verify_archive() File "./test_archivemail", line 1337, in _verify_archive for msg in mb: File "/usr/lib/python2.7/mailbox.py", line 2007, in next self._search_start() File "/usr/lib/python2.7/mailbox.py", line 2028, in _search_start self.fp.seek(pos) File "./test_archivemail", line 95, in seek gzip.GzipFile.seek(self, offset) File "/usr/lib/python2.7/gzip.py", line 423, in seek count = offset - self.offset TypeError: unsupported operand type(s) for -: 'NoneType' and 'int' ====================================================================== ERROR: testOld (__main__.TestMaildirCopy) archiving an old maildir mailbox with the 'copy' option ---------------------------------------------------------------------- Traceback (most recent call last): File "./test_archivemail", line 1549, in testOld self.verify() File "./test_archivemail", line 1275, in verify self._verify_archive() File "./test_archivemail", line 1337, in _verify_archive for msg in mb: File "/usr/lib/python2.7/mailbox.py", line 2007, in next self._search_start() File "/usr/lib/python2.7/mailbox.py", line 2028, in _search_start self.fp.seek(pos) File "./test_archivemail", line 95, in seek gzip.GzipFile.seek(self, offset) File "/usr/lib/python2.7/gzip.py", line 423, in seek count = offset - self.offset TypeError: unsupported operand type(s) for -: 'NoneType' and 'int' ---------------------------------------------------------------------- Ran 95 tests in 2.428s FAILED (errors=4) Full build log attached. -- System Information: Debian Release: squeeze/sid
dpkg-buildpackage -us -uc dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): tail: cannot open `debian/changelog' for reading: No such file or directory dpkg-buildpackage: error: tail of debian/changelog gave error exit status 1 root@Scott-Latitude-E6320:/home# cd archivemail-0.8.2/ root@Scott-Latitude-E6320:/home/archivemail-0.8.2# vim debian/changelog root@Scott-Latitude-E6320:/home/archivemail-0.8.2# cd archivemail-0.8.2/ -bash: cd: archivemail-0.8.2/: No such file or directory root@Scott-Latitude-E6320:/home/archivemail-0.8.2# dpkg-buildpackage -us -uc dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): dpkg-buildpackage: source package archivemail dpkg-buildpackage: source version 0.8.2-1test2.7 dpkg-buildpackage: source changed by Nikolaus Schulz <microsch...@web.de> dpkg-buildpackage: host architecture i386 dpkg-source --before-build archivemail-0.8.2 debian/rules clean dh clean dh_testdir dh_auto_clean running clean 'build/lib.linux-i686-2.7' does not exist -- can't clean it 'build/bdist.linux-i686' does not exist -- can't clean it 'build/scripts-2.7' does not exist -- can't clean it debian/rules override_dh_clean make[1]: Entering directory `/home/archivemail-0.8.2' if [ -f archivemail.1.orig ]; then \ mv archivemail.1.orig archivemail.1; \ fi dh_clean make[1]: Leaving directory `/home/archivemail-0.8.2' dpkg-source -b archivemail-0.8.2 dpkg-source: info: using source format `3.0 (quilt)' dpkg-source: info: building archivemail using existing ./archivemail_0.8.2.orig.tar.gz dpkg-source: info: building archivemail in archivemail_0.8.2-1test2.7.debian.tar.gz dpkg-source: info: building archivemail in archivemail_0.8.2-1test2.7.dsc debian/rules build dh build dh_testdir dh_auto_configure debian/rules override_dh_auto_build make[1]: Entering directory `/home/archivemail-0.8.2' mv archivemail.1 archivemail.1.orig docbook2man archivemail.sgml Using catalogs: /etc/sgml/catalog Using stylesheet: /usr/share/docbook-utils/docbook-utils.dsl#print Working on: /home/archivemail-0.8.2/archivemail.sgml Done. make[1]: Leaving directory `/home/archivemail-0.8.2' debian/rules override_dh_auto_test make[1]: Entering directory `/home/archivemail-0.8.2' ../test_archivemail .....................................................EE.E...E................................... ====================================================================== ERROR: testMixed (__main__.TestMaildir) ---------------------------------------------------------------------- Traceback (most recent call last): File "./test_archivemail", line 1432, in testMixed self.verify() File "./test_archivemail", line 1275, in verify self._verify_archive() File "./test_archivemail", line 1337, in _verify_archive for msg in mb: File "/usr/lib/python2.7/mailbox.py", line 2007, in next self._search_start() File "/usr/lib/python2.7/mailbox.py", line 2028, in _search_start self.fp.seek(pos) File "./test_archivemail", line 95, in seek gzip.GzipFile.seek(self, offset) File "/usr/lib/python2.7/gzip.py", line 423, in seek count = offset - self.offset TypeError: unsupported operand type(s) for -: 'NoneType' and 'int' ====================================================================== ERROR: testMixedExisting (__main__.TestMaildir) ---------------------------------------------------------------------- Traceback (most recent call last): File "./test_archivemail", line 1437, in testMixedExisting self.verify() File "./test_archivemail", line 1275, in verify self._verify_archive() File "./test_archivemail", line 1337, in _verify_archive for msg in mb: File "/usr/lib/python2.7/mailbox.py", line 2007, in next self._search_start() File "/usr/lib/python2.7/mailbox.py", line 2028, in _search_start self.fp.seek(pos) File "./test_archivemail", line 95, in seek gzip.GzipFile.seek(self, offset) File "/usr/lib/python2.7/gzip.py", line 423, in seek count = offset - self.offset TypeError: unsupported operand type(s) for -: 'NoneType' and 'int' ====================================================================== ERROR: testOld (__main__.TestMaildir) ---------------------------------------------------------------------- Traceback (most recent call last): File "./test_archivemail", line 1422, in testOld self.verify() File "./test_archivemail", line 1275, in verify self._verify_archive() File "./test_archivemail", line 1337, in _verify_archive for msg in mb: File "/usr/lib/python2.7/mailbox.py", line 2007, in next self._search_start() File "/usr/lib/python2.7/mailbox.py", line 2028, in _search_start self.fp.seek(pos) File "./test_archivemail", line 95, in seek gzip.GzipFile.seek(self, offset) File "/usr/lib/python2.7/gzip.py", line 423, in seek count = offset - self.offset TypeError: unsupported operand type(s) for -: 'NoneType' and 'int' ====================================================================== ERROR: testOld (__main__.TestMaildirCopy) archiving an old maildir mailbox with the 'copy' option ---------------------------------------------------------------------- Traceback (most recent call last): File "./test_archivemail", line 1549, in testOld self.verify() File "./test_archivemail", line 1275, in verify self._verify_archive() File "./test_archivemail", line 1337, in _verify_archive for msg in mb: File "/usr/lib/python2.7/mailbox.py", line 2007, in next self._search_start() File "/usr/lib/python2.7/mailbox.py", line 2028, in _search_start self.fp.seek(pos) File "./test_archivemail", line 95, in seek gzip.GzipFile.seek(self, offset) File "/usr/lib/python2.7/gzip.py", line 423, in seek count = offset - self.offset TypeError: unsupported operand type(s) for -: 'NoneType' and 'int' ---------------------------------------------------------------------- Ran 95 tests in 2.428s FAILED (errors=4) make[1]: *** [override_dh_auto_test] Error 1 make[1]: Leaving directory `/home/archivemail-0.8.2' make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2