[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#946363: reportbug can't identify the package of a bug specified with -N when the bug is files against a source package



Package: reportbug
Version: 7.5.3
Severity: normal

Greetings

I recently tried to submit an additional report for the bug #939875
which is filed against src:linux, but apparently reportbug struggles
to identify src:linux as a proper package name:

$ reportbug --pgp --email 'kritzefitz@debian.org' -N 939875  
*** 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 'Sven Bartscher <kritzefitz@debian.org>' as your from address.
Retrieving report #939875 from Debian bug tracking system...
What do you want to do now? [N|x|o|r|b|e|q|?]? x
Getting status for src:linux...
W: Paket src:linux kann nicht gefunden werden.
No matching source or binary packages.
A package named "src:linux" does not appear to be installed; do you want to search for a similar-looking filename in
an installed package [Y|n|q|?]?


reportbug still allows me to send the followup, if I press N:


A package named "src:linux" does not appear to be installed; do you want to search for a similar-looking filename in
an installed package [Y|n|q|?]? n
Getting available info for src:linux...
Will send report to Debian (per lsb_release).

Please provide a subject for your response.
[Re: linux-image-5.2.0-2-amd64: Suspend fails. Machine shuts down after approx 30 seconds]> 

Enter any additional addresses this report should be sent to; press ENTER after each address. Press ENTER on a blank
line to continue.
> 

Spawning emacsclient...
Waiting for Emacs...


At this point the report template looks like this (delimiters inserted
by me):


START OF TEMPLATE
Subject: Re: linux-image-5.2.0-2-amd64: Suspend fails. Machine shuts down after approx 30 seconds
Followup-For: Bug #939875
Package: src:linux



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (990, 'testing-debug'), (990, 'testing'), (102, 'unstable-debug'), (102, 'unstable'), (101, 'experimental-debug'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.3.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
END OF TEMPLATE


This looks like it only gathered the generic system information, even
though reports for src:linux usually gather a lot more information.

Regards
Sven

-- Package-specific info:
** Environment settings:
EDITOR="emacsclient -t"
PAGER="less -R"
VISUAL="emacsclient -c"
DEBEMAIL="sven.bartscher@credativ.de"
DEBFULLNAME="Sven Bartscher"
INTERFACE="text"

** /home/sven/.reportbugrc:
reportbug_version "7.1.7"
mode expert
ui text
smtphost "mail.credativ.com"
smtpuser "sba"
smtptls

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (990, 'testing-debug'), (990, 'testing'), (102, 'unstable-debug'), (102, 'unstable'), (101, 'experimental-debug'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.3.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages reportbug depends on:
ii  apt                1.8.4
ii  python3            3.7.5-1
ii  python3-reportbug  7.5.3
ii  sensible-utils     0.0.12+nmu1

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail                      <none>
ii  debconf-utils                   1.5.73
ii  debsums                         2.2.4
ii  dlocate                         1.07+nmu1
ii  emacs-bin-common                1:26.1+1-4
ii  file                            1:5.37-6
ii  gnupg                           2.2.17-3
ii  postfix [mail-transport-agent]  3.4.7-2
pn  python3-urwid                   <none>
pn  reportbug-gtk                   <none>
ii  xdg-utils                       1.1.3-1

Versions of packages python3-reportbug depends on:
ii  apt                1.8.4
ii  file               1:5.37-6
ii  python3            3.7.5-1
ii  python3-apt        1.8.4+b1
ii  python3-debian     0.1.36
ii  python3-debianbts  2.8.2
ii  python3-requests   2.21.0-1
ii  sensible-utils     0.0.12+nmu1

python3-reportbug suggests no packages.

-- no debconf information


Reply to: