On 24/07/08 at 08:35 -0700, Don Armstrong wrote:
> On Thu, 24 Jul 2008, Lucas Nussbaum wrote:
> > While working on the "Ultimate Debian Database" GSOC project, Christian
> > von Essen discovered some "interesting" error messages when using
> > Debbugs::Status::bug_presence:
> > Bug 237453: unable to open 
> > /org/bugs.debian.org/versions/pkg/l/libdevmapper-dev: No such file or 
> > directory at 
> > /org/udd.debian.net/mirrors/bugs.debian.org/perl/Debbugs/Status.pm line 
> > 1150.
> > Bug 238865: unable to open /org/bugs.debian.org/versions/pkg/o/olwm: No 
> > such file or directory at 
> > /org/udd.debian.net/mirrors/bugs.debian.org/perl/Debbugs/Status.pm line 
> > 1150.
> > etc.
> 
> These are all warning messages; they're showing because
> libdevmapper-dev and olwm are not valid source package names (or at
> least, the BTS doesn't have versioning information for them), and the
> code warns you about it. [You can easily disable it by using local
> $SIG{__WARN__}; or similar, but in general it means that a bug is
> wrong and should be fixed. As I see them myself I usually go and fix
> them, but I'm lazy.]
> 
> > 237453 has the following info in the summary file:
> > Format-Version: 2
> > Found-In: 2:1.00.07-4
> > Done: Bastian Blank <[EMAIL PROTECTED]>
> > Subject: libdevmapper-dev: static dm libs would be nice
> > Date: 1079024582
> > Submitter: Andres Salomon <[EMAIL PROTECTED]>
> > Fixed-In: libdevmapper-dev/2:1.01.00-4
> > Package: libdevmapper-dev
> > 
> > I don't understand why libdevmapper-dev isn't mapped to devmapper in
> > this case.
> 
> Because someone gave a fully qualified version (or the BTS was broken
> when an unqualified version was given.)
> 
> bts notfixed 237453 2:1.01.00-4 , fixed 237453 2:1.01.00-4 ; [sent
> under separate cover] would resolve this.

Indeed, it did. I also fixed a few other bugs with exactly the same
problem, but there's another class of bugs with problems. Let's take
this warning for example:
Bug 329203: unable to open /org/bugs.debian.org/versions/pkg/u/udhcpc:
No such file or directory at
/org/udd.debian.net/mirrors/bugs.debian.org/perl/Debbugs/Status.pm line 
1150.

According to /org/bugs.d.o/etc/indices/sources, the udhcpc binary
package should map to udhcp source package. Also, there's a
/org/bugs.d.o/versions/pkg/u/udhcp file.

Bug 329203's summary file contains:
Format-Version: 2
Found-In: udhcpc/0.9.8cvs20050124-3
Subject: udhcpc triggers the non existing command
/etc/udhcpc/default.leasefail
Date: 1127216889
Submitter: Sebastien Blondeel <[EMAIL PROTECTED]>
Package: udhcpc
Message-Id: <[EMAIL PROTECTED]>
Severity: important

Which sounds fine. So why is the BTS trying to open (and complain about)
the wrong file?

Apparently, this case is much more frequent that the former.
-- 
| Lucas Nussbaum
| [EMAIL PROTECTED]   http://www.lucas-nussbaum.net/ |
| jabber: [EMAIL PROTECTED]             GPG: 1024D/023B3F4F |



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to