Bug#976933: [rt.cpan.org #118730] libsys-cpuaffinity-perl: FTBFS: Failed test 'bind to all processors successful 18446744073709551615 == 18446744073709551616-1'

Lucas Nussbaum lucas at debian.org
Thu Dec 24 12:42:30 GMT 2020


On 19/12/20 at 17:29 +0100, gregor herrmann wrote:
> On Sat, 19 Dec 2020 01:06:49 -0500, Marty O'Brien via RT wrote:
> 
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=118730 >
> 
> > On Fri Dec 18 12:04:27 2020, GREGOA wrote:
> > > And we have another test failure, found again by Lucas, on a 160 CPU
> > > machine:
> > > https://bugs.debian.org/976933
> > 
> > Working hypothesis: taskset(1) can only retrieve affinity data for
> > the first 64 cores; I don't know whether it can update affinity for
> > so many cores or not.
> > 
> > Uploaded Sys::CpuAffinity 1.13_01. I will give the
> > xs_sched_setaffinity/xs_sched_getaffinity  functions higher
> > priority than the  taskset  call and see if that solves more
> > problems than it creates.
> 
> Thank you!
> Uploaded to Debian.
> 
> Lucas, do you have a chance to test libsys-cpuaffinity-perl_1.13~01-1
> on this 160 CPU grid where you found #976933?

Hi Gregor,

It fails. I've attached the log.

Lucas
-------------- next part --------------
sbuild (Debian sbuild) 0.78.1 (09 February 2019) on drac-6.grenoble.grid5000.fr

+==============================================================================+
| libsys-cpuaffinity-perl 1.13~01-1 (ppc64el)  Thu, 24 Dec 2020 11:00:31 +0000 |
+==============================================================================+

Package: libsys-cpuaffinity-perl
Version: 1.13~01-1
Source Version: 1.13~01-1
Distribution: unstable
Machine Architecture: ppc64el
Host Architecture: ppc64el
Build Architecture: ppc64el
Build Type: full

I: NOTICE: Log filtering will replace 'var/run/schroot/mount/sid-ppc64el-sbuild-0a9c2070-ea16-4bf7-8fb4-bfffffb7e9ca' with '<<CHROOT>>'
I: NOTICE: Log filtering will replace 'build/libsys-cpuaffinity-perl-l9d8Gx/resolver-pasQDG' with '<<RESOLVERDIR>>'

+------------------------------------------------------------------------------+
| Update chroot                                                                |
+------------------------------------------------------------------------------+

Hit:1 http://127.0.0.1:12990/debian sid InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

+------------------------------------------------------------------------------+
| Fetch source files                                                           |
+------------------------------------------------------------------------------+


Check APT
---------

Checking available source versions...

Download source files with APT
------------------------------

