I: pbuilder: network access will be disabled during build I: Current time: Wed Apr 24 11:04:49 +14 2024 I: pbuilder-time-stamp: 1713906289 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-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-5.dsc] I: copying [./libcap2_2.66.orig.tar.xz] I: copying [./libcap2_2.66-5.debian.tar.xz] I: Extracting source gpgv: Signature made Tue Feb 6 19:18:35 2024 gpgv: using RSA key 419F7E9A47C3AB9519F1B0A339953A37DE4EB36B gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./libcap2_2.66-5.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-5.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 dpkg-source: info: applying Skip-git-if-not-installed.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/28589/tmp/hooks/D01_modify_environment starting debug: Running on virt64z. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash '/bin/sh' -> '/bin/bash' lrwxrwxrwx 1 root root 9 Apr 23 21:05 /bin/sh -> /bin/bash I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/28589/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/28589/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") BASH_VERSION='5.2.21(1)-release' BUILDDIR=/build/reproducible-path BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=armhf DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' DIRSTACK=() DISTRIBUTION=trixie EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=arm HOST_ARCH=armhf IFS=' ' INVOCATION_ID=569fe1b13798474ba9d608a83564094d LANG=C LANGUAGE=it_CH:it LC_ALL=C MACHTYPE=arm-unknown-linux-gnueabihf MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnueabihf PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=28589 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.v5fFAkGk/pbuilderrc_epgY --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.v5fFAkGk/b2 --logfile b2/build.log libcap2_2.66-5.dsc' SUDO_GID=110 SUDO_UID=103 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://10.0.0.15:3142/ I: uname -a Linux i-capture-the-hostname 6.1.0-20-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Apr 23 11:25 /bin -> usr/bin I: user script /srv/workspace/pbuilder/28589/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: armhf 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 ... 19635 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 18.7 MB of archives. After unpacking 69.6 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian trixie/main armhf sensible-utils all 0.0.22 [22.4 kB] Get: 2 http://deb.debian.org/debian trixie/main armhf libmagic-mgc armhf 1:5.45-2+b1 [314 kB] Get: 3 http://deb.debian.org/debian trixie/main armhf libmagic1 armhf 1:5.45-2+b1 [97.9 kB] Get: 4 http://deb.debian.org/debian trixie/main armhf file armhf 1:5.45-2+b1 [42.2 kB] Get: 5 http://deb.debian.org/debian trixie/main armhf gettext-base armhf 0.21-14+b1 [157 kB] Get: 6 http://deb.debian.org/debian trixie/main armhf libuchardet0 armhf 0.0.8-1+b1 [65.7 kB] Get: 7 http://deb.debian.org/debian trixie/main armhf groff-base armhf 1.23.0-3 [1088 kB] Get: 8 http://deb.debian.org/debian trixie/main armhf bsdextrautils armhf 2.39.3-6 [81.2 kB] Get: 9 http://deb.debian.org/debian trixie/main armhf libpipeline1 armhf 1.5.7-2 [33.3 kB] Get: 10 http://deb.debian.org/debian trixie/main armhf man-db armhf 2.12.0-3 [1367 kB] Get: 11 http://deb.debian.org/debian trixie/main armhf m4 armhf 1.4.19-4 [264 kB] Get: 12 http://deb.debian.org/debian trixie/main armhf autoconf all 2.71-3 [332 kB] Get: 13 http://deb.debian.org/debian trixie/main armhf autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian trixie/main armhf automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian trixie/main armhf autopoint all 0.21-14 [496 kB] Get: 16 http://deb.debian.org/debian trixie/main armhf chrpath armhf 0.16-2+b1 [15.9 kB] Get: 17 http://deb.debian.org/debian trixie/main armhf libdebhelper-perl all 13.15.3 [88.0 kB] Get: 18 http://deb.debian.org/debian trixie/main armhf libtool all 2.4.7-7 [517 kB] Get: 19 http://deb.debian.org/debian trixie/main armhf dh-autoreconf all 20 [17.1 kB] Get: 20 http://deb.debian.org/debian trixie/main armhf libarchive-zip-perl all 1.68-1 [104 kB] Get: 21 http://deb.debian.org/debian trixie/main armhf libsub-override-perl all 0.10-1 [10.6 kB] Get: 22 http://deb.debian.org/debian trixie/main armhf libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 23 http://deb.debian.org/debian trixie/main armhf dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 24 http://deb.debian.org/debian trixie/main armhf libelf1 armhf 0.190-1+b1 [171 kB] Get: 25 http://deb.debian.org/debian trixie/main armhf dwz armhf 0.15-1 [101 kB] Get: 26 http://deb.debian.org/debian trixie/main armhf libicu72 armhf 72.1-4+b1 [9070 kB] Get: 27 http://deb.debian.org/debian trixie/main armhf libxml2 armhf 2.9.14+dfsg-1.3+b2 [599 kB] Get: 28 http://deb.debian.org/debian trixie/main armhf gettext armhf 0.21-14+b1 [1230 kB] Get: 29 http://deb.debian.org/debian trixie/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 30 http://deb.debian.org/debian trixie/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 31 http://deb.debian.org/debian trixie/main armhf debhelper all 13.15.3 [901 kB] Get: 32 http://deb.debian.org/debian trixie/main armhf gperf armhf 3.1-1 [144 kB] Get: 33 http://deb.debian.org/debian trixie/main armhf indent armhf 2.2.13-4 [122 kB] Get: 34 http://deb.debian.org/debian trixie/main armhf libpam0g-dev armhf 1.5.2-9.1+b1 [117 kB] Fetched 18.7 MB in 0s (62.5 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 ... 19635 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.22_all.deb ... Unpacking sensible-utils (0.0.22) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.45-2+b1_armhf.deb ... Unpacking libmagic-mgc (1:5.45-2+b1) ... Selecting previously unselected package libmagic1:armhf. Preparing to unpack .../02-libmagic1_1%3a5.45-2+b1_armhf.deb ... Unpacking libmagic1:armhf (1:5.45-2+b1) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.45-2+b1_armhf.deb ... Unpacking file (1:5.45-2+b1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.21-14+b1_armhf.deb ... Unpacking gettext-base (0.21-14+b1) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../05-libuchardet0_0.0.8-1+b1_armhf.deb ... Unpacking libuchardet0:armhf (0.0.8-1+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-3_armhf.deb ... Unpacking groff-base (1.23.0-3) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.39.3-6_armhf.deb ... Unpacking bsdextrautils (2.39.3-6) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../08-libpipeline1_1.5.7-2_armhf.deb ... Unpacking libpipeline1:armhf (1.5.7-2) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.12.0-3_armhf.deb ... Unpacking man-db (2.12.0-3) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-4_armhf.deb ... Unpacking m4 (1.4.19-4) ... 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-14_all.deb ... Unpacking autopoint (0.21-14) ... Selecting previously unselected package chrpath. Preparing to unpack .../15-chrpath_0.16-2+b1_armhf.deb ... Unpacking chrpath (0.16-2+b1) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../16-libdebhelper-perl_13.15.3_all.deb ... Unpacking libdebhelper-perl (13.15.3) ... Selecting previously unselected package libtool. Preparing to unpack .../17-libtool_2.4.7-7_all.deb ... Unpacking libtool (2.4.7-7) ... 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.10-1_all.deb ... Unpacking libsub-override-perl (0.10-1) ... 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:armhf. Preparing to unpack .../23-libelf1_0.190-1+b1_armhf.deb ... Unpacking libelf1:armhf (0.190-1+b1) ... Selecting previously unselected package dwz. Preparing to unpack .../24-dwz_0.15-1_armhf.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package libicu72:armhf. Preparing to unpack .../25-libicu72_72.1-4+b1_armhf.deb ... Unpacking libicu72:armhf (72.1-4+b1) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../26-libxml2_2.9.14+dfsg-1.3+b2_armhf.deb ... Unpacking libxml2:armhf (2.9.14+dfsg-1.3+b2) ... Selecting previously unselected package gettext. Preparing to unpack .../27-gettext_0.21-14+b1_armhf.deb ... Unpacking gettext (0.21-14+b1) ... 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.15.3_all.deb ... Unpacking debhelper (13.15.3) ... Selecting previously unselected package gperf. Preparing to unpack .../31-gperf_3.1-1_armhf.deb ... Unpacking gperf (3.1-1) ... Selecting previously unselected package indent. Preparing to unpack .../32-indent_2.2.13-4_armhf.deb ... Unpacking indent (2.2.13-4) ... Selecting previously unselected package libpam0g-dev:armhf. Preparing to unpack .../33-libpam0g-dev_1.5.2-9.1+b1_armhf.deb ... Unpacking libpam0g-dev:armhf (1.5.2-9.1+b1) ... Setting up libpipeline1:armhf (1.5.7-2) ... Setting up libicu72:armhf (72.1-4+b1) ... Setting up bsdextrautils (2.39.3-6) ... Setting up libpam0g-dev:armhf (1.5.2-9.1+b1) ... Setting up libmagic-mgc (1:5.45-2+b1) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.15.3) ... Setting up libmagic1:armhf (1:5.45-2+b1) ... Setting up gettext-base (0.21-14+b1) ... Setting up m4 (1.4.19-4) ... Setting up file (1:5.45-2+b1) ... Setting up gperf (3.1-1) ... Setting up autotools-dev (20220109.1) ... Setting up autopoint (0.21-14) ... Setting up autoconf (2.71-3) ... Setting up sensible-utils (0.0.22) ... Setting up libuchardet0:armhf (0.0.8-1+b1) ... Setting up libsub-override-perl (0.10-1) ... Setting up indent (2.2.13-4) ... Setting up libelf1:armhf (0.190-1+b1) ... Setting up libxml2:armhf (2.9.14+dfsg-1.3+b2) ... 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-14+b1) ... Setting up libtool (2.4.7-7) ... 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.23.0-3) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.12.0-3) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.15.3) ... Processing triggers for libc-bin (2.37-15) ... 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: user script /srv/workspace/pbuilder/28589/tmp/hooks/A99_set_merged_usr starting Not re-configuring usrmerge for trixie I: user script /srv/workspace/pbuilder/28589/tmp/hooks/A99_set_merged_usr finished hostname: Name or service not known I: Running cd /build/reproducible-path/libcap2-2.66/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../libcap2_2.66-5_source.changes dpkg-buildpackage: info: source package libcap2 dpkg-buildpackage: info: source version 1:2.66-5 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Christian Kastner dpkg-source --before-build . dpkg-buildpackage: info: host architecture armhf debian/rules clean dh clean debian/rules override_dh_auto_clean make[1]: Entering directory '/build/reproducible-path/libcap2-2.66' dh_auto_clean -- prefix=/usr FORCELINKPAM=yes GOLANG=no make -j4 distclean prefix=/usr FORCELINKPAM=yes GOLANG=no make[2]: Entering directory '/build/reproducible-path/libcap2-2.66' rm -f *~ core make -C libcap clean make[3]: Entering directory '/build/reproducible-path/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/reproducible-path/libcap2-2.66/libcap' make -C pam_cap clean make[3]: Entering directory '/build/reproducible-path/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/reproducible-path/libcap2-2.66/pam_cap' make -C tests clean make[3]: Entering directory '/build/reproducible-path/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/reproducible-path/libcap2-2.66/tests' make -C progs clean make[3]: Entering directory '/build/reproducible-path/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/reproducible-path/libcap2-2.66/progs' make -C doc clean make[3]: Entering directory '/build/reproducible-path/libcap2-2.66/doc' rm -f *~ core rm -rf html make[3]: Leaving directory '/build/reproducible-path/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 "$(test -x /usr/bin/git && git status --ignored -s)" All good! make[2]: Leaving directory '/build/reproducible-path/libcap2-2.66' make[1]: Leaving directory '/build/reproducible-path/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/reproducible-path/libcap2-2.66' # See pam_cap/Makefile for FORCELINKPAM dh_auto_build -- \ prefix=/usr FORCELINKPAM=yes GOLANG=no \ BUILD_CC=cc \ CROSS_COMPILE=arm-linux-gnueabihf- \ \ DYNAMIC=yes \ SUDO= make -j4 "INSTALL=install --strip-program=true" prefix=/usr FORCELINKPAM=yes GOLANG=no BUILD_CC=cc CROSS_COMPILE=arm-linux-gnueabihf- DYNAMIC=yes SUDO= make[2]: Entering directory '/build/reproducible-path/libcap2-2.66' make -C libcap all make[3]: Entering directory '/build/reproducible-path/libcap2-2.66/libcap' sed -e 's,@prefix@,/usr,' \ -e 's,@exec_prefix@,/usr,' \ -e 's,@libdir@,/usr/lib,' \ -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/reproducible-path/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/reproducible-path/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/reproducible-path/libcap2-2.66/libcap/include/uapi -I/build/reproducible-path/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/reproducible-path/libcap2-2.66/libcap/../libcap/include/uapi -I/build/reproducible-path/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@,/usr,' \ -e 's,@libdir@,/usr/lib,' \ -e 's,@includedir@,/usr/include,' \ -e 's,@VERSION@,2.66,' \ -e 's,@deps@,,' \ libpsx.pc.in >libpsx.pc make[4]: Leaving directory '/build/reproducible-path/libcap2-2.66/libcap' ./_makenames > cap_names.h arm-linux-gnueabihf-gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/reproducible-path/libcap2-2.66/libcap/../libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/libcap/../libcap/include -c cap_alloc.c -o cap_alloc.o arm-linux-gnueabihf-gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/reproducible-path/libcap2-2.66/libcap/../libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/libcap/../libcap/include -c cap_proc.c -o cap_proc.o arm-linux-gnueabihf-gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/reproducible-path/libcap2-2.66/libcap/../libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/libcap/../libcap/include -c cap_extint.c -o cap_extint.o arm-linux-gnueabihf-gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/reproducible-path/libcap2-2.66/libcap/../libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/libcap/../libcap/include -c cap_flag.c -o cap_flag.o arm-linux-gnueabihf-gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/reproducible-path/libcap2-2.66/libcap/../libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/libcap/../libcap/include -DINCLUDE_GPERF_OUTPUT='"_caps_output.gperf"' -c cap_text.c -o cap_text.o arm-linux-gnueabihf-gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/reproducible-path/libcap2-2.66/libcap/../libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/libcap/../libcap/include -c cap_file.c -o cap_file.o arm-linux-gnueabihf-ar rcs libcap.a cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_file.o arm-linux-gnueabihf-ranlib libcap.a make libcap.so make[4]: Entering directory '/build/reproducible-path/libcap2-2.66/libcap' arm-linux-gnueabihf-gcc -o empty empty.c arm-linux-gnueabihf-objcopy --dump-section .interp=loader.txt empty /dev/null arm-linux-gnueabihf-gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/reproducible-path/libcap2-2.66/libcap/../libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/libcap/../libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/reproducible-path/libcap2-2.66/libcap/../libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/libcap/../libcap/include -DLIBRARY_VERSION=\"libcap-2.66\" -DSHARED_LOADER=\"/lib/ld-linux-armhf.so.3\" -include ./libcap.h -c execable.c -o cap_magic.o arm-linux-gnueabihf-gcc -Wl,-x -shared -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/libcap' make libpsx.a make[4]: Entering directory '/build/reproducible-path/libcap2-2.66/libcap' arm-linux-gnueabihf-gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/reproducible-path/libcap2-2.66/libcap/../libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/libcap/../libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/reproducible-path/libcap2-2.66/libcap/../libcap/include/uapi -I/build/reproducible-path/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 arm-linux-gnueabihf-ar rcs libpsx.a ../psx/psx.o arm-linux-gnueabihf-ranlib libpsx.a make[4]: Leaving directory '/build/reproducible-path/libcap2-2.66/libcap' make libpsx.so make[4]: Entering directory '/build/reproducible-path/libcap2-2.66/libcap' arm-linux-gnueabihf-gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/reproducible-path/libcap2-2.66/libcap/../libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/libcap/../libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/reproducible-path/libcap2-2.66/libcap/../libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/libcap/../libcap/include -DLIBRARY_VERSION=\"libpsx-2.66\" -DSHARED_LOADER=\"/lib/ld-linux-armhf.so.3\" -c psx_exec.c -o psx_magic.o arm-linux-gnueabihf-gcc -Wl,-x -shared -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/libcap' make[3]: Leaving directory '/build/reproducible-path/libcap2-2.66/libcap' make -C pam_cap all make[3]: Entering directory '/build/reproducible-path/libcap2-2.66/pam_cap' arm-linux-gnueabihf-gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/reproducible-path/libcap2-2.66/pam_cap/../libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/pam_cap/../libcap/include -c -o pam_cap.o pam_cap.c arm-linux-gnueabihf-gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/reproducible-path/libcap2-2.66/pam_cap/../libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/pam_cap/../libcap/include -DLIBCAP_VERSION=\"libcap-2.66\" -DSHARED_LOADER=\"/lib/ld-linux-armhf.so.3\" -c execable.c -o execable.o echo "-Wl,-e,__so_start -lpam" > pam_cap_linkopts make -C ../libcap all make[4]: Entering directory '/build/reproducible-path/libcap2-2.66/libcap' make libpsx.pc make[5]: Entering directory '/build/reproducible-path/libcap2-2.66/libcap' make[5]: 'libpsx.pc' is up to date. make[5]: Leaving directory '/build/reproducible-path/libcap2-2.66/libcap' make libcap.so make[5]: Entering directory '/build/reproducible-path/libcap2-2.66/libcap' make[5]: 'libcap.so' is up to date. make[5]: Leaving directory '/build/reproducible-path/libcap2-2.66/libcap' make libpsx.a make[5]: Entering directory '/build/reproducible-path/libcap2-2.66/libcap' make[5]: 'libpsx.a' is up to date. make[5]: Leaving directory '/build/reproducible-path/libcap2-2.66/libcap' make libpsx.so make[5]: Entering directory '/build/reproducible-path/libcap2-2.66/libcap' make[5]: 'libpsx.so' is up to date. make[5]: Leaving directory '/build/reproducible-path/libcap2-2.66/libcap' make[4]: Leaving directory '/build/reproducible-path/libcap2-2.66/libcap' touch LIBCAP cat pam_cap_linkopts | xargs -e arm-linux-gnueabihf-gcc -Wl,-x -shared -Wl,-z,relro -Wl,-z,now -o pam_cap.so pam_cap.o execable.o -L/build/reproducible-path/libcap2-2.66/pam_cap/../libcap -lcap make testlink make[4]: Entering directory '/build/reproducible-path/libcap2-2.66/pam_cap' arm-linux-gnueabihf-gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/reproducible-path/libcap2-2.66/pam_cap/../libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/pam_cap/../libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/reproducible-path/libcap2-2.66/pam_cap/../libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/pam_cap/../libcap/include -c -o test.o test.c arm-linux-gnueabihf-gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/pam_cap/../libcap -lcap make[4]: Leaving directory '/build/reproducible-path/libcap2-2.66/pam_cap' make[3]: Leaving directory '/build/reproducible-path/libcap2-2.66/pam_cap' make -C tests all make[3]: Entering directory '/build/reproducible-path/libcap2-2.66/tests' leave test building to test target make[3]: Leaving directory '/build/reproducible-path/libcap2-2.66/tests' make -C progs all make[3]: Entering directory '/build/reproducible-path/libcap2-2.66/progs' arm-linux-gnueabihf-gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/reproducible-path/libcap2-2.66/progs/../libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/progs/../libcap/include -c getpcaps.c -o getpcaps.o arm-linux-gnueabihf-gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/reproducible-path/libcap2-2.66/progs/../libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/progs/../libcap/include -c getcap.c -o getcap.o arm-linux-gnueabihf-gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/reproducible-path/libcap2-2.66/progs/../libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/progs/../libcap/include -c setcap.c -o setcap.o ./mkcapshdoc.sh > capshdoc.c.cf arm-linux-gnueabihf-gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/progs/../libcap -lcap arm-linux-gnueabihf-gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/progs/../libcap -lcap arm-linux-gnueabihf-gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/progs/../libcap -lcap diff -u capshdoc.c capshdoc.c.cf || (rm capshdoc.c.cf ; exit 1) arm-linux-gnueabihf-gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/libcap/include -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/reproducible-path/libcap2-2.66/progs/../libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/progs/../libcap/include -Wl,-z,relro -Wl,-z,now -o capsh capsh.c capshdoc.c -L/build/reproducible-path/libcap2-2.66/progs/../libcap -lcap make[3]: Leaving directory '/build/reproducible-path/libcap2-2.66/progs' make -C doc all make[3]: Entering directory '/build/reproducible-path/libcap2-2.66/doc' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/reproducible-path/libcap2-2.66/doc' make[2]: Leaving directory '/build/reproducible-path/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 -- prefix=/usr FORCELINKPAM=yes GOLANG=no cap_test cd libcap && make -j4 "INSTALL=install --strip-program=true" prefix=/usr FORCELINKPAM=yes GOLANG=no cap_test make[2]: Entering directory '/build/reproducible-path/libcap2-2.66/libcap' gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/libcap/../libcap/include/uapi -I/build/reproducible-path/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/reproducible-path/libcap2-2.66/libcap' dh_auto_build -D pam_cap -- prefix=/usr FORCELINKPAM=yes GOLANG=no test_pam_cap cd pam_cap && make -j4 "INSTALL=install --strip-program=true" prefix=/usr FORCELINKPAM=yes GOLANG=no test_pam_cap make[2]: Entering directory '/build/reproducible-path/libcap2-2.66/pam_cap' gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/pam_cap/../libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/pam_cap/../libcap/include -o test_pam_cap test_pam_cap.c -L/build/reproducible-path/libcap2-2.66/pam_cap/../libcap -lcap --static make[2]: Leaving directory '/build/reproducible-path/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 -- prefix=/usr FORCELINKPAM=yes GOLANG=no \ psx_test \ libcap_psx_test \ uns_test \ libcap_launch_test \ libcap_psx_launch_test \ noop \ exploit \ noexploit cd tests && make -j4 "INSTALL=install --strip-program=true" prefix=/usr 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/reproducible-path/libcap2-2.66/tests' gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/tests/../libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/tests/../libcap/include -Wl,-z,relro -Wl,-z,now psx_test.c -o psx_test -Wl,-rpath,../libcap -L/build/reproducible-path/libcap2-2.66/tests/../libcap -lpsx -lpthread -Wl,-wrap,pthread_create gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/tests/../libcap/include/uapi -I/build/reproducible-path/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/reproducible-path/libcap2-2.66/tests/../libcap -lcap -L/build/reproducible-path/libcap2-2.66/tests/../libcap -lpsx -lpthread -Wl,-wrap,pthread_create gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/tests/../libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/tests/../libcap/include -Wl,-z,relro -Wl,-z,now uns_test.c -o uns_test -Wl,-rpath,../libcap -L/build/reproducible-path/libcap2-2.66/tests/../libcap -lcap gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/tests/../libcap/include/uapi -I/build/reproducible-path/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/reproducible-path/libcap2-2.66/tests/../libcap -lcap gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/tests/../libcap/include/uapi -I/build/reproducible-path/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/reproducible-path/libcap2-2.66/tests/../libcap -lcap -L/build/reproducible-path/libcap2-2.66/tests/../libcap -lpsx -lpthread -Wl,-wrap,pthread_create gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/tests/../libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/tests/../libcap/include noop.c -o noop --static gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/tests/../libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/tests/../libcap/include -c -o exploit.o exploit.c exploit.c: In function 'main': exploit.c:119:56: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'ssize_t' {aka 'int'} [-Wformat=] 119 | printf("no privilege in main process thread: len:%ld, caps:\"%s\"\n", | ~~^ | | | long int | %d 120 | greatest_len, text); | ~~~~~~~~~~~~ | | | ssize_t {aka int} exploit.c:148:62: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'ssize_t' {aka 'int'} [-Wformat=] 148 | printf("greatest privilege in main process thread: len:%ld, caps:\"%s\"\n", | ~~^ | | | long int | %d 149 | greatest_len, text); | ~~~~~~~~~~~~ | | | ssize_t {aka int} gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/tests/../libcap -lcap -lpthread gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/tests/../libcap -lpsx -lpthread -Wl,-wrap,pthread_create -L/build/reproducible-path/libcap2-2.66/tests/../libcap -lcap make[2]: Leaving directory '/build/reproducible-path/libcap2-2.66/tests' dh_auto_build -D progs -- prefix=/usr FORCELINKPAM=yes GOLANG=no tcapsh-static cd progs && make -j4 "INSTALL=install --strip-program=true" prefix=/usr FORCELINKPAM=yes GOLANG=no tcapsh-static make[2]: Entering directory '/build/reproducible-path/libcap2-2.66/progs' gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/libcap2-2.66=. -fstack-protector-strong -fstack-clash-protection -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/reproducible-path/libcap2-2.66/progs/../libcap/include/uapi -I/build/reproducible-path/libcap2-2.66/progs/../libcap/include -o tcapsh-static capsh.c capshdoc.c -L/build/reproducible-path/libcap2-2.66/progs/../libcap -lcap --static /usr/bin/ld: /tmp/ccP0JOub.o: in function `main': ./progs/capsh.c:901:(.text.startup+0xa28): warning: Using 'getgrouplist' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/bin/ld: /tmp/ccP0JOub.o: in function `arg_print': ./progs/capsh.c:205:(.text.startup+0x11ce): warning: Using 'getgrgid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/bin/ld: /tmp/ccP0JOub.o: in function `main': ./progs/capsh.c:873:(.text.startup+0xad0): 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/capsh.c:895:(.text.startup+0xa0c): warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/bin/ld: /tmp/ccP0JOub.o: in function `arg_print': ./progs/capsh.c:200:(.text.startup+0x1198): 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/reproducible-path/libcap2-2.66/progs' make[1]: Leaving directory '/build/reproducible-path/libcap2-2.66' debian/rules override_dh_auto_test make[1]: Entering directory '/build/reproducible-path/libcap2-2.66' dh_auto_test -- prefix=/usr FORCELINKPAM=yes GOLANG=no make -j4 test prefix=/usr FORCELINKPAM=yes GOLANG=no make[2]: Entering directory '/build/reproducible-path/libcap2-2.66' make -C libcap test make[3]: Entering directory '/build/reproducible-path/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/reproducible-path/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/reproducible-path/libcap2-2.66/libcap' make libpsxsotest make[4]: Entering directory '/build/reproducible-path/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/reproducible-path/libcap2-2.66/libcap' make[3]: Leaving directory '/build/reproducible-path/libcap2-2.66/libcap' make -C pam_cap test make[3]: Entering directory '/build/reproducible-path/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/reproducible-path/libcap2-2.66/pam_cap' make -C tests test make[3]: Entering directory '/build/reproducible-path/libcap2-2.66/tests' make run_psx_test run_libcap_psx_test make[4]: Entering directory '/build/reproducible-path/libcap2-2.66/tests' ./psx_test ./libcap_psx_test hello libcap and libpsx child 1201 starting child 1201 exiting iteration [1199]: 0 hello [1199], main<0> f7b29060 (keepcaps=1 vs. want=1) pid=1199 forked -> 1201 [1199] started=0 vs 1 [1199] started=1 vs 1 iteration [1199]: 1 hello [1199], main<1> f7b29060 (keepcaps=0 vs. want=0) hello [1199], thread<0> f7a09420 (keepcaps=0 vs. want=0) [1199] started=1 vs 2 [1199] started=2 vs 2 iteration [1199]: 2 hello [1199], main<2> f7b29060 (keepcaps=1 vs. want=1) hello [1199], thread<0> f70ff420 (keepcaps=1 vs. want=1) hello [1199], thread<1> f7a09420 (keepcaps=1 vs. want=1) [1199] started=2 vs 3 [1199] started=3 vs 3 iteration [1199]: 3 hello [1199], main<3> f7b29060 (keepcaps=0 vs. want=0) hello [1199], thread<2> f7a09420 (keepcaps=0 vs. want=0) hello [1199], thread<1> f70ff420 (keepcaps=0 vs. want=0) hello [1199], thread<0> f66ff420 (keepcaps=0 vs. want=0) iteration [1199]: 4 hello [1199], main<4> f7b29060 (keepcaps=1 vs. want=1) hello [1199], thread<2> f70ff420 (keepcaps=1 vs. want=1) hello [1199], thread<1> f66ff420 (keepcaps=1 vs. want=1) iteration [1199]: 5 hello [1199], main<5> f7b29060 (keepcaps=0 vs. want=0) hello [1199], thread<2> f66ff420 (keepcaps=0 vs. want=0) iteration [1199]: 6 hello [1199], main<6> f7b29060 (keepcaps=1 vs. want=1) iteration [1199]: 7 hello [1199], main<7> f7b29060 (keepcaps=0 vs. want=0) iteration [1199]: 8 hello [1199], main<8> f7b29060 (keepcaps=1 vs. want=1) iteration [1199]: 9 hello [1199], main<9> f7b29060 (keepcaps=0 vs. want=0) ./psx_test PASSED .......... PASSED make[4]: Leaving directory '/build/reproducible-path/libcap2-2.66/tests' make[3]: Leaving directory '/build/reproducible-path/libcap2-2.66/tests' make -C progs test make[3]: Entering directory '/build/reproducible-path/libcap2-2.66/progs' no program tests without privilege, try 'make sudotest' make[3]: Leaving directory '/build/reproducible-path/libcap2-2.66/progs' make -C doc test make[3]: Entering directory '/build/reproducible-path/libcap2-2.66/doc' no doc tests available make[3]: Leaving directory '/build/reproducible-path/libcap2-2.66/doc' make[2]: Leaving directory '/build/reproducible-path/libcap2-2.66' make[1]: Leaving directory '/build/reproducible-path/libcap2-2.66' create-stamp debian/debhelper-build-stamp dh_prep debian/rules override_dh_installdirs make[1]: Entering directory '/build/reproducible-path/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/arm-linux-gnueabihf make[1]: Leaving directory '/build/reproducible-path/libcap2-2.66' debian/rules override_dh_auto_install make[1]: Entering directory '/build/reproducible-path/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 -- \ prefix=/usr FORCELINKPAM=yes GOLANG=no \ lib=lib/arm-linux-gnueabihf \ PKGCONFIGDIR=/usr/lib/arm-linux-gnueabihf/pkgconfig \ RAISE_SETFCAP=no make -j4 install DESTDIR=/build/reproducible-path/libcap2-2.66/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" prefix=/usr FORCELINKPAM=yes GOLANG=no lib=lib/arm-linux-gnueabihf PKGCONFIGDIR=/usr/lib/arm-linux-gnueabihf/pkgconfig RAISE_SETFCAP=no make[2]: Entering directory '/build/reproducible-path/libcap2-2.66' make -C libcap install make[3]: Entering directory '/build/reproducible-path/libcap2-2.66/libcap' mkdir -p -m 0755 /build/reproducible-path/libcap2-2.66/debian/tmp/usr/include/sys mkdir -p -m 0755 /build/reproducible-path/libcap2-2.66/debian/tmp/usr/lib/arm-linux-gnueabihf/pkgconfig mkdir -p -m 0755 /build/reproducible-path/libcap2-2.66/debian/tmp/usr/lib/arm-linux-gnueabihf install -m 0644 include/sys/capability.h /build/reproducible-path/libcap2-2.66/debian/tmp/usr/include/sys install -m 0644 libcap.pc /build/reproducible-path/libcap2-2.66/debian/tmp/usr/lib/arm-linux-gnueabihf/pkgconfig/libcap.pc install -m 0644 libcap.a /build/reproducible-path/libcap2-2.66/debian/tmp/usr/lib/arm-linux-gnueabihf/libcap.a make install-static-psx make[4]: Entering directory '/build/reproducible-path/libcap2-2.66/libcap' mkdir -p -m 0755 /build/reproducible-path/libcap2-2.66/debian/tmp/usr/include/sys mkdir -p -m 0755 /build/reproducible-path/libcap2-2.66/debian/tmp/usr/lib/arm-linux-gnueabihf/pkgconfig mkdir -p -m 0755 /build/reproducible-path/libcap2-2.66/debian/tmp/usr/lib/arm-linux-gnueabihf install -m 0644 include/sys/psx_syscall.h /build/reproducible-path/libcap2-2.66/debian/tmp/usr/include/sys install -m 0644 libpsx.pc /build/reproducible-path/libcap2-2.66/debian/tmp/usr/lib/arm-linux-gnueabihf/pkgconfig/libpsx.pc install -m 0644 libpsx.a /build/reproducible-path/libcap2-2.66/debian/tmp/usr/lib/arm-linux-gnueabihf/libpsx.a make[4]: Leaving directory '/build/reproducible-path/libcap2-2.66/libcap' make install-shared make[4]: Entering directory '/build/reproducible-path/libcap2-2.66/libcap' mkdir -p -m 0755 /build/reproducible-path/libcap2-2.66/debian/tmp/usr/include/sys mkdir -p -m 0755 /build/reproducible-path/libcap2-2.66/debian/tmp/usr/lib/arm-linux-gnueabihf/pkgconfig mkdir -p -m 0755 /build/reproducible-path/libcap2-2.66/debian/tmp/usr/lib/arm-linux-gnueabihf install -m 0644 include/sys/capability.h /build/reproducible-path/libcap2-2.66/debian/tmp/usr/include/sys install -m 0644 libcap.pc /build/reproducible-path/libcap2-2.66/debian/tmp/usr/lib/arm-linux-gnueabihf/pkgconfig/libcap.pc install -m 0755 libcap.so.2.66 /build/reproducible-path/libcap2-2.66/debian/tmp/usr/lib/arm-linux-gnueabihf/libcap.so.2.66 ln -sf libcap.so.2.66 /build/reproducible-path/libcap2-2.66/debian/tmp/usr/lib/arm-linux-gnueabihf/libcap.so.2 ln -sf libcap.so.2 /build/reproducible-path/libcap2-2.66/debian/tmp/usr/lib/arm-linux-gnueabihf/libcap.so make install-shared-psx make[5]: Entering directory '/build/reproducible-path/libcap2-2.66/libcap' mkdir -p -m 0755 /build/reproducible-path/libcap2-2.66/debian/tmp/usr/include/sys mkdir -p -m 0755 /build/reproducible-path/libcap2-2.66/debian/tmp/usr/lib/arm-linux-gnueabihf/pkgconfig mkdir -p -m 0755 /build/reproducible-path/libcap2-2.66/debian/tmp/usr/lib/arm-linux-gnueabihf install -m 0644 include/sys/psx_syscall.h /build/reproducible-path/libcap2-2.66/debian/tmp/usr/include/sys install -m 0644 libpsx.pc /build/reproducible-path/libcap2-2.66/debian/tmp/usr/lib/arm-linux-gnueabihf/pkgconfig/libpsx.pc install -m 0755 libpsx.so.2.66 /build/reproducible-path/libcap2-2.66/debian/tmp/usr/lib/arm-linux-gnueabihf/libpsx.so.2.66 ln -sf libpsx.so.2.66 /build/reproducible-path/libcap2-2.66/debian/tmp/usr/lib/arm-linux-gnueabihf/libpsx.so.2 ln -sf libpsx.so.2 /build/reproducible-path/libcap2-2.66/debian/tmp/usr/lib/arm-linux-gnueabihf/libpsx.so make[5]: Leaving directory '/build/reproducible-path/libcap2-2.66/libcap' make[4]: Leaving directory '/build/reproducible-path/libcap2-2.66/libcap' make[3]: Leaving directory '/build/reproducible-path/libcap2-2.66/libcap' make -C pam_cap install make[3]: Entering directory '/build/reproducible-path/libcap2-2.66/pam_cap' make testlink make[4]: Entering directory '/build/reproducible-path/libcap2-2.66/pam_cap' make[4]: 'testlink' is up to date. make[4]: Leaving directory '/build/reproducible-path/libcap2-2.66/pam_cap' mkdir -p -m 0755 /build/reproducible-path/libcap2-2.66/debian/tmp/usr/lib/arm-linux-gnueabihf/security install -m 0755 pam_cap.so /build/reproducible-path/libcap2-2.66/debian/tmp/usr/lib/arm-linux-gnueabihf/security make[3]: Leaving directory '/build/reproducible-path/libcap2-2.66/pam_cap' make -C tests install make[3]: Entering directory '/build/reproducible-path/libcap2-2.66/tests' nothing to install from tests make[3]: Leaving directory '/build/reproducible-path/libcap2-2.66/tests' make -C progs install make[3]: Entering directory '/build/reproducible-path/libcap2-2.66/progs' mkdir -p -m 0755 /build/reproducible-path/libcap2-2.66/debian/tmp/usr/sbin for p in getpcaps getcap setcap capsh ; do \ install -m 0755 $p /build/reproducible-path/libcap2-2.66/debian/tmp/usr/sbin ; \ done make[3]: Leaving directory '/build/reproducible-path/libcap2-2.66/progs' make -C doc install make[3]: Entering directory '/build/reproducible-path/libcap2-2.66/doc' mkdir -p -m 755 /build/reproducible-path/libcap2-2.66/debian/tmp/usr/share/man/man1 /build/reproducible-path/libcap2-2.66/debian/tmp/usr/share/man/man3 /build/reproducible-path/libcap2-2.66/debian/tmp/usr/share/man/man8 for man in \ /build/reproducible-path/libcap2-2.66/debian/tmp/usr/share/man/man1 capsh.1 \ /build/reproducible-path/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/reproducible-path/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/reproducible-path/libcap2-2.66/doc' make[2]: Leaving directory '/build/reproducible-path/libcap2-2.66' make[1]: Leaving directory '/build/reproducible-path/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 dwz: debian/libcap2/usr/lib/arm-linux-gnueabihf/libcap.so.2.66: DWARF compression not beneficial - old size 38438 new size 38508 dh_strip -a debian/rules override_dh_makeshlibs make[1]: Entering directory '/build/reproducible-path/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/reproducible-path/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-5_armhf.deb'. dpkg-deb: building package 'libpam-cap' in '../libpam-cap_2.66-5_armhf.deb'. dpkg-deb: building package 'libcap2-dbgsym' in '../libcap2-dbgsym_2.66-5_armhf.deb'. dpkg-deb: building package 'libpam-cap-dbgsym' in '../libpam-cap-dbgsym_2.66-5_armhf.deb'. dpkg-deb: building package 'libcap-dev' in '../libcap-dev_2.66-5_armhf.deb'. dpkg-deb: building package 'libcap2-bin-dbgsym' in '../libcap2-bin-dbgsym_2.66-5_armhf.deb'. dpkg-deb: building package 'libcap2-udeb' in 'debian/.debhelper/scratch-space/build-libcap2-udeb/libcap2-udeb_2.66-5_armhf.deb'. dpkg-deb: building package 'libcap2' in '../libcap2_2.66-5_armhf.deb'. Renaming libcap2-udeb_2.66-5_armhf.deb to libcap2-udeb_2.66-5_armhf.udeb dpkg-deb: building package 'libcap-dev-dbgsym' in '../libcap-dev-dbgsym_2.66-5_armhf.deb'. dpkg-genbuildinfo --build=binary -O../libcap2_2.66-5_armhf.buildinfo dpkg-genchanges --build=binary -O../libcap2_2.66-5_armhf.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: user script /srv/workspace/pbuilder/28589/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/28589/tmp/hooks/B01_cleanup finished 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/28589 and its subdirectories I: Current time: Wed Apr 24 11:05:55 +14 2024 I: pbuilder-time-stamp: 1713906355