Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libcap.spec'], chrootPath='/var/lib/mock/f40-build-752219-116678/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1701388800 Wrote: /builddir/build/SRPMS/libcap-2.69-1.0.riscv64.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libcap.spec'], chrootPath='/var/lib/mock/f40-build-752219-116678/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1701388800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4whdFE + 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 Sun May 14 22:23:34 2023 EDT 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 . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8zx09I + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 -j4 V=1 VERBOSE=1 prefix=/usr lib=lib64 GO_BUILD_FLAGS=-ldflags=-linkmode=external 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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=\"/lib/ld-linux-riscv64-lp64d.so.1\" -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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,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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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=\"/lib/ld-linux-riscv64-lp64d.so.1\" -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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,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 make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/pam_cap' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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=\"/lib/ld-linux-riscv64-lp64d.so.1\" -c execable.c -o execable.o make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/pam_cap' /usr/bin/make libpsx.pc make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/pam_cap' gcc -Wl,-x -shared -o lazylink.so -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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,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=\"/lib/ld-linux-riscv64-lp64d.so.1\" -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]: 'libpsx.pc' is up to date. /usr/bin/make libcap.so make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/pam_cap' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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]: '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,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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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,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="0" go build -ldflags=-linkmode=external -mod=vendor -o gowns ../goapps/gowns/gowns.go make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/go' # command-line-arguments loadinternal: cannot find runtime/cgo make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/go' CC="gcc" CGO_ENABLED="0" go build -ldflags=-linkmode=external -mod=vendor -o setid ../goapps/setid/setid.go make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/go' # command-line-arguments loadinternal: cannot find runtime/cgo make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/go' CC="gcc" CGO_ENABLED="0" go build -ldflags=-linkmode=external -mod=vendor -o captree ../goapps/captree/captree.go # command-line-arguments loadinternal: cannot find runtime/cgo 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="0" go build -ldflags=-linkmode=external -mod=vendor -o captrace ../goapps/captrace/captrace.go # command-line-arguments loadinternal: cannot find runtime/cgo 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="0" go build -ldflags=-linkmode=external -mod=vendor -o web ../goapps/web/web.go # command-line-arguments loadinternal: cannot find runtime/cgo 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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,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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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,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' ./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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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,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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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,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.0ZpwYr + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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-1.0.riscv64.fc40.riscv64 'INSTALL=/usr/bin/install -p' prefix=/usr lib=lib64 GO_BUILD_FLAGS=-ldflags=-linkmode=external /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-1.0.riscv64.fc40.riscv64/usr/include/sys mkdir -p -m 0755 /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/lib64/pkgconfig mkdir -p -m 0755 /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/lib64 install -m 0644 include/sys/capability.h /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/include/sys install -m 0644 libcap.pc /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/lib64/pkgconfig/libcap.pc install -m 0644 libcap.a /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/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-1.0.riscv64.fc40.riscv64/usr/include/sys mkdir -p -m 0755 /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/lib64/pkgconfig mkdir -p -m 0755 /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/lib64 install -m 0644 include/sys/psx_syscall.h /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/include/sys install -m 0644 libpsx.pc /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/lib64/pkgconfig/libpsx.pc install -m 0644 libpsx.a /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/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-1.0.riscv64.fc40.riscv64/usr/include/sys mkdir -p -m 0755 /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/lib64/pkgconfig mkdir -p -m 0755 /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/lib64 install -m 0644 include/sys/capability.h /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/include/sys install -m 0644 libcap.pc /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/lib64/pkgconfig/libcap.pc install -m 0755 libcap.so.2.69 /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/lib64/libcap.so.2.69 ln -sf libcap.so.2.69 /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/lib64/libcap.so.2 ln -sf libcap.so.2 /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/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-1.0.riscv64.fc40.riscv64/usr/include/sys mkdir -p -m 0755 /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/lib64/pkgconfig mkdir -p -m 0755 /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/lib64 install -m 0644 include/sys/psx_syscall.h /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/include/sys install -m 0644 libpsx.pc /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/lib64/pkgconfig/libpsx.pc install -m 0755 libpsx.so.2.69 /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/lib64/libpsx.so.2.69 ln -sf libpsx.so.2.69 /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/lib64/libpsx.so.2 ln -sf libpsx.so.2 /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/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-1.0.riscv64.fc40.riscv64/usr/lib64/security install -m 0755 pam_cap.so /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/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="0" go build -ldflags=-linkmode=external -mod=vendor -o web ../goapps/web/web.go # command-line-arguments loadinternal: cannot find runtime/cgo CC="gcc" CGO_ENABLED="0" go build -ldflags=-linkmode=external -mod=vendor -o setid ../goapps/setid/setid.go # command-line-arguments loadinternal: cannot find runtime/cgo CC="gcc" CGO_ENABLED="0" go build -ldflags=-linkmode=external -mod=vendor -o gowns ../goapps/gowns/gowns.go # command-line-arguments loadinternal: cannot find runtime/cgo CC="gcc" CGO_ENABLED="0" go build -ldflags=-linkmode=external -mod=vendor -o captree ../goapps/captree/captree.go # command-line-arguments loadinternal: cannot find runtime/cgo CC="gcc" CGO_ENABLED="0" go build -ldflags=-linkmode=external -mod=vendor -o captrace ../goapps/captrace/captrace.go # command-line-arguments loadinternal: cannot find runtime/cgo mkdir -p -m 0755 /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/sbin install -m 0755 captree /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/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-1.0.riscv64.fc40.riscv64/usr/sbin for p in getpcaps getcap setcap capsh ; do \ install -m 0755 $p /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/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-1.0.riscv64.fc40.riscv64/usr/share/man/man1 /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/share/man/man3 /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/share/man/man8 for man in \ /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/share/man/man1 capsh.1 \ /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/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-1.0.riscv64.fc40.riscv64/usr/share/man/man8 getcap.8 setcap.8 getpcaps.8 captree.8 \ ; \ do \ case $man in \ /*) sub=$man ; continue ;; \ esac; \ install -m 644 $man $sub ; \ done make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/doc' + mkdir -p /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64//usr/share/man/man2 /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64//usr/share/man/man3 /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64//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-1.0.riscv64.fc40.riscv64//usr/share/man/man3/ + chmod +x /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64//usr/lib64/libcap.so.2 /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64//usr/lib64/libcap.so.2.69 /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64//usr/lib64/libpsx.so.2 /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64//usr/lib64/libpsx.so.2.69 + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 2.69-1.0.riscv64.fc40 --unique-debug-suffix -2.69-1.0.riscv64.fc40.riscv64 --unique-debug-src-base libcap-2.69-1.0.riscv64.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -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-1.0.riscv64.fc40.riscv64/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-1.0.riscv64.fc40.riscv64/usr/sbin/captree. Use `info auto-load python-scripts [REGEXP]' to list them. DWARF-compressing 8 files dwz: ./usr/sbin/captree-2.69-1.0.riscv64.fc40.riscv64.debug: Found compressed .debug_info section, not attempting dwz compression dwz: ./usr/sbin/captree-2.69-1.0.riscv64.fc40.riscv64.debug: Found compressed .debug_info 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-1.0.riscv64.fc40.riscv64 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 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.sC40lc + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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,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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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.212s 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.757s LD_LIBRARY_PATH=../libcap ./compare-cap 2023/12/01 09:50:43 skipping file cap tests - insufficient privilege 2023/12/01 09:50:43 skipping proc cap tests - insufficient privilege 2023/12/01 09:50:43 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:178, a123456=[0,0,0,0,0,0] results: got {r1=31139,r2=0,errno=0}, want {r1=31137,r2=0,errno=0} fatal error: AllThreadsSyscall6 results differ between threads; runtime corrupted trap:178, a123456=[0,0,0,0,0,0] results: got {r1=31138,r2=0,errno=0}, want {r1=31137,r2=0,errno=0} fatal error: AllThreadsSyscall6 results differ between threads; runtime corrupted trap:178, a123456=[0,0,0,0,0,0] results: got {r1=31140,r2=0,errno=0}, want {r1=31137,r2=0,errno=0} fatal error: AllThreadsSyscall6 results differ between threads; runtime corrupted goroutine 0 [idle]: runtime.fatal({0xafd9d?, 0x0?}) /usr/lib/golang/src/runtime/panic.go:1096 +0x44 runtime.runPerThreadSyscall() /usr/lib/golang/src/runtime/os_linux.go:900 +0x228 runtime.sighandler(0x21, 0x3f3c03e400?, 0x3f3c057b18?, 0x3f3c0009c0) /usr/lib/golang/src/runtime/signal_unix.go:660 +0x674 runtime.sigtrampgo(0x21, 0x3f3c057bc0, 0x3f3c057c40) /usr/lib/golang/src/runtime/signal_unix.go:490 +0xe0 runtime.sigtrampgo(0x21, 0x3f3c057bc0, 0x3f3c057c40) :1 +0x1c runtime.sigtramp() /usr/lib/golang/src/runtime/sys_linux_riscv64.s:428 +0x34 goroutine 1 [running]: goroutine running on other thread; stack unavailable goroutine 0 [idle]: runtime.fatal({0xafd9d?, 0x0?}) /usr/lib/golang/src/runtime/panic.go:1096 +0x44 runtime.runPerThreadSyscall() /usr/lib/golang/src/runtime/os_linux.go:900 +0x228 runtime.sighandler(0x21, 0x3f3c03e000?, 0x3f3c047b18?, 0x3f3c0004e0) /usr/lib/golang/src/runtime/signal_unix.go:660 +0x674 runtime.sigtrampgo(0x21, 0x3f3c047bc0, 0x3f3c047c40) /usr/lib/golang/src/runtime/signal_unix.go:490 +0xe0 runtime.sigtrampgo(0x21, 0x3f3c047bc0, 0x3f3c047c40) :1 +0x1c runtime.sigtramp() /usr/lib/golang/src/runtime/sys_linux_riscv64.s:428 +0x34 goroutine 0 [idle]: runtime.fatal({0xafd9d?, 0x0?}) /usr/lib/golang/src/runtime/panic.go:1096 +0x44 runtime.runPerThreadSyscall() /usr/lib/golang/src/runtime/os_linux.go:900 +0x228 runtime.sighandler(0x21, 0x3f3c03e800?, 0x3f3c063b18?, 0x3f3c001040) /usr/lib/golang/src/runtime/signal_unix.go:660 +0x674 runtime.sigtrampgo(0x21, 0x3f3c063bc0, 0x3f3c063c40) /usr/lib/golang/src/runtime/signal_unix.go:490 +0xe0 runtime.sigtrampgo(0x21, 0x3f3c063bc0, 0x3f3c063c40) :1 +0x1c runtime.sigtramp() /usr/lib/golang/src/runtime/sys_linux_riscv64.s:428 +0x34 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:178 a123=[0,0,0] results: 31512={31512} 31511={31511} 31510={31510} 31509={31509} 31508={31508} wanted={31507} SIGSYS: bad system call PC=0x3f80094ff4 m=0 sigcode=4294967290 signal arrived during cgo execution goroutine 1 [syscall, locked to thread]: runtime.cgocall(0x8d6a2, 0x3f3403a668) /usr/lib/golang/src/runtime/cgocall.go:157 +0x48 fp=0x3f3403a640 sp=0x3f3403a610 pc=0x14c10 kernel.org/pub/linux/libs/security/libcap/psx._Cfunc_psx_syscall3(0xb2, 0x0, 0x0, 0x0) _cgo_gotypes.go:73 +0x3c fp=0x3f3403a660 sp=0x3f3403a640 pc=0x8d154 kernel.org/pub/linux/libs/security/libcap/psx.Syscall3(0x3f340001a0?, 0x200000003?, 0x44fbc?, 0x3f340001a0?) /builddir/build/BUILD/libcap-2.69/go/vendor/kernel.org/pub/linux/libs/security/libcap/psx/psx_cgo.go:64 +0xa0 fp=0x3f3403a6e0 sp=0x3f3403a660 pc=0x8d2c8 main.main() /builddir/build/BUILD/libcap-2.69/go/mismatch.go:13 +0x30 fp=0x3f3403a748 sp=0x3f3403a6e0 pc=0x8d3a8 runtime.main() /usr/lib/golang/src/runtime/proc.go:267 +0x2d0 fp=0x3f3403a7d8 sp=0x3f3403a748 pc=0x44ff0 runtime.goexit() /usr/lib/golang/src/runtime/asm_riscv64.s:512 +0x4 fp=0x3f3403a7d8 sp=0x3f3403a7d8 pc=0x6e464 goroutine 2 [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/lib/golang/src/runtime/proc.go:398 +0x10c fp=0x3f3403afa8 sp=0x3f3403af90 pc=0x45484 runtime.goparkunlock(...) /usr/lib/golang/src/runtime/proc.go:404 runtime.forcegchelper() /usr/lib/golang/src/runtime/proc.go:322 +0xd4 fp=0x3f3403afd8 sp=0x3f3403afa8 pc=0x452ec runtime.goexit() /usr/lib/golang/src/runtime/asm_riscv64.s:512 +0x4 fp=0x3f3403afd8 sp=0x3f3403afd8 pc=0x6e464 created by runtime.init.5 in goroutine 1 /usr/lib/golang/src/runtime/proc.go:310 +0x28 goroutine 3 [GC sweep wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/lib/golang/src/runtime/proc.go:398 +0x10c fp=0x3f3403b780 sp=0x3f3403b768 pc=0x45484 runtime.goparkunlock(...) /usr/lib/golang/src/runtime/proc.go:404 runtime.bgsweep(0x0?) /usr/lib/golang/src/runtime/mgcsweep.go:280 +0xb4 fp=0x3f3403b7c8 sp=0x3f3403b780 pc=0x31804 runtime.gcenable.func1() /usr/lib/golang/src/runtime/mgc.go:200 +0x2c fp=0x3f3403b7d8 sp=0x3f3403b7c8 pc=0x26214 runtime.goexit() /usr/lib/golang/src/runtime/asm_riscv64.s:512 +0x4 fp=0x3f3403b7d8 sp=0x3f3403b7d8 pc=0x6e464 created by runtime.gcenable in goroutine 1 /usr/lib/golang/src/runtime/mgc.go:200 +0x70 goroutine 4 [GC scavenge wait]: runtime.gopark(0x3f34062000?, 0xc6e28?, 0x0?, 0x0?, 0x3f340011e0?) /usr/lib/golang/src/runtime/proc.go:398 +0x10c fp=0x3f3403bf80 sp=0x3f3403bf68 pc=0x45484 runtime.goparkunlock(...) /usr/lib/golang/src/runtime/proc.go:404 runtime.(*scavengerState).park(0x140ea0) /usr/lib/golang/src/runtime/mgcscavenge.go:425 +0x68 fp=0x3f3403bfa8 sp=0x3f3403bf80 pc=0x2ef48 runtime.bgscavenge(0x0?) /usr/lib/golang/src/runtime/mgcscavenge.go:653 +0x50 fp=0x3f3403bfc8 sp=0x3f3403bfa8 pc=0x2f4c0 runtime.gcenable.func2() /usr/lib/golang/src/runtime/mgc.go:201 +0x2c fp=0x3f3403bfd8 sp=0x3f3403bfc8 pc=0x261b4 runtime.goexit() /usr/lib/golang/src/runtime/asm_riscv64.s:512 +0x4 fp=0x3f3403bfd8 sp=0x3f3403bfd8 pc=0x6e464 created by runtime.gcenable in goroutine 1 /usr/lib/golang/src/runtime/mgc.go:201 +0xb0 goroutine 5 [finalizer wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/lib/golang/src/runtime/proc.go:398 +0x10c fp=0x3f3403c5a8 sp=0x3f3403c590 pc=0x45484 runtime.runfinq() /usr/lib/golang/src/runtime/mfinal.go:193 +0x108 fp=0x3f3403c7d8 sp=0x3f3403c5a8 pc=0x25308 runtime.goexit() /usr/lib/golang/src/runtime/asm_riscv64.s:512 +0x4 fp=0x3f3403c7d8 sp=0x3f3403c7d8 pc=0x6e464 created by runtime.createfing in goroutine 1 /usr/lib/golang/src/runtime/mfinal.go:163 +0x64 ra 0x3f80094fe6 sp 0x3ffbb91a78 gp 0x141138 tp 0x3f801993e0 t0 0xffffffffbcfff93e t1 0x121fc t2 0x2f3ffe4 s0 0x3ffbb91ac8 s1 0x7b13 a0 0x0 a1 0x7b13 a2 0x1f a3 0x0 a4 0x1 a5 0x3f80198c80 a6 0x3f80198d88 a7 0x83 s2 0xc s3 0x1412e0 s4 0x1f s5 0x3f801c5d50 s6 0x6d s7 0x4 s8 0x3ffbb91aa8 s9 0x3f3403a3f8 s10 0x3f3403a618 s11 0x140f40 t3 0x3f80095030 t4 0x0 t5 0xfffffffffffffffc t6 0x3f80198528 pc 0x3f80094ff4 ./psx-fd-cgo ./setid --caps=false before capability state: "=" before gid: /proc/31519/status Gid: 135 135 135 135 /proc/31520/status Gid: 135 135 135 135 /proc/31521/status Gid: 135 135 135 135 /proc/31522/status Gid: 135 135 135 135 before uid: /proc/31519/status Uid: 991 991 991 991 /proc/31520/status Uid: 991 991 991 991 /proc/31521/status Uid: 991 991 991 991 /proc/31522/status Uid: 991 991 991 991 after capability state: "=" after gid: /proc/31519/status Gid: 135 135 135 135 /proc/31520/status Gid: 135 135 135 135 /proc/31521/status Gid: 135 135 135 135 /proc/31522/status Gid: 135 135 135 135 after uid: /proc/31519/status Uid: 991 991 991 991 /proc/31520/status Uid: 991 991 991 991 /proc/31521/status Uid: 991 991 991 991 /proc/31522/status Uid: 991 991 991 991 ./gowns -- -c "echo gowns runs" gowns runs ./captree 0 --(0) +-systemd(1) "=ep" | +-haveged(207) "cap_sys_chroot,cap_sys_admin=ep" [!cap_chown,!cap_dac_override,!cap_dac_read_search,!cap_fowner,!cap_fsetid,!cap_kill,!cap_setgid,!cap_setuid,!cap_setpcap,!cap_linux_immutable,!cap_net_bind_service,!cap_net_broadcast,!cap_net_admin,!cap_net_raw,!cap_ipc_lock,!cap_ipc_owner,!cap_sys_module,!cap_sys_rawio,!cap_sys_ptrace,!cap_sys_pacct,!cap_sys_boot,!cap_sys_nice,!cap_sys_resource,!cap_sys_time,!cap_sys_tty_config,!cap_mknod,!cap_lease,!cap_audit_write,!cap_audit_control,!cap_setfcap,!cap_mac_override,!cap_mac_admin,!cap_syslog,!cap_wake_alarm,!cap_block_suspend,!cap_audit_read,!cap_perfmon,!cap_bpf,!cap_checkpoint_restore] | +-systemd-journal(559) "cap_chown,cap_dac_override,cap_dac_read_search,cap_fowner,cap_setgid,cap_setuid,cap_sys_ptrace,cap_sys_admin,cap_audit_control,cap_mac_override,cap_syslog,cap_audit_read=ep" [!cap_fsetid,!cap_kill,!cap_setpcap,!cap_linux_immutable,!cap_net_bind_service,!cap_net_broadcast,!cap_net_admin,!cap_net_raw,!cap_ipc_lock,!cap_ipc_owner,!cap_sys_module,!cap_sys_rawio,!cap_sys_chroot,!cap_sys_pacct,!cap_sys_boot,!cap_sys_nice,!cap_sys_resource,!cap_sys_time,!cap_sys_tty_config,!cap_mknod,!cap_lease,!cap_audit_write,!cap_setfcap,!cap_mac_admin,!cap_wake_alarm,!cap_block_suspend,!cap_perfmon,!cap_bpf,!cap_checkpoint_restore] | +-systemd-udevd(572) "=ep cap_sys_time,cap_wake_alarm-ep" [!cap_sys_time,!cap_wake_alarm] | +-auditd(635+{636,638}) "=ep cap_sys_module-ep" [!cap_sys_module] | | +-sedispatch(637) [!cap_chown,!cap_dac_override,!cap_dac_read_search,!cap_fowner,!cap_fsetid,!cap_kill,!cap_setgid,!cap_setuid,!cap_setpcap,!cap_linux_immutable,!cap_net_bind_service,!cap_net_broadcast,!cap_net_admin,!cap_net_raw,!cap_ipc_lock,!cap_ipc_owner,!cap_sys_module,!cap_sys_rawio,!cap_sys_chroot,!cap_sys_ptrace,!cap_sys_pacct,!cap_sys_admin,!cap_sys_boot,!cap_sys_nice,!cap_sys_resource,!cap_sys_time,!cap_sys_tty_config,!cap_mknod,!cap_lease,!cap_audit_write,!cap_audit_control,!cap_setfcap,!cap_mac_override,!cap_mac_admin,!cap_syslog,!cap_wake_alarm,!cap_block_suspend,!cap_audit_read,!cap_perfmon,!cap_bpf,!cap_checkpoint_restore] | +-firewalld(656) "=ep" | | :>-gmain{815} "=ep" | +-sssd(660) "cap_chown,cap_dac_read_search,cap_fowner,cap_kill,cap_setgid,cap_setuid,cap_net_admin,cap_ipc_lock,cap_sys_admin,cap_sys_nice,cap_sys_resource,cap_block_suspend=ep" [!cap_dac_override,!cap_fsetid,!cap_setpcap,!cap_linux_immutable,!cap_net_bind_service,!cap_net_broadcast,!cap_net_raw,!cap_ipc_owner,!cap_sys_module,!cap_sys_rawio,!cap_sys_chroot,!cap_sys_ptrace,!cap_sys_pacct,!cap_sys_boot,!cap_sys_time,!cap_sys_tty_config,!cap_mknod,!cap_lease,!cap_audit_write,!cap_audit_control,!cap_setfcap,!cap_mac_override,!cap_mac_admin,!cap_syslog,!cap_wake_alarm,!cap_audit_read,!cap_perfmon,!cap_bpf,!cap_checkpoint_restore] | | +-sssd_be(689) "cap_chown,cap_dac_read_search,cap_fowner,cap_kill,cap_setgid,cap_setuid,cap_net_admin,cap_ipc_lock,cap_sys_admin,cap_sys_nice,cap_sys_resource,cap_block_suspend=ep" [!cap_dac_override,!cap_fsetid,!cap_setpcap,!cap_linux_immutable,!cap_net_bind_service,!cap_net_broadcast,!cap_net_raw,!cap_ipc_owner,!cap_sys_module,!cap_sys_rawio,!cap_sys_chroot,!cap_sys_ptrace,!cap_sys_pacct,!cap_sys_boot,!cap_sys_time,!cap_sys_tty_config,!cap_mknod,!cap_lease,!cap_audit_write,!cap_audit_control,!cap_setfcap,!cap_mac_override,!cap_mac_admin,!cap_syslog,!cap_wake_alarm,!cap_audit_read,!cap_perfmon,!cap_bpf,!cap_checkpoint_restore] | | +-sssd_nss(695) "cap_chown,cap_dac_read_search,cap_fowner,cap_kill,cap_setgid,cap_setuid,cap_net_admin,cap_ipc_lock,cap_sys_admin,cap_sys_nice,cap_sys_resource,cap_block_suspend=ep" [!cap_dac_override,!cap_fsetid,!cap_setpcap,!cap_linux_immutable,!cap_net_bind_service,!cap_net_broadcast,!cap_net_raw,!cap_ipc_owner,!cap_sys_module,!cap_sys_rawio,!cap_sys_chroot,!cap_sys_ptrace,!cap_sys_pacct,!cap_sys_boot,!cap_sys_time,!cap_sys_tty_config,!cap_mknod,!cap_lease,!cap_audit_write,!cap_audit_control,!cap_setfcap,!cap_mac_override,!cap_mac_admin,!cap_syslog,!cap_wake_alarm,!cap_audit_read,!cap_perfmon,!cap_bpf,!cap_checkpoint_restore] | +-systemd-homed(663) "cap_chown,cap_dac_override,cap_fowner,cap_fsetid,cap_setgid,cap_setuid,cap_sys_admin,cap_sys_resource=ep" [!cap_dac_read_search,!cap_kill,!cap_setpcap,!cap_linux_immutable,!cap_net_bind_service,!cap_net_broadcast,!cap_net_admin,!cap_net_raw,!cap_ipc_lock,!cap_ipc_owner,!cap_sys_module,!cap_sys_rawio,!cap_sys_chroot,!cap_sys_ptrace,!cap_sys_pacct,!cap_sys_boot,!cap_sys_nice,!cap_sys_time,!cap_sys_tty_config,!cap_mknod,!cap_lease,!cap_audit_write,!cap_audit_control,!cap_setfcap,!cap_mac_override,!cap_mac_admin,!cap_syslog,!cap_wake_alarm,!cap_block_suspend,!cap_audit_read,!cap_perfmon,!cap_bpf,!cap_checkpoint_restore] | +-udisksd(665) "=ep" | | :>-gmain{676} "=ep" | | :>-gdbus{696} "=ep" | | :>-probing-thread{711} "=ep" | | :>-cleanup{718} "=ep" | +-gssproxy(666+{668,669,670,671,672}) "=ep" | +-dbus-broker-lau(681) [!cap_sys_rawio,!cap_mknod] | | +-dbus-broker(690) "cap_audit_write=eip" [!cap_sys_rawio,!cap_mknod,cap_audit_write] | +-polkitd(697+{709}) | | :>-gmain{701} | | :>-gdbus{702} | | :>-JS Helper{703,704,705,706} | +-systemd-logind(721) "cap_chown,cap_dac_override,cap_dac_read_search,cap_fowner,cap_linux_immutable,cap_sys_admin,cap_sys_tty_config,cap_audit_control,cap_mac_admin=ep" [!cap_fsetid,!cap_kill,!cap_setgid,!cap_setuid,!cap_setpcap,!cap_net_bind_service,!cap_net_broadcast,!cap_net_admin,!cap_net_raw,!cap_ipc_lock,!cap_ipc_owner,!cap_sys_module,!cap_sys_rawio,!cap_sys_chroot,!cap_sys_ptrace,!cap_sys_pacct,!cap_sys_boot,!cap_sys_nice,!cap_sys_resource,!cap_sys_time,!cap_mknod,!cap_lease,!cap_audit_write,!cap_setfcap,!cap_mac_override,!cap_syslog,!cap_wake_alarm,!cap_block_suspend,!cap_audit_read,!cap_perfmon,!cap_bpf,!cap_checkpoint_restore] | +-chronyd(724) "cap_net_bind_service,cap_sys_time=ep" | +-NetworkManager(727) "cap_dac_override,cap_kill,cap_setgid,cap_setuid,cap_net_bind_service,cap_net_admin,cap_net_raw,cap_sys_module,cap_sys_chroot,cap_audit_write=ep" [!cap_chown,!cap_dac_read_search,!cap_fowner,!cap_fsetid,!cap_setpcap,!cap_linux_immutable,!cap_net_broadcast,!cap_ipc_lock,!cap_ipc_owner,!cap_sys_rawio,!cap_sys_ptrace,!cap_sys_pacct,!cap_sys_admin,!cap_sys_boot,!cap_sys_nice,!cap_sys_resource,!cap_sys_time,!cap_sys_tty_config,!cap_mknod,!cap_lease,!cap_audit_control,!cap_setfcap,!cap_mac_override,!cap_mac_admin,!cap_syslog,!cap_wake_alarm,!cap_block_suspend,!cap_audit_read,!cap_perfmon,!cap_bpf,!cap_checkpoint_restore] | | :>-gmain{733} "cap_dac_override,cap_kill,cap_setgid,cap_setuid,cap_net_bind_service,cap_net_admin,cap_net_raw,cap_sys_module,cap_sys_chroot,cap_audit_write=ep" [!cap_chown,!cap_dac_read_search,!cap_fowner,!cap_fsetid,!cap_setpcap,!cap_linux_immutable,!cap_net_broadcast,!cap_ipc_lock,!cap_ipc_owner,!cap_sys_rawio,!cap_sys_ptrace,!cap_sys_pacct,!cap_sys_admin,!cap_sys_boot,!cap_sys_nice,!cap_sys_resource,!cap_sys_time,!cap_sys_tty_config,!cap_mknod,!cap_lease,!cap_audit_control,!cap_setfcap,!cap_mac_override,!cap_mac_admin,!cap_syslog,!cap_wake_alarm,!cap_block_suspend,!cap_audit_read,!cap_perfmon,!cap_bpf,!cap_checkpoint_restore] | | :>-gdbus{734} "cap_dac_override,cap_kill,cap_setgid,cap_setuid,cap_net_bind_service,cap_net_admin,cap_net_raw,cap_sys_module,cap_sys_chroot,cap_audit_write=ep" [!cap_chown,!cap_dac_read_search,!cap_fowner,!cap_fsetid,!cap_setpcap,!cap_linux_immutable,!cap_net_broadcast,!cap_ipc_lock,!cap_ipc_owner,!cap_sys_rawio,!cap_sys_ptrace,!cap_sys_pacct,!cap_sys_admin,!cap_sys_boot,!cap_sys_nice,!cap_sys_resource,!cap_sys_time,!cap_sys_tty_config,!cap_mknod,!cap_lease,!cap_audit_control,!cap_setfcap,!cap_mac_override,!cap_mac_admin,!cap_syslog,!cap_wake_alarm,!cap_block_suspend,!cap_audit_read,!cap_perfmon,!cap_bpf,!cap_checkpoint_restore] | +-sshd(737) "=ep" | +-agetty(751) "=ep" | +-agetty(752) "=ep" | +-systemd-userdbd(860) "cap_dac_read_search=ep" [!cap_chown,!cap_dac_override,!cap_fowner,!cap_fsetid,!cap_kill,!cap_setgid,!cap_setuid,!cap_setpcap,!cap_linux_immutable,!cap_net_bind_service,!cap_net_broadcast,!cap_net_admin,!cap_net_raw,!cap_ipc_lock,!cap_ipc_owner,!cap_sys_module,!cap_sys_rawio,!cap_sys_chroot,!cap_sys_ptrace,!cap_sys_pacct,!cap_sys_admin,!cap_sys_boot,!cap_sys_nice,!cap_sys_resource,!cap_sys_time,!cap_sys_tty_config,!cap_mknod,!cap_lease,!cap_audit_write,!cap_audit_control,!cap_setfcap,!cap_mac_override,!cap_mac_admin,!cap_syslog,!cap_wake_alarm,!cap_block_suspend,!cap_audit_read,!cap_perfmon,!cap_bpf,!cap_checkpoint_restore] | | +-systemd-userwor(27553) "cap_dac_read_search=ep" [!cap_chown,!cap_dac_override,!cap_fowner,!cap_fsetid,!cap_kill,!cap_setgid,!cap_setuid,!cap_setpcap,!cap_linux_immutable,!cap_net_bind_service,!cap_net_broadcast,!cap_net_admin,!cap_net_raw,!cap_ipc_lock,!cap_ipc_owner,!cap_sys_module,!cap_sys_rawio,!cap_sys_chroot,!cap_sys_ptrace,!cap_sys_pacct,!cap_sys_admin,!cap_sys_boot,!cap_sys_nice,!cap_sys_resource,!cap_sys_time,!cap_sys_tty_config,!cap_mknod,!cap_lease,!cap_audit_write,!cap_audit_control,!cap_setfcap,!cap_mac_override,!cap_mac_admin,!cap_syslog,!cap_wake_alarm,!cap_block_suspend,!cap_audit_read,!cap_perfmon,!cap_bpf,!cap_checkpoint_restore] | | +-systemd-userwor(27614) "cap_dac_read_search=ep" [!cap_chown,!cap_dac_override,!cap_fowner,!cap_fsetid,!cap_kill,!cap_setgid,!cap_setuid,!cap_setpcap,!cap_linux_immutable,!cap_net_bind_service,!cap_net_broadcast,!cap_net_admin,!cap_net_raw,!cap_ipc_lock,!cap_ipc_owner,!cap_sys_module,!cap_sys_rawio,!cap_sys_chroot,!cap_sys_ptrace,!cap_sys_pacct,!cap_sys_admin,!cap_sys_boot,!cap_sys_nice,!cap_sys_resource,!cap_sys_time,!cap_sys_tty_config,!cap_mknod,!cap_lease,!cap_audit_write,!cap_audit_control,!cap_setfcap,!cap_mac_override,!cap_mac_admin,!cap_syslog,!cap_wake_alarm,!cap_block_suspend,!cap_audit_read,!cap_perfmon,!cap_bpf,!cap_checkpoint_restore] | | +-systemd-userwor(27680) "cap_dac_read_search=ep" [!cap_chown,!cap_dac_override,!cap_fowner,!cap_fsetid,!cap_kill,!cap_setgid,!cap_setuid,!cap_setpcap,!cap_linux_immutable,!cap_net_bind_service,!cap_net_broadcast,!cap_net_admin,!cap_net_raw,!cap_ipc_lock,!cap_ipc_owner,!cap_sys_module,!cap_sys_rawio,!cap_sys_chroot,!cap_sys_ptrace,!cap_sys_pacct,!cap_sys_admin,!cap_sys_boot,!cap_sys_nice,!cap_sys_resource,!cap_sys_time,!cap_sys_tty_config,!cap_mknod,!cap_lease,!cap_audit_write,!cap_audit_control,!cap_setfcap,!cap_mac_override,!cap_mac_admin,!cap_syslog,!cap_wake_alarm,!cap_block_suspend,!cap_audit_read,!cap_perfmon,!cap_bpf,!cap_checkpoint_restore] | +-kojid(888) "=ep" | +-kojid(24486) "=ep" | +-mock(24732) "=p" | +-rpmbuild(24881) | +-sh(29142) | +-make(29143) | +-make(29367) | +-captree(31531+{31532,31533,31534,31535}) +-kthreadd(2) "=ep" +-rcu_gp(3) "=ep" +-rcu_par_gp(4) "=ep" +-netns(5) "=ep" +-kworker/0:0H-events_highpri(7) "=ep" +-mm_percpu_wq(9) "=ep" +-rcu_tasks_kthread(11) "=ep" +-rcu_tasks_rude_kthread(12) "=ep" +-rcu_tasks_trace_kthread(13) "=ep" +-ksoftirqd/0(14) "=ep" +-rcu_sched(15) "=ep" +-migration/0(16) "=ep" +-cpuhp/0(18) "=ep" +-cpuhp/1(19) "=ep" +-migration/1(20) "=ep" +-ksoftirqd/1(21) "=ep" +-kworker/1:0H-events_highpri(23) "=ep" +-cpuhp/2(24) "=ep" +-migration/2(25) "=ep" +-ksoftirqd/2(26) "=ep" +-kworker/2:0H-events_highpri(28) "=ep" +-cpuhp/3(29) "=ep" +-migration/3(30) "=ep" +-ksoftirqd/3(31) "=ep" +-kworker/3:0H-events_highpri(33) "=ep" +-kdevtmpfs(34) "=ep" +-inet_frag_wq(35) "=ep" +-kauditd(36) "=ep" +-oom_reaper(37) "=ep" +-writeback(38) "=ep" +-kcompactd0(39) "=ep" +-ksmd(40) "=ep" +-khugepaged(41) "=ep" +-kintegrityd(42) "=ep" +-kblockd(43) "=ep" +-blkcg_punt_bio(44) "=ep" +-tpm_dev_wq(45) "=ep" +-ata_sff(46) "=ep" +-md(47) "=ep" +-edac-poller(48) "=ep" +-watchdogd(49) "=ep" +-kworker/3:1H-kblockd(52) "=ep" +-kswapd0(53) "=ep" +-kthrotld(62) "=ep" +-irq/54-aerdrv(68) "=ep" +-kworker/0:1H-kblockd(69) "=ep" +-spi0(70) "=ep" +-spi1(71) "=ep" +-dm_bufio_cache(72) "=ep" +-irq/66-spi1.0 cd(74) "=ep" +-mld(75) "=ep" +-ipv6_addrconf(76) "=ep" +-kworker/1:1H-kblockd(78) "=ep" +-kstrp(82) "=ep" +-zswap-shrink(88) "=ep" +-kworker/u9:0(89) "=ep" +-kworker/2:1H-kblockd(208) "=ep" +-rpciod(318) "=ep" +-xprtiod(319) "=ep" +-irq/67-da9063-irq(426) "=ep" +-nvme-wq(430) "=ep" +-nvme-reset-wq(431) "=ep" +-nvme-delete-wq(432) "=ep" +-jbd2/nvme0n1p2-8(447) "=ep" +-ext4-rsv-conver(448) "=ep" +-irq/102-lm90(602) "=ep" +-jbd2/nvme0n1p1-8(620) "=ep" +-ext4-rsv-conver(621) "=ep" +-kworker/u8:2-ext4-rsv-conversion(16161) "=ep" +-kworker/2:3-events(21149) "=ep" +-kworker/1:3-events(22941) "=ep" +-kworker/u8:0-ext4-rsv-conversion(23586) "=ep" +-kworker/0:1-events(23759) "=ep" +-kworker/1:0(23773) "=ep" +-kworker/2:1-events(23780) "=ep" +-kworker/3:1-events(24038) "=ep" +-kworker/3:2-events(24509) "=ep" +-kworker/u8:1-ext4-rsv-conversion(24510) "=ep" +-kworker/u8:3-events_unbound(24512) "=ep" +-kworker/0:2(24700) "=ep" +-kworker/3:0-events(24804) "=ep" 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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,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 31617 starting child 31617 exiting iteration [31616]: 0 hello [31616], main<0> 3f85010020 (keepcaps=1 vs. want=1) pid=31616 forked -> 31617 [31616] started=0 vs 1 [31616] started=1 vs 1 iteration [31616]: 1 hello [31616], main<1> 3f85010020 (keepcaps=0 vs. want=0) hello [31616], thread<0> 3f8500f180 (keepcaps=0 vs. want=0) [31616] started=1 vs 2 [31616] started=2 vs 2 iteration [31616]: 2 hello [31616], main<2> 3f85010020 (keepcaps=1 vs. want=1) hello [31616], thread<0> 3f8480e180 (keepcaps=1 vs. want=1) hello [31616], thread<1> 3f8500f180 (keepcaps=1 vs. want=1) [31616] started=2 vs 3 [31616] started=3 vs 3 iteration [31616]: 3 hello [31616], main<3> 3f85010020 (keepcaps=0 vs. want=0) hello [31616], thread<1> 3f8480e180 (keepcaps=0 vs. want=0) hello [31616], thread<0> 3f7ffff180 (keepcaps=0 vs. want=0) hello [31616], thread<2> 3f8500f180 (keepcaps=0 vs. want=0) iteration [31616]: 4 hello [31616], main<4> 3f85010020 (keepcaps=1 vs. want=1) hello [31616], thread<2> 3f8480e180 (keepcaps=1 vs. want=1) hello [31616], thread<1> 3f7ffff180 (keepcaps=1 vs. want=1) iteration [31616]: 5 hello [31616], main<5> 3f85010020 (keepcaps=0 vs. want=0) hello [31616], thread<2> 3f7ffff180 (keepcaps=0 vs. want=0) iteration [31616]: 6 hello [31616], main<6> 3f85010020 (keepcaps=1 vs. want=1) iteration [31616]: 7 hello [31616], main<7> 3f85010020 (keepcaps=0 vs. want=0) iteration [31616]: 8 hello [31616], main<8> 3f85010020 (keepcaps=1 vs. want=1) iteration [31616]: 9 hello [31616], main<9> 3f85010020 (keepcaps=0 vs. want=0) ./psx_test PASSED gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-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,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-1.0.riscv64.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BmtApa + umask 022 + cd /builddir/build/BUILD + cd libcap-2.69 + DOCDIR=/builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/share/doc/libcap + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/share/doc/libcap + cp -pr /builddir/build/BUILD/libcap-2.69/doc/capability.md /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/share/doc/libcap + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.z0HIa9 + umask 022 + cd /builddir/build/BUILD + cd libcap-2.69 + LICENSEDIR=/builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/share/licenses/libcap + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/share/licenses/libcap + cp -pr /builddir/build/BUILD/libcap-2.69/License /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/share/licenses/libcap + RPM_EC=0 ++ jobs -p + exit 0 Provides: libcap = 2.69-1.0.riscv64.fc40 libcap(riscv-64) = 2.69-1.0.riscv64.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: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(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) 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-1.0.riscv64.fc40.riscv64 Provides: libcap-static = 2.69-1.0.riscv64.fc40 libcap-static(riscv-64) = 2.69-1.0.riscv64.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-1.0.riscv64.fc40.riscv64 Provides: libcap-devel = 2.69-1.0.riscv64.fc40 libcap-devel(riscv-64) = 2.69-1.0.riscv64.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-1.0.riscv64.fc40.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.64Ifp8 + umask 022 + cd /builddir/build/BUILD + cd libcap-2.69 + LICENSEDIR=/builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/share/licenses/captree + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/share/licenses/captree + cp -pr /builddir/build/BUILD/libcap-2.69/License /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64/usr/share/licenses/captree + RPM_EC=0 ++ jobs -p + exit 0 Provides: captree = 2.69-1.0.riscv64.fc40 captree(riscv-64) = 2.69-1.0.riscv64.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.34)(64bit) rtld(GNU_HASH) Processing files: libcap-debugsource-2.69-1.0.riscv64.fc40.riscv64 Provides: libcap-debugsource = 2.69-1.0.riscv64.fc40 libcap-debugsource(riscv-64) = 2.69-1.0.riscv64.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-1.0.riscv64.fc40.riscv64 Provides: debuginfo(build-id) = 06f83c419b9aaac5ae194be30f5283e690f6afc9 debuginfo(build-id) = 0e32692d7bc1e07a0577d1534044e90bc278baf6 debuginfo(build-id) = 2e3cbb3444f56266dc8ef384c9205c6ab1dad7da debuginfo(build-id) = 536ddbaa6f4defc99d030f5aee24801e8097f860 debuginfo(build-id) = 634a928706fa7a1d4db86a24c0d265ed65365989 debuginfo(build-id) = 93dbf9e5adb6b7d21bb818dd4ad329fe8fbf7924 debuginfo(build-id) = 9b895977413bd030162ded44b7745cc49466eeac libcap-debuginfo = 2.69-1.0.riscv64.fc40 libcap-debuginfo(riscv-64) = 2.69-1.0.riscv64.fc40 libcap.so.2.69-2.69-1.0.riscv64.fc40.riscv64.debug()(64bit) libpsx.so.2.69-2.69-1.0.riscv64.fc40.riscv64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libcap-debugsource(riscv-64) = 2.69-1.0.riscv64.fc40 Processing files: captree-debuginfo-2.69-1.0.riscv64.fc40.riscv64 Provides: captree-debuginfo = 2.69-1.0.riscv64.fc40 captree-debuginfo(riscv-64) = 2.69-1.0.riscv64.fc40 debuginfo(build-id) = d63804ee2ea9603620803f988d57e24a6da7fd2e Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libcap-debugsource(riscv-64) = 2.69-1.0.riscv64.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64 Wrote: /builddir/build/RPMS/libcap-debuginfo-2.69-1.0.riscv64.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/captree-debuginfo-2.69-1.0.riscv64.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/libcap-static-2.69-1.0.riscv64.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/libcap-2.69-1.0.riscv64.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/libcap-devel-2.69-1.0.riscv64.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/libcap-debugsource-2.69-1.0.riscv64.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/captree-2.69-1.0.riscv64.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YZTWLP + umask 022 + cd /builddir/build/BUILD + cd libcap-2.69 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libcap-2.69-1.0.riscv64.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.v0awPb + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/libcap-2.69-SPECPARTS + rm -rf libcap-2.69 libcap-2.69.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0