[Reportbug-maint] Bug#666469: Bug#666469: reportbug: reports bug assigned to the wrong package (multi-arch problem?)

Raphael Hertzog hertzog at debian.org
Thu Apr 12 06:13:26 UTC 2012


Hi,

On Sat, 31 Mar 2012, Sandro Tosi wrote:
> I'm not convinced this is RC (on reportbug) because it's not effecting
> all the users: downgraded.

But it's probably serious because it doesn't work on a large set of
packages provided by Debian... i.e. it must be fixed before release
and the sooner the better.

More and more bugs are badly reported due to this:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668146
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668177
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668230

> this is debsums replying, so at least you should have filed the bug
> against that: reportbug here is just a interface to it.

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. In all cases, the architecture qualifier
must be stripped before being sent to the BTS.

reportbug also breaks when you call it with a file owned by a multi-arch: same
package.

------
$ reportbug /lib/i386-linux-gnu/libc.so.6 
Finding package for '/lib/i386-linux-gnu/libc.so.6'...
Using package 'libc6'.
*** Welcome to reportbug.  Use ? for help at prompts. ***
Note: bug reports are publicly archived (including the email address of the submitter).
Detected character set: UTF-8
Please change your locale if this is incorrect.

Using '"Raphaël Hertzog" <hertzog at debian.org>' as your from address.
Getting status for libc6...
Which of the following packages is the bug in?
Just press ENTER to exit reportbug.

1 libc6-dev-i386  Embedded GNU C Library: 32-bit development libraries for AMD64

2 libc6-i386      Embedded GNU C Library: 32-bit shared libraries for AMD64

3 libc6           Source package

Select one of these packages: 
-----

None of the choices are correct.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Pre-order a copy of the Debian Administrator's Handbook and help
liberate it: http://debian-handbook.info/liberation/





More information about the Reportbug-maint mailing list