Skip Menu |

This queue is for tickets about the App-OS-Detect-MachineCores CPAN distribution.

Report information
The Basics
Id: 118938
Status: new
Priority: 0/
Queue: App-OS-Detect-MachineCores

Owner: Nobody in particular
Requestors: SREZIC [...]

Bug Information
Severity: (no value)
Broken in: 1.2.3
Fixed in: (no value)

Subject: Wrong SC_NPROCESSORS_ONLN value for FreeBSD
Download (untitled) / with headers
text/plain 479b
The tests fail on FreeBSD systems: isa check for "cores" failed: 200112 is not a reasonable number of cores! at /home/cpansand/.cpan/build/2016112406/App-OS-Detect-MachineCores-1.2.3-P9Wpin/t/../lib/App/OS/Detect/ line 24. It seems that SC_NPROCESSORS_ONLN is wrong: it should be 58 for $^O eq 'freebsd': $ grep SC_NPROCESSORS_ONLN /usr/include/unistd.h #define _SC_NPROCESSORS_ONLN 58 This looks reasonable: $ perl -MPOSIX=sysconf -E 'say sysconf 58' 4

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to