Your message dated Tue, 21 Jan 2025 17:50:25 +0000
with message-id <[email protected]>
and subject line Bug#1092350: fixed in python-cpuinfo 9.0.0+git20221119-3
has caused the Debian Bug report #1092350,
regarding python-cpuinfo - add code to detect hppa CPUs - required for other
packages.
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1092350: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1092350
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-cpuinfo
Version: 9.0.0+git20221119-2
Tags: ftbfs patch
Usertags: hppa
Severity: important
python-cpuinfo is missing code to detect hppa (parisc) CPUs.
The attached patch adds such basic info.
Can you please apply the patch soon, since dependend packages
fail to build from source without it, e.g. python-pyppmd, see:
https://buildd.debian.org/status/fetch.php?pkg=python-pyppmd&arch=hppa&ver=1.1.1%2Bds-1&stamp=1735496827&raw=0
example failure:
tests/test_benchmark.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3/dist-packages/cpuinfo/__init__.py:2: in <module>
from cpuinfo.cpuinfo import *
/usr/lib/python3/dist-packages/cpuinfo/cpuinfo.py:2839: in <module>
_check_arch()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
def _check_arch():
arch, bits = _parse_arch(DataSource.arch_string_raw)
if not arch in ['ARM_7', 'ARM_8',
'LOONG_32', 'LOONG_64',
'MIPS_32', 'MIPS_64',
'PPC_32', 'PPC_64',
'RISCV_32', 'RISCV_64',
'SPARC_32', 'SPARC_64',
'S390X',
'X86_32', 'X86_64']:
raise Exception("py-cpuinfo currently only works on X86 "
"and some ARM/LoongArch/MIPS/PPC/RISCV/SPARC/S390X
CPUs.")
E Exception: py-cpuinfo currently only works on X86 and some
ARM/LoongArch/MIPS/PPC/RISCV/SPARC/S390X CPUs.
Upstream seems to have some issues accepting new patches in general:
https://github.com/workhorsy/py-cpuinfo/issues/213
Helge[PATCH] Add support for hppa / parisc CPUs
Allow to recognize the parisc cpus.
This fixes dependend packages from build failures, e.g.
python-pyppmd, see:
https://buildd.debian.org/status/fetch.php?pkg=python-pyppmd&arch=hppa&ver=1.1.1%2Bds-1&stamp=1736247366&raw=0
Signed-off-by: Helge Deller <[email protected]>
diff -up ./cpuinfo/cpuinfo.py.org ./cpuinfo/cpuinfo.py
--- ./cpuinfo/cpuinfo.py.org 2025-01-07 13:36:31.820569455 +0000
+++ ./cpuinfo/cpuinfo.py 2025-01-07 14:05:18.818776037 +0000
@@ -360,6 +360,7 @@ def _read_windows_registry_key(key_name,
def _check_arch():
arch, bits = _parse_arch(DataSource.arch_string_raw)
if not arch in ['ARM_7', 'ARM_8',
+ 'HPPA_32', 'HPPA_64',
'LOONG_32', 'LOONG_64',
'MIPS_32', 'MIPS_64',
'PPC_32', 'PPC_64',
@@ -368,7 +369,7 @@ def _check_arch():
'S390X',
'X86_32', 'X86_64']:
raise Exception("py-cpuinfo currently only works on X86 "
- "and some ARM/LoongArch/MIPS/PPC/RISCV/SPARC/S390X CPUs.")
+ "and some ARM/HPPA/LoongArch/MIPS/PPC/RISCV/SPARC/S390X CPUs." )
def _obj_to_b64(thing):
import pickle
@@ -841,6 +842,14 @@ def _parse_arch(arch_string_raw):
elif re.match(r'^loongarch64$', arch_string_raw):
arch = 'LOONG_64'
bits = 64
+ # HPPA
+ elif re.match(r'^parisc$|^parisc64$', arch_string_raw):
+ if platform.architecture()[0].startswith("32"):
+ arch = 'HPPA_32'
+ bits = 32
+ else:
+ arch = 'HPPA_64'
+ bits = 64
return (arch, bits)
--- End Message ---
--- Begin Message ---
Source: python-cpuinfo
Source-Version: 9.0.0+git20221119-3
Done: Boyuan Yang <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-cpuinfo, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Boyuan Yang <[email protected]> (supplier of updated python-cpuinfo package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 20 Jan 2025 22:27:16 -0500
Source: python-cpuinfo
Architecture: source
Version: 9.0.0+git20221119-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Boyuan Yang <[email protected]>
Closes: 1092350
Changes:
python-cpuinfo (9.0.0+git20221119-3) unstable; urgency=medium
.
* QA upload.
* Orphan the package. (See #1093668)
* debian/patches/0001-python-cpuinfo-hppa-v2.patch: Add patch to
fix hppa support. (Closes: #1092350)
Checksums-Sha1:
86e32ac0005ef2a3c34d96dc9a473f5e05cd1cbd 2220
python-cpuinfo_9.0.0+git20221119-3.dsc
73f636f2f96ed85e7d4e1ac0f4c85471a7ef26e8 111672
python-cpuinfo_9.0.0+git20221119.orig.tar.gz
ce94e68cf630b6571ca12a4aef3fbe44e303489e 4432
python-cpuinfo_9.0.0+git20221119-3.debian.tar.xz
aa2b177746831d0b86210ab9e272cc5ee4db067e 7771
python-cpuinfo_9.0.0+git20221119-3_amd64.buildinfo
Checksums-Sha256:
b4b09020c802fd6a52d263af08e5ba5eb4aaddf8cc685c5317dd3dee47d76d22 2220
python-cpuinfo_9.0.0+git20221119-3.dsc
5c08507f287c9625e7c98dc0c6f08e025765b87eef9f421bb4902a018c482bf3 111672
python-cpuinfo_9.0.0+git20221119.orig.tar.gz
fc9e751ee77ad869c8d41998ba65a6be75bc2d8c8827e4ca5c4b7fc06a09060c 4432
python-cpuinfo_9.0.0+git20221119-3.debian.tar.xz
0913096e2bf47842524ed7e9c741445518ce3c5c04fea1cfe7dbcc5cb2b76017 7771
python-cpuinfo_9.0.0+git20221119-3_amd64.buildinfo
Files:
56fddd47cd812bb982e25fb252c99525 2220 python optional
python-cpuinfo_9.0.0+git20221119-3.dsc
d58b2c56c072938f3ae65ec067afe239 111672 python optional
python-cpuinfo_9.0.0+git20221119.orig.tar.gz
e20be13e6b2d3214339384ed581a295e 4432 python optional
python-cpuinfo_9.0.0+git20221119-3.debian.tar.xz
9a4531f0fbbe89f105e635a433835a9f 7771 python optional
python-cpuinfo_9.0.0+git20221119-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmeP2jQACgkQwpPntGGC
Ws4zdg/+Pr/WBBK3P2/zkg54BvKMLVYMPxlLxz71p7Dy1oeRs71TvAYXHwn7j5zb
1v07fX6KVWplXOItwxyh9QtoOXcoREITBOhljJki2HYIet3jAOua83T5v2iy6Vi7
mUo+EGkYxZpD9IOIX4mXuB1i+gRjtryHSa04u4xfJl7Lb5KTbmevhQywr9jsoprf
6VUoDgUBZXJdrJa1muNcoxzJ5qlIyoEWKNf96ZVt5qqX2AosZAhyitjYYZWOmbT3
3KGHhrYDKn0beCppBBUEJMSBmnij9I1+oFEWjBk2TCtOdGplSBiDB8pcmfAXfVTj
Wv6H3OM74qC4rTCQ066Zp9zY6G4NhJHVjWE4pTyo3rDAuzyU9hZ63Yg638zJKBV5
grotZEPD611KdqwDHP2HL/6mTA15/FaFcAbKRFv/L0iUJ/o0a9e3nEI2C738DX4k
OdTV9TIF9rppNEXOOYnR8jAveTBsKAnuRAl/iBvPSJrkqhxREcP4ul79CUJkEEzm
FPDnjmfLIeg+jl2Po278Y4oW2YdVISvNsDdmSHACrB4dMAbeUsf27kLn8jVnl1mS
8SObwmZO3pMl7xpczGiQgq6Yl/dZBCB8no5SGfcJK7IkDkSo1mWG5jEOajil8W99
bsf59B1OHoOKosI8+QkYF0hCD7Iwh8z8qg3vCgprK6FdJODIppQ=
=bXjD
-----END PGP SIGNATURE-----
pgpfl4SXxjP11.pgp
Description: PGP signature
--- End Message ---