Reading package lists...
NOTICE: 'libsys-cpuaffinity-perl' packaging is maintained in the 'Git' version control system at:
https://salsa.debian.org/perl-team/modules/packages/libsys-cpuaffinity-perl.git
Please use:
git clone https://salsa.debian.org/perl-team/modules/packages/libsys-cpuaffinity-perl.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 53.1 kB of source archives.
Get:1 http://127.0.0.1:12990/debian sid/main libsys-cpuaffinity-perl 1.13~01-1 (dsc) [2463 B]
Get:2 http://127.0.0.1:12990/debian sid/main libsys-cpuaffinity-perl 1.13~01-1 (tar) [47.8 kB]
Get:3 http://127.0.0.1:12990/debian sid/main libsys-cpuaffinity-perl 1.13~01-1 (diff) [2812 B]
Fetched 53.1 kB in 0s (791 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/libsys-cpuaffinity-perl-l9d8Gx/libsys-cpuaffinity-perl-1.13~01' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/libsys-cpuaffinity-perl-l9d8Gx' with '<<BUILDDIR>>'

+------------------------------------------------------------------------------+
| Install package build dependencies                                           |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: debhelper-compat (= 13), libmodule-build-perl, perl-xs-dev, perl, build-essential, fakeroot
Filtered Build-Depends: debhelper-compat (= 13), libmodule-build-perl, perl-xs-dev, perl, build-essential, fakeroot
dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<<RESOLVERDIR>>/apt_archive/sbuild-build-depends-main-dummy.deb'.
Ign:1 copy:/<<RESOLVERDIR>>/apt_archive ./ InRelease
Get:2 copy:/<<RESOLVERDIR>>/apt_archive ./ Release [957 B]
Ign:3 copy:/<<RESOLVERDIR>>/apt_archive ./ Release.gpg
Get:4 copy:/<<RESOLVERDIR>>/apt_archive ./ Sources [392 B]
Get:5 copy:/<<RESOLVERDIR>>/apt_archive ./ Packages [472 B]
Fetched 1821 B in 0s (106 kB/s)
Reading package lists...
Reading package lists...

Install main build dependencies (apt-based resolver)
----------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
The following additional packages will be installed:
  autoconf automake autopoint autotools-dev bsdextrautils debhelper
  dh-autoreconf dh-strip-nondeterminism dwz file gettext gettext-base
  groff-base intltool-debian libarchive-zip-perl libdebhelper-perl libelf1
  libfile-stripnondeterminism-perl libicu67 libmagic-mgc libmagic1
  libmodule-build-perl libperl-dev libpipeline1 libsigsegv2
  libsub-override-perl libtool libuchardet0 libxml2 m4 man-db po-debconf
  sensible-utils
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc dh-make gettext-doc
  libasprintf-dev libgettextpo-dev groff libtool-doc gfortran
  | fortran95-compiler gcj-jdk m4-doc apparmor less www-browser
  libmail-box-perl
Recommended packages:
  curl | wget | lynx libarchive-cpio-perl libmodule-signature-perl
  libpod-readme-perl libsoftware-license-perl libltdl-dev
  libmail-sendmail-perl
The following NEW packages will be installed:
  autoconf automake autopoint autotools-dev bsdextrautils debhelper
  dh-autoreconf dh-strip-nondeterminism dwz file gettext gettext-base
  groff-base intltool-debian libarchive-zip-perl libdebhelper-perl libelf1
  libfile-stripnondeterminism-perl libicu67 libmagic-mgc libmagic1
  libmodule-build-perl libperl-dev libpipeline1 libsigsegv2
  libsub-override-perl libtool libuchardet0 libxml2 m4 man-db po-debconf
  sbuild-build-depends-main-dummy sensible-utils
0 upgraded, 34 newly installed, 0 to remove and 0 not upgraded.
Need to get 19.8 MB of archives.
After this operation, 79.3 MB of additional disk space will be used.
Get:1 copy:/<<RESOLVERDIR>>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [900 B]
Get:2 http://127.0.0.1:12990/debian sid/main ppc64el bsdextrautils ppc64el 2.36.1-3 [146 kB]
Get:3 http://127.0.0.1:12990/debian sid/main ppc64el libuchardet0 ppc64el 0.0.7-1 [70.3 kB]
Get:4 http://127.0.0.1:12990/debian sid/main ppc64el groff-base ppc64el 1.22.4-5 [923 kB]
Get:5 http://127.0.0.1:12990/debian sid/main ppc64el libpipeline1 ppc64el 1.5.3-1 [36.3 kB]
Get:6 http://127.0.0.1:12990/debian sid/main ppc64el man-db ppc64el 2.9.3-2 [1333 kB]
Get:7 http://127.0.0.1:12990/debian sid/main ppc64el sensible-utils all 0.0.12+nmu1 [16.0 kB]
Get:8 http://127.0.0.1:12990/debian sid/main ppc64el libmagic-mgc ppc64el 1:5.39-3 [273 kB]
Get:9 http://127.0.0.1:12990/debian sid/main ppc64el libmagic1 ppc64el 1:5.39-3 [134 kB]
Get:10 http://127.0.0.1:12990/debian sid/main ppc64el file ppc64el 1:5.39-3 [69.6 kB]
Get:11 http://127.0.0.1:12990/debian sid/main ppc64el gettext-base ppc64el 0.21-3 [177 kB]
Get:12 http://127.0.0.1:12990/debian sid/main ppc64el libsigsegv2 ppc64el 2.12-3 [33.8 kB]
Get:13 http://127.0.0.1:12990/debian sid/main ppc64el m4 ppc64el 1.4.18-4 [206 kB]
Get:14 http://127.0.0.1:12990/debian sid/main ppc64el autoconf all 2.69-13 [313 kB]
Get:15 http://127.0.0.1:12990/debian sid/main ppc64el autotools-dev all 20180224.1+nmu1 [77.1 kB]
Get:16 http://127.0.0.1:12990/debian sid/main ppc64el automake all 1:1.16.3-1 [814 kB]
Get:17 http://127.0.0.1:12990/debian sid/main ppc64el autopoint all 0.21-3 [509 kB]
Get:18 http://127.0.0.1:12990/debian sid/main ppc64el libtool all 2.4.6-14 [513 kB]
Get:19 http://127.0.0.1:12990/debian sid/main ppc64el dh-autoreconf all 19 [16.9 kB]
Get:20 http://127.0.0.1:12990/debian sid/main ppc64el libdebhelper-perl all 13.3 [188 kB]
Get:21 http://127.0.0.1:12990/debian sid/main ppc64el libarchive-zip-perl all 1.68-1 [104 kB]
Get:22 http://127.0.0.1:12990/debian sid/main ppc64el libsub-override-perl all 0.09-2 [10.2 kB]
Get:23 http://127.0.0.1:12990/debian sid/main ppc64el libfile-stripnondeterminism-perl all 1.9.0-1 [25.5 kB]
Get:24 http://127.0.0.1:12990/debian sid/main ppc64el dh-strip-nondeterminism all 1.9.0-1 [15.2 kB]
Get:25 http://127.0.0.1:12990/debian sid/main ppc64el libelf1 ppc64el 0.182-1 [174 kB]
Get:26 http://127.0.0.1:12990/debian sid/main ppc64el dwz ppc64el 0.13+20201015-2 [156 kB]
Get:27 http://127.0.0.1:12990/debian sid/main ppc64el libicu67 ppc64el 67.1-5 [8739 kB]
Get:28 http://127.0.0.1:12990/debian sid/main ppc64el libxml2 ppc64el 2.9.10+dfsg-6.3+b1 [731 kB]
Get:29 http://127.0.0.1:12990/debian sid/main ppc64el gettext ppc64el 0.21-3 [1334 kB]
Get:30 http://127.0.0.1:12990/debian sid/main ppc64el intltool-debian all 0.35.0+20060710.5 [26.8 kB]
Get:31 http://127.0.0.1:12990/debian sid/main ppc64el po-debconf all 1.0.21 [248 kB]
Get:32 http://127.0.0.1:12990/debian sid/main ppc64el debhelper all 13.3 [1009 kB]
Get:33 http://127.0.0.1:12990/debian sid/main ppc64el libmodule-build-perl all 0.423100-1 [258 kB]
Get:34 http://127.0.0.1:12990/debian sid/main ppc64el libperl-dev ppc64el 5.32.0-6 [1092 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 19.8 MB in 0s (105 MB/s)
Selecting previously unselected package bsdextrautils.
(Reading database ... 12300 files and directories currently installed.)
Preparing to unpack .../00-bsdextrautils_2.36.1-3_ppc64el.deb ...
Unpacking bsdextrautils (2.36.1-3) ...
Selecting previously unselected package libuchardet0:ppc64el.
Preparing to unpack .../01-libuchardet0_0.0.7-1_ppc64el.deb ...
Unpacking libuchardet0:ppc64el (0.0.7-1) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../02-groff-base_1.22.4-5_ppc64el.deb ...
Unpacking groff-base (1.22.4-5) ...
Selecting previously unselected package libpipeline1:ppc64el.
Preparing to unpack .../03-libpipeline1_1.5.3-1_ppc64el.deb ...
Unpacking libpipeline1:ppc64el (1.5.3-1) ...
Selecting previously unselected package man-db.
Preparing to unpack .../04-man-db_2.9.3-2_ppc64el.deb ...
Unpacking man-db (2.9.3-2) ...
Selecting previously unselected package sensible-utils.
Preparing to unpack .../05-sensible-utils_0.0.12+nmu1_all.deb ...
Unpacking sensible-utils (0.0.12+nmu1) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../06-libmagic-mgc_1%3a5.39-3_ppc64el.deb ...
Unpacking libmagic-mgc (1:5.39-3) ...
Selecting previously unselected package libmagic1:ppc64el.
Preparing to unpack .../07-libmagic1_1%3a5.39-3_ppc64el.deb ...
Unpacking libmagic1:ppc64el (1:5.39-3) ...
Selecting previously unselected package file.
Preparing to unpack .../08-file_1%3a5.39-3_ppc64el.deb ...
Unpacking file (1:5.39-3) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../09-gettext-base_0.21-3_ppc64el.deb ...
Unpacking gettext-base (0.21-3) ...
Selecting previously unselected package libsigsegv2:ppc64el.
Preparing to unpack .../10-libsigsegv2_2.12-3_ppc64el.deb ...
Unpacking libsigsegv2:ppc64el (2.12-3) ...
Selecting previously unselected package m4.
Preparing to unpack .../11-m4_1.4.18-4_ppc64el.deb ...
Unpacking m4 (1.4.18-4) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../12-autoconf_2.69-13_all.deb ...
Unpacking autoconf (2.69-13) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../13-autotools-dev_20180224.1+nmu1_all.deb ...
Unpacking autotools-dev (20180224.1+nmu1) ...
Selecting previously unselected package automake.
Preparing to unpack .../14-automake_1%3a1.16.3-1_all.deb ...
Unpacking automake (1:1.16.3-1) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../15-autopoint_0.21-3_all.deb ...
Unpacking autopoint (0.21-3) ...
Selecting previously unselected package libtool.
Preparing to unpack .../16-libtool_2.4.6-14_all.deb ...
Unpacking libtool (2.4.6-14) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../17-dh-autoreconf_19_all.deb ...
Unpacking dh-autoreconf (19) ...
Selecting previously unselected package libdebhelper-perl.
Preparing to unpack .../18-libdebhelper-perl_13.3_all.deb ...
Unpacking libdebhelper-perl (13.3) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../19-libarchive-zip-perl_1.68-1_all.deb ...
Unpacking libarchive-zip-perl (1.68-1) ...
Selecting previously unselected package libsub-override-perl.
Preparing to unpack .../20-libsub-override-perl_0.09-2_all.deb ...
Unpacking libsub-override-perl (0.09-2) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../21-libfile-stripnondeterminism-perl_1.9.0-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.9.0-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../22-dh-strip-nondeterminism_1.9.0-1_all.deb ...
Unpacking dh-strip-nondeterminism (1.9.0-1) ...
Selecting previously unselected package libelf1:ppc64el.
Preparing to unpack .../23-libelf1_0.182-1_ppc64el.deb ...
Unpacking libelf1:ppc64el (0.182-1) ...
Selecting previously unselected package dwz.
Preparing to unpack .../24-dwz_0.13+20201015-2_ppc64el.deb ...
Unpacking dwz (0.13+20201015-2) ...
Selecting previously unselected package libicu67:ppc64el.
Preparing to unpack .../25-libicu67_67.1-5_ppc64el.deb ...
Unpacking libicu67:ppc64el (67.1-5) ...
Selecting previously unselected package libxml2:ppc64el.
Preparing to unpack .../26-libxml2_2.9.10+dfsg-6.3+b1_ppc64el.deb ...
Unpacking libxml2:ppc64el (2.9.10+dfsg-6.3+b1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../27-gettext_0.21-3_ppc64el.deb ...
Unpacking gettext (0.21-3) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../28-intltool-debian_0.35.0+20060710.5_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.5) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../29-po-debconf_1.0.21_all.deb ...
Unpacking po-debconf (1.0.21) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../30-debhelper_13.3_all.deb ...
Unpacking debhelper (13.3) ...
Selecting previously unselected package libmodule-build-perl.
Preparing to unpack .../31-libmodule-build-perl_0.423100-1_all.deb ...
Adding 'diversion of /usr/bin/config_data to /usr/bin/config_data.diverted by libmodule-build-perl'
Adding 'diversion of /usr/share/man/man1/config_data.1.gz to /usr/share/man/man1/config_data.diverted.1.gz by libmodule-build-perl'
Unpacking libmodule-build-perl (0.423100-1) ...
Selecting previously unselected package libperl-dev:ppc64el.
Preparing to unpack .../32-libperl-dev_5.32.0-6_ppc64el.deb ...
Unpacking libperl-dev:ppc64el (5.32.0-6) ...
Selecting previously unselected package sbuild-build-depends-main-dummy.
Preparing to unpack .../33-sbuild-build-depends-main-dummy_0.invalid.0_ppc64el.deb ...
Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ...
Setting up libpipeline1:ppc64el (1.5.3-1) ...
Setting up bsdextrautils (2.36.1-3) ...
update-alternatives: using /usr/bin/write.ul to provide /usr/bin/write (write) in auto mode
Setting up libicu67:ppc64el (67.1-5) ...
Setting up libmagic-mgc (1:5.39-3) ...
Setting up libarchive-zip-perl (1.68-1) ...
Setting up libdebhelper-perl (13.3) ...
Setting up libmagic1:ppc64el (1:5.39-3) ...
Setting up gettext-base (0.21-3) ...
Setting up libperl-dev:ppc64el (5.32.0-6) ...
Setting up file (1:5.39-3) ...
Setting up libmodule-build-perl (0.423100-1) ...
Setting up autotools-dev (20180224.1+nmu1) ...
Setting up libsigsegv2:ppc64el (2.12-3) ...
Setting up autopoint (0.21-3) ...
Setting up sensible-utils (0.0.12+nmu1) ...
Setting up libuchardet0:ppc64el (0.0.7-1) ...
Setting up libsub-override-perl (0.09-2) ...
Setting up libelf1:ppc64el (0.182-1) ...
Setting up libxml2:ppc64el (2.9.10+dfsg-6.3+b1) ...
Setting up libfile-stripnondeterminism-perl (1.9.0-1) ...
Setting up gettext (0.21-3) ...
Setting up libtool (2.4.6-14) ...
Setting up m4 (1.4.18-4) ...
Setting up intltool-debian (0.35.0+20060710.5) ...
Setting up autoconf (2.69-13) ...
Setting up dh-strip-nondeterminism (1.9.0-1) ...
Setting up dwz (0.13+20201015-2) ...
Setting up groff-base (1.22.4-5) ...
Setting up automake (1:1.16.3-1) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
Setting up po-debconf (1.0.21) ...
Setting up man-db (2.9.3-2) ...
Not building database; man-db/auto-update is not 'true'.
Setting up dh-autoreconf (19) ...
Setting up debhelper (13.3) ...
Setting up sbuild-build-depends-main-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.31-6) ...

