Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/libcap.spec'], chrootPath='/var/lib/mock/f40-build-55029597-6531822/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1x8uwa9_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1x8uwa9_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ddda6a5b43d44c219057145c9f45c4ce', '-D', '/var/lib/mock/f40-build-55029597-6531822/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1x8uwa9_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/libcap.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1712275200 Wrote: /builddir/build/SRPMS/libcap-2.69-8.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libcap.spec'], chrootPath='/var/lib/mock/f40-build-55029597-6531822/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1x8uwa9_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1x8uwa9_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '38b733f7c77b4efa8b7e12f8e389686a', '-D', '/var/lib/mock/f40-build-55029597-6531822/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1x8uwa9_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libcap.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1712275200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.c7o0rB + umask 022 + cd /builddir/build/BUILD + gzip -cd /builddir/build/SOURCES/libcap-2.69.tar.gz + /usr/lib/rpm/redhat/gpgverify --keyring=/builddir/build/SOURCES/29EE848AE2CCF3F4.asc --signature=/builddir/build/SOURCES/libcap-2.69.tar.sign --data=- gpgv: Signature made Mon May 15 02:23:34 2023 UTC gpgv: using RSA key 38A644698C69787344E954CE29EE848AE2CCF3F4 gpgv: Good signature from "Andrew G. Morgan " gpgv: aka "Andrew G. Morgan (Work Address) " + cd /builddir/build/BUILD + rm -rf libcap-2.69 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libcap-2.69.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libcap-2.69 + rm -rf /builddir/build/BUILD/libcap-2.69-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/libcap-2.69-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-doc-document-pam_cap-and-its-conf.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-doc-document-the-use-of-to-refer-to-all-users.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fHMJVU + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libcap-2.69 + /usr/bin/make -O -j6 V=1 VERBOSE=1 prefix=/usr lib=lib64 CGO_REQUIRED=1 'GO_BUILD_FLAGS=-buildmode=pie -ldflags='\''-B gobuildid'\''' all /usr/bin/make -C libcap all make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap' sed -e 's,@prefix@,/usr,' \ -e 's,@exec_prefix@,/usr,' \ -e 's,@libdir@,/usr/lib64,' \ -e 's,@includedir@,/usr/include,' \ -e 's,@VERSION@,2.69,' \ -e 's,@deps@,,' \ libcap.pc.in >libcap.pc make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap' /usr/bin/make libpsx.pc make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap' => making cap_names.list.h from /builddir/build/BUILD/libcap-2.69/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[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap' make[2]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap' sed -e 's,@prefix@,/usr,' \ -e 's,@exec_prefix@,/usr,' \ -e 's,@libdir@,/usr/lib64,' \ -e 's,@includedir@,/usr/include,' \ -e 's,@VERSION@,2.69,' \ -e 's,@deps@,,' \ libpsx.pc.in >libpsx.pc make[2]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap' make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap' gcc -O2 -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/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include _makenames.c -o _makenames make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap' make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap' ./_makenames > cap_names.h make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap' make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include -c cap_extint.c -o cap_extint.o make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap' make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include -c cap_alloc.c -o cap_alloc.o make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap' make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include -c cap_file.c -o cap_file.o make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap' make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include -c cap_flag.c -o cap_flag.o make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap' make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include -c cap_proc.c -o cap_proc.o make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap' make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include -c cap_text.c -o cap_text.o make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap' make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap' ar rcs libcap.a cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_file.o ranlib libcap.a make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap' /usr/bin/make libcap.so make[2]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap' gcc -o empty empty.c make[2]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap' make[2]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap' objcopy --dump-section .interp=loader.txt empty /dev/null make[2]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap' make[2]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include -DLIBRARY_VERSION=\"libcap-2.69\" -DSHARED_LOADER=\"/lib64/ld-linux-x86-64.so.2\" -include ./libcap.h -c execable.c -o cap_magic.o make[2]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap' make[2]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap' gcc -Wl,-x -shared -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-soname,libcap.so.2 -o libcap.so.2.69 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.69 libcap.so.2 ln -sf libcap.so.2 libcap.so make[2]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap' /usr/bin/make libpsx.a make[2]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap' rm -f include/sys/psx_syscall.h ln -s ../../../psx/psx_syscall.h include/sys/psx_syscall.h make[2]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap' make[2]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include -c ../psx/psx.c -o ../psx/psx.o make[2]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap' make[2]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap' ar rcs libpsx.a ../psx/psx.o ranlib libpsx.a make[2]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap' /usr/bin/make libpsx.so make[2]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include -DLIBRARY_VERSION=\"libpsx-2.69\" -DSHARED_LOADER=\"/lib64/ld-linux-x86-64.so.2\" -c psx_exec.c -o psx_magic.o make[2]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap' make[2]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap' gcc -Wl,-x -shared -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-soname,libpsx.so.2 -o libpsx.so.2.69 ../psx/psx.o psx_magic.o -Wl,-e,__so_start -lpthread -Wl,-wrap,pthread_create ln -sf libpsx.so.2.69 libpsx.so.2 ln -sf libpsx.so.2 libpsx.so make[2]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap' /usr/bin/make -C pam_cap all /usr/bin/make -C ../libcap all /usr/bin/make libpsx.pc make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/pam_cap' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/libcap-2.69/pam_cap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/pam_cap/../libcap/include -DLIBCAP_VERSION=\"libcap-2.69\" -DSHARED_LOADER=\"/lib64/ld-linux-x86-64.so.2\" -c execable.c -o execable.o make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/pam_cap' make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/pam_cap' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/libcap-2.69/pam_cap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/pam_cap/../libcap/include -c -o pam_cap.o pam_cap.c make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/pam_cap' pam_cap.c: In function ‘read_capabilities_for_user’: pam_cap.c:202:9: warning: ‘xx_’ is deprecated [-Wdeprecated-declarations] 202 | _pam_overwrite(g); | ^~~~~~~~~~~~~~ In file included from pam_cap.c:31: pam_cap.c:202:9: note: declared here 202 | _pam_overwrite(g); | ^~~~~~~~~~~~~~ pam_cap.c:202:9: warning: ‘xx_’ is deprecated [-Wdeprecated-declarations] 202 | _pam_overwrite(g); | ^~~~~~~~~~~~~~ pam_cap.c:202:9: note: declared here 202 | _pam_overwrite(g); | ^~~~~~~~~~~~~~ pam_cap.c:202:9: warning: ‘xx_’ is deprecated [-Wdeprecated-declarations] 202 | _pam_overwrite(g); | ^~~~~~~~~~~~~~ pam_cap.c:202:9: note: declared here 202 | _pam_overwrite(g); | ^~~~~~~~~~~~~~ pam_cap.c: In function ‘pam_sm_authenticate’: pam_cap.c:443:9: warning: ‘xx_’ is deprecated [-Wdeprecated-declarations] 443 | _pam_overwrite(conf_caps); | ^~~~~~~~~~~~~~ pam_cap.c:443:9: note: declared here 443 | _pam_overwrite(conf_caps); | ^~~~~~~~~~~~~~ pam_cap.c:443:9: warning: ‘xx_’ is deprecated [-Wdeprecated-declarations] 443 | _pam_overwrite(conf_caps); | ^~~~~~~~~~~~~~ pam_cap.c:443:9: note: declared here 443 | _pam_overwrite(conf_caps); | ^~~~~~~~~~~~~~ pam_cap.c:443:9: warning: ‘xx_’ is deprecated [-Wdeprecated-declarations] 443 | _pam_overwrite(conf_caps); | ^~~~~~~~~~~~~~ pam_cap.c:443:9: note: declared here 443 | _pam_overwrite(conf_caps); | ^~~~~~~~~~~~~~ make[3]: 'libpsx.pc' is up to date. /usr/bin/make libcap.so make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/pam_cap' gcc -Wl,-x -shared -o lazylink.so -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/libcap-2.69/pam_cap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/pam_cap/../libcap/include -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes lazylink.c -DSHARED_LOADER=\"/lib64/ld-linux-x86-64.so.2\" -Wl,-e,__so_start make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/pam_cap' make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/pam_cap' echo "-Wl,-e,__so_start" > pam_cap_linkopts ./lazylink.so || echo "-lpam" >> pam_cap_linkopts make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/pam_cap' ./lazylink.so: symbol lookup error: ./lazylink.so: undefined symbol: nothing_sets_this make[3]: 'libcap.so' is up to date. /usr/bin/make libpsx.a make[3]: 'libpsx.a' is up to date. /usr/bin/make libpsx.so make[3]: 'libpsx.so' is up to date. make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/pam_cap' touch LIBCAP make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/pam_cap' make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/pam_cap' cat pam_cap_linkopts | xargs -e gcc -Wl,-x -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o pam_cap.so pam_cap.o execable.o -L/builddir/build/BUILD/libcap-2.69/pam_cap/../libcap -lcap make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/pam_cap' /usr/bin/make testlink make[2]: Entering directory '/builddir/build/BUILD/libcap-2.69/pam_cap' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/libcap-2.69/pam_cap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/pam_cap/../libcap/include -c -o test.o test.c make[2]: Leaving directory '/builddir/build/BUILD/libcap-2.69/pam_cap' make[2]: Entering directory '/builddir/build/BUILD/libcap-2.69/pam_cap' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o testlink test.o pam_cap.o -lpam -ldl -L/builddir/build/BUILD/libcap-2.69/pam_cap/../libcap -lcap make[2]: Leaving directory '/builddir/build/BUILD/libcap-2.69/pam_cap' /usr/bin/make -C go all make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/go' mkdir -p "vendor/kernel.org/pub/linux/libs/security/libcap" make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/go' make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/go' echo "# kernel.org/pub/linux/libs/security/libcap/psx v1.2.69" > vendor/modules.txt echo "kernel.org/pub/linux/libs/security/libcap/psx" >> vendor/modules.txt echo "# kernel.org/pub/linux/libs/security/libcap/cap v1.2.69" >> vendor/modules.txt echo "kernel.org/pub/linux/libs/security/libcap/cap" >> vendor/modules.txt make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/go' make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/go' ln -sf /builddir/build/BUILD/libcap-2.69/psx vendor/kernel.org/pub/linux/libs/security/libcap touch ../psx make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/go' make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/go' ln -sf /builddir/build/BUILD/libcap-2.69/cap vendor/kernel.org/pub/linux/libs/security/libcap touch ../cap make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/go' make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/go' touch PSXGOPACKAGE make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/go' make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/go' CC="gcc" go run -mod=vendor mknames.go --header=/builddir/build/BUILD/libcap-2.69/libcap/cap_names.h --textdir=/builddir/build/BUILD/libcap-2.69/doc/values | gofmt > good-names.go || rm -f good-names.go diff -u ../cap/names.go good-names.go make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/go' make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/go' touch CAPGOPACKAGE make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/go' make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/go' CC="gcc" CGO_ENABLED="1" CGO_LDFLAGS_ALLOW="-Wl,-?-wrap[=,][^-.@][^,]*" go build -buildmode=pie -ldflags='-B gobuildid' -mod=vendor -o setid ../goapps/setid/setid.go make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/go' make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/go' CC="gcc" CGO_ENABLED="1" CGO_LDFLAGS_ALLOW="-Wl,-?-wrap[=,][^-.@][^,]*" go build -buildmode=pie -ldflags='-B gobuildid' -mod=vendor -o captrace ../goapps/captrace/captrace.go make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/go' make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/go' CC="gcc" CGO_ENABLED="1" CGO_LDFLAGS_ALLOW="-Wl,-?-wrap[=,][^-.@][^,]*" go build -buildmode=pie -ldflags='-B gobuildid' -mod=vendor -o gowns ../goapps/gowns/gowns.go make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/go' make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/go' CC="gcc" CGO_ENABLED="1" CGO_LDFLAGS_ALLOW="-Wl,-?-wrap[=,][^-.@][^,]*" go build -buildmode=pie -ldflags='-B gobuildid' -mod=vendor -o captree ../goapps/captree/captree.go make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/go' make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/go' CC="gcc" CGO_ENABLED="1" CGO_LDFLAGS_ALLOW="-Wl,-?-wrap[=,][^-.@][^,]*" go build -buildmode=pie -ldflags='-B gobuildid' -mod=vendor -o web ../goapps/web/web.go make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/go' rm -f cap/go.sum /usr/bin/make -C tests all make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/tests' leave test building to test target make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/tests' /usr/bin/make -C progs all make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/progs' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/libcap-2.69/progs/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/progs/../libcap/include -c getcap.c -o getcap.o make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/progs' make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/progs' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/libcap-2.69/progs/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/progs/../libcap/include -c getpcaps.c -o getpcaps.o make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/progs' make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/progs' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/libcap-2.69/progs/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/progs/../libcap/include -c setcap.c -o setcap.o make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/progs' make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/progs' ./mkcapshdoc.sh > capshdoc.c.cf diff -u capshdoc.c capshdoc.c.cf || (rm capshdoc.c.cf ; exit 1) make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/progs' make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/progs' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes getcap.o -L/builddir/build/BUILD/libcap-2.69/progs/../libcap -lcap -o getcap make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/progs' make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/progs' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes getpcaps.o -L/builddir/build/BUILD/libcap-2.69/progs/../libcap -lcap -o getpcaps make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/progs' make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/progs' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes setcap.o -L/builddir/build/BUILD/libcap-2.69/progs/../libcap -lcap -o setcap make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/progs' make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/progs' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/libcap-2.69/progs/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/progs/../libcap/include -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes capsh.c capshdoc.c -L/builddir/build/BUILD/libcap-2.69/progs/../libcap -lcap -o capsh make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/progs' /usr/bin/make -C doc all make[1]: Nothing to be done for 'all'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.44iTck + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64 ++ dirname /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libcap-2.69 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64 'INSTALL=/usr/bin/install -p' prefix=/usr lib=lib64 CGO_REQUIRED=1 'GO_BUILD_FLAGS=-buildmode=pie -ldflags='\''-B gobuildid'\''' /usr/bin/make -C libcap install make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap' mkdir -p -m 0755 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/include/sys mkdir -p -m 0755 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/lib64/pkgconfig mkdir -p -m 0755 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/lib64 install -m 0644 include/sys/capability.h /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/include/sys install -m 0644 libcap.pc /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/lib64/pkgconfig/libcap.pc install -m 0644 libcap.a /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/lib64/libcap.a /usr/bin/make install-static-psx make[2]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap' mkdir -p -m 0755 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/include/sys mkdir -p -m 0755 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/lib64/pkgconfig mkdir -p -m 0755 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/lib64 install -m 0644 include/sys/psx_syscall.h /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/include/sys install -m 0644 libpsx.pc /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/lib64/pkgconfig/libpsx.pc install -m 0644 libpsx.a /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/lib64/libpsx.a make[2]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap' /usr/bin/make install-shared make[2]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap' mkdir -p -m 0755 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/include/sys mkdir -p -m 0755 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/lib64/pkgconfig mkdir -p -m 0755 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/lib64 install -m 0644 include/sys/capability.h /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/include/sys install -m 0644 libcap.pc /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/lib64/pkgconfig/libcap.pc install -m 0755 libcap.so.2.69 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/lib64/libcap.so.2.69 ln -sf libcap.so.2.69 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/lib64/libcap.so.2 ln -sf libcap.so.2 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/lib64/libcap.so /usr/bin/make install-shared-psx make[3]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap' mkdir -p -m 0755 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/include/sys mkdir -p -m 0755 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/lib64/pkgconfig mkdir -p -m 0755 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/lib64 install -m 0644 include/sys/psx_syscall.h /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/include/sys install -m 0644 libpsx.pc /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/lib64/pkgconfig/libpsx.pc install -m 0755 libpsx.so.2.69 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/lib64/libpsx.so.2.69 ln -sf libpsx.so.2.69 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/lib64/libpsx.so.2 ln -sf libpsx.so.2 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/lib64/libpsx.so make[3]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap' make[2]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap' make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap' /usr/bin/make -C pam_cap install make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/pam_cap' /usr/bin/make testlink make[2]: Entering directory '/builddir/build/BUILD/libcap-2.69/pam_cap' make[2]: 'testlink' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/libcap-2.69/pam_cap' mkdir -p -m 0755 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/lib64/security install -m 0755 pam_cap.so /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/lib64/security make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/pam_cap' /usr/bin/make -C go install make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/go' echo "# kernel.org/pub/linux/libs/security/libcap/psx v1.2.69" > vendor/modules.txt echo "kernel.org/pub/linux/libs/security/libcap/psx" >> vendor/modules.txt echo "# kernel.org/pub/linux/libs/security/libcap/cap v1.2.69" >> vendor/modules.txt echo "kernel.org/pub/linux/libs/security/libcap/cap" >> vendor/modules.txt ln -sf /builddir/build/BUILD/libcap-2.69/psx vendor/kernel.org/pub/linux/libs/security/libcap touch ../psx touch PSXGOPACKAGE ln -sf /builddir/build/BUILD/libcap-2.69/cap vendor/kernel.org/pub/linux/libs/security/libcap touch ../cap CC="gcc" go run -mod=vendor mknames.go --header=/builddir/build/BUILD/libcap-2.69/libcap/cap_names.h --textdir=/builddir/build/BUILD/libcap-2.69/doc/values | gofmt > good-names.go || rm -f good-names.go diff -u ../cap/names.go good-names.go touch CAPGOPACKAGE CC="gcc" CGO_ENABLED="1" CGO_LDFLAGS_ALLOW="-Wl,-?-wrap[=,][^-.@][^,]*" go build -buildmode=pie -ldflags='-B gobuildid' -mod=vendor -o web ../goapps/web/web.go CC="gcc" CGO_ENABLED="1" CGO_LDFLAGS_ALLOW="-Wl,-?-wrap[=,][^-.@][^,]*" go build -buildmode=pie -ldflags='-B gobuildid' -mod=vendor -o setid ../goapps/setid/setid.go CC="gcc" CGO_ENABLED="1" CGO_LDFLAGS_ALLOW="-Wl,-?-wrap[=,][^-.@][^,]*" go build -buildmode=pie -ldflags='-B gobuildid' -mod=vendor -o gowns ../goapps/gowns/gowns.go CC="gcc" CGO_ENABLED="1" CGO_LDFLAGS_ALLOW="-Wl,-?-wrap[=,][^-.@][^,]*" go build -buildmode=pie -ldflags='-B gobuildid' -mod=vendor -o captree ../goapps/captree/captree.go CC="gcc" CGO_ENABLED="1" CGO_LDFLAGS_ALLOW="-Wl,-?-wrap[=,][^-.@][^,]*" go build -buildmode=pie -ldflags='-B gobuildid' -mod=vendor -o captrace ../goapps/captrace/captrace.go mkdir -p -m 0755 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/sbin install -m 0755 captree /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/sbin make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/go' rm -f cap/go.sum /usr/bin/make -C tests install make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/tests' nothing to install from tests make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/tests' /usr/bin/make -C progs install make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/progs' mkdir -p -m 0755 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/sbin for p in getpcaps getcap setcap capsh ; do \ install -m 0755 $p /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/sbin ; \ done make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/progs' /usr/bin/make -C doc install make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/doc' mkdir -p -m 755 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/share/man/man1 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/share/man/man3 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/share/man/man5 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/share/man/man8 for man in \ /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/share/man/man1 capsh.1 \ /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/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_set_nsowner.3 cap_get_nsowner.3 cap_copy_ext.3 cap_size.3 cap_copy_int.3 cap_mode.3 cap_copy_int_check.3 cap_set_syscall.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 cap_proc_root.3 cap_prctl.3 cap_prctlw.3 psx_syscall.3 psx_syscall3.3 psx_syscall6.3 psx_set_sensitivity.3 psx_load_syscalls.3 __psx_syscall.3 libpsx.3 \ /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/share/man/man5 capability.conf.5 \ /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/share/man/man8 getcap.8 setcap.8 getpcaps.8 captree.8 pam_cap.8 \ ; \ do \ case $man in \ /*) sub=$man ; continue ;; \ esac; \ install -m 644 $man $sub ; \ done make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/doc' + mkdir -p /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64//usr/share/man/man2 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64//usr/share/man/man3 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64//usr/share/man/man5 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64//usr/share/man/man8 + mv -f doc/__psx_syscall.3 doc/cap_clear.3 doc/cap_clear_flag.3 doc/cap_compare.3 doc/cap_copy_ext.3 doc/cap_copy_int.3 doc/cap_copy_int_check.3 doc/cap_drop_bound.3 doc/cap_dup.3 doc/cap_fill.3 doc/cap_fill_flag.3 doc/cap_free.3 doc/cap_from_name.3 doc/cap_from_text.3 doc/cap_func_launcher.3 doc/cap_get_ambient.3 doc/cap_get_bound.3 doc/cap_get_fd.3 doc/cap_get_file.3 doc/cap_get_flag.3 doc/cap_get_mode.3 doc/cap_get_nsowner.3 doc/cap_get_pid.3 doc/cap_get_proc.3 doc/cap_get_secbits.3 doc/cap_iab.3 doc/cap_iab_compare.3 doc/cap_iab_dup.3 doc/cap_iab_fill.3 doc/cap_iab_from_text.3 doc/cap_iab_get_pid.3 doc/cap_iab_get_proc.3 doc/cap_iab_get_vector.3 doc/cap_iab_init.3 doc/cap_iab_set_proc.3 doc/cap_iab_set_vector.3 doc/cap_iab_to_text.3 doc/cap_init.3 doc/cap_launch.3 doc/cap_launcher_callback.3 doc/cap_launcher_set_chroot.3 doc/cap_launcher_set_iab.3 doc/cap_launcher_set_mode.3 doc/cap_launcher_setgroups.3 doc/cap_launcher_setuid.3 doc/cap_max_bits.3 doc/cap_mode.3 doc/cap_mode_name.3 doc/cap_new_launcher.3 doc/cap_prctl.3 doc/cap_prctlw.3 doc/cap_proc_root.3 doc/cap_reset_ambient.3 doc/cap_set_ambient.3 doc/cap_set_fd.3 doc/cap_set_file.3 doc/cap_set_flag.3 doc/cap_set_mode.3 doc/cap_set_nsowner.3 doc/cap_set_proc.3 doc/cap_set_secbits.3 doc/cap_set_syscall.3 doc/cap_setgroups.3 doc/cap_setuid.3 doc/cap_size.3 doc/cap_to_name.3 doc/cap_to_text.3 doc/capgetp.3 doc/capsetp.3 doc/libcap.3 doc/libpsx.3 doc/psx_load_syscalls.3 doc/psx_set_sensitivity.3 doc/psx_syscall.3 doc/psx_syscall3.3 doc/psx_syscall6.3 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64//usr/share/man/man3/ + chmod +x /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64//usr/lib64/libcap.so.2 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64//usr/lib64/libcap.so.2.69 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64//usr/lib64/libpsx.so.2 /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64//usr/lib64/libpsx.so.2.69 + /usr/bin/find-debuginfo -j6 --strict-build-id -m -i --build-id-seed 2.69-8.fc40 --unique-debug-suffix -2.69-8.fc40.x86_64 --unique-debug-src-base libcap-2.69-8.fc40.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/libcap-2.69 find-debuginfo: starting Extracting debug info from 8 files debugedit: /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/sbin/captree: DWARF version 0 unhandled warning: Unsupported auto-load script at offset 0 in section .debug_gdb_scripts of file /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/sbin/captree. Use `info auto-load python-scripts [REGEXP]' to list them. DWARF-compressing 8 files dwz: ./usr/sbin/captree-2.69-8.fc40.x86_64.debug: Found compressed .debug_aranges section, not attempting dwz compression dwz: ./usr/sbin/captree-2.69-8.fc40.x86_64.debug: Found compressed .debug_aranges section, not attempting dwz compression sepdebugcrcfix: Updated 7 CRC32s, 1 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/libcap-2.69-8.fc40.x86_64 413 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j6 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ptUy2a + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libcap-2.69 + make test make -C libcap test make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes cap_test.c cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_file.o -o cap_test ./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[2]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap' ./libcap.so ./libcap.so is the shared library version: libcap-2.69. 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.69. 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.69. 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.69. 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[2]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap' make libpsxsotest make[2]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap' ./libpsx.so ./libpsx.so is the shared library version: libpsx-2.69. See the License file for distribution information. More information on this library is available from: https://sites.google.com/site/fullycapable/ make[2]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap' make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap' make -C pam_cap test make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/pam_cap' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/libcap-2.69/pam_cap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/pam_cap/../libcap/include -o test_pam_cap test_pam_cap.c -L/builddir/build/BUILD/libcap-2.69/pam_cap/../libcap -lcap --static In file included from test_pam_cap.c:13: ./pam_cap.c: In function ‘read_capabilities_for_user’: ./pam_cap.c:202:9: warning: ‘xx_’ is deprecated [-Wdeprecated-declarations] 202 | _pam_overwrite(g); | ^~~~~~~~~~~~~~ In file included from ./pam_cap.c:31: ./pam_cap.c:202:9: note: declared here 202 | _pam_overwrite(g); | ^~~~~~~~~~~~~~ ./pam_cap.c:202:9: warning: ‘xx_’ is deprecated [-Wdeprecated-declarations] 202 | _pam_overwrite(g); | ^~~~~~~~~~~~~~ ./pam_cap.c:202:9: note: declared here 202 | _pam_overwrite(g); | ^~~~~~~~~~~~~~ ./pam_cap.c:202:9: warning: ‘xx_’ is deprecated [-Wdeprecated-declarations] 202 | _pam_overwrite(g); | ^~~~~~~~~~~~~~ ./pam_cap.c:202:9: note: declared here 202 | _pam_overwrite(g); | ^~~~~~~~~~~~~~ ./pam_cap.c: In function ‘pam_sm_authenticate’: ./pam_cap.c:443:9: warning: ‘xx_’ is deprecated [-Wdeprecated-declarations] 443 | _pam_overwrite(conf_caps); | ^~~~~~~~~~~~~~ ./pam_cap.c:443:9: note: declared here 443 | _pam_overwrite(conf_caps); | ^~~~~~~~~~~~~~ ./pam_cap.c:443:9: warning: ‘xx_’ is deprecated [-Wdeprecated-declarations] 443 | _pam_overwrite(conf_caps); | ^~~~~~~~~~~~~~ ./pam_cap.c:443:9: note: declared here 443 | _pam_overwrite(conf_caps); | ^~~~~~~~~~~~~~ ./pam_cap.c:443:9: warning: ‘xx_’ is deprecated [-Wdeprecated-declarations] 443 | _pam_overwrite(conf_caps); | ^~~~~~~~~~~~~~ ./pam_cap.c:443:9: note: declared here 443 | _pam_overwrite(conf_caps); | ^~~~~~~~~~~~~~ echo "^cap_setuid alpha" > incapable.conf && chmod o+w incapable.conf ./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.69) is a PAM module to specify inheritable (IAB) capabilities via the libpam authentication abstraction. See the pam_cap 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.69) is a PAM module to specify inheritable (IAB) capabilities via the libpam authentication abstraction. See the pam_cap 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[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/pam_cap' make -C go test make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/go' echo "# kernel.org/pub/linux/libs/security/libcap/psx v1.2.69" > vendor/modules.txt echo "kernel.org/pub/linux/libs/security/libcap/psx" >> vendor/modules.txt echo "# kernel.org/pub/linux/libs/security/libcap/cap v1.2.69" >> vendor/modules.txt echo "kernel.org/pub/linux/libs/security/libcap/cap" >> vendor/modules.txt ln -sf /builddir/build/BUILD/libcap-2.69/cap vendor/kernel.org/pub/linux/libs/security/libcap touch ../cap CC="gcc" go run -mod=vendor mknames.go --header=/builddir/build/BUILD/libcap-2.69/libcap/cap_names.h --textdir=/builddir/build/BUILD/libcap-2.69/doc/values | gofmt > good-names.go || rm -f good-names.go diff -u ../cap/names.go good-names.go touch CAPGOPACKAGE ln -sf /builddir/build/BUILD/libcap-2.69/psx vendor/kernel.org/pub/linux/libs/security/libcap touch ../psx touch PSXGOPACKAGE CC="gcc" CGO_ENABLED="0" go build -mod=vendor -o setid ../goapps/setid/setid.go CC="gcc" CGO_ENABLED="0" go build -mod=vendor -o gowns ../goapps/gowns/gowns.go CC="gcc" CGO_ENABLED="0" go build -mod=vendor -o captree ../goapps/captree/captree.go CC="gcc" CGO_ENABLED="0" go build -mod=vendor -o psx-fd psx-fd.go CC="gcc" CGO_ENABLED="1" CGO_CFLAGS="-I/builddir/build/BUILD/libcap-2.69/libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/libcap/include" CGO_LDFLAGS="-L/builddir/build/BUILD/libcap-2.69/libcap" go build -mod=vendor compare-cap.go CC="gcc" CGO_ENABLED="0" go build -mod=vendor ok.go CC="gcc" CGO_ENABLED="0" go build -mod=vendor try-launching.go CC="gcc" CGO_ENABLED="1" go build -mod=vendor -o try-launching-cgo try-launching.go CC="gcc" CGO_ENABLED="0" CGO_CFLAGS="-I/builddir/build/BUILD/libcap-2.69/libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/libcap/include" CGO_LDFLAGS="-L/builddir/build/BUILD/libcap-2.69/libcap" go build -mod=vendor psx-signals.go CC="gcc" CGO_ENABLED="0" CGO_CFLAGS="-I/builddir/build/BUILD/libcap-2.69/libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/libcap/include" CGO_LDFLAGS="-L/builddir/build/BUILD/libcap-2.69/libcap" go build -mod=vendor mismatch.go CC="gcc" CGO_ENABLED="0" go test -mod=vendor kernel.org/pub/linux/libs/security/libcap/psx ok kernel.org/pub/linux/libs/security/libcap/psx 0.016s CC="gcc" CGO_ENABLED="0" go test -mod=vendor kernel.org/pub/linux/libs/security/libcap/cap ok kernel.org/pub/linux/libs/security/libcap/cap 0.030s LD_LIBRARY_PATH=../libcap ./compare-cap 2024/11/17 17:08:38 skipping file cap tests - insufficient privilege 2024/11/17 17:08:38 skipping proc cap tests - insufficient privilege 2024/11/17 17:08:38 compare-cap success! ./psx-signals Toggling KEEP_CAPS .......... done Wait 1 second to see if unwanted signals arrive... none arrived PASSED ./mismatch || exit 0 ; exit 1 trap:186, a123456=[0,0,0,0,0,0] trap:186, a123456=[0,0,0,0,0,0] results: got {r1=10870,r2=0,errno=0}, want {r1=10868,r2=0,errno=0} fatal error: AllThreadsSyscall6 results differ between threads; runtime corrupted results: got {r1=10872,r2=0,errno=0}, want {r1=10868,r2=0,errno=0} fatal error: AllThreadsSyscall6 results differ between threads; runtime corrupted trap:186, a123456=[0,0,0,0,0,0] results: got {r1=10869,r2=0,errno=0}, want {r1=10868,r2=0,errno=0} fatal error: AllThreadsSyscall6 results differ between threads; runtime corrupted trap:186, a123456=[0,0,0,0,0,0] results: got {r1=10871,r2=0,errno=0}, want {r1=10868,r2=0,errno=0} fatal error: AllThreadsSyscall6 results differ between threads; runtime corrupted goroutine 0 [idle]: runtime.fatal({0x4a4b74?, 0x0?}) /usr/lib/golang/src/runtime/panic.go:1042 +0x5c runtime.runPerThreadSyscall() /usr/lib/golang/src/runtime/os_linux.go:875 +0x30c runtime.sighandler(0x21, 0xc00004e808?, 0xc00005f2e0?, 0xc000006a80) /usr/lib/golang/src/runtime/signal_unix.go:660 +0x4f2 runtime.sigtrampgo(0x21, 0xc00005f4b0, 0xc00005f380) /usr/lib/golang/src/runtime/signal_unix.go:490 +0x12e runtime.sigtramp() /usr/lib/golang/src/runtime/sys_linux_amd64.s:352 +0x46 goroutine 1 [running]: goroutine running on other thread; stack unavailable goroutine 0 [idle]: runtime.fatal({0x4a4b74?, 0x0?}) /usr/lib/golang/src/runtime/panic.go:1042 +0x5c runtime.runPerThreadSyscall() /usr/lib/golang/src/runtime/os_linux.go:875 +0x30c runtime.sighandler(0x21, 0xc000080008?, 0xc00008b2e0?, 0xc0000821c0) /usr/lib/golang/src/runtime/signal_unix.go:660 +0x4f2 runtime.sigtrampgo(0x21, 0xc00008b4b0, 0xc00008b380) /usr/lib/golang/src/runtime/signal_unix.go:490 +0x12e runtime.sigtramp() /usr/lib/golang/src/runtime/sys_linux_amd64.s:352 +0x46 goroutine 0 [idle]: runtime.fatal({0x4a4b74?, 0x0?}) /usr/lib/golang/src/runtime/panic.go:1042 +0x5c runtime.runPerThreadSyscall() /usr/lib/golang/src/runtime/os_linux.go:875 +0x30c runtime.sighandler(0x21, 0xc00004e008?, 0xc0000572e0?, 0xc000006540) /usr/lib/golang/src/runtime/signal_unix.go:660 +0x4f2 runtime.sigtrampgo(0x21, 0xc0000574b0, 0xc000057380) /usr/lib/golang/src/runtime/signal_unix.go:490 +0x12e runtime.sigtramp() /usr/lib/golang/src/runtime/sys_linux_amd64.s:352 +0x46 goroutine 0 [idle]: runtime.fatal({0x4a4b74?, 0x0?}) /usr/lib/golang/src/runtime/panic.go:1042 +0x5c runtime.runPerThreadSyscall() /usr/lib/golang/src/runtime/os_linux.go:875 +0x30c runtime.sighandler(0x21, 0xc00004f008?, 0xc0000752e0?, 0xc000007180) /usr/lib/golang/src/runtime/signal_unix.go:660 +0x4f2 runtime.sigtrampgo(0x21, 0xc0000754b0, 0xc000075380) /usr/lib/golang/src/runtime/signal_unix.go:490 +0x12e runtime.sigtramp() /usr/lib/golang/src/runtime/sys_linux_amd64.s:352 +0x46 timeout 5 ./psx-fd || echo "this is a known Go bug" make psx-signals-cgo mismatch-cgo psx-fd-cgo make[2]: Entering directory '/builddir/build/BUILD/libcap-2.69/go' echo "# kernel.org/pub/linux/libs/security/libcap/psx v1.2.69" > vendor/modules.txt echo "kernel.org/pub/linux/libs/security/libcap/psx" >> vendor/modules.txt echo "# kernel.org/pub/linux/libs/security/libcap/cap v1.2.69" >> vendor/modules.txt echo "kernel.org/pub/linux/libs/security/libcap/cap" >> vendor/modules.txt ln -sf /builddir/build/BUILD/libcap-2.69/psx vendor/kernel.org/pub/linux/libs/security/libcap touch ../psx touch PSXGOPACKAGE CC="gcc" CGO_ENABLED="1" CGO_CFLAGS="-I/builddir/build/BUILD/libcap-2.69/libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/libcap/include" CGO_LDFLAGS="-L/builddir/build/BUILD/libcap-2.69/libcap" go build -mod=vendor -o psx-signals-cgo psx-signals.go ln -sf /builddir/build/BUILD/libcap-2.69/cap vendor/kernel.org/pub/linux/libs/security/libcap touch ../cap CC="gcc" go run -mod=vendor mknames.go --header=/builddir/build/BUILD/libcap-2.69/libcap/cap_names.h --textdir=/builddir/build/BUILD/libcap-2.69/doc/values | gofmt > good-names.go || rm -f good-names.go diff -u ../cap/names.go good-names.go touch CAPGOPACKAGE CC="gcc" CGO_ENABLED="1" CGO_CFLAGS="-I/builddir/build/BUILD/libcap-2.69/libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/libcap/include" CGO_LDFLAGS="-L/builddir/build/BUILD/libcap-2.69/libcap" go build -mod=vendor -o mismatch-cgo mismatch.go CC="gcc" CGO_ENABLED="1" go build -mod=vendor -o psx-fd-cgo psx-fd.go make[2]: Leaving directory '/builddir/build/BUILD/libcap-2.69/go' ./psx-signals-cgo Toggling KEEP_CAPS .......... done Wait 1 second to see if unwanted signals arrive... none arrived PASSED ./mismatch-cgo || exit 0 ; exit 1 psx_syscall result differs. trap:186 a123=[0,0,0] results: 11340={11340} 11339={11339} 11338={11338} 11337={11337} 11336={11336} wanted={11335} SIGSYS: bad system call PC=0x7f26a0bec664 m=0 sigcode=18446744073709551610 signal arrived during cgo execution goroutine 1 gp=0xc0000061c0 m=0 mp=0x537880 [syscall, locked to thread]: runtime.cgocall(0x484790, 0xc000048678) /usr/lib/golang/src/runtime/cgocall.go:157 +0x4b fp=0xc000048650 sp=0xc000048618 pc=0x40682b kernel.org/pub/linux/libs/security/libcap/psx._Cfunc_psx_syscall3(0xba, 0x0, 0x0, 0x0) _cgo_gotypes.go:77 +0x4c fp=0xc000048678 sp=0xc000048650 pc=0x48430c kernel.org/pub/linux/libs/security/libcap/psx.Syscall3(0xba, 0x0, 0x0, 0x0) /builddir/build/BUILD/libcap-2.69/go/vendor/kernel.org/pub/linux/libs/security/libcap/psx/psx_cgo.go:64 +0x9a fp=0xc0000486e0 sp=0xc000048678 pc=0x4844da main.main() /builddir/build/BUILD/libcap-2.69/go/mismatch.go:13 +0x25 fp=0xc000048750 sp=0xc0000486e0 pc=0x484605 runtime.main() /usr/lib/golang/src/runtime/proc.go:271 +0x29d fp=0xc0000487e0 sp=0xc000048750 pc=0x43775d runtime.goexit({}) /usr/lib/golang/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000487e8 sp=0xc0000487e0 pc=0x4642e1 goroutine 2 gp=0xc000006c40 m=nil [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/lib/golang/src/runtime/proc.go:402 +0xce fp=0xc000048fa8 sp=0xc000048f88 pc=0x437b8e runtime.goparkunlock(...) /usr/lib/golang/src/runtime/proc.go:408 runtime.forcegchelper() /usr/lib/golang/src/runtime/proc.go:326 +0xb3 fp=0xc000048fe0 sp=0xc000048fa8 pc=0x437a13 runtime.goexit({}) /usr/lib/golang/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000048fe8 sp=0xc000048fe0 pc=0x4642e1 created by runtime.init.6 in goroutine 1 /usr/lib/golang/src/runtime/proc.go:314 +0x1a goroutine 3 gp=0xc000007180 m=nil [GC sweep wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/lib/golang/src/runtime/proc.go:402 +0xce fp=0xc000049780 sp=0xc000049760 pc=0x437b8e runtime.goparkunlock(...) /usr/lib/golang/src/runtime/proc.go:408 runtime.bgsweep(0xc000072000) /usr/lib/golang/src/runtime/mgcsweep.go:278 +0x94 fp=0xc0000497c8 sp=0xc000049780 pc=0x423f34 runtime.gcenable.gowrap1() /usr/lib/golang/src/runtime/mgc.go:203 +0x25 fp=0xc0000497e0 sp=0xc0000497c8 pc=0x418a85 runtime.goexit({}) /usr/lib/golang/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000497e8 sp=0xc0000497e0 pc=0x4642e1 created by runtime.gcenable in goroutine 1 /usr/lib/golang/src/runtime/mgc.go:203 +0x66 goroutine 4 gp=0xc000007340 m=nil [GC scavenge wait]: runtime.gopark(0xc000072000?, 0x4c1b38?, 0x1?, 0x0?, 0xc000007340?) /usr/lib/golang/src/runtime/proc.go:402 +0xce fp=0xc000049f78 sp=0xc000049f58 pc=0x437b8e runtime.goparkunlock(...) /usr/lib/golang/src/runtime/proc.go:408 runtime.(*scavengerState).park(0x537220) /usr/lib/golang/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc000049fa8 sp=0xc000049f78 pc=0x421929 runtime.bgscavenge(0xc000072000) /usr/lib/golang/src/runtime/mgcscavenge.go:653 +0x3c fp=0xc000049fc8 sp=0xc000049fa8 pc=0x421ebc ./psx-fd-cgo runtime.gcenable.gowrap2() /usr/lib/golang/src/runtime/mgc.go:204 +0x25 fp=0xc000049fe0 sp=0xc000049fc8 pc=0x418a25 runtime.goexit({}) /usr/lib/golang/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000049fe8 sp=0xc000049fe0 pc=0x4642e1 created by runtime.gcenable in goroutine 1 /usr/lib/golang/src/runtime/mgc.go:204 +0xa5 goroutine 5 gp=0xc000007c00 m=nil [finalizer wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/lib/golang/src/runtime/proc.go:402 +0xce fp=0xc00004a620 sp=0xc00004a600 pc=0x437b8e runtime.runfinq() /usr/lib/golang/src/runtime/mfinal.go:194 +0x107 fp=0xc00004a7e0 sp=0xc00004a620 pc=0x417ac7 runtime.goexit({}) /usr/lib/golang/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00004a7e8 sp=0xc00004a7e0 pc=0x4642e1 created by runtime.createfing in goroutine 1 /usr/lib/golang/src/runtime/mfinal.go:164 +0x3d rax 0x0 rbx 0x2c47 rcx 0x7f26a0bec664 rdx 0x1f rdi 0x2c47 rsi 0x2c47 rbp 0x7ffd9cd2c030 rsp 0x7ffd9cd2bff0 r8 0x1 r9 0xfffffffb r10 0x0 r11 0x246 r12 0x0 r13 0x0 r14 0x1f r15 0x3fffffffffffffff rip 0x7f26a0bec664 rflags 0x246 cs 0x33 fs 0x0 gs 0x0 ./setid --caps=false before capability state: "=" before gid: /proc/11347/status Gid: 425 425 425 425 /proc/11348/status Gid: 425 425 425 425 /proc/11349/status Gid: 425 425 425 425 /proc/11350/status Gid: 425 425 425 425 /proc/11351/status Gid: 425 425 425 425 before uid: /proc/11347/status Uid: 1000 1000 1000 1000 /proc/11348/status Uid: 1000 1000 1000 1000 /proc/11349/status Uid: 1000 1000 1000 1000 /proc/11350/status Uid: 1000 1000 1000 1000 /proc/11351/status Uid: 1000 1000 1000 1000 after capability state: "=" after gid: /proc/11347/status Gid: 425 425 425 425 /proc/11348/status Gid: 425 425 425 425 /proc/11349/status Gid: 425 425 425 425 /proc/11350/status Gid: 425 425 425 425 /proc/11351/status Gid: 425 425 425 425 after uid: /proc/11347/status Uid: 1000 1000 1000 1000 /proc/11348/status Uid: 1000 1000 1000 1000 /proc/11349/status Uid: 1000 1000 1000 1000 /proc/11350/status Uid: 1000 1000 1000 1000 /proc/11351/status Uid: 1000 1000 1000 1000 ./gowns -- -c "echo gowns runs" gowns runs ./captree 0 --(0) +-(sd-stubinit)(1) [!cap_net_admin,!cap_sys_module,!cap_sys_rawio,!cap_sys_pacct,!cap_sys_time,!cap_mac_override,!cap_mac_admin,!cap_syslog,!cap_wake_alarm,!cap_block_suspend,!cap_audit_read,!cap_perfmon,!cap_bpf,!cap_checkpoint_restore] +-rpmbuild(4) [!cap_net_admin,!cap_sys_module,!cap_sys_rawio,!cap_sys_pacct,!cap_sys_time,!cap_mac_override,!cap_mac_admin,!cap_syslog,!cap_wake_alarm,!cap_block_suspend,!cap_audit_read,!cap_perfmon,!cap_bpf,!cap_checkpoint_restore] +-sh(8294) [!cap_net_admin,!cap_sys_module,!cap_sys_rawio,!cap_sys_pacct,!cap_sys_time,!cap_mac_override,!cap_mac_admin,!cap_syslog,!cap_wake_alarm,!cap_block_suspend,!cap_audit_read,!cap_perfmon,!cap_bpf,!cap_checkpoint_restore] +-make(8295) [!cap_net_admin,!cap_sys_module,!cap_sys_rawio,!cap_sys_pacct,!cap_sys_time,!cap_mac_override,!cap_mac_admin,!cap_syslog,!cap_wake_alarm,!cap_block_suspend,!cap_audit_read,!cap_perfmon,!cap_bpf,!cap_checkpoint_restore] +-make(8559) [!cap_net_admin,!cap_sys_module,!cap_sys_rawio,!cap_sys_pacct,!cap_sys_time,!cap_mac_override,!cap_mac_admin,!cap_syslog,!cap_wake_alarm,!cap_block_suspend,!cap_audit_read,!cap_perfmon,!cap_bpf,!cap_checkpoint_restore] +-captree(11360+{11361,11362,11363,11364,11365,11366}) [!cap_net_admin,!cap_sys_module,!cap_sys_rawio,!cap_sys_pacct,!cap_sys_time,!cap_mac_override,!cap_mac_admin,!cap_syslog,!cap_wake_alarm,!cap_block_suspend,!cap_audit_read,!cap_perfmon,!cap_bpf,!cap_checkpoint_restore] make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/go' rm -f cap/go.sum make -C tests test make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/tests' make run_psx_test run_libcap_psx_test make[2]: Entering directory '/builddir/build/BUILD/libcap-2.69/tests' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/libcap-2.69/tests/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/tests/../libcap/include -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes psx_test.c -o psx_test -Wl,-rpath,../libcap -L/builddir/build/BUILD/libcap-2.69/tests/../libcap -lpsx -lpthread -Wl,-wrap,pthread_create ./psx_test child 11463 starting child 11463 exiting iteration [11462]: 0 hello [11462], main<0> 7fccc46f2740 (keepcaps=1 vs. want=1) pid=11462 forked -> 11463 [11462] started=0 vs 1 [11462] started=1 vs 1 iteration [11462]: 1 hello [11462], main<1> 7fccc46f2740 (keepcaps=0 vs. want=0) hello [11462], thread<0> 7fccc46006c0 (keepcaps=0 vs. want=0) [11462] started=1 vs 2 [11462] started=2 vs 2 iteration [11462]: 2 hello [11462], main<2> 7fccc46f2740 (keepcaps=1 vs. want=1) hello [11462], thread<0> 7fccc3c006c0 (keepcaps=1 vs. want=1) hello [11462], thread<1> 7fccc46006c0 (keepcaps=1 vs. want=1) [11462] started=2 vs 3 [11462] started=3 vs 3 iteration [11462]: 3 hello [11462], thread<2> 7fccc46006c0 (keepcaps=0 vs. want=0) hello [11462], main<3> 7fccc46f2740 (keepcaps=0 vs. want=0) hello [11462], thread<1> 7fccc3c006c0 (keepcaps=0 vs. want=0) hello [11462], thread<0> 7fccc32006c0 (keepcaps=0 vs. want=0) iteration [11462]: 4 hello [11462], main<4> 7fccc46f2740 (keepcaps=1 vs. want=1) hello [11462], thread<2> 7fccc3c006c0 (keepcaps=1 vs. want=1) hello [11462], thread<1> 7fccc32006c0 (keepcaps=1 vs. want=1) iteration [11462]: 5 hello [11462], main<5> 7fccc46f2740 (keepcaps=0 vs. want=0) hello [11462], thread<2> 7fccc32006c0 (keepcaps=0 vs. want=0) iteration [11462]: 6 hello [11462], main<6> 7fccc46f2740 (keepcaps=1 vs. want=1) iteration [11462]: 7 hello [11462], main<7> 7fccc46f2740 (keepcaps=0 vs. want=0) iteration [11462]: 8 hello [11462], main<8> 7fccc46f2740 (keepcaps=1 vs. want=1) iteration [11462]: 9 hello [11462], main<9> 7fccc46f2740 (keepcaps=0 vs. want=0) ./psx_test PASSED gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/libcap-2.69/tests/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/tests/../libcap/include -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes libcap_psx_test.c -o libcap_psx_test -Wl,-rpath,../libcap -L/builddir/build/BUILD/libcap-2.69/tests/../libcap -lcap -L/builddir/build/BUILD/libcap-2.69/tests/../libcap -lpsx -lpthread -Wl,-wrap,pthread_create ./libcap_psx_test hello libcap and libpsx .......... PASSED make[2]: Leaving directory '/builddir/build/BUILD/libcap-2.69/tests' make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/tests' make -C progs test make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/progs' no program tests without privilege, try 'make sudotest' make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/progs' make -C doc test make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/doc' no doc tests available make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/doc' + RPM_EC=0 ++ jobs -p + exit 0 Processing files: libcap-2.69-8.fc40.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4p3DyR + umask 022 + cd /builddir/build/BUILD + cd libcap-2.69 + DOCDIR=/builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/share/doc/libcap + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/share/doc/libcap + cp -pr /builddir/build/BUILD/libcap-2.69/doc/capability.md /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/share/doc/libcap + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.TPKDof + umask 022 + cd /builddir/build/BUILD + cd libcap-2.69 + LICENSEDIR=/builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/share/licenses/libcap + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/share/licenses/libcap + cp -pr /builddir/build/BUILD/libcap-2.69/License /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/share/licenses/libcap + RPM_EC=0 ++ jobs -p + exit 0 Provides: libcap = 2.69-8.fc40 libcap(x86-64) = 2.69-8.fc40 libcap.so.2()(64bit) libpsx.so.2()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_2.9)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libcap.so.2()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) rtld(GNU_HASH) Processing files: libcap-static-2.69-8.fc40.x86_64 Provides: libcap-static = 2.69-8.fc40 libcap-static(x86-64) = 2.69-8.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libcap-devel-2.69-8.fc40.x86_64 Provides: libcap-devel = 2.69-8.fc40 libcap-devel(x86-64) = 2.69-8.fc40 pkgconfig(libcap) = 2.69 pkgconfig(libpsx) = 2.69 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libcap.so.2()(64bit) libpsx.so.2()(64bit) Processing files: captree-2.69-8.fc40.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.DhLwvw + umask 022 + cd /builddir/build/BUILD + cd libcap-2.69 + LICENSEDIR=/builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/share/licenses/captree + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/share/licenses/captree + cp -pr /builddir/build/BUILD/libcap-2.69/License /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64/usr/share/licenses/captree + RPM_EC=0 ++ jobs -p + exit 0 Provides: captree = 2.69-8.fc40 captree(x86-64) = 2.69-8.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: libcap-debugsource-2.69-8.fc40.x86_64 Provides: libcap-debugsource = 2.69-8.fc40 libcap-debugsource(x86-64) = 2.69-8.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libcap-debuginfo-2.69-8.fc40.x86_64 Provides: debuginfo(build-id) = 0f397b7bfc416dc27afd43a2847b484e425a9916 debuginfo(build-id) = 5373b44818bddb1ca59db65f22587abe3e6ef3b3 debuginfo(build-id) = 5c842f2ab47594d5bdf8cb77fcbf9217f2b16459 debuginfo(build-id) = 6033cbed446b382a35ad082e4ce4985d7c8e368e debuginfo(build-id) = 60a221b56c1f60eac437d4f152fff36d81df741e debuginfo(build-id) = b2ec3c152cd658f3c1c24f58e2396f53f948582c debuginfo(build-id) = b49325fd2f7d316f966a57bb07ac859b178357a5 libcap-debuginfo = 2.69-8.fc40 libcap-debuginfo(x86-64) = 2.69-8.fc40 libcap.so.2.69-2.69-8.fc40.x86_64.debug()(64bit) libpsx.so.2.69-2.69-8.fc40.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libcap-debugsource(x86-64) = 2.69-8.fc40 Processing files: captree-debuginfo-2.69-8.fc40.x86_64 Provides: captree-debuginfo = 2.69-8.fc40 captree-debuginfo(x86-64) = 2.69-8.fc40 debuginfo(build-id) = bcd5734b8134871531612ac1af91e67acbe77019 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libcap-debugsource(x86-64) = 2.69-8.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libcap-2.69-8.fc40.x86_64 Wrote: /builddir/build/RPMS/libcap-static-2.69-8.fc40.x86_64.rpm Wrote: /builddir/build/RPMS/libcap-2.69-8.fc40.x86_64.rpm Wrote: /builddir/build/RPMS/libcap-debugsource-2.69-8.fc40.x86_64.rpm Wrote: /builddir/build/RPMS/libcap-devel-2.69-8.fc40.x86_64.rpm Wrote: /builddir/build/RPMS/libcap-debuginfo-2.69-8.fc40.x86_64.rpm Wrote: /builddir/build/RPMS/captree-debuginfo-2.69-8.fc40.x86_64.rpm Wrote: /builddir/build/RPMS/captree-2.69-8.fc40.x86_64.rpm Child return code was: 0