Package: devscripts
Version: 2.18.2
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu cosmic ubuntu-patch



In Ubuntu, the attached patch was applied to achieve the following:

  * debian/tests/control: Depend on python3-pyftpdlib for the ftp tests.

Hopefully, this is mostly self-evident.  You can see in debci[1] that
the tests are hanging waiting for the FTP server to start, which is
simply because python is exiting with an import error because pyftpdlib
isn't installed.  This patch makes the tests pass again.

... Adam

[1] https://ci.debian.net/packages/d/devscripts/unstable/amd64/

-- System Information:
Debian Release: buster/sid
  APT prefers cosmic
  APT policy: (500, 'cosmic')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-20-lowlatency (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_CA:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru devscripts-2.18.2/debian/tests/control 
devscripts-2.18.2ubuntu1/debian/tests/control
--- devscripts-2.18.2/debian/tests/control      2018-03-06 07:42:39.000000000 
-0700
+++ devscripts-2.18.2ubuntu1/debian/tests/control       2018-05-03 
15:18:44.000000000 -0600
@@ -1,3 +1,3 @@
 Tests: shunit2
-Depends: devscripts, build-essential, debhelper, gcc, libdistro-info-perl, 
mozilla-devscripts, shunit2, zip
+Depends: devscripts, build-essential, debhelper, gcc, libdistro-info-perl, 
mozilla-devscripts, shunit2, zip, python3-pyftpdlib
 Restrictions: allow-stderr needs-recommends

Reply via email to