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

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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/MachineCores.pm 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 Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.