Source: python-cpuinfo
Version: 9.0.0-1
Severity: wishlist
Tags: ftbfs
User: debian-loonga...@lists.debian.org
Usertags: loong64

Dear maintainers,

Compiling the python-cpuinfo successed for loong64 in the Debian Package Auto-Building environment.
But python-cpuinfo source package lacks LoongArch architecture support.

- Background information is provided below.
When I analyzed why python3-pandas-lib:loong64 was blocking the build of 29 source packages, I found that the compilation dependency (python3-tables-lib:loong64) of pandas was not satisfied. The reason is that pytables compilation failed, please check the following error log,
```
......
File "/usr/lib/python3/dist-packages/cpuinfo/cpuinfo.py", line 366, in _check_arch
    raise Exception("py-cpuinfo currently only works on X86 "
Exception: py-cpuinfo currently only works on X86 and some ARM/PPC/S390X/MIPS/RISCV CPUs.
......
```
The full build log of pytables, please see https://buildd.debian.org/status/logs.php?pkg=pytables&ver=3.9.2-1&arch=loong64.
In short, the chain of dependencies is as follows,
python3-pandas-lib(src:pandas) ——> python3-tables-lib(src:pytables) ——> python3-cpuinfo(src:python-cpuinfo) The result is that python-cpuinfo lacks LoongArch support, even though it is a package for the all architecture.

- The support for LoongArch was added to python-cpuinfo upstream in Nov. 2022. The upstream link for python-cpuinfo is https://github.com/workhorsy/py-cpuinfo.

The end, could you add LoongArch support in the next upload?
Your suggestions are welcome.

Thanks,
Dandan Zhang

Reply via email to