+------------------------------------------------------------------------------+
| Check architectures                                                          |
+------------------------------------------------------------------------------+

Arch check ok (ppc64el included in any)

+------------------------------------------------------------------------------+
| Build environment                                                            |
+------------------------------------------------------------------------------+

Kernel: Linux 4.19.0-13-powerpc64le #1 SMP Debian 4.19.160-2 (2020-11-28) ppc64el (ppc64le)
Toolchain package versions: binutils_2.35.1-6 dpkg-dev_1.20.5 g++-10_10.2.1-2 gcc-10_10.2.1-2 libc6-dev_2.31-6 libstdc++-10-dev_10.2.1-2 libstdc++6_10.2.1-2 linux-libc-dev_5.9.15-1
Package versions: adduser_3.118 apt_2.1.14 autoconf_2.69-13 automake_1:1.16.3-1 autopoint_0.21-3 autotools-dev_20180224.1+nmu1 base-files_11 base-passwd_3.5.48 bash_5.1-1 binutils_2.35.1-6 binutils-common_2.35.1-6 binutils-powerpc64le-linux-gnu_2.35.1-6 bsdextrautils_2.36.1-3 bsdutils_1:2.36.1-3 build-essential_12.8 bzip2_1.0.8-4 coreutils_8.32-4 cpp_4:10.2.0-1 cpp-10_10.2.1-2 dash_0.5.11+git20200708+dd9ef66-5 debconf_1.5.74 debhelper_13.3 debian-archive-keyring_2019.1 debianutils_4.11.2 dh-autoreconf_19 dh-strip-nondeterminism_1.9.0-1 diffutils_1:3.7-3 dpkg_1.20.5 dpkg-dev_1.20.5 dwz_0.13+20201015-2 e2fsprogs_1.45.6-1 fakeroot_1.25.3-1.1 file_1:5.39-3 findutils_4.7.0+git20201010-2 g++_4:10.2.0-1 g++-10_10.2.1-2 gcc_4:10.2.0-1 gcc-10_10.2.1-2 gcc-10-base_10.2.1-2 gcc-9-base_9.3.0-19 gettext_0.21-3 gettext-base_0.21-3 gpgv_2.2.20-1 grep_3.6-1 groff-base_1.22.4-5 gzip_1.10-2 hostname_3.23 init-system-helpers_1.60 intltool-debian_0.35.0+20060710.5 libacl1_2.2.53-8 libapt-pkg6.0_2.1.14 libarchive-zip-perl_1.68-1 libasan6_10.2.1-2 libatomic1_10.2.1-2 libattr1_1:2.4.48-5 libaudit-common_1:3.0-1 libaudit1_1:3.0-1 libbinutils_2.35.1-6 libblkid1_2.36.1-3 libbz2-1.0_1.0.8-4 libc-bin_2.31-6 libc-dev-bin_2.31-6 libc6_2.31-6 libc6-dev_2.31-6 libcap-ng0_0.7.9-2.2+b1 libcc1-0_10.2.1-2 libcom-err2_1.45.6-1 libcrypt-dev_1:4.4.17-1 libcrypt1_1:4.4.17-1 libctf-nobfd0_2.35.1-6 libctf0_2.35.1-6 libdb5.3_5.3.28+dfsg1-0.6 libdebconfclient0_0.255 libdebhelper-perl_13.3 libdpkg-perl_1.20.5 libelf1_0.182-1 libext2fs2_1.45.6-1 libfakeroot_1.25.3-1.1 libffi7_3.3-5 libfile-stripnondeterminism-perl_1.9.0-1 libgcc-10-dev_10.2.1-2 libgcc-s1_10.2.1-2 libgcrypt20_1.8.7-2 libgdbm-compat4_1.18.1-5.1 libgdbm6_1.18.1-5.1 libgmp10_2:6.2.1+dfsg-1 libgnutls30_3.7.0-3 libgomp1_10.2.1-2 libgpg-error0_1.38-2 libgssapi-krb5-2_1.18.3-4 libhogweed6_3.6-2 libicu67_67.1-5 libidn2-0_2.3.0-4 libisl23_0.23-1 libitm1_10.2.1-2 libk5crypto3_1.18.3-4 libkeyutils1_1.6.1-2 libkrb5-3_1.18.3-4 libkrb5support0_1.18.3-4 liblsan0_10.2.1-2 liblz4-1_1.9.3-1 liblzma5_5.2.4-1+b1 libmagic-mgc_1:5.39-3 libmagic1_1:5.39-3 libmodule-build-perl_0.423100-1 libmount1_2.36.1-3 libmpc3_1.2.0-1 libmpfr6_4.1.0-3 libnettle8_3.6-2 libnsl-dev_1.3.0-2 libnsl2_1.3.0-2 libp11-kit0_0.23.22-1 libpam-modules_1.3.1-5 libpam-modules-bin_1.3.1-5 libpam-runtime_1.3.1-5 libpam0g_1.3.1-5 libpcre2-8-0_10.36-2 libpcre3_2:8.39-13 libperl-dev_5.32.0-6 libperl5.32_5.32.0-6 libpipeline1_1.5.3-1 libquadmath0_10.2.1-2 libseccomp2_2.5.1-1 libselinux1_3.1-2+b2 libsemanage-common_3.1-1 libsemanage1_3.1-1+b2 libsepol1_3.1-1 libsigsegv2_2.12-3 libsmartcols1_2.36.1-3 libss2_1.45.6-1 libssl1.1_1.1.1i-1 libstdc++-10-dev_10.2.1-2 libstdc++6_10.2.1-2 libsub-override-perl_0.09-2 libsystemd0_247.2-2 libtasn1-6_4.16.0-2 libtinfo6_6.2+20201114-1 libtirpc-common_1.2.6-3 libtirpc-dev_1.2.6-3 libtirpc3_1.2.6-3 libtool_2.4.6-14 libtsan0_10.2.1-2 libubsan1_10.2.1-2 libuchardet0_0.0.7-1 libudev1_247.2-2 libunistring2_0.9.10-4 libuuid1_2.36.1-3 libxml2_2.9.10+dfsg-6.3+b1 libxxhash0_0.8.0-1 libzstd1_1.4.5+dfsg-4 linux-libc-dev_5.9.15-1 login_1:4.8.1-1 logsave_1.45.6-1 lsb-base_11.1.0 m4_1.4.18-4 make_4.3-4 man-db_2.9.3-2 mawk_1.3.4.20200120-2 mount_2.36.1-3 ncurses-base_6.2+20201114-1 ncurses-bin_6.2+20201114-1 passwd_1:4.8.1-1 patch_2.7.6-6 perl_5.32.0-6 perl-base_5.32.0-6 perl-modules-5.32_5.32.0-6 po-debconf_1.0.21 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.7-1 sensible-utils_0.0.12+nmu1 sysvinit-utils_2.96-5 tar_1.32+dfsg-1 tzdata_2020e-1 util-linux_2.36.1-3 xz-utils_5.2.4-1+b1 zlib1g_1:1.2.11.dfsg-2

