Package: devscripts
Version: 2.10.4
Severity: normal
Tags: patch

Running "uscan --dehs" from a package base directory returns invalid 
xml because the </dehs> end tag is missing. Example:

$ uscan --dehs
<dehs>
<package>solr</package>
<debian-uversion>1.1.0</debian-uversion>
<debian-mangled-uversion>1.1.0</debian-mangled-uversion>
<upstream-version>1.1.0</upstream-version>
<upstream-url>http://www.apache.org/dist/lucene/solr/1.1/apache-solr-1.1.0-incubating.tgz</upstream-url>
<status>up to date</status>

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (900, 'stable'), (300, 'testing'), (100, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages devscripts depends on:
ii  debianutils                   2.17       Miscellaneous utilities specific t
ii  dpkg-dev                      1.13.25    package building tools for Debian
ii  libc6                         2.5-9      GNU C Library: Shared libraries
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction 
ii  sed                           4.1.5-1    The GNU sed stream editor

Versions of packages devscripts recommends:
ii  fakeroot                      1.5.10     Gives a fake root environment

-- no debconf information
--- uscan.pl.orig       2007-06-01 09:29:35.000000000 +0200
+++ uscan.pl    2007-06-01 09:35:31.000000000 +0200
@@ -523,6 +523,8 @@
 
 print "-- Scan finished\n" if $verbose;
 
+$dehs_end_output=1;
+dehs_output if $dehs;
 exit $found ? 0 : 1;
 
 

Reply via email to