Patch for Build-Depends

Andreas Tille tille at debian.org
Tue Mar 18 14:27:02 UTC 2014


[Please CC me on replies, thanks.]

Hi,

I tried to build the latest devscripts from Git and realised that the
following Build-Depends need to be added to enable running all tests:

diff --git a/debian/control b/debian/control
index 153d553..478c19d 100644
--- a/debian/control
+++ b/debian/control
@@ -28,9 +28,11 @@ Build-Depends: debhelper (>= 9),
                python3-magic,
                python3-setuptools,
                shunit2 (>= 2.1.6),
+               unzip,
                wdiff,
                xsltproc,
-               xz-utils
+               xz-utils,
+               zip
 XS-Testsuite: autopkgtest
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/devscripts.git
 Vcs-Git: git://anonscm.debian.org/collab-maint/devscripts.git



Unfortunately even then the test suite fails:


...
./test_uscan
testRepackGZ_XZ
uscan.pl warning: In watchfile debian/watch, reading webpage
  http://localhost:8000/ failed: 403 Forbidden
ASSERT:pristine tarball is not created
ASSERT:pristine tarball is not xz-compressed
tar: /tmp/tmp.dFBO9uLV1X/foo_1.orig.tar.xz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
ASSERT:file contents missing
testRepackGZ_BZ2
uscan.pl warning: In watchfile debian/watch, reading webpage
  http://localhost:8000/ failed: 403 Forbidden
ASSERT:pristine tarball is not created
ASSERT:pristine tarball is not bz2-compressed
tar: /tmp/tmp.SDkN75Y5UR/foo_1.orig.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
ASSERT:file contents missing
testRepackBZ2_GZ
uscan.pl warning: In watchfile debian/watch, reading webpage
  http://localhost:8000/ failed: 403 Forbidden
ASSERT:pristine tarball is not created
ASSERT:pristine tarball is not gz-compressed
tar: /tmp/tmp.XhhHId3Pre/foo_1.orig.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
ASSERT:file contents missing
testRepackGZ_GZ
uscan.pl warning: In watchfile debian/watch, reading webpage
  http://localhost:8000/ failed: 403 Forbidden
ASSERT:pristine tarball is not created
ASSERT:pristine tarball is not gz-compressed
tar: /tmp/tmp.ISAexnFVT1/foo_1.orig.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
ASSERT:file contents missing
testRepackXZ_XZ
uscan.pl warning: In watchfile debian/watch, reading webpage
  http://localhost:8000/ failed: 403 Forbidden
ASSERT:pristine tarball is not created
ASSERT:pristine tarball is not xz-compressed
tar: /tmp/tmp.uQp5Syvk6q/foo_1.orig.tar.xz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
ASSERT:file contents missing
testFileExclusion
uscan.pl warning: In watchfile debian/watch, reading webpage
  http://localhost:8000/ failed: 403 Forbidden
ASSERT:pristine tarball is not created
ASSERT:pristine tarball is not gzip-compressed
tar: /tmp/tmp.5JRec9KDEU/foo_1+dfsg.orig.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
ASSERT:file that must be present is excluded in the tarball
testFileExclusionZip
  adding: ; echo baz; #/ (stored 0%)
  adding: exclude-dir/ (stored 0%)
  adding: exclude-dir/file (stored 0%)
  adding: exclude-this (stored 0%)
  adding: include-this (stored 0%)
ASSERT:zipfile not downloaded
ASSERT:zipfile not copied to +dfsg
zipinfo:  cannot find or open /tmp/tmp.fuCwqbtFLd/foo-1+dfsg.zip, /tmp/tmp.fuCwqbtFLd/foo-1+dfsg.zip.zip or /tmp/tmp.fuCwqbtFLd/foo-1+dfsg.zip.ZIP.
ASSERT:file that must be present is excluded in the zip file

Ran 7 tests.

FAILED (failures=21)
make[2]: *** [test] Error 1


I currently will not manage to check this but I wanted to share this
observation.

Kind regards

      Andreas.

-- 
http://fam-tille.de



More information about the devscripts-devel mailing list