+------------------------------------------------------------------------------+
| Build                                                                        |
+------------------------------------------------------------------------------+


Unpack source
-------------

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 3.0 (quilt)
Source: libsys-cpuaffinity-perl
Binary: libsys-cpuaffinity-perl
Architecture: any
Version: 1.13~01-1
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Michael Prokop <mika at debian.org>
Homepage: https://metacpan.org/release/Sys-CpuAffinity
Standards-Version: 4.5.1
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libsys-cpuaffinity-perl
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libsys-cpuaffinity-perl.git
Testsuite: autopkgtest-pkg-perl
Build-Depends: debhelper-compat (= 13), libmodule-build-perl, perl-xs-dev, perl:native
Package-List:
 libsys-cpuaffinity-perl deb perl optional arch=any
Checksums-Sha1:
 6d95b508c64cb372167d3ce6e220cd401c5ed73e 47791 libsys-cpuaffinity-perl_1.13~01.orig.tar.gz
 e3b5a4afb0026a5fd0bcfb8b42987a27a4d505e2 2812 libsys-cpuaffinity-perl_1.13~01-1.debian.tar.xz
Checksums-Sha256:
 c78eabdcd8eed6cca168453fbdcd17a0c4674ea66193020d79238812804c0993 47791 libsys-cpuaffinity-perl_1.13~01.orig.tar.gz
 9a980a84e91ab3abf3661abf6b8e077ac0f7850d40973550732a935dd0936db9 2812 libsys-cpuaffinity-perl_1.13~01-1.debian.tar.xz
