The same bug happens on hppa and sparc architecture as well, as can be seen in 
those logs:
https://buildd.debian.org/status/fetch.php?pkg=git&arch=hppa&ver=1%3A2.39.0-1&stamp=1670883297&raw=0
https://buildd.debian.org/status/fetch.php?pkg=git&arch=sparc64&ver=1%3A2.39.0-1&stamp=1670887934&raw=0

Isn't there a better way to get the number of processors
in perl?
According to
https://stackoverflow.com/questions/4586405/how-to-get-the-number-of-cpus-in-linux-using-c
I like the idea of using the:
        getNumCpus method of Sys::CpuAffinity

even fixing this line in chainlint.pl:
        do { local @ARGV='/proc/cpuinfo'; return scalar(grep(/^processor[\s\d]*:/, 
<>)); } if -r '/proc/cpuinfo';
to never return 0, but at minimum "1" would work.

Helge

Reply via email to