Hi,

the problem appears to be in the summary files.
The summary file of bug 237453 contains
Fixed-In: libdevmapper-dev/2:1.01.00-4

When the bug's presence is checked via Status::bug_presence,
Status::buggy is called at some place.
Status::buggy checks whether found-in and fixed-in data specify
a package name. If not, makesourceversions is called to convert
the version strings to the form containing _source_ package names.

The Fixed-In field of 237453 already contains a package name, so
makesourceversions is not called. libdevmapper-dev is a binary package,
though, and as such does not have an entry in
/org/bugs.debian.org/versions/pkg.

I've attached a simple fix for this problem, which deletes the package
information from the found-in and fixed-in strings. makesourceversions
can then find the correct sources, and so buggy finds the version information
it needs.

I don't know, if deleting this information can cause problems.  It is possibly
crucial for status checking, in _which_ source package the bug has been fixed.

Christian
--- /org/bugs.debian.org/perl/Debbugs/Status.pm 2008-07-03 23:49:58.000000000 
+0000
+++ Debbugs/Status.pm   2008-07-25 11:39:57.000000000 +0000
@@ -1113,8 +1113,8 @@
                                                     },
                                         },
                              );
-     my @found = @{$param{found}};
-     my @fixed = @{$param{fixed}};
+     my @found = map { s{^.*/}{}; $_ } @{$param{found}};
+     my @fixed = map { s{^.*/}{}; $_ } @{$param{fixed}};
      if (grep {$_ !~ m{/}} (@{$param{found}}, @{$param{fixed}})) {
          # We have non-source version versions
          @found = makesourceversions($param{package},undef,

Reply via email to