Files:
 538ca59f8eee11b2ed808df7054f3722 47791 libsys-cpuaffinity-perl_1.13~01.orig.tar.gz
 c78a0573185d0bbd3d3243cba726ad7b 2812 libsys-cpuaffinity-perl_1.13~01-1.debian.tar.xz
Dgit: a8254d28aa106cb840206f5d7288c3ec4d11920d debian archive/debian/1.13_01-1 https://git.dgit.debian.org/libsys-cpuaffinity-perl

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAl/eKjxfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgbT3A/+P42vtjFRB9uD6q2lB+3O/ZaTdmBDzGa45uSdc2MPQFsXDK3QRoBU60Su
eF3lHUuojPJ07rUySJsP0+GA8VpWgP6V04Tr7F2l+9Usm+MKw1fztvFMptuCRiD9
d7MOuG4ZWudHMHomLQZnzBYj8QMHi6M+ym3j5KWEkxcAsxGtS7x/VxG9xvVtG/RE
X0T+CRPc6hWfNG7BQw1nd2U+U4PGG20xOjHtf/S558ZQSpWqVTpDGVO5T79T762N
2sBtTYxZfUuyRIHXbxuO5nT6ktBn01jvZHuBWQdVfvKu6kHuz4NXfRpzlmYNQwnZ
BpDO+f5NDIrkog75PUNAhFbrdzL/1SICdq0QovjREqF1Wnz4DFldI5JEC7+GdVuF
bOsA7VYVuhMPUqKMAE00E5kY1mnxL3TOWR5HH8dLTu5fQ4QlCjAfug8dFjb97B4f
Cm2i432bvLpHLpREZwzdtFA4Fb/gnoMpDenmpbpDf/Y8mwgO9/7nP1n0nT6Lj11X
77ajsmFRvfegXuNI1BjmXKxX9hAUy39ZbOj4KR7BUHD5NPxPpxOCG1iI1ygJRRkP
dhWodhfksvv6f5myRHIBUBd7kl1c2bAWXVEYSRRWzW638evANtPqtMX27uxhOHl2
VJs74JHpYshlEsPAKeykLSWdi/DbSc1i3jr3/F/njolOm63T29c=
=eLfp
-----END PGP SIGNATURE-----

