=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for p5-Sys-CPU-0.61nb2 cp CPU.pm blib/lib/Sys/CPU.pm Running Mkbootstrap for Sys::CPU () chmod 644 "CPU.bs" "/usr/pkg/bin/perl" "/usr/pkg/lib/perl5/5.24.0/ExtUtils/xsubpp" -typemap "/usr/pkg/lib/perl5/5.24.0/ExtUtils/typemap" CPU.xs > CPU.xsc && mv CPU.xsc CPU.c Please specify prototyping behavior for CPU.xs (see perlxs manual) cc -c -O2 -march=i586 -I/usr/include -fno-strict-aliasing -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -march=i586 -DVERSION=\"0.61\" -DXS_VERSION=\"0.61\" -DPIC -fPIC "-I/usr/pkg/lib/perl5/5.24.0/i386-netbsd/CORE" CPU.c CPU.xs:384:5: error: use of undeclared identifier 'processor_info_t' processor_info_t info, *infop=&info; ^ CPU.xs:385:10: warning: implicit declaration of function 'processor_info' is invalid in C99 [-Wimplicit-function-declaration] if ( processor_info(0, infop) == 0 && infop->pi_state == P_ONLINE) { ^ CPU.xs:385:28: error: use of undeclared identifier 'infop' if ( processor_info(0, infop) == 0 && infop->pi_state == P_ONLINE) { ^ CPU.xs:385:43: error: use of undeclared identifier 'infop' if ( processor_info(0, infop) == 0 && infop->pi_state == P_ONLINE) { ^ CPU.xs:385:62: error: use of undeclared identifier 'P_ONLINE'; did you mean 'OP_UNLINK'? if ( processor_info(0, infop) == 0 && infop->pi_state == P_ONLINE) { ^~~~~~~~ OP_UNLINK /usr/pkgsrc/work/sysutils/p5-Sys-CPU/work/.buildlink/lib/perl5/5.24.0/i386-netbsd/CORE/opnames.h:313:2: note: 'OP_UNLINK' declared here OP_UNLINK = 296, ^ CPU.xs:386:21: error: use of undeclared identifier 'infop' if (clock < infop->pi_clock) { ^ CPU.xs:387:21: error: use of undeclared identifier 'infop' clock = infop->pi_clock; ^ CPU.xs:433:5: error: use of undeclared identifier 'processor_info_t'; did you mean 'processor_info'? processor_info_t info, *infop=&info; ^~~~~~~~~~~~~~~~ processor_info CPU.xs:385:10: note: 'processor_info' declared here if ( processor_info(0, infop) == 0 && infop->pi_state == P_ONLINE) { ^ CPU.xs:433:21: error: expected ';' after expression processor_info_t info, *infop=&info; ^ ; CPU.xs:433:22: error: use of undeclared identifier 'info' processor_info_t info, *infop=&info; ^ CPU.xs:433:29: error: use of undeclared identifier 'infop' processor_info_t info, *infop=&info; ^ CPU.xs:433:36: error: use of undeclared identifier 'info' processor_info_t info, *infop=&info; ^ CPU.xs:434:28: error: use of undeclared identifier 'infop' if (processor_info (0, infop)==0) { ^ CPU.xs:435:11: error: use of undeclared identifier 'infop' value = infop->pi_processor_type; ^ CPU.xs:433:5: warning: expression result unused [-Wunused-value] processor_info_t info, *infop=&info; ^~~~~~~~~~~~~~~~ 2 warnings and 13 errors generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/sysutils/p5-Sys-CPU/work/Sys-CPU-0.61 *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/sysutils/p5-Sys-CPU *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/sysutils/p5-Sys-CPU