Aurelien Jarno
2018-03-27 10:59:17 UTC
Package: reportbug
Version: 7.1.10
Severity: minor
User: debian-***@lists.debian.org
Usertags: riscv64
Hi,
reportbug determine the number of CPU on the machine by using parsing
/proc/cpuinfo. It counts the number of "processor" lines, but that
doesn't work for example on alpha, sparc or riscv64. Alpha has already
been special cases, howver it looks wrong to parse cpuinfo while python
already provides the function os.cpu_count() to get that value. Please
consider using it instead.
Thanks,
Aurelien
-- Package-specific info:
** Environment settings:
DEBEMAIL="***@debian.org"
EMAIL="***@aurel32.net"
DEBFULLNAME="Aurelien Jarno"
INTERFACE="text"
** /home/aurel32/.reportbugrc:
reportbug_version "7.1.10"
mode expert
ui text
-- System Information:
Debian Release: buster/sid
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: riscv64
Kernel: Linux 4.15.0_riscv-linux-4.15_2b0aa1de4+ (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages reportbug depends on:
ii apt 1.6~beta1
ii python3 3.6.4-1
ii python3-reportbug 7.1.10
ii sensible-utils 0.0.12
reportbug recommends no packages.
Versions of packages reportbug suggests:
pn claws-mail <none>
pn debconf-utils <none>
pn debsums <none>
pn dlocate <none>
pn emacs24-bin-common | emacs25-bin-common <none>
ii exim4 4.90.1-3
ii exim4-daemon-light [mail-transport-agent] 4.90.1-3
ii file 1:5.32-2
pn gir1.2-gtk-3.0 <none>
pn gir1.2-vte-2.91 <none>
ii gnupg 2.2.5-1~riscv64
pn python3-gi <none>
pn python3-gi-cairo <none>
pn python3-gtkspellcheck <none>
pn python3-urwid <none>
pn xdg-utils <none>
Versions of packages python3-reportbug depends on:
ii apt 1.6~beta1
ii file 1:5.32-2
ii python3 3.6.4-1
ii python3-apt 1.4.0~beta3
ii python3-debian 0.1.32
ii python3-debianbts 2.7.2
ii python3-requests 2.18.4-2
python3-reportbug suggests no packages.
-- no debconf information
Version: 7.1.10
Severity: minor
User: debian-***@lists.debian.org
Usertags: riscv64
Hi,
reportbug determine the number of CPU on the machine by using parsing
/proc/cpuinfo. It counts the number of "processor" lines, but that
doesn't work for example on alpha, sparc or riscv64. Alpha has already
been special cases, howver it looks wrong to parse cpuinfo while python
already provides the function os.cpu_count() to get that value. Please
consider using it instead.
Thanks,
Aurelien
-- Package-specific info:
** Environment settings:
DEBEMAIL="***@debian.org"
EMAIL="***@aurel32.net"
DEBFULLNAME="Aurelien Jarno"
INTERFACE="text"
** /home/aurel32/.reportbugrc:
reportbug_version "7.1.10"
mode expert
ui text
-- System Information:
Debian Release: buster/sid
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: riscv64
Kernel: Linux 4.15.0_riscv-linux-4.15_2b0aa1de4+ (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages reportbug depends on:
ii apt 1.6~beta1
ii python3 3.6.4-1
ii python3-reportbug 7.1.10
ii sensible-utils 0.0.12
reportbug recommends no packages.
Versions of packages reportbug suggests:
pn claws-mail <none>
pn debconf-utils <none>
pn debsums <none>
pn dlocate <none>
pn emacs24-bin-common | emacs25-bin-common <none>
ii exim4 4.90.1-3
ii exim4-daemon-light [mail-transport-agent] 4.90.1-3
ii file 1:5.32-2
pn gir1.2-gtk-3.0 <none>
pn gir1.2-vte-2.91 <none>
ii gnupg 2.2.5-1~riscv64
pn python3-gi <none>
pn python3-gi-cairo <none>
pn python3-gtkspellcheck <none>
pn python3-urwid <none>
pn xdg-utils <none>
Versions of packages python3-reportbug depends on:
ii apt 1.6~beta1
ii file 1:5.32-2
ii python3 3.6.4-1
ii python3-apt 1.4.0~beta3
ii python3-debian 0.1.32
ii python3-debianbts 2.7.2
ii python3-requests 2.18.4-2
python3-reportbug suggests no packages.
-- no debconf information