gpgv: unknown type of key resource 'trustedkeys.kbx'
gpgv: keyblock resource '/tmp/dpkg-verify-sig.36ri9KTY/trustedkeys.kbx': General error
gpgv: Signature made Sat Dec 19 16:28:44 2020 UTC
gpgv:                using RSA key D1E1316E93A760A8104D85FABB3A68018649AA06
gpgv: Can't check signature: No public key
dpkg-source: warning: failed to verify signature on ./libsys-cpuaffinity-perl_1.13~01-1.dsc
dpkg-source: info: extracting libsys-cpuaffinity-perl in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking libsys-cpuaffinity-perl_1.13~01.orig.tar.gz
dpkg-source: info: unpacking libsys-cpuaffinity-perl_1.13~01-1.debian.tar.xz

Check disk space
----------------

Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
HOME=/sbuild-nonexistent
LANG=en_US.UTF-8
LC_ALL=C.UTF-8
LOGNAME=user42
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=unstable
SCHROOT_CHROOT_NAME=sid-ppc64el-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=1000
SCHROOT_GROUP=user42
SCHROOT_SESSION_ID=sid-ppc64el-sbuild-0a9c2070-ea16-4bf7-8fb4-bfffffb7e9ca
SCHROOT_UID=1000
SCHROOT_USER=user42
SHELL=/bin/sh
USER=user42

dpkg-buildpackage
-----------------

Command: dpkg-buildpackage -us -uc -sa -rfakeroot
dpkg-buildpackage: info: source package libsys-cpuaffinity-perl
dpkg-buildpackage: info: source version 1.13~01-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by gregor herrmann <gregoa at debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture ppc64el
 debian/rules clean
dh clean
   dh_clean
 dpkg-source -b .
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building libsys-cpuaffinity-perl using existing ./libsys-cpuaffinity-perl_1.13~01.orig.tar.gz
dpkg-source: info: building libsys-cpuaffinity-perl in libsys-cpuaffinity-perl_1.13~01-1.debian.tar.xz
dpkg-source: info: building libsys-cpuaffinity-perl in libsys-cpuaffinity-perl_1.13~01-1.dsc
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
	perl Build.PL --installdirs vendor --config "optimize=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" --config "ld=powerpc64le-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now"


Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Sys-CpuAffinity' version '1.13_01'
   dh_auto_build
	perl Build
powerpc64le-linux-gnu-gcc -I/usr/lib/powerpc64le-linux-gnu/perl/5.32/CORE -DVERSION="1.13_01" -DXS_VERSION="1.13_01" -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:10: fatal error: cpuset.h: No such file or directory
    5 | #include <cpuset.h>
      |          ^~~~~~~~~~
compilation terminated.
***********************************
 Attempting to compile xs code
 NOTE: it is normal for some or all of these
 compilation attempts to fail, and does not
 necessarily indicate a problem with this
 distribution.
************************************




Failed to compile lib/xs/cpusetGetCPUCount.xs

powerpc64le-linux-gnu-gcc -I/usr/lib/powerpc64le-linux-gnu/perl/5.32/CORE -DVERSION="1.13_01" -DXS_VERSION="1.13_01" -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')
powerpc64le-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
---------------

powerpc64le-linux-gnu-gcc -I/usr/lib/powerpc64le-linux-gnu/perl/5.32/CORE -DVERSION="1.13_01" -DXS_VERSION="1.13_01" -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/freebsd_cpuset.o lib/xs/freebsd_cpuset.c
lib/xs/freebsd_cpuset.xs:6:10: fatal error: sys/cpuset.h: No such file or directory
    6 | #include <sys/cpuset.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.


Failed to compile lib/xs/freebsd_cpuset.xs

powerpc64le-linux-gnu-gcc -I/usr/lib/powerpc64le-linux-gnu/perl/5.32/CORE -DVERSION="1.13_01" -DXS_VERSION="1.13_01" -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:10: fatal error: sys/sysmp.h: No such file or directory
    7 | #include <sys/sysmp.h>
      |          ^~~~~~~~~~~~~
compilation terminated.


Failed to compile lib/xs/irix_sysmp.xs

powerpc64le-linux-gnu-gcc -I/usr/lib/powerpc64le-linux-gnu/perl/5.32/CORE -DVERSION="1.13_01" -DXS_VERSION="1.13_01" -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
ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/xs/linux-sched_getaffinity/linux-sched_getaffinity.bs')
powerpc64le-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
---------------

powerpc64le-linux-gnu-gcc -I/usr/lib/powerpc64le-linux-gnu/perl/5.32/CORE -DVERSION="1.13_01" -DXS_VERSION="1.13_01" -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
lib/xs/linux-sched_setaffinity.xs: In function ‘XS_Sys__CpuAffinity_xs_sched_setaffinity_set_affinity’:
lib/xs/linux-sched_setaffinity.xs:35:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
   35 |     if (debug_flag) fprintf(stderr,"sched_setaffinity(%d,%d,...) = %d\n", pid, sizeof(cpu_set_t), r);
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~       ~~~~~~~~~~~~~~~~~
      |                                                                                |
      |                                                                                long unsigned int
ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/xs/linux-sched_setaffinity/linux-sched_setaffinity.bs')
powerpc64le-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
---------------

