Source: libsys-cpuaffinity-perl Version: 1.10-1 Severity: serious Tags: stretch sid User: debian...@lists.debian.org Usertags: qa-ftbfs-20161111 qa-ftbfs Justification: FTBFS on amd64
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > x86_64-linux-gnu-gcc -I/usr/lib/x86_64-linux-gnu/perl/5.24/CORE > -DVERSION="1.10" -DXS_VERSION="1.10" -fPIC -c -D_REENTRANT -D_GNU_SOURCE > -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 > -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -o lib/xs/cpuset_getaffinity.o lib/xs/cpuset_getaffinity.c > lib/xs/cpuset_getaffinity.xs:6:24: fatal error: sys/cpuset.h: No such file or > directory > #include <sys/cpuset.h> > ^ > compilation terminated. > > > Failed to compile lib/xs/cpuset_getaffinity.xs > > x86_64-linux-gnu-gcc -I/usr/lib/x86_64-linux-gnu/perl/5.24/CORE > -DVERSION="1.10" -DXS_VERSION="1.10" -fPIC -c -D_REENTRANT -D_GNU_SOURCE > -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 > -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -o lib/xs/cpuset_setaffinity.o lib/xs/cpuset_setaffinity.c > lib/xs/cpuset_setaffinity.xs:6:24: fatal error: sys/cpuset.h: No such file or > directory > #include <sys/cpuset.h> > ^ > compilation terminated. > > > Failed to compile lib/xs/cpuset_setaffinity.xs > > x86_64-linux-gnu-gcc -I/usr/lib/x86_64-linux-gnu/perl/5.24/CORE > -DVERSION="1.10" -DXS_VERSION="1.10" -fPIC -c -D_REENTRANT -D_GNU_SOURCE > -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 > -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -o lib/xs/cpusetGetCPUCount.o lib/xs/cpusetGetCPUCount.c > lib/xs/cpusetGetCPUCount.xs:5:20: fatal error: cpuset.h: No such file or > directory > #include <cpuset.h> > ^ > compilation terminated. > > > Failed to compile lib/xs/cpusetGetCPUCount.xs > > x86_64-linux-gnu-gcc -I/usr/lib/x86_64-linux-gnu/perl/5.24/CORE > -DVERSION="1.10" -DXS_VERSION="1.10" -fPIC -c -D_REENTRANT -D_GNU_SOURCE > -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 > -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -o lib/xs/fortytwo.o lib/xs/fortytwo.c > ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/xs/fortytwo/fortytwo.bs') > x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro > -Wl,-z,now -shared -L/usr/local/lib -fstack-protector-strong -o > blib/arch/auto/xs/fortytwo/fortytwo.so lib/xs/fortytwo.o > > > --------------- > Successfully compiled lib/xs/fortytwo.xs > --------------- > > x86_64-linux-gnu-gcc -I/usr/lib/x86_64-linux-gnu/perl/5.24/CORE > -DVERSION="1.10" -DXS_VERSION="1.10" -fPIC -c -D_REENTRANT -D_GNU_SOURCE > -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 > -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -o lib/xs/irix_sysmp.o lib/xs/irix_sysmp.c > lib/xs/irix_sysmp.xs:7:23: fatal error: sys/sysmp.h: No such file or directory > #include <sys/sysmp.h> > ^ > compilation terminated. > > > Failed to compile lib/xs/irix_sysmp.xs > > x86_64-linux-gnu-gcc -I/usr/lib/x86_64-linux-gnu/perl/5.24/CORE > -DVERSION="1.10" -DXS_VERSION="1.10" -fPIC -c -D_REENTRANT -D_GNU_SOURCE > -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 > -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -o lib/xs/linux-sched_getaffinity.o > lib/xs/linux-sched_getaffinity.c > lib/xs/linux-sched_getaffinity.xs: In function 'diag': > lib/xs/linux-sched_getaffinity.xs:26:44: warning: format '%d' expects > argument of type 'int', but argument 3 has type 'long unsigned int' > [-Wformat=] > fprintf(stderr,"diag sizeof(__cpu_mask)=%d\n", sizeof(__cpu_mask)); > ^ > lib/xs/linux-sched_getaffinity.xs:27:36: warning: format '%d' expects > argument of type 'int', but argument 3 has type 'long unsigned int' > [-Wformat=] > fprintf(stderr,"diag __NCPUBITS=%d\n", __NCPUBITS); > ^ > lib/xs/linux-sched_getaffinity.xs:28:43: warning: format '%d' expects > argument of type 'int', but argument 3 has type 'long unsigned int' > [-Wformat=] > fprintf(stderr,"diag sizeof(cpu_set_t)=%d\n", sizeof(cpu_set_t)); > ^ > lib/xs/linux-sched_getaffinity.xs:29:39: warning: format '%d' expects > argument of type 'int', but argument 3 has type 'long unsigned int' > [-Wformat=] > fprintf(stderr,"diag sizeof(pid_t)=%d\n", sizeof(pid_t)); > ^ > ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/xs/linux-sched_getaffinity/linux-sched_getaffinity.bs') > x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro > -Wl,-z,now -shared -L/usr/local/lib -fstack-protector-strong -o > blib/arch/auto/xs/linux-sched_getaffinity/linux-sched_getaffinity.so > lib/xs/linux-sched_getaffinity.o > > > --------------- > Successfully compiled lib/xs/linux-sched_getaffinity.xs > --------------- > > x86_64-linux-gnu-gcc -I/usr/lib/x86_64-linux-gnu/perl/5.24/CORE > -DVERSION="1.10" -DXS_VERSION="1.10" -fPIC -c -D_REENTRANT -D_GNU_SOURCE > -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 > -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -o lib/xs/linux-sched_setaffinity.o > lib/xs/linux-sched_setaffinity.c > ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/xs/linux-sched_setaffinity/linux-sched_setaffinity.bs') > x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro > -Wl,-z,now -shared -L/usr/local/lib -fstack-protector-strong -o > blib/arch/auto/xs/linux-sched_setaffinity/linux-sched_setaffinity.so > lib/xs/linux-sched_setaffinity.o > > > --------------- > Successfully compiled lib/xs/linux-sched_setaffinity.xs > --------------- > > x86_64-linux-gnu-gcc -I/usr/lib/x86_64-linux-gnu/perl/5.24/CORE > -DVERSION="1.10" -DXS_VERSION="1.10" -fPIC -c -D_REENTRANT -D_GNU_SOURCE > -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 > -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -o lib/xs/pthread_affinity_np.o > lib/xs/pthread_affinity_np.c > lib/xs/pthread_affinity_np.xs: In function > 'XS_Sys__CpuAffinity_xs_pthread_self_getaffinity': > lib/xs/pthread_affinity_np.xs:69:11: error: 'affinity' undeclared (first use > in this function) > RETVAL = affinity; > ^~~~~~~~ > lib/xs/pthread_affinity_np.xs:69:11: note: each undeclared identifier is > reported only once for each function it appears in > lib/xs/pthread_affinity_np.xs: In function > 'XS_Sys__CpuAffinity_xs_pthread_self_setaffinity': > lib/xs/pthread_affinity_np.xs:116:11: error: 'result' undeclared (first use > in this function) > RETVAL = result; > ^~~~~~ > > > Failed to compile lib/xs/pthread_affinity_np.xs > > x86_64-linux-gnu-gcc -I/usr/lib/x86_64-linux-gnu/perl/5.24/CORE > -DVERSION="1.10" -DXS_VERSION="1.10" -fPIC -c -D_REENTRANT -D_GNU_SOURCE > -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 > -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -o lib/xs/solaris_processor_affinity.o > lib/xs/solaris_processor_affinity.c > lib/xs/solaris_processor_affinity.xs:6:27: fatal error: sys/processor.h: No > such file or directory > #include <sys/processor.h> > ^ > compilation terminated. > > > Failed to compile lib/xs/solaris_processor_affinity.xs > > x86_64-linux-gnu-gcc -I/usr/lib/x86_64-linux-gnu/perl/5.24/CORE > -DVERSION="1.10" -DXS_VERSION="1.10" -fPIC -c -D_REENTRANT -D_GNU_SOURCE > -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 > -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -o lib/xs/win32_processaffinity.o > lib/xs/win32_processaffinity.c > lib/xs/win32_processaffinity.xs:5:21: fatal error: windows.h: No such file or > directory > #include <windows.h> > ^ > compilation terminated. > > > Failed to compile lib/xs/win32_processaffinity.xs > > x86_64-linux-gnu-gcc -I/usr/lib/x86_64-linux-gnu/perl/5.24/CORE > -DVERSION="1.10" -DXS_VERSION="1.10" -fPIC -c -D_REENTRANT -D_GNU_SOURCE > -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 > -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -o lib/xs/win32_system_info.o lib/xs/win32_system_info.c > lib/xs/win32_system_info.xs:6:28: fatal error: w32api/windows.h: No such file > or directory > #include <w32api/windows.h> > ^ > compilation terminated. > > > Failed to compile lib/xs/win32_system_info.xs > > x86_64-linux-gnu-gcc -I/usr/lib/x86_64-linux-gnu/perl/5.24/CORE > -DVERSION="1.10" -DXS_VERSION="1.10" -fPIC -c -D_REENTRANT -D_GNU_SOURCE > -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 > -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -o lib/xs/win32_system_info_alt.o > lib/xs/win32_system_info_alt.c > lib/xs/win32_system_info_alt.xs:6:21: fatal error: windows.h: No such file or > directory > #include <windows.h> > ^ > compilation terminated. > > > Failed to compile lib/xs/win32_system_info_alt.xs > > x86_64-linux-gnu-gcc -I/usr/lib/x86_64-linux-gnu/perl/5.24/CORE > -DVERSION="1.10" -DXS_VERSION="1.10" -fPIC -c -D_REENTRANT -D_GNU_SOURCE > -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 > -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -o lib/xs/win32_threadaffinity.o > lib/xs/win32_threadaffinity.c > lib/xs/win32_threadaffinity.xs:5:21: fatal error: windows.h: No such file or > directory > #include <windows.h> > ^ > compilation terminated. > > > Failed to compile lib/xs/win32_threadaffinity.xs > > ====================================== > Successfully compiled: > > lib/xs/fortytwo.xs > lib/xs/linux-sched_getaffinity.xs > lib/xs/linux-sched_setaffinity.xs > ====================================== > Incorporating contrib/ok/fortytwo.xs into lib/Sys/CpuAffinity.xs > Incorporating contrib/ok/linux-sched_getaffinity.xs into > lib/Sys/CpuAffinity.xs > Incorporating contrib/ok/linux-sched_setaffinity.xs into > lib/Sys/CpuAffinity.xs > > x86_64-linux-gnu-gcc -I/usr/lib/x86_64-linux-gnu/perl/5.24/CORE > -DVERSION="1.10" -DXS_VERSION="1.10" -fPIC -c -D_REENTRANT -D_GNU_SOURCE > -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 > -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -o lib/Sys/CpuAffinity.o lib/Sys/CpuAffinity.c > lib/Sys/CpuAffinity.xs: In function 'diag': > lib/Sys/CpuAffinity.xs:28:44: warning: format '%d' expects argument of type > 'int', but argument 3 has type 'long unsigned int' [-Wformat=] > fprintf(stderr,"diag sizeof(__cpu_mask)=%d\n", sizeof(__cpu_mask)); > ^ > lib/Sys/CpuAffinity.xs:29:36: warning: format '%d' expects argument of type > 'int', but argument 3 has type 'long unsigned int' [-Wformat=] > fprintf(stderr,"diag __NCPUBITS=%d\n", __NCPUBITS); > ^ > lib/Sys/CpuAffinity.xs:30:43: warning: format '%d' expects argument of type > 'int', but argument 3 has type 'long unsigned int' [-Wformat=] > fprintf(stderr,"diag sizeof(cpu_set_t)=%d\n", sizeof(cpu_set_t)); > ^ > lib/Sys/CpuAffinity.xs:31:39: warning: format '%d' expects argument of type > 'int', but argument 3 has type 'long unsigned int' [-Wformat=] > fprintf(stderr,"diag sizeof(pid_t)=%d\n", sizeof(pid_t)); > ^ > ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/Sys/CpuAffinity/CpuAffinity.bs') > x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro > -Wl,-z,now -shared -L/usr/local/lib -fstack-protector-strong -o > blib/arch/auto/Sys/CpuAffinity/CpuAffinity.so lib/Sys/CpuAffinity.o > Building Sys-CpuAffinity > dh_auto_test > perl Build test --verbose 1 > Checking if compiler tools configured... ok. > # Testing Sys::CpuAffinity 1.10, Perl 5.024001, /usr/bin/perl, linux > t/00-load.t .......... > 1..1 > ok 1 - use Sys::CpuAffinity; > ok > > > System configuration > ==================== > $^O = linux; $] = 5.024001 > $ENV{AUTOMATED_TESTING} = > Defined XS functions: > xs_fortytwo > xs_sched_getaffinity_get_affinity > xs_sched_setaffinity_set_affinity > > module Win32::API: not available > module Win32::Process: not available > module BSD::Process::Affinity: not available > bindprocessor: not found > dmesg available at: /bin/dmesg > sysctl: not found > psrinfo: not found > hinv: not found > hwprefs: not found > lsdev: not found > system_profiler: not found > prtconf: not found > taskset available at: /usr/bin/taskset > pbind: not found > cpuset: not found > > t/02-available.t ..... > 1..1 > ok 1 > ok > > # Failed test 'bind to all processors successful 18446744073709551615 == > 18446744073709551616-1' > # at t/10-exercise.t line 53. > > # Failed test 'setAffinity(-1) binds to all processors' > # at t/10-exercise.t line 83. > result: -1 3 ESRCH > result: -1 3 ESRCH > Sys::CpuAffinity: invalid mask 0 in call to setAffinty > at t/10-exercise.t line 94. > Sys::CpuAffinity: mask 18446744073709551616 is not valid for system with 64 > processors. > at t/10-exercise.t line 95. > # Looks like you failed 2 tests of 14. > t/10-exercise.t ...... > 1..14 > ok 1 - discovered 64 processors > ok 2 - got current process affinity 18446744073709551615 > ok 3 - simple setCpuAffinity returned non-zero > ok 4 - setCpuAffinity set affinity to 549755813888 == 549755813888 != > 18446744073709551615 > ok 5 - clear simple setCpuAffinity returned non-zero > not ok 6 - bind to all processors successful 18446744073709551615 == > 18446744073709551616-1 > ok 7 - complex setCpuAffinity returned non-zero > ok 8 - setCpuAffinity set affinity to 7384314798117748737 == > 0x667a5b2f63780001 != 18446744073709551615 > ok 9 - setAffinity(-1) returned non-zero > not ok 10 - setAffinity(-1) binds to all processors > ok 11 - passing invalid args to getAffinity, setAffinity fails > ok 12 - got pseudo-proc affinity 18446744073709551615 > ok 13 - set pseudo-proc affinity non-zero result 1 > ok 14 - set pseudo-proc affinity to 12200015180937232385 == > 12200015180937232385 != 18446744073709551615 > Dubious, test returned 2 (wstat 512, 0x200) > Failed 2/14 subtests > > > ================================================= > Num processors = > bindprocessor - 0 - > dmesg_bsd - 0 - > dmesg_solaris - 0 - > ENV - 0 - > hinv - 0 - > hwprefs - 0 - > lsdev - 0 - > proc_cpuinfo - 64 - > proc_stat - 64 - > prtconf - 0 - > psrinfo - 0 - > sysctl - 0 - > system_profiler - 0 - > taskset - 64 - > Test_Smoke_SysInfo - 0 - > Win32API_System_Info - 0 - > xs_cpusetGetCPUCount - 0 - > xs_solaris - 0 - > xs_Win32API_System_Info - 0 - > > > =============================================== > Current affinity = > BSD_Process_Affinity ==> 0 > cpuset ==> 0 > pbind ==> 0 > psaix ==> 0 > taskset ==> 18446744073709551615 > Win32API ==> 0 > Win32Process ==> 0 > xs_cpuset_getaffinity ==> 0 > xs_DEBUG_sched_getaffinity ==> --- > diag CPU_SETSIZE=1024 > diag sizeof(__cpu_mask)=8 > diag __NCPUBITS=64 > diag sizeof(cpu_set_t)=128 > diag sizeof(pid_t)=4 > getaffinity0 > getaffinity1 pid=79912 size=1024 cpuset=0x7f723a309040 > getaffinity2 > getaffinity5 > getaffinity6 i=0 r=0 > getaffinity7 > getaffinity8 add 0 to mask > getaffinity9 > getaffinity6 i=1 r=1 > getaffinity7 > getaffinity8 add 1 to mask > getaffinity9 > getaffinity6 i=2 r=1 > getaffinity7 > getaffinity8 add 2 to mask > getaffinity9 > getaffinity6 i=3 r=1 > getaffinity7 > getaffinity8 add 3 to mask > getaffinity9 > getaffinity6 i=4 r=1 > getaffinity7 > getaffinity8 add 4 to mask > getaffinity9 > getaffinity6 i=5 r=1 > getaffinity7 > getaffinity8 add 5 to mask > getaffinity9 > getaffinity6 i=6 r=1 > getaffinity7 > getaffinity8 add 6 to mask > getaffinity9 > getaffinity6 i=7 r=1 > getaffinity7 > getaffinity8 add 7 to mask > getaffinity9 > getaffinity6 i=8 r=1 > getaffinity7 > getaffinity8 add 8 to mask > getaffinity9 > getaffinity6 i=9 r=1 > getaffinity7 > getaffinity8 add 9 to mask > getaffinity9 > getaffinity6 i=10 r=1 > getaffinity7 > getaffinity8 add 10 to mask > getaffinity9 > getaffinity6 i=11 r=1 > getaffinity7 > getaffinity8 add 11 to mask > getaffinity9 > getaffinity6 i=12 r=1 > getaffinity7 > getaffinity8 add 12 to mask > getaffinity9 > getaffinity6 i=13 r=1 > getaffinity7 > getaffinity8 add 13 to mask > getaffinity9 > getaffinity6 i=14 r=1 > getaffinity7 > getaffinity8 add 14 to mask > getaffinity9 > getaffinity6 i=15 r=1 > getaffinity7 > getaffinity8 add 15 to mask > getaffinity9 > getaffinity6 i=16 r=1 > getaffinity7 > getaffinity8 add 16 to mask > getaffinity9 > getaffinity6 i=17 r=1 > getaffinity7 > getaffinity8 add 17 to mask > getaffinity9 > getaffinity6 i=18 r=1 > getaffinity7 > getaffinity8 add 18 to mask > getaffinity9 > getaffinity6 i=19 r=1 > getaffinity7 > getaffinity8 add 19 to mask > getaffinity9 > getaffinity6 i=20 r=1 > getaffinity7 > getaffinity8 add 20 to mask > getaffinity9 > getaffinity6 i=21 r=1 > getaffinity7 > getaffinity8 add 21 to mask > getaffinity9 > getaffinity6 i=22 r=1 > getaffinity7 > getaffinity8 add 22 to mask > getaffinity9 > getaffinity6 i=23 r=1 > getaffinity7 > getaffinity8 add 23 to mask > getaffinity9 > getaffinity6 i=24 r=1 > getaffinity7 > getaffinity8 add 24 to mask > getaffinity9 > getaffinity6 i=25 r=1 > getaffinity7 > getaffinity8 add 25 to mask > getaffinity9 > getaffinity6 i=26 r=1 > getaffinity7 > getaffinity8 add 26 to mask > getaffinity9 > getaffinity6 i=27 r=1 > getaffinity7 > getaffinity8 add 27 to mask > getaffinity9 > getaffinity6 i=28 r=1 > getaffinity7 > getaffinity8 add 28 to mask > getaffinity9 > getaffinity6 i=29 r=1 > getaffinity7 > getaffinity8 add 29 to mask > getaffinity9 > getaffinity6 i=30 r=1 > getaffinity7 > getaffinity8 add 30 to mask > getaffinity9 > getaffinity6 i=31 r=1 > getaffinity7 > getaffinity8 add 31 to mask > getaffinity9 > getaffinity6 i=32 r=1 > getaffinity7 > getaffinity8 add 32 to mask > getaffinity9 > getaffinity6 i=33 r=1 > getaffinity7 > getaffinity8 add 33 to mask > getaffinity9 > getaffinity6 i=34 r=1 > getaffinity7 > getaffinity8 add 34 to mask > getaffinity9 > getaffinity6 i=35 r=1 > getaffinity7 > getaffinity8 add 35 to mask > getaffinity9 > getaffinity6 i=36 r=1 > getaffinity7 > getaffinity8 add 36 to mask > getaffinity9 > getaffinity6 i=37 r=1 > getaffinity7 > getaffinity8 add 37 to mask > getaffinity9 > getaffinity6 i=38 r=1 > getaffinity7 > getaffinity8 add 38 to mask > getaffinity9 > getaffinity6 i=39 r=1 > getaffinity7 > getaffinity8 add 39 to mask > getaffinity9 > getaffinity6 i=40 r=1 > getaffinity7 > getaffinity8 add 40 to mask > getaffinity9 > getaffinity6 i=41 r=1 > getaffinity7 > getaffinity8 add 41 to mask > getaffinity9 > getaffinity6 i=42 r=1 > getaffinity7 > getaffinity8 add 42 to mask > getaffinity9 > getaffinity6 i=43 r=1 > getaffinity7 > getaffinity8 add 43 to mask > getaffinity9 > getaffinity6 i=44 r=1 > getaffinity7 > getaffinity8 add 44 to mask > getaffinity9 > getaffinity6 i=45 r=1 > getaffinity7 > getaffinity8 add 45 to mask > getaffinity9 > getaffinity6 i=46 r=1 > getaffinity7 > getaffinity8 add 46 to mask > getaffinity9 > getaffinity6 i=47 r=1 > getaffinity7 > getaffinity8 add 47 to mask > getaffinity9 > getaffinity6 i=48 r=1 > getaffinity7 > getaffinity8 add 48 to mask > getaffinity9 > getaffinity6 i=49 r=1 > getaffinity7 > getaffinity8 add 49 to mask > getaffinity9 > getaffinity6 i=50 r=1 > getaffinity7 > getaffinity8 add 50 to mask > getaffinity9 > getaffinity6 i=51 r=1 > getaffinity7 > getaffinity8 add 51 to mask > getaffinity9 > getaffinity6 i=52 r=1 > getaffinity7 > getaffinity8 add 52 to mask > getaffinity9 > getaffinity6 i=53 r=1 > getaffinity7 > getaffinity8 add 53 to mask > getaffinity9 > getaffinity6 i=54 r=1 > getaffinity7 > getaffinity8 add 54 to mask > getaffinity9 > getaffinity6 i=55 r=1 > getaffinity7 > getaffinity8 add 55 to mask > getaffinity9 > getaffinity6 i=56 r=1 > getaffinity7 > getaffinity8 add 56 to mask > getaffinity9 > getaffinity6 i=57 r=1 > getaffinity7 > getaffinity8 add 57 to mask > getaffinity9 > getaffinity6 i=58 r=1 > getaffinity7 > getaffinity8 add 58 to mask > getaffinity9 > getaffinity6 i=59 r=1 > getaffinity7 > getaffinity8 add 59 to mask > getaffinity9 > getaffinity6 i=60 r=1 > getaffinity7 > getaffinity8 add 60 to mask > getaffinity9 > getaffinity6 i=61 r=1 > getaffinity7 > getaffinity8 add 61 to mask > getaffinity9 > getaffinity6 i=62 r=1 > getaffinity7 > getaffinity8 add 62 to mask > getaffinity9 > getaffinity6 i=63 r=1 > getaffinity7 > getaffinity8 add 63 to mask > getaffinity9 > getaffinitya r=1 > 18446744073709551615 > xs_irix_sysmp ==> 0 > xs_processor_affinity ==> 0 > xs_pthread_self_getaffinity ==> 0 > xs_sched_getaffinity ==> 18446744073709551615 > xs_win32 ==> 0 > > > ================================================== > Set affinity = > bindprocessor => 9007199254740992 ==> > 18446744073709551615 [FAIL] > BSD_Process_Affinity => 17592253153280 ==> 18446744073709551615 > [FAIL] > cpuset => 288230377225453569 ==> > 18446744073709551615 [FAIL] > pbind => 2322168692604928 ==> > 18446744073709551615 [FAIL] > taskset => 73014968325 ==> 73014968325 [ ok ] > Win32API => 4900206803087786240 ==> 73014968325 > [FAIL] > Win32Process => 2305843009884787972 ==> 73014968325 > [FAIL] > xs_cpuset_setaffinity => 1189091056298229762 ==> 73014968325 > [FAIL] > xs_irix_sysmp => 4616893582521926150 ==> 73014968325 > [FAIL] > xs_processor_affinity => 4617456255466734658 ==> 73014968325 > [FAIL] > xs_pthread_self_setaffinity => 4620904329351266818 ==> 73014968325 > [FAIL] > xs_sched_setaffinity => 2923258379352671296 ==> > 2923258379352671296 [ ok ] > xs_win32 => 263460724499284480 ==> > 2923258379352671296 [FAIL] > > > t/11-exercise-all.t .. > 1..2 > ok 1 - at least one _getAffinity_XXX method works and all other methods are > consistent > ok 2 > ok > # This system actually has 64 cpus. > t/12-32cpus.t ........ > 1..6 > ok 1 - getNumCpus() returns 64>=32 (possibly after redefine) > ok 2 - got affinity 18446744073709551615 > ok 3 - set affinity ok on 32-cpu system 1 != 0 > ok 4 - got affinity 64 == 64 > ok 5 - clear affinity probably ok on 32-cpu system 1 != 0 > ok 6 - got affinity 18446744073709551615 == 18446744073709551615 > ok > > Test Summary Report > ------------------- > t/10-exercise.t (Wstat: 512 Tests: 14 Failed: 2) > Failed tests: 6, 10 > Non-zero exit status: 2 > Files=5, Tests=24, 4 wallclock secs ( 0.01 usr 0.03 sys + 0.75 cusr 0.05 > csys = 0.84 CPU) > Result: FAIL > Failed 1/5 test programs. 2/24 subtests failed. > dh_auto_test: perl Build test --verbose 1 returned exit code 255 > debian/rules:6: recipe for target 'build' failed > make: *** [build] Error 2 The full build log is available from: http://aws-logs.debian.net/2016/11/11/libsys-cpuaffinity-perl_1.10-1_unstable.log This failure happens on a CPU with TSX extensions available, but is not reproducible on a machine without them. For context, I recommend reading the thread starting at https://lists.debian.org/debian-devel/2016/11/msg00210.html The node used is an Amazon EC2 VM with 64 cores. /proc/cpuinfo says: model : 79 model name : Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz stepping : 1 A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures.