I: pbuilder: network access will be disabled during build I: Current time: Fri Jun 2 08:17:32 -12 2023 I: pbuilder-time-stamp: 1685737052 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [libcap2_2.66-4.dsc] I: copying [./libcap2_2.66.orig.tar.xz] I: copying [./libcap2_2.66-4.debian.tar.xz] I: Extracting source gpgv: Signature made Mon May 15 08:49:38 2023 -12 gpgv: using RSA key 419F7E9A47C3AB9519F1B0A339953A37DE4EB36B gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./libcap2_2.66-4.dsc: no acceptable signature found dpkg-source: info: extracting libcap2 in libcap2-2.66 dpkg-source: info: unpacking libcap2_2.66.orig.tar.xz dpkg-source: info: unpacking libcap2_2.66-4.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying Hide-private-symbols.patch dpkg-source: info: applying Filter-out-PIE-flags-when-building-shared-objects.patch dpkg-source: info: applying Correct-the-check-of-pthread_create-s-return-value.patch dpkg-source: info: applying Large-strings-can-confuse-libcap-s-internal-strdup-code.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/898260/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='amd64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15 ' DISTRIBUTION='bookworm' HOME='/root' HOST_ARCH='amd64' IFS=' ' INVOCATION_ID='91436153df6d4978bc9cde72b6c3e151' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='898260' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.waPdpf4y/pbuilderrc_DRZo --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.waPdpf4y/b1 --logfile b1/build.log libcap2_2.66-4.dsc' SUDO_GID='111' SUDO_UID='106' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://78.137.99.97:3128' I: uname -a Linux ionos11-amd64 5.10.0-23-amd64 #1 SMP Debian 5.10.179-1 (2023-05-12) x86_64 GNU/Linux I: ls -l /bin total 5632 -rwxr-xr-x 1 root root 1265648 Apr 23 09:23 bash -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzcat lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzip2 -rwxr-xr-x 1 root root 14568 Sep 18 2022 bzip2recover lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore -rwxr-xr-x 1 root root 44016 Sep 20 2022 cat -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp -rwxr-xr-x 1 root root 125640 Jan 5 01:20 dash -rwxr-xr-x 1 root root 121904 Sep 20 2022 date -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd -rwxr-xr-x 1 root root 102200 Sep 20 2022 df -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir -rwxr-xr-x 1 root root 88656 Mar 22 22:02 dmesg lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep -rwxr-xr-x 1 root root 35664 Sep 20 2022 false -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep -rwxr-xr-x 1 root root 85600 Mar 22 22:02 findmnt -rwsr-xr-x 1 root root 35128 Mar 22 20:35 fusermount -rwxr-xr-x 1 root root 203152 Jan 24 02:43 grep -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe -rwxr-xr-x 1 root root 98136 Apr 9 2022 gzip -rwxr-xr-x 1 root root 22680 Dec 19 01:33 hostname -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln -rwxr-xr-x 1 root root 53024 Mar 23 00:40 login -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls -rwxr-xr-x 1 root root 207168 Mar 22 22:02 lsblk -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp -rwxr-xr-x 1 root root 59712 Mar 22 22:02 more -rwsr-xr-x 1 root root 59704 Mar 22 22:02 mount -rwxr-xr-x 1 root root 18744 Mar 22 22:02 mountpoint -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd lrwxrwxrwx 1 root root 4 Apr 23 09:23 rbash -> bash -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir -rwxr-xr-x 1 root root 27560 Nov 2 2022 run-parts -rwxr-xr-x 1 root root 126424 Jan 5 07:55 sed lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty -rwsr-xr-x 1 root root 72000 Mar 22 22:02 su -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync -rwxr-xr-x 1 root root 531984 Apr 6 02:25 tar -rwxr-xr-x 1 root root 14520 Nov 2 2022 tempfile -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch -rwxr-xr-x 1 root root 35664 Sep 20 2022 true -rwxr-xr-x 1 root root 14568 Mar 22 20:35 ulockmgr_server -rwsr-xr-x 1 root root 35128 Mar 22 22:02 umount -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir -rwxr-xr-x 1 root root 72024 Mar 22 22:02 wdctl lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew I: user script /srv/workspace/pbuilder/898260/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: chrpath, debhelper-compat (= 13), gperf (>= 3.1), indent, libpam0g-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19591 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on chrpath; however: Package chrpath is not installed. pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on gperf (>= 3.1); however: Package gperf is not installed. pbuilder-satisfydepends-dummy depends on indent; however: Package indent is not installed. pbuilder-satisfydepends-dummy depends on libpam0g-dev; however: Package libpam0g-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} chrpath{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} gperf{a} groff-base{a} indent{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1{a} libpam0g-dev{a} libpipeline1{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 34 newly installed, 0 to remove and 0 not upgraded. Need to get 19.2 MB of archives. After unpacking 73.6 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bookworm/main amd64 sensible-utils all 0.0.17+nmu1 [19.0 kB] Get: 2 http://deb.debian.org/debian bookworm/main amd64 libmagic-mgc amd64 1:5.44-3 [305 kB] Get: 3 http://deb.debian.org/debian bookworm/main amd64 libmagic1 amd64 1:5.44-3 [104 kB] Get: 4 http://deb.debian.org/debian bookworm/main amd64 file amd64 1:5.44-3 [42.5 kB] Get: 5 http://deb.debian.org/debian bookworm/main amd64 gettext-base amd64 0.21-12 [160 kB] Get: 6 http://deb.debian.org/debian bookworm/main amd64 libuchardet0 amd64 0.0.7-1 [67.8 kB] Get: 7 http://deb.debian.org/debian bookworm/main amd64 groff-base amd64 1.22.4-10 [916 kB] Get: 8 http://deb.debian.org/debian bookworm/main amd64 bsdextrautils amd64 2.38.1-5+b1 [86.6 kB] Get: 9 http://deb.debian.org/debian bookworm/main amd64 libpipeline1 amd64 1.5.7-1 [38.5 kB] Get: 10 http://deb.debian.org/debian bookworm/main amd64 man-db amd64 2.11.2-2 [1386 kB] Get: 11 http://deb.debian.org/debian bookworm/main amd64 m4 amd64 1.4.19-3 [287 kB] Get: 12 http://deb.debian.org/debian bookworm/main amd64 autoconf all 2.71-3 [332 kB] Get: 13 http://deb.debian.org/debian bookworm/main amd64 autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian bookworm/main amd64 automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian bookworm/main amd64 autopoint all 0.21-12 [495 kB] Get: 16 http://deb.debian.org/debian bookworm/main amd64 chrpath amd64 0.16-2+b1 [17.1 kB] Get: 17 http://deb.debian.org/debian bookworm/main amd64 libdebhelper-perl all 13.11.4 [81.2 kB] Get: 18 http://deb.debian.org/debian bookworm/main amd64 libtool all 2.4.7-5 [517 kB] Get: 19 http://deb.debian.org/debian bookworm/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 20 http://deb.debian.org/debian bookworm/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 21 http://deb.debian.org/debian bookworm/main amd64 libsub-override-perl all 0.09-4 [9304 B] Get: 22 http://deb.debian.org/debian bookworm/main amd64 libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 23 http://deb.debian.org/debian bookworm/main amd64 dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 24 http://deb.debian.org/debian bookworm/main amd64 libelf1 amd64 0.188-2.1 [174 kB] Get: 25 http://deb.debian.org/debian bookworm/main amd64 dwz amd64 0.15-1 [109 kB] Get: 26 http://deb.debian.org/debian bookworm/main amd64 libicu72 amd64 72.1-3 [9376 kB] Get: 27 http://deb.debian.org/debian bookworm/main amd64 libxml2 amd64 2.9.14+dfsg-1.2 [687 kB] Get: 28 http://deb.debian.org/debian bookworm/main amd64 gettext amd64 0.21-12 [1300 kB] Get: 29 http://deb.debian.org/debian bookworm/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 30 http://deb.debian.org/debian bookworm/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 31 http://deb.debian.org/debian bookworm/main amd64 debhelper all 13.11.4 [942 kB] Get: 32 http://deb.debian.org/debian bookworm/main amd64 gperf amd64 3.1-1 [147 kB] Get: 33 http://deb.debian.org/debian bookworm/main amd64 indent amd64 2.2.12-4 [124 kB] Get: 34 http://deb.debian.org/debian bookworm/main amd64 libpam0g-dev amd64 1.5.2-6 [148 kB] Fetched 19.2 MB in 0s (53.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19591 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.17+nmu1_all.deb ... Unpacking sensible-utils (0.0.17+nmu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.44-3_amd64.deb ... Unpacking libmagic-mgc (1:5.44-3) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../02-libmagic1_1%3a5.44-3_amd64.deb ... Unpacking libmagic1:amd64 (1:5.44-3) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.44-3_amd64.deb ... Unpacking file (1:5.44-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.21-12_amd64.deb ... Unpacking gettext-base (0.21-12) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../05-libuchardet0_0.0.7-1_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.22.4-10_amd64.deb ... Unpacking groff-base (1.22.4-10) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.38.1-5+b1_amd64.deb ... Unpacking bsdextrautils (2.38.1-5+b1) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../08-libpipeline1_1.5.7-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.7-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.11.2-2_amd64.deb ... Unpacking man-db (2.11.2-2) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-3_amd64.deb ... Unpacking m4 (1.4.19-3) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.21-12_all.deb ... Unpacking autopoint (0.21-12) ... Selecting previously unselected package chrpath. Preparing to unpack .../15-chrpath_0.16-2+b1_amd64.deb ... Unpacking chrpath (0.16-2+b1) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../16-libdebhelper-perl_13.11.4_all.deb ... Unpacking libdebhelper-perl (13.11.4) ... Selecting previously unselected package libtool. Preparing to unpack .../17-libtool_2.4.7-5_all.deb ... Unpacking libtool (2.4.7-5) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../18-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... 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-4_all.deb ... Unpacking libsub-override-perl (0.09-4) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../21-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../22-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1:amd64. Preparing to unpack .../23-libelf1_0.188-2.1_amd64.deb ... Unpacking libelf1:amd64 (0.188-2.1) ... Selecting previously unselected package dwz. Preparing to unpack .../24-dwz_0.15-1_amd64.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package libicu72:amd64. Preparing to unpack .../25-libicu72_72.1-3_amd64.deb ... Unpacking libicu72:amd64 (72.1-3) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../26-libxml2_2.9.14+dfsg-1.2_amd64.deb ... Unpacking libxml2:amd64 (2.9.14+dfsg-1.2) ... Selecting previously unselected package gettext. Preparing to unpack .../27-gettext_0.21-12_amd64.deb ... Unpacking gettext (0.21-12) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../28-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../29-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../30-debhelper_13.11.4_all.deb ... Unpacking debhelper (13.11.4) ... Selecting previously unselected package gperf. Preparing to unpack .../31-gperf_3.1-1_amd64.deb ... Unpacking gperf (3.1-1) ... Selecting previously unselected package indent. Preparing to unpack .../32-indent_2.2.12-4_amd64.deb ... Unpacking indent (2.2.12-4) ... Selecting previously unselected package libpam0g-dev:amd64. Preparing to unpack .../33-libpam0g-dev_1.5.2-6_amd64.deb ... Unpacking libpam0g-dev:amd64 (1.5.2-6) ... Setting up libpipeline1:amd64 (1.5.7-1) ... Setting up libicu72:amd64 (72.1-3) ... Setting up bsdextrautils (2.38.1-5+b1) ... Setting up libpam0g-dev:amd64 (1.5.2-6) ... Setting up libmagic-mgc (1:5.44-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.11.4) ... Setting up libmagic1:amd64 (1:5.44-3) ... Setting up gettext-base (0.21-12) ... Setting up m4 (1.4.19-3) ... Setting up file (1:5.44-3) ... Setting up gperf (3.1-1) ... Setting up autotools-dev (20220109.1) ... Setting up autopoint (0.21-12) ... Setting up autoconf (2.71-3) ... Setting up sensible-utils (0.0.17+nmu1) ... Setting up libuchardet0:amd64 (0.0.7-1) ... Setting up libsub-override-perl (0.09-4) ... Setting up indent (2.2.12-4) ... Setting up libelf1:amd64 (0.188-2.1) ... Setting up libxml2:amd64 (2.9.14+dfsg-1.2) ... Setting up chrpath (0.16-2+b1) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up gettext (0.21-12) ... Setting up libtool (2.4.7-5) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up dwz (0.15-1) ... Setting up groff-base (1.22.4-10) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.11.2-2) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.11.4) ... Processing triggers for libc-bin (2.36-9) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/libcap2-2.66/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../libcap2_2.66-4_source.changes dpkg-buildpackage: info: source package libcap2 dpkg-buildpackage: info: source version 1:2.66-4 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Christian Kastner dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean debian/rules override_dh_auto_clean make[1]: Entering directory '/build/libcap2-2.66' dh_auto_clean -- FORCELINKPAM=yes GOLANG=no make -j15 distclean FORCELINKPAM=yes GOLANG=no make[2]: Entering directory '/build/libcap2-2.66' rm -f *~ core make -C libcap clean make[3]: Entering directory '/build/libcap2-2.66/libcap' rm -f *~ core rm -f cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_file.o libcap.so* libcap.a libcap.pc rm -f ../psx/psx.o libpsx.so* libpsx.a libpsx.pc rm -f cap_names.h cap_names.list.h _makenames _caps_output.gperf cap_test rm -f include/sys/psx_syscall.h rm -f cap_magic.o psx_magic.o empty loader.txt cd include/sys && rm -f *~ core make[3]: Leaving directory '/build/libcap2-2.66/libcap' make -C pam_cap clean make[3]: Entering directory '/build/libcap2-2.66/pam_cap' rm -f *.o *.so testlink lazylink.so test_pam_cap pam_cap_linkopts *~ rm -f LIBCAP make[3]: Leaving directory '/build/libcap2-2.66/pam_cap' make -C tests clean make[3]: Entering directory '/build/libcap2-2.66/tests' rm -f psx_test libcap_psx_test libcap_launch_test uns_test *~ rm -f libcap_launch_test libcap_psx_launch_test core noop rm -f exploit noexploit exploit.o make[3]: Leaving directory '/build/libcap2-2.66/tests' make -C progs clean make[3]: Entering directory '/build/libcap2-2.66/progs' rm -f *~ core rm -f *.o getpcaps getcap setcap privileged ping hack.sh compare-cap uns_test rm -f capsh tcapsh* capshdoc.*.cf make[3]: Leaving directory '/build/libcap2-2.66/progs' make -C doc clean make[3]: Entering directory '/build/libcap2-2.66/doc' rm -f *~ core rm -rf html make[3]: Leaving directory '/build/libcap2-2.66/doc' CONFIRM Go package cap has right version dependency on cap/psx: for x in $(find . -name go.mod); do grep -F -v "module" $x | grep -F "kernel.org/pub/linux/libs/security/libcap" > /dev/null || continue ; grep -F "v1.2.66" $x > /dev/null && continue ; echo "$x is not updated. Try running: ./gomods.sh v1.2.66" ; exit 1 ; done ALL go.mod files updated Confirm headers export current version grep -F "#define LIBCAP_MAJOR 2" libcap/include/sys/capability.h #define LIBCAP_MAJOR 2 grep -F "#define LIBCAP_MINOR 66" libcap/include/sys/capability.h #define LIBCAP_MINOR 66 Now validate that everything is checked in to a clean tree.. test -z "$(git status --ignored -s)" /bin/sh: 1: git: not found All good! make[2]: Leaving directory '/build/libcap2-2.66' make[1]: Leaving directory '/build/libcap2-2.66' dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf dh_auto_configure debian/rules override_dh_auto_build make[1]: Entering directory '/build/libcap2-2.66' # See pam_cap/Makefile for FORCELINKPAM dh_auto_build -- \ FORCELINKPAM=yes GOLANG=no \ BUILD_CC=cc \ CROSS_COMPILE=x86_64-linux-gnu- \ \ DYNAMIC=yes \ SUDO= make -j15 "INSTALL=install --strip-program=true" FORCELINKPAM=yes GOLANG=no BUILD_CC=cc CROSS_COMPILE=x86_64-linux-gnu- DYNAMIC=yes SUDO= make[2]: Entering directory '/build/libcap2-2.66' make -C libcap all make[3]: Entering directory '/build/libcap2-2.66/libcap' sed -e 's,@prefix@,/usr,' \ -e 's,@exec_prefix@,,' \ -e 's,@libdir@,/lib64,' \ -e 's,@includedir@,/usr/include,' \ -e 's,@VERSION@,2.66,' \ -e 's,@deps@,,' \ libcap.pc.in >libcap.pc => making cap_names.list.h from /build/libcap2-2.66/libcap/../libcap/include/uapi/linux/capability.h grep -E '^#define\s+CAP_([^\s]+)\s+[0-9]+\s*$' include/uapi/linux/capability.h | sed -e 's/^#define\s\+/{"/' -e 's/\s*$/},/' -e 's/\s\+/",/' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/' > cap_names.list.h make libpsx.pc make[4]: Entering directory '/build/libcap2-2.66/libcap' cc -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/libcap/include/uapi -I/build/libcap2-2.66/libcap/include -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/libcap/../libcap/include/uapi -I/build/libcap2-2.66/libcap/../libcap/include _makenames.c -o _makenames (cat cap_names.header ; sed -e 's/[\{\}"]//g' -e 's/,$//' cap_names.list.h) | gperf --ignore-case --language=ANSI-C --readonly --null-strings --global-table --hash-function-name=__cap_hash_name --lookup-function-name="__cap_lookup_name" -c -t -m20 | indent -kr > _caps_output.gperf sed -e 's/unsigned int len/size_t len/' -i _caps_output.gperf sed -e 's,@prefix@,/usr,' \ -e 's,@exec_prefix@,,' \ -e 's,@libdir@,/lib64,' \ -e 's,@includedir@,/usr/include,' \ -e 's,@VERSION@,2.66,' \ -e 's,@deps@,,' \ libpsx.pc.in >libpsx.pc make[4]: Leaving directory '/build/libcap2-2.66/libcap' ./_makenames > cap_names.h x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/libcap/include/uapi -I/build/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/libcap/../libcap/include/uapi -I/build/libcap2-2.66/libcap/../libcap/include -c cap_alloc.c -o cap_alloc.o x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/libcap/include/uapi -I/build/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/libcap/../libcap/include/uapi -I/build/libcap2-2.66/libcap/../libcap/include -c cap_proc.c -o cap_proc.o x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/libcap/include/uapi -I/build/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/libcap/../libcap/include/uapi -I/build/libcap2-2.66/libcap/../libcap/include -c cap_extint.c -o cap_extint.o x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/libcap/include/uapi -I/build/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/libcap/../libcap/include/uapi -I/build/libcap2-2.66/libcap/../libcap/include -c cap_flag.c -o cap_flag.o x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/libcap/include/uapi -I/build/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/libcap/../libcap/include/uapi -I/build/libcap2-2.66/libcap/../libcap/include -DINCLUDE_GPERF_OUTPUT='"_caps_output.gperf"' -c cap_text.c -o cap_text.o x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/libcap/include/uapi -I/build/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/libcap/../libcap/include/uapi -I/build/libcap2-2.66/libcap/../libcap/include -c cap_file.c -o cap_file.o x86_64-linux-gnu-ar rcs libcap.a cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_file.o x86_64-linux-gnu-ranlib libcap.a make libcap.so make[4]: Entering directory '/build/libcap2-2.66/libcap' x86_64-linux-gnu-gcc -o empty empty.c x86_64-linux-gnu-objcopy --dump-section .interp=loader.txt empty /dev/null x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/libcap/include/uapi -I/build/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/libcap/../libcap/include/uapi -I/build/libcap2-2.66/libcap/../libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/libcap/../libcap/include/uapi -I/build/libcap2-2.66/libcap/../libcap/include -DLIBRARY_VERSION=\"libcap-2.66\" -DSHARED_LOADER=\"/lib64/ld-linux-x86-64.so.2\" -include ./libcap.h -c execable.c -o cap_magic.o x86_64-linux-gnu-gcc -Wl,-x -shared -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wl,-z,relro -Wl,-z,now -Wl,-soname,libcap.so.2 -o libcap.so.2.66 cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_file.o cap_magic.o -Wl,-e,__so_start ln -sf libcap.so.2.66 libcap.so.2 ln -sf libcap.so.2 libcap.so make[4]: Leaving directory '/build/libcap2-2.66/libcap' make libpsx.a make[4]: Entering directory '/build/libcap2-2.66/libcap' x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/libcap/include/uapi -I/build/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/libcap/../libcap/include/uapi -I/build/libcap2-2.66/libcap/../libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/libcap/../libcap/include/uapi -I/build/libcap2-2.66/libcap/../libcap/include -c ../psx/psx.c -o ../psx/psx.o rm -f include/sys/psx_syscall.h ln -s ../../../psx/psx_syscall.h include/sys/psx_syscall.h x86_64-linux-gnu-ar rcs libpsx.a ../psx/psx.o x86_64-linux-gnu-ranlib libpsx.a make[4]: Leaving directory '/build/libcap2-2.66/libcap' make libpsx.so make[4]: Entering directory '/build/libcap2-2.66/libcap' x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/libcap/include/uapi -I/build/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/libcap/../libcap/include/uapi -I/build/libcap2-2.66/libcap/../libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/libcap/../libcap/include/uapi -I/build/libcap2-2.66/libcap/../libcap/include -DLIBRARY_VERSION=\"libpsx-2.66\" -DSHARED_LOADER=\"/lib64/ld-linux-x86-64.so.2\" -c psx_exec.c -o psx_magic.o x86_64-linux-gnu-gcc -Wl,-x -shared -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wl,-z,relro -Wl,-z,now -Wl,-soname,libpsx.so.2 -o libpsx.so.2.66 ../psx/psx.o psx_magic.o -Wl,-e,__so_start -lpthread -Wl,-wrap,pthread_create ln -sf libpsx.so.2.66 libpsx.so.2 ln -sf libpsx.so.2 libpsx.so make[4]: Leaving directory '/build/libcap2-2.66/libcap' make[3]: Leaving directory '/build/libcap2-2.66/libcap' make -C pam_cap all make[3]: Entering directory '/build/libcap2-2.66/pam_cap' x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/libcap/include/uapi -I/build/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/pam_cap/../libcap/include/uapi -I/build/libcap2-2.66/pam_cap/../libcap/include -c -o pam_cap.o pam_cap.c x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/libcap/include/uapi -I/build/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/pam_cap/../libcap/include/uapi -I/build/libcap2-2.66/pam_cap/../libcap/include -DLIBCAP_VERSION=\"libcap-2.66\" -DSHARED_LOADER=\"/lib64/ld-linux-x86-64.so.2\" -c execable.c -o execable.o echo "-Wl,-e,__so_start -lpam" > pam_cap_linkopts make -C ../libcap all make[4]: Entering directory '/build/libcap2-2.66/libcap' make libpsx.pc make[5]: Entering directory '/build/libcap2-2.66/libcap' make[5]: 'libpsx.pc' is up to date. make[5]: Leaving directory '/build/libcap2-2.66/libcap' make libcap.so make[5]: Entering directory '/build/libcap2-2.66/libcap' make[5]: 'libcap.so' is up to date. make[5]: Leaving directory '/build/libcap2-2.66/libcap' make libpsx.a make[5]: Entering directory '/build/libcap2-2.66/libcap' make[5]: 'libpsx.a' is up to date. make[5]: Leaving directory '/build/libcap2-2.66/libcap' make libpsx.so make[5]: Entering directory '/build/libcap2-2.66/libcap' make[5]: 'libpsx.so' is up to date. make[5]: Leaving directory '/build/libcap2-2.66/libcap' make[4]: Leaving directory '/build/libcap2-2.66/libcap' touch LIBCAP cat pam_cap_linkopts | xargs -e x86_64-linux-gnu-gcc -Wl,-x -shared -Wl,-z,relro -Wl,-z,now -o pam_cap.so pam_cap.o execable.o -L/build/libcap2-2.66/pam_cap/../libcap -lcap make testlink make[4]: Entering directory '/build/libcap2-2.66/pam_cap' x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/libcap/include/uapi -I/build/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/pam_cap/../libcap/include/uapi -I/build/libcap2-2.66/pam_cap/../libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/pam_cap/../libcap/include/uapi -I/build/libcap2-2.66/pam_cap/../libcap/include -c -o test.o test.c x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wl,-z,relro -Wl,-z,now -o testlink test.o pam_cap.o -lpam -ldl -L/build/libcap2-2.66/pam_cap/../libcap -lcap make[4]: Leaving directory '/build/libcap2-2.66/pam_cap' make[3]: Leaving directory '/build/libcap2-2.66/pam_cap' make -C tests all make[3]: Entering directory '/build/libcap2-2.66/tests' leave test building to test target make[3]: Leaving directory '/build/libcap2-2.66/tests' make -C progs all make[3]: Entering directory '/build/libcap2-2.66/progs' x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wdate-time -D_FORTIFY_SOURCE=2 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/libcap/include/uapi -I/build/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/progs/../libcap/include/uapi -I/build/libcap2-2.66/progs/../libcap/include -c getpcaps.c -o getpcaps.o x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wdate-time -D_FORTIFY_SOURCE=2 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/libcap/include/uapi -I/build/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/progs/../libcap/include/uapi -I/build/libcap2-2.66/progs/../libcap/include -c getcap.c -o getcap.o x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wdate-time -D_FORTIFY_SOURCE=2 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/libcap/include/uapi -I/build/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/progs/../libcap/include/uapi -I/build/libcap2-2.66/progs/../libcap/include -c setcap.c -o setcap.o ./mkcapshdoc.sh > capshdoc.c.cf x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wl,-z,relro -Wl,-z,now -o getpcaps getpcaps.o -L/build/libcap2-2.66/progs/../libcap -lcap x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wl,-z,relro -Wl,-z,now -o getcap getcap.o -L/build/libcap2-2.66/progs/../libcap -lcap x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wl,-z,relro -Wl,-z,now -o setcap setcap.o -L/build/libcap2-2.66/progs/../libcap -lcap diff -u capshdoc.c capshdoc.c.cf || (rm capshdoc.c.cf ; exit 1) x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wdate-time -D_FORTIFY_SOURCE=2 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/libcap/include/uapi -I/build/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/progs/../libcap/include/uapi -I/build/libcap2-2.66/progs/../libcap/include -Wl,-z,relro -Wl,-z,now -o capsh capsh.c capshdoc.c -L/build/libcap2-2.66/progs/../libcap -lcap make[3]: Leaving directory '/build/libcap2-2.66/progs' make -C doc all make[3]: Entering directory '/build/libcap2-2.66/doc' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/libcap2-2.66/doc' make[2]: Leaving directory '/build/libcap2-2.66' # Some of test suite is only invoked when run as real root. Explicitly # build all binaries so we can include them in the autopkgtest. dh_auto_build -D libcap -- FORCELINKPAM=yes GOLANG=no cap_test cd libcap && make -j15 "INSTALL=install --strip-program=true" FORCELINKPAM=yes GOLANG=no cap_test make[2]: Entering directory '/build/libcap2-2.66/libcap' gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/libcap/../libcap/include/uapi -I/build/libcap2-2.66/libcap/../libcap/include -Wl,-z,relro -Wl,-z,now cap_test.c cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_file.o -o cap_test make[2]: Leaving directory '/build/libcap2-2.66/libcap' dh_auto_build -D pam_cap -- FORCELINKPAM=yes GOLANG=no test_pam_cap cd pam_cap && make -j15 "INSTALL=install --strip-program=true" FORCELINKPAM=yes GOLANG=no test_pam_cap make[2]: Entering directory '/build/libcap2-2.66/pam_cap' gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/pam_cap/../libcap/include/uapi -I/build/libcap2-2.66/pam_cap/../libcap/include -o test_pam_cap test_pam_cap.c -L/build/libcap2-2.66/pam_cap/../libcap -lcap --static make[2]: Leaving directory '/build/libcap2-2.66/pam_cap' # Change lookup from sibling dir to current dir sed -i -e 's,\.\./progs/tcapsh-static,./tcapsh-static,g' tests/libcap_launch_test.c dh_auto_build -D tests -- FORCELINKPAM=yes GOLANG=no \ psx_test \ libcap_psx_test \ uns_test \ libcap_launch_test \ libcap_psx_launch_test \ noop \ exploit \ noexploit cd tests && make -j15 "INSTALL=install --strip-program=true" FORCELINKPAM=yes GOLANG=no psx_test libcap_psx_test uns_test libcap_launch_test libcap_psx_launch_test noop exploit noexploit make[2]: Entering directory '/build/libcap2-2.66/tests' gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wdate-time -D_FORTIFY_SOURCE=2 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/tests/../libcap/include/uapi -I/build/libcap2-2.66/tests/../libcap/include -Wl,-z,relro -Wl,-z,now psx_test.c -o psx_test -Wl,-rpath,../libcap -L/build/libcap2-2.66/tests/../libcap -lpsx -lpthread -Wl,-wrap,pthread_create gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wdate-time -D_FORTIFY_SOURCE=2 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/tests/../libcap/include/uapi -I/build/libcap2-2.66/tests/../libcap/include -Wl,-z,relro -Wl,-z,now libcap_psx_test.c -o libcap_psx_test -Wl,-rpath,../libcap -L/build/libcap2-2.66/tests/../libcap -lcap -L/build/libcap2-2.66/tests/../libcap -lpsx -lpthread -Wl,-wrap,pthread_create gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wdate-time -D_FORTIFY_SOURCE=2 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/tests/../libcap/include/uapi -I/build/libcap2-2.66/tests/../libcap/include -Wl,-z,relro -Wl,-z,now uns_test.c -o uns_test -Wl,-rpath,../libcap -L/build/libcap2-2.66/tests/../libcap -lcap gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wdate-time -D_FORTIFY_SOURCE=2 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/tests/../libcap/include/uapi -I/build/libcap2-2.66/tests/../libcap/include -Wl,-z,relro -Wl,-z,now libcap_launch_test.c -o libcap_launch_test -Wl,-rpath,../libcap -L/build/libcap2-2.66/tests/../libcap -lcap gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wdate-time -D_FORTIFY_SOURCE=2 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/tests/../libcap/include/uapi -I/build/libcap2-2.66/tests/../libcap/include -Wl,-z,relro -Wl,-z,now -DWITH_PTHREADS libcap_launch_test.c -o libcap_psx_launch_test -Wl,-rpath,../libcap -L/build/libcap2-2.66/tests/../libcap -lcap -L/build/libcap2-2.66/tests/../libcap -lpsx -lpthread -Wl,-wrap,pthread_create gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wdate-time -D_FORTIFY_SOURCE=2 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/tests/../libcap/include/uapi -I/build/libcap2-2.66/tests/../libcap/include noop.c -o noop --static gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wdate-time -D_FORTIFY_SOURCE=2 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/tests/../libcap/include/uapi -I/build/libcap2-2.66/tests/../libcap/include -c -o exploit.o exploit.c gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wl,-z,relro -Wl,-z,now exploit.o -o exploit -Wl,-rpath,../libcap -L/build/libcap2-2.66/tests/../libcap -lcap -lpthread gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wl,-z,relro -Wl,-z,now exploit.o -o noexploit -Wl,-rpath,../libcap -L/build/libcap2-2.66/tests/../libcap -lpsx -lpthread -Wl,-wrap,pthread_create -L/build/libcap2-2.66/tests/../libcap -lcap make[2]: Leaving directory '/build/libcap2-2.66/tests' dh_auto_build -D progs -- FORCELINKPAM=yes GOLANG=no tcapsh-static cd progs && make -j15 "INSTALL=install --strip-program=true" FORCELINKPAM=yes GOLANG=no tcapsh-static make[2]: Entering directory '/build/libcap2-2.66/progs' gcc -g -O2 -ffile-prefix-map=/build/libcap2-2.66=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wdate-time -D_FORTIFY_SOURCE=2 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/libcap2-2.66/progs/../libcap/include/uapi -I/build/libcap2-2.66/progs/../libcap/include -o tcapsh-static capsh.c capshdoc.c -L/build/libcap2-2.66/progs/../libcap -lcap --static /usr/bin/ld: /tmp/cczu8Gsb.o: in function `main': ./progs/./progs/capsh.c:901: warning: Using 'getgrouplist' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/bin/ld: /tmp/cczu8Gsb.o: in function `arg_print': ./progs/./progs/capsh.c:205: warning: Using 'getgrgid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/bin/ld: /tmp/cczu8Gsb.o: in function `main': ./progs/./progs/capsh.c:873: warning: Using 'getgrnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/bin/ld: ./progs/./progs/capsh.c:895: warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/bin/ld: /tmp/cczu8Gsb.o: in function `arg_print': ./progs/./progs/capsh.c:200: warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking make[2]: Leaving directory '/build/libcap2-2.66/progs' make[1]: Leaving directory '/build/libcap2-2.66' debian/rules override_dh_auto_test make[1]: Entering directory '/build/libcap2-2.66' dh_auto_test -- FORCELINKPAM=yes GOLANG=no make -j15 test FORCELINKPAM=yes GOLANG=no make[2]: Entering directory '/build/libcap2-2.66' make -C libcap test make[3]: Entering directory '/build/libcap2-2.66/libcap' ./cap_test test_cap_bits: being called test_cap_flags: being called test_short_bits: being called test_alloc: being called test_alloc test_alloc: drop_launcher test_alloc: drop_iab test_alloc: drop_cap test_prctl: being called tested cap_test PASS make libcapsotest make[4]: Entering directory '/build/libcap2-2.66/libcap' ./libcap.so ./libcap.so is the shared library version: libcap-2.66. See the License file for distribution information. More information on this library is available from: https://sites.google.com/site/fullycapable/ ./libcap.so --usage ./libcap.so is the shared library version: libcap-2.66. See the License file for distribution information. More information on this library is available from: https://sites.google.com/site/fullycapable/ usage: libcap.so [--help|--usage|--summary] ./libcap.so --help ./libcap.so is the shared library version: libcap-2.66. See the License file for distribution information. More information on this library is available from: https://sites.google.com/site/fullycapable/ usage: libcap.so [--help|--usage|--summary] ./libcap.so --summary ./libcap.so is the shared library version: libcap-2.66. See the License file for distribution information. More information on this library is available from: https://sites.google.com/site/fullycapable/ Current mode: HYBRID Number of cap values known to: this libcap=41, running kernel=41 make[4]: Leaving directory '/build/libcap2-2.66/libcap' make libpsxsotest make[4]: Entering directory '/build/libcap2-2.66/libcap' ./libpsx.so ./libpsx.so is the shared library version: libpsx-2.66. See the License file for distribution information. More information on this library is available from: https://sites.google.com/site/fullycapable/ make[4]: Leaving directory '/build/libcap2-2.66/libcap' make[3]: Leaving directory '/build/libcap2-2.66/libcap' make -C pam_cap test make[3]: Entering directory '/build/libcap2-2.66/pam_cap' ./test_pam_cap test_pam_cap: OK! (Skipping privileged tests (uid!=0)) LD_LIBRARY_PATH=../libcap ./pam_cap.so ./pam_cap.so (version libcap-2.66) is a PAM module to specify inheritable (IAB) capabilities via the libpam authentication abstraction. See the libcap License file for licensing information. Release notes and feature documentation for libcap and pam_cap.so can be found at: https://sites.google.com/site/fullycapable/ LD_LIBRARY_PATH=../libcap ./pam_cap.so --help ./pam_cap.so (version libcap-2.66) is a PAM module to specify inheritable (IAB) capabilities via the libpam authentication abstraction. See the libcap License file for licensing information. Release notes and feature documentation for libcap and pam_cap.so can be found at: https://sites.google.com/site/fullycapable/ ./pam_cap.so supports the following module arguments: debug - verbose logging (ignored for now) config= - override the default config with file keepcaps - workaround for apps that setuid without this autoauth - pam_cap.so to always succeed for the 'auth' phase default= - fallback IAB value if there is no '*' rule defer - apply IAB value at pam_exit (not via setcred) module can be run as an executable! make[3]: Leaving directory '/build/libcap2-2.66/pam_cap' make -C tests test make[3]: Entering directory '/build/libcap2-2.66/tests' make run_psx_test run_libcap_psx_test make[4]: Entering directory '/build/libcap2-2.66/tests' ./psx_test ./libcap_psx_test hello libcap and libpsx child 904541 starting child 904541 exiting .......... PASSED iteration [904540]: 0 hello [904540], main<0> 7ff6f8c82740 (keepcaps=1 vs. want=1) pid=904540 forked -> 904541 [904540] started=0 vs 1 [904540] started=1 vs 1 iteration [904540]: 1 hello [904540], main<1> 7ff6f8c82740 (keepcaps=0 vs. want=0) hello [904540], thread<0> 7ff6f8a866c0 (keepcaps=0 vs. want=0) [904540] started=1 vs 2 [904540] started=2 vs 2 iteration [904540]: 2 hello [904540], main<2> 7ff6f8c82740 (keepcaps=1 vs. want=1) hello [904540], thread<0> 7ff6f3fff6c0 (keepcaps=1 vs. want=1) hello [904540], thread<1> 7ff6f8a866c0 (keepcaps=1 vs. want=1) [904540] started=2 vs 3 [904540] started=3 vs 3 iteration [904540]: 3 hello [904540], main<3> 7ff6f8c82740 (keepcaps=0 vs. want=0) hello [904540], thread<2> 7ff6f8a866c0 (keepcaps=0 vs. want=0) hello [904540], thread<1> 7ff6f3fff6c0 (keepcaps=0 vs. want=0) hello [904540], thread<0> 7ff6f37fe6c0 (keepcaps=0 vs. want=0) iteration [904540]: 4 hello [904540], main<4> 7ff6f8c82740 (keepcaps=1 vs. want=1) hello [904540], thread<2> 7ff6f3fff6c0 (keepcaps=1 vs. want=1) hello [904540], thread<1> 7ff6f37fe6c0 (keepcaps=1 vs. want=1) iteration [904540]: 5 hello [904540], main<5> 7ff6f8c82740 (keepcaps=0 vs. want=0) hello [904540], thread<2> 7ff6f37fe6c0 (keepcaps=0 vs. want=0) iteration [904540]: 6 hello [904540], main<6> 7ff6f8c82740 (keepcaps=1 vs. want=1) iteration [904540]: 7 hello [904540], main<7> 7ff6f8c82740 (keepcaps=0 vs. want=0) iteration [904540]: 8 hello [904540], main<8> 7ff6f8c82740 (keepcaps=1 vs. want=1) iteration [904540]: 9 hello [904540], main<9> 7ff6f8c82740 (keepcaps=0 vs. want=0) ./psx_test PASSED make[4]: Leaving directory '/build/libcap2-2.66/tests' make[3]: Leaving directory '/build/libcap2-2.66/tests' make -C progs test make[3]: Entering directory '/build/libcap2-2.66/progs' no program tests without privilege, try 'make sudotest' make[3]: Leaving directory '/build/libcap2-2.66/progs' make -C doc test make[3]: Entering directory '/build/libcap2-2.66/doc' no doc tests available make[3]: Leaving directory '/build/libcap2-2.66/doc' make[2]: Leaving directory '/build/libcap2-2.66' make[1]: Leaving directory '/build/libcap2-2.66' create-stamp debian/debhelper-build-stamp dh_prep debian/rules override_dh_installdirs make[1]: Entering directory '/build/libcap2-2.66' dh_installdirs # While the PAM module and the library are in /lib, according to the # FHS, development files must go into usr/lib/. mkdir -p debian/tmp/usr/lib/x86_64-linux-gnu make[1]: Leaving directory '/build/libcap2-2.66' debian/rules override_dh_auto_install make[1]: Entering directory '/build/libcap2-2.66' # Unfortunately, RPATH seems to be needed for the build-time tests # (avoiding it and going through LD_LIBRARY_PATH didn't work in all # cases) # List is identical to build above, minus noop (no RPATH) cd tests && chrpath -d \ psx_test \ libcap_psx_test \ uns_test \ libcap_launch_test \ libcap_psx_launch_test \ exploit \ noexploit dh_auto_install -- \ FORCELINKPAM=yes GOLANG=no \ lib=lib/x86_64-linux-gnu \ PKGCONFIGDIR=/usr/lib/x86_64-linux-gnu/pkgconfig \ RAISE_SETFCAP=no make -j15 install DESTDIR=/build/libcap2-2.66/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" FORCELINKPAM=yes GOLANG=no lib=lib/x86_64-linux-gnu PKGCONFIGDIR=/usr/lib/x86_64-linux-gnu/pkgconfig RAISE_SETFCAP=no make[2]: Entering directory '/build/libcap2-2.66' make -C libcap install make[3]: Entering directory '/build/libcap2-2.66/libcap' mkdir -p -m 0755 /build/libcap2-2.66/debian/tmp/usr/include/sys mkdir -p -m 0755 /build/libcap2-2.66/debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig mkdir -p -m 0755 /build/libcap2-2.66/debian/tmp/lib/x86_64-linux-gnu install -m 0644 include/sys/capability.h /build/libcap2-2.66/debian/tmp/usr/include/sys install -m 0644 libcap.pc /build/libcap2-2.66/debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig/libcap.pc install -m 0644 libcap.a /build/libcap2-2.66/debian/tmp/lib/x86_64-linux-gnu/libcap.a make install-static-psx make[4]: Entering directory '/build/libcap2-2.66/libcap' mkdir -p -m 0755 /build/libcap2-2.66/debian/tmp/usr/include/sys mkdir -p -m 0755 /build/libcap2-2.66/debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig mkdir -p -m 0755 /build/libcap2-2.66/debian/tmp/lib/x86_64-linux-gnu install -m 0644 include/sys/psx_syscall.h /build/libcap2-2.66/debian/tmp/usr/include/sys install -m 0644 libpsx.pc /build/libcap2-2.66/debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig/libpsx.pc install -m 0644 libpsx.a /build/libcap2-2.66/debian/tmp/lib/x86_64-linux-gnu/libpsx.a make[4]: Leaving directory '/build/libcap2-2.66/libcap' make install-shared make[4]: Entering directory '/build/libcap2-2.66/libcap' mkdir -p -m 0755 /build/libcap2-2.66/debian/tmp/usr/include/sys mkdir -p -m 0755 /build/libcap2-2.66/debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig mkdir -p -m 0755 /build/libcap2-2.66/debian/tmp/lib/x86_64-linux-gnu install -m 0644 include/sys/capability.h /build/libcap2-2.66/debian/tmp/usr/include/sys install -m 0644 libcap.pc /build/libcap2-2.66/debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig/libcap.pc install -m 0755 libcap.so.2.66 /build/libcap2-2.66/debian/tmp/lib/x86_64-linux-gnu/libcap.so.2.66 ln -sf libcap.so.2.66 /build/libcap2-2.66/debian/tmp/lib/x86_64-linux-gnu/libcap.so.2 ln -sf libcap.so.2 /build/libcap2-2.66/debian/tmp/lib/x86_64-linux-gnu/libcap.so make install-shared-psx make[5]: Entering directory '/build/libcap2-2.66/libcap' mkdir -p -m 0755 /build/libcap2-2.66/debian/tmp/usr/include/sys mkdir -p -m 0755 /build/libcap2-2.66/debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig mkdir -p -m 0755 /build/libcap2-2.66/debian/tmp/lib/x86_64-linux-gnu install -m 0644 include/sys/psx_syscall.h /build/libcap2-2.66/debian/tmp/usr/include/sys install -m 0644 libpsx.pc /build/libcap2-2.66/debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig/libpsx.pc install -m 0755 libpsx.so.2.66 /build/libcap2-2.66/debian/tmp/lib/x86_64-linux-gnu/libpsx.so.2.66 ln -sf libpsx.so.2.66 /build/libcap2-2.66/debian/tmp/lib/x86_64-linux-gnu/libpsx.so.2 ln -sf libpsx.so.2 /build/libcap2-2.66/debian/tmp/lib/x86_64-linux-gnu/libpsx.so make[5]: Leaving directory '/build/libcap2-2.66/libcap' make[4]: Leaving directory '/build/libcap2-2.66/libcap' make[3]: Leaving directory '/build/libcap2-2.66/libcap' make -C pam_cap install make[3]: Entering directory '/build/libcap2-2.66/pam_cap' make testlink make[4]: Entering directory '/build/libcap2-2.66/pam_cap' make[4]: 'testlink' is up to date. make[4]: Leaving directory '/build/libcap2-2.66/pam_cap' mkdir -p -m 0755 /build/libcap2-2.66/debian/tmp/lib/x86_64-linux-gnu/security install -m 0755 pam_cap.so /build/libcap2-2.66/debian/tmp/lib/x86_64-linux-gnu/security make[3]: Leaving directory '/build/libcap2-2.66/pam_cap' make -C tests install make[3]: Entering directory '/build/libcap2-2.66/tests' nothing to install from tests make[3]: Leaving directory '/build/libcap2-2.66/tests' make -C progs install make[3]: Entering directory '/build/libcap2-2.66/progs' mkdir -p -m 0755 /build/libcap2-2.66/debian/tmp/sbin for p in getpcaps getcap setcap capsh ; do \ install -m 0755 $p /build/libcap2-2.66/debian/tmp/sbin ; \ done make[3]: Leaving directory '/build/libcap2-2.66/progs' make -C doc install make[3]: Entering directory '/build/libcap2-2.66/doc' mkdir -p -m 755 /build/libcap2-2.66/debian/tmp/usr/share/man/man1 /build/libcap2-2.66/debian/tmp/usr/share/man/man3 /build/libcap2-2.66/debian/tmp/usr/share/man/man8 for man in \ /build/libcap2-2.66/debian/tmp/usr/share/man/man1 capsh.1 \ /build/libcap2-2.66/debian/tmp/usr/share/man/man3 cap_init.3 cap_free.3 cap_dup.3 cap_clear.3 cap_clear_flag.3 cap_get_flag.3 cap_set_flag.3 cap_fill.3 cap_fill_flag.3 cap_max_bits.3 cap_compare.3 cap_get_proc.3 cap_get_pid.3 cap_set_proc.3 cap_get_file.3 cap_get_fd.3 cap_set_file.3 cap_set_fd.3 cap_copy_ext.3 cap_size.3 cap_copy_int.3 cap_mode.3 cap_from_text.3 cap_to_text.3 cap_from_name.3 cap_to_name.3 capsetp.3 capgetp.3 libcap.3 cap_get_bound.3 cap_drop_bound.3 cap_get_mode.3 cap_set_mode.3 cap_mode_name.3 cap_get_secbits.3 cap_set_secbits.3 cap_setuid.3 cap_setgroups.3 cap_launch.3 cap_func_launcher.3 cap_launcher_callback.3 cap_launcher_set_chroot.3 cap_launcher_set_mode.3 cap_launcher_setgroups.3 cap_launcher_setuid.3 cap_launcher_set_iab.3 cap_new_launcher.3 cap_iab.3 cap_iab_init.3 cap_iab_dup.3 cap_iab_compare.3 cap_iab_get_proc.3 cap_iab_get_pid.3 cap_iab_set_proc.3 cap_iab_to_text.3 cap_iab_from_text.3 cap_iab_get_vector.3 cap_iab_set_vector.3 cap_iab_fill.3 psx_syscall.3 psx_syscall3.3 psx_syscall6.3 psx_set_sensitivity.3 libpsx.3 \ /build/libcap2-2.66/debian/tmp/usr/share/man/man8 getcap.8 setcap.8 getpcaps.8 captree.8 \ ; \ do \ case $man in \ /*) sub=$man ; continue ;; \ esac; \ install -m 644 $man $sub ; \ done make[3]: Leaving directory '/build/libcap2-2.66/doc' make[2]: Leaving directory '/build/libcap2-2.66' # libcap-dev: # Move the development files from lib/ to usr/lib. dh_link will # later correct the link for us (from relative to absolute). cd debian/tmp/usr/lib/x86_64-linux-gnu && \ mv ../../../lib/x86_64-linux-gnu/*.a . && \ ln -s ../../../lib/x86_64-linux-gnu/libcap.so.*.* libcap.so && \ ln -s ../../../lib/x86_64-linux-gnu/libpsx.so.*.* libpsx.so sed -i -e 's@^libdir=.*@libdir=/usr/lib/x86_64-linux-gnu@' \ debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig/*.pc # We created the symlink ourselves # Remove the build-generate one to silence --fail-missing rm -f debian/tmp/lib/x86_64-linux-gnu/*.so make[1]: Leaving directory '/build/libcap2-2.66' dh_install dh_installdocs dh_installchangelogs dh_installman dh_lintian dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_dwz -a dh_strip -a debian/rules override_dh_makeshlibs make[1]: Entering directory '/build/libcap2-2.66' dh_makeshlibs -V'libcap2 (>= 1:2.63)' -plibcap2 \ --add-udeb=libcap2-udeb -- -c4 dh_makeshlibs --remaining-packages -- -c4 make[1]: Leaving directory '/build/libcap2-2.66' dh_shlibdeps -a dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'libcap2-bin' in '../libcap2-bin_2.66-4_amd64.deb'. dpkg-deb: building package 'libcap2-bin-dbgsym' in '../libcap2-bin-dbgsym_2.66-4_amd64.deb'. dpkg-deb: building package 'libcap2' in '../libcap2_2.66-4_amd64.deb'. dpkg-deb: building package 'libcap2-dbgsym' in '../libcap2-dbgsym_2.66-4_amd64.deb'. dpkg-deb: building package 'libcap-dev' in '../libcap-dev_2.66-4_amd64.deb'. dpkg-deb: building package 'libcap-dev-dbgsym' in '../libcap-dev-dbgsym_2.66-4_amd64.deb'. dpkg-deb: building package 'libpam-cap' in '../libpam-cap_2.66-4_amd64.deb'. dpkg-deb: building package 'libpam-cap-dbgsym' in '../libpam-cap-dbgsym_2.66-4_amd64.deb'. dpkg-deb: building package 'libcap2-udeb' in 'debian/.debhelper/scratch-space/build-libcap2-udeb/libcap2-udeb_2.66-4_amd64.deb'. Renaming libcap2-udeb_2.66-4_amd64.deb to libcap2-udeb_2.66-4_amd64.udeb dpkg-genbuildinfo --build=binary -O../libcap2_2.66-4_amd64.buildinfo dpkg-genchanges --build=binary -O../libcap2_2.66-4_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/898260 and its subdirectories I: Current time: Fri Jun 2 08:18:13 -12 2023 I: pbuilder-time-stamp: 1685737093