Package: devscripts
Version: 2.17.10
Severity: serious
Tags: patch
Justification: fails to build from source (but built successfully in the past)
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu bionic ubuntu-patch



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

  * test/test_mk-origtargz: Adjust test for dpkg 1.19's ErrorHandling.pm.

Fairly self-explanatory, I'd think.  In dpkg 1.19, ErrorHandling.pm was
normalised to match libdpkg error messages, and this means the expected
error in the mk-origtargz test is now incorrect.  This patch fixes that.

... Adam

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

Kernel: Linux 4.13.0-16-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)
diff -Nru devscripts-2.17.10/test/test_mk-origtargz 
devscripts-2.17.10ubuntu1/test/test_mk-origtargz
--- devscripts-2.17.10/test/test_mk-origtargz   2017-09-13 20:08:30.000000000 
-0600
+++ devscripts-2.17.10ubuntu1/test/test_mk-origtargz    2017-10-25 
22:29:09.000000000 -0600
@@ -540,7 +540,7 @@
                "tar: This does not look like a tar archive
 tar: Skipping to next header
 tar: Exiting with failure status due to previous errors
-$PROGNAME: error: tar --list --auto-compress --file ../foo_0.1.orig.tar.xz 
gave error exit status 2" \
+$PROGNAME: error: tar --list --auto-compress --file ../foo_0.1.orig.tar.xz 
subprocess returned exit status 2" \
                "" \
                 ../foo-0.1.tar.gz --repack --compression xz
 }

Reply via email to