powerpc64le-linux-gnu-gcc -I/usr/lib/powerpc64le-linux-gnu/perl/5.32/CORE -DVERSION="1.13_01" -DXS_VERSION="1.13_01" -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); did you mean ‘finite’?
   69 |  RETVAL = affinity;
      |           ^~~~~~~~
      |           finite
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)
  116 |  RETVAL = result;
      |           ^~~~~~


Failed to compile lib/xs/pthread_affinity_np.xs

powerpc64le-linux-gnu-gcc -I/usr/lib/powerpc64le-linux-gnu/perl/5.32/CORE -DVERSION="1.13_01" -DXS_VERSION="1.13_01" -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:10: fatal error: sys/processor.h: No such file or directory
    6 | #include <sys/processor.h>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.


Failed to compile lib/xs/solaris_processor_affinity.xs

powerpc64le-linux-gnu-gcc -I/usr/lib/powerpc64le-linux-gnu/perl/5.32/CORE -DVERSION="1.13_01" -DXS_VERSION="1.13_01" -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_bind.o lib/xs/solaris_processor_bind.c
lib/xs/solaris_processor_bind.xs:6:10: fatal error: sys/processor.h: No such file or directory
    6 | #include <sys/processor.h>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.


Failed to compile lib/xs/solaris_processor_bind.xs

powerpc64le-linux-gnu-gcc -I/usr/lib/powerpc64le-linux-gnu/perl/5.32/CORE -DVERSION="1.13_01" -DXS_VERSION="1.13_01" -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:10: fatal error: windows.h: No such file or directory
    5 | #include <windows.h>
      |          ^~~~~~~~~~~
compilation terminated.


Failed to compile lib/xs/win32_processaffinity.xs

powerpc64le-linux-gnu-gcc -I/usr/lib/powerpc64le-linux-gnu/perl/5.32/CORE -DVERSION="1.13_01" -DXS_VERSION="1.13_01" -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:10: fatal error: w32api/windows.h: No such file or directory
    6 | #include <w32api/windows.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.


Failed to compile lib/xs/win32_system_info.xs

powerpc64le-linux-gnu-gcc -I/usr/lib/powerpc64le-linux-gnu/perl/5.32/CORE -DVERSION="1.13_01" -DXS_VERSION="1.13_01" -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:10: fatal error: windows.h: No such file or directory
    6 | #include <windows.h>
      |          ^~~~~~~~~~~
compilation terminated.


Failed to compile lib/xs/win32_system_info_alt.xs

powerpc64le-linux-gnu-gcc -I/usr/lib/powerpc64le-linux-gnu/perl/5.32/CORE -DVERSION="1.13_01" -DXS_VERSION="1.13_01" -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:10: fatal error: windows.h: No such file or directory
    5 | #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
======================================


    NOTE: it is normal for most of xs
          compilations to fail.

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

powerpc64le-linux-gnu-gcc -I/usr/lib/powerpc64le-linux-gnu/perl/5.32/CORE -DVERSION="1.13_01" -DXS_VERSION="1.13_01" -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 ‘XS_Sys__CpuAffinity_xs_sched_setaffinity_set_affinity’:
lib/Sys/CpuAffinity.xs:156:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
  156 |     if (debug_flag) fprintf(stderr,"sched_setaffinity(%d,%d,...) = %d\n", pid, sizeof(cpu_set_t), r);
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~       ~~~~~~~~~~~~~~~~~
      |                                                                                |
      |                                                                                long unsigned int
ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/Sys/CpuAffinity/CpuAffinity.bs')
powerpc64le-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.13_01, Perl 5.032000, /usr/bin/perl, linux
t/00-load.t .......... 
1..1
ok 1 - use Sys::CpuAffinity;
ok


System configuration
====================
$^O = linux; $] = 5.032000
$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
module Math::BigInt: 1 v1.999818 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

Math::BigInt sanity checks
==========================
Version 1.999818
    Check 1: 1/1
    Check 2: 1/1
    Check 3: 1/1
No issue found

t/02-available.t ..... 
1..1
ok 1
ok

#   Failed test 'setCpuAffinity set affinity to 0 == 2722258935367507707706996859454145691648 != 18446744073709551615'
#   at t/10-exercise.t line 45.

#   Failed test 'bind to all processors successful 18446744073709551615 == 1461501637330902918203684832716283019655932542976-1'
#   at t/10-exercise.t line 60.
getAffinity() is 18446744073709551615, expected 1461501637330902918203684832716283019655932542975
comp1 = 
comp2 = 

#   Failed test 'setCpuAffinity set affinity to 2501818707618037761 == 0xffffffffffffffff != 18446744073709551615'
#   at t/10-exercise.t line 88.

#   Failed test 'setAffinity(-1) binds to all processors'
#   at t/10-exercise.t line 101.
getAffinity() after setAffinity(-1) is 18446744073709551615, expected 1461501637330902918203684832716283019655932542975
comp1 = 
comp2 = 
result: -1 3 ESRCH
result: -1 3 ESRCH
Sys::CpuAffinity: invalid mask 0 in call to setAffinty
 at t/10-exercise.t line 116.
Sys::CpuAffinity: mask 1461501637330902918203684832716283019655932542976 is not valid for system with 160 processors.
 at t/10-exercise.t line 117.

