[Reportbug-maint] Bug#666469: Bug#666469: reportbug: reports bug assigned to the wrong package (multi-arch problem?)
morph at debian.org
Thu Apr 12 07:01:54 UTC 2012
On Thu, Apr 12, 2012 at 08:13, Raphael Hertzog <hertzog at debian.org> wrote:
> But it's probably serious because it doesn't work on a large set of
> packages provided by Debian...
but arguably on a small set of machine (those with m-a enabled). I'm
not exactly interested in playing severity ping-pong, so feel free to
raise it if you feel it's important; what would be more helping is
support in fixing the problems.
> i.e. it must be fixed before release
and it will, no matter the severity
> and the sooner the better.
you know, we're always welcoming patches, or a clear description of
what should be improved, even better how (just pointing out what's
wrong doesn't always define a plan to fix it), ssssso let me ask you
some questions, see below :)
> But the interface involves passing a package name. And the package
> name must be arch qualified when the package is Multi-Arch: same.
> It can be argued that the mistake is made by the user... but
> it would be wise for reportbug to detect it and let the user
> choose the right variant ASAP.
Ok, how do you propose to do it? i.e. what if the user insert <pkg>
while it actually wants <pkg>:<a1> while he has <pkg>:<a1>, <pkg>:<a2>
and <pkg>:<a3> installed? what's the correct what to translate <pkg>
into the list <pkg>:<a1>, <pkg>:<a2> and <pkg>:<a3> (or in the simple
case, <pkg>:<a1>)? some dpkg querying function (<pkg>:* ? anything
> In all cases, the architecture qualifier
> must be stripped before being sent to the BTS.
I'd say: keep the arch qualify until the end, and strip it just before
preparing the template for editing, correct?
> reportbug also breaks when you call it with a file owned by a multi-arch: same
> $ reportbug /lib/i386-linux-gnu/libc.so.6
> Finding package for '/lib/i386-linux-gnu/libc.so.6'...
> Using package 'libc6'.
the problem is in:
# dpkg --search /lib/i386-linux-gnu/libc.so.6
where splitting on ':' used to work fine, while now it's not enough
anymore (it will have to be ': ' at least)
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
More information about the Reportbug-maint