* Jakub Wilk <jw...@debian.org>, 2011-11-29, 14:23:
|Using 'Jakub Wilk <jw...@debian.org>' as your from address.
|Getting status for libcmor2...
|Which of the following packages is the bug in?
|Just press ENTER to exit reportbug.
|
|1 libcmor-dev  Development files for Climate Model Output Rewriter
|
|2 libcmor2     Climate Model Output Rewriter library
|
|3 python-cmor  Python interface to CMOR
|
|Select one of these packages:

Hmpf. Frist of all, why reportbug is asking me this in the first place?

This question pops up when "dpkg --status <packagename>" fails. It could happen either because the package is not installed, or because the package is installed for more than one architecture.

But anyway, I chose "2", answered a few more questiones, then reportbug spawned mutt with the following mail template:
| Source: libcmor2
| Version: 2.8.0-1
| Severity: important

That should be "Package: libcmor2", not "Source: libcmor2".

This is due to broken logic in bin/reportbug, around line 1428:

                   src = package
                   # ...
                           package = ui.menu(
                               'Which of the following packages is the bug in?',
                               packages, empty_ok=True,
                               prompt='Select one of these packages: ')
                   # ...
                   if package != src:
                        # ...
                   elif len(packages) > 1:
                       issource = True

So if you choose the same package as you chose originally on the command line, issource will be incorrectly set to True.

--
Jakub Wilk


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to