#   Failed test 'set pseudo-proc affinity to 583304726548617000000000000000000000000000000001 == 1144292923899117569 != 18446744073709551615'
#   at t/10-exercise.t line 189.
# 1/<1144292923899117569>==583304726548617000000000000000000000000000000001
# child output [3] was getAffinity2:1144292923899117569
# Looks like you failed 5 tests of 14.
t/10-exercise.t ...... 
1..14
ok 1 - discovered 160 processors
ok 2 - got current process affinity 18446744073709551615
ok 3 - simple setCpuAffinity returned non-zero
not ok 4 - setCpuAffinity set affinity to 0 == 2722258935367507707706996859454145691648 != 18446744073709551615
ok 5 - clear simple setCpuAffinity returned non-zero
not ok 6 - bind to all processors successful 18446744073709551615 == 1461501637330902918203684832716283019655932542976-1
ok 7 - complex setCpuAffinity returned non-zero
not ok 8 - setCpuAffinity set affinity to 2501818707618037761 == 0xffffffffffffffff != 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
not ok 14 - set pseudo-proc affinity to 583304726548617000000000000000000000000000000001 == 1144292923899117569 != 18446744073709551615
Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/14 subtests 


=================================================
Num processors =
    bindprocessor                  - 0 -
    BSD_Process_Affinity           - 0 -
    dmesg_bsd                      - 0 -
    dmesg_solaris                  - 0 -
    ENV                            - 0 -
    hinv                           - 0 -
    hwprefs                        - 0 -
    lsdev                          - 0 -
    proc_cpuinfo                   - 160 -
    proc_stat                      - 160 -
    prtconf                        - 0 -
    psrinfo                        - 0 -
    sysctl                         - 0 -
    sysctl_freebsd                 - 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_freebsd_getaffinity         ==> 0
    xs_freebsd_getaffinity_debug   ==> 0
    xs_irix_sysmp                  ==> 0
    xs_processor_affinity          ==> 0
    xs_processor_bind              ==> 0
    xs_pthread_self_getaffinity    ==> 0
    xs_sched_getaffinity           ==> 18446744073709551615
    xs_win32                       ==> 0
    xs_DEBUG_sched_getaffinity     ==> skip


==================================================
Set affinity =
    bindprocessor                  =>  32 ==> 18446744073709551615   [FAIL]
    BSD_Process_Affinity           => 2882303761517117440 ==> 18446744073709551615   [FAIL]
    cpuset                         => 618970019642848467123961856 ==> 18446744073709551615   [FAIL]
    pbind                          => 42535298400418508389380910466073624576 ==> 18446744073709551615   [FAIL]
    taskset                        => 2865645758011185074306309826901376627839598592 ==> 18446744073709551615   [FAIL]
    Win32API                       => 913795335254990813847567591940039261069590398016 ==> 18446744073709551615   [FAIL]
    Win32Process                   => 11430527071951320207737258992397617673850060800 ==> 18446744073709551615   [FAIL]
    xs_freebsd_setaffinity         => 5192296935906375231771977759854592 ==> 18446744073709551615   [FAIL]
    xs_irix_sysmp                  => 23193471904759302149247695969572144229709250560 ==> 18446744073709551615   [FAIL]
    xs_processor_affinity          => 713626653682507038281742482372215450466648320 ==> 18446744073709551615   [FAIL]
    xs_processor_bind              => 340282691439530807520940744765576594464 ==> 18446744073709551615   [FAIL]
    xs_pthread_self_setaffinity    => 11237487543734832460376752688317285034688512 ==> 18446744073709551615   [FAIL]
    xs_sched_setaffinity           => 33451117797958848549928562953213308854870033 ==> 36028835673677841   [ ok ]
    xs_win32                       => 91522258294770001891416397407194661452536381440 ==> 36028835673677841   [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 160 cpus.

#   Failed test 'got affinity 0 == 332306998946228968225951765070086144'
#   at t/12-32cpus.t line 50.

#   Failed test 'got affinity 18446744073709551615 == 1461501637330902918203684832716283019655932542975'
#   at t/12-32cpus.t line 59.
# Looks like you failed 2 tests of 6.
t/12-32cpus.t ........ 
1..6
ok 1 - getNumCpus() returns 160>=32 (possibly after redefine)
ok 2 - got affinity 18446744073709551615
ok 3 - set affinity ok on 32-cpu system 1 != 0
not ok 4 - got affinity 0 == 332306998946228968225951765070086144
ok 5 - clear affinity probably ok on 32-cpu system 1 != 0
not ok 6 - got affinity 18446744073709551615 == 1461501637330902918203684832716283019655932542975
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/6 subtests 

Test Summary Report
-------------------
t/10-exercise.t    (Wstat: 1280 Tests: 14 Failed: 5)
  Failed tests:  4, 6, 8, 10, 14
  Non-zero exit status: 5
t/12-32cpus.t      (Wstat: 512 Tests: 6 Failed: 2)
  Failed tests:  4, 6
  Non-zero exit status: 2
Files=5, Tests=24,  5 wallclock secs ( 0.03 usr  0.01 sys +  2.08 cusr  0.07 csys =  2.19 CPU)
Result: FAIL
Failed 2/5 test programs. 7/24 subtests failed.
dh_auto_test: error: perl Build test --verbose 1 returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2020-12-24T11:01:21Z

Finished
--------


+------------------------------------------------------------------------------+
| Cleanup                                                                      |
+------------------------------------------------------------------------------+

Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use
E: Build failure (dpkg-buildpackage died)

+------------------------------------------------------------------------------+
| Summary                                                                      |
+------------------------------------------------------------------------------+

Build Architecture: ppc64el
Build Type: full
Build-Space: 920
Build-Time: 11
Distribution: unstable
Fail-Stage: build
Host Architecture: ppc64el
Install-Time: 32
Job: libsys-cpuaffinity-perl_1.13~01-1
Machine Architecture: ppc64el
Package: libsys-cpuaffinity-perl
Package-Time: 50
Source-Version: 1.13~01-1
Space: 920
Status: attempted
Version: 1.13~01-1
--------------------------------------------------------------------------------
Finished at 2020-12-24T11:01:21Z
Build needed 00:00:50, 920k disk space
E: Build failure (dpkg-buildpackage died)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20201224/8723fb75/attachment-0001.sig>


More information about the pkg-perl-maintainers mailing list