Bug#940532: reportbug: another Multi-Arch issue

2019-12-16 Thread Nis Martensen
control: tags -1 patch

>> This should be fixed in reportbug 7.6.0. Could you please test and confirm?
> 
> It’s not.

Thank you for testing and the quick feedback. This should fix the
debsums problem:
https://salsa.debian.org/reportbug-team/reportbug/merge_requests/46



Bug#940532: reportbug: another Multi-Arch issue

2019-12-16 Thread Thorsten Glaser
Nis Martensen dixit:

>On 17 Sep 2019 Thorsten Glaser wrote:
>> If I reportbug without M-A qualifier, I get an error:
>
>This should be fixed in reportbug 7.6.0. Could you please test and confirm?

It’s not.

ii  reportbug  7.6.0all  reports bugs in the Debian 
distribution

ii  qemu-user-static:i386   1:4.2-1 
i386 QEMU user mode emulation binaries (static version)

$ reportbug qemu-user-static

(reportbug:11151): dbind-WARNING **: 16:28:07.970: AT-SPI: Error retrieving 
accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name 
org.a11y.Bus was not provided by any .service files
*** 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 'Thorsten Glaser ' as your from address.
Getting status for qemu-user-static...
Verifying package integrity...
There may be a problem with your installation of qemu-user-static;
the following problems were detected by debsums:
debsums: package qemu-user-static is not installed
Do you still want to file a report [y|N|q|?]? q


>Yes, using the M-A qualifier was simply a workaround to help reportbug
>find the installed package. It wasn't a solution because it broke the
>version checking, as you noted. Hopefully with the new reportbug the
>incomplete workaround is no longer needed.
>
>Reportbug could be taught to strip off any M-A qualifier before querying
>new versions, but I'm not sure it is worth implementing that since

Unsure… versions in the archive can differ between architectures,
at least in unstable and for certain packages (Java used to be an
example of this where some had openjdk-based 7 and some had gcj-
based 5 for a while, some time ago), but not sure whether this is
of any relevance for that question.

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg



Bug#940532: reportbug: another Multi-Arch issue

2019-12-16 Thread Nis Martensen
On 17 Sep 2019 Thorsten Glaser wrote:
> If I reportbug without M-A qualifier, I get an error:

This should be fixed in reportbug 7.6.0. Could you please test and confirm?

> If I reportbug *with* M-A qualifier, things work, but
> I get a warning:

Yes, using the M-A qualifier was simply a workaround to help reportbug
find the installed package. It wasn't a solution because it broke the
version checking, as you noted. Hopefully with the new reportbug the
incomplete workaround is no longer needed.

Reportbug could be taught to strip off any M-A qualifier before querying
new versions, but I'm not sure it is worth implementing that since
ideally everything should just work without the qualifier in the first
place.



Bug#940532: reportbug: another Multi-Arch issue

2019-09-16 Thread Thorsten Glaser
Package: reportbug
Version: 7.5.3
Severity: minor

The library issue got probably fixed, but there’s another issue
for when a package is only installed for a foreign architecture:


tglase@tglase:~ $ dpkg --print-architecture
x32
tglase@tglase:~ $ dpkg --print-foreign-architectures
i386
amd64
tglase@tglase:~ $ dpkg-query -W | fgrep qemu-user-static
qemu-user-static:i386   1:4.1-1+b1


If I reportbug without M-A qualifier, I get an error:


tglase@tglase:~ $ reportbug qemu-user-static

(reportbug:18235): dbind-WARNING **: 00:26:57.237: AT-SPI: Error retrieving 
accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name 
org.a11y.Bus was not provided by any .service files
*** 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 'Thorsten Glaser ' as your from address.
Getting status for qemu-user-static...
Verifying package integrity...
There may be a problem with your installation of qemu-user-static;
the following problems were detected by debsums:
debsums: package qemu-user-static is not installed
Do you still want to file a report [y|N|q|?]? n
Package integrity check failed; stopping.


If I reportbug *with* M-A qualifier, things work, but
I get a warning:


1|tglase@tglase:~ $ reportbug qemu-user-static:i386

(reportbug:18257): dbind-WARNING **: 00:27:11.600: AT-SPI: Error retrieving 
accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name 
org.a11y.Bus was not provided by any .service files
*** 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 'Thorsten Glaser ' as your from address.
Getting status for qemu-user-static:i386...
Verifying package integrity...
Checking for newer versions at madison, incoming.debian.org and 
http://ftp-master.debian.org/new.html
W: Unable to locate package qemu-user-static:i386
Will send report to Debian (per lsb_release).
Querying Debian BTS for reports on qemu (source)...
185 bug reports found:
[…]


-- Package-specific info:
** Environment settings:
EDITOR="/usr/bin/sensible-editor"
VISUAL="/usr/bin/jupp"
DEBEMAIL="Thorsten Glaser "
INTERFACE="text"

** /home/tglase/.reportbugrc:
reportbug_version "6.6.6"
mode advanced
ui text

-- System Information:
Debian Release: bullseye/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'buildd-unstable'), (500, 'unstable'), 
(100, 'experimental')
Architecture: x32 (x86_64)
Foreign Architectures: i386, amd64

Kernel: Linux 5.2.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)

Versions of packages reportbug depends on:
ii  apt1.8.3
ii  python33.7.3-1
ii  python3-reportbug  7.5.3
ii  sensible-utils 0.0.12

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail  
ii  debconf-utils   1.5.73
ii  debsums 2.2.3
pn  dlocate 
pn  emacs-bin-common
ii  file1:5.37-5
ii  gnupg   2.2.17-3
ii  postfix [mail-transport-agent]  3.4.5-1
pn  python3-urwid   
pn  reportbug-gtk   
ii  xdg-utils   1.1.3-1

Versions of packages python3-reportbug depends on:
ii  apt1.8.3
ii  file   1:5.37-5
ii  python33.7.3-1
ii  python3-apt1.8.4
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

python3-reportbug suggests no packages.

-- no debconf information