Build log:
Mock Version: 5.4
Mock Version: 5.4
Mock Version: 5.4
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target i686 --nodeps /builddir/build/SPECS/libcap.spec'], chrootPath='/var/lib/mock/f40-build-48975648-5817911/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f437c1450d0>timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dbznougy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dbznougy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f01e60da03934087bab7d724dad4b9ba', '-D', '/var/lib/mock/f40-build-48975648-5817911/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dbznougy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target i686 --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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: i686
Building for target i686
setting SOURCE_DATE_EPOCH=1707609600
Wrote: /builddir/build/SRPMS/libcap-2.69-4.fc40.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/libcap.spec'], chrootPath='/var/lib/mock/f40-build-48975648-5817911/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f437c1450d0>timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dbznougy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dbznougy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1a73c75f7f4d4f5c8bc0e1e1db741a04', '-D', '/var/lib/mock/f40-build-48975648-5817911/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dbznougy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target i686 --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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: i686
Building for target i686
setting SOURCE_DATE_EPOCH=1707609600
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8BZOgc
+ umask 022
+ cd /builddir/build/BUILD
+ gzip -cd /builddir/build/SOURCES/libcap-2.69.tar.gz
+ /usr/lib/rpm/redhat/gpgverify --keyring=/builddir/build/SOURCES/29EE848AE2CCF3F4.asc --signature=/builddir/build/SOURCES/libcap-2.69.tar.sign --data=-
gpgv: Signature made Mon May 15 02:23:34 2023 UTC
gpgv:                using RSA key 38A644698C69787344E954CE29EE848AE2CCF3F4
gpgv: Good signature from "Andrew G. Morgan <morgan@kernel.org>"
gpgv:                 aka "Andrew G. Morgan (Work Address) <agm@google.com>"
+ 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.xdoeHn
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -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,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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/lib:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd libcap-2.69
+ /usr/bin/make -O -j48 V=1 VERBOSE=1 prefix=/usr lib=lib 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/lib,' \
	-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/lib,' \
	-e 's,@includedir@,/usr/include,' \
	-e 's,@VERSION@,2.69,' \
	-e 's,@deps@,,' \
	libpsx.pc.in >libpsx.pc
make[2]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap'
make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap'
gcc -O2 -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include _makenames.c -o _makenames
make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap'
make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap'
./_makenames > cap_names.h
make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap'
make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap'
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection  -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include -c cap_extint.c -o cap_extint.o
make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap'
make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap'
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection  -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include -c cap_alloc.c -o cap_alloc.o
make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap'
make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap'
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection  -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include -c cap_file.c -o cap_file.o
make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap'
make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap'
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection  -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include -c cap_flag.c -o cap_flag.o
make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap'
make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap'
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection  -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include -c cap_proc.c -o cap_proc.o
make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap'
make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap'
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection  -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include  -c cap_text.c -o cap_text.o
make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap'
make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap'
ar rcs libcap.a cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_file.o
ranlib libcap.a
make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap'
/usr/bin/make libcap.so
make[2]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap'
gcc -o empty empty.c
make[2]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap'
make[2]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap'
objcopy --dump-section .interp=loader.txt empty /dev/null
make[2]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap'
make[2]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap'
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection  -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.so.2\" -include ./libcap.h -c execable.c -o cap_magic.o
make[2]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap'
make[2]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap'
gcc -Wl,-x -shared -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection  -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes  -Wl,-soname,libcap.so.2 -o libcap.so.2.69 cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_file.o cap_magic.o -Wl,-e,__so_start
ln -sf libcap.so.2.69 libcap.so.2
ln -sf libcap.so.2 libcap.so
make[2]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap'
/usr/bin/make libpsx.a
make[2]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap'
rm -f include/sys/psx_syscall.h
ln -s ../../../psx/psx_syscall.h include/sys/psx_syscall.h
make[2]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap'
make[2]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap'
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection  -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/libcap/../libcap/include -c ../psx/psx.c -o ../psx/psx.o
make[2]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap'
make[2]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap'
ar rcs libpsx.a ../psx/psx.o
ranlib libpsx.a
make[2]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap'
/usr/bin/make libpsx.so
make[2]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap'
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection  -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.so.2\" -c psx_exec.c -o psx_magic.o
make[2]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap'
make[2]: Entering directory '/builddir/build/BUILD/libcap-2.69/libcap'
gcc -Wl,-x -shared -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection  -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes  -Wl,-soname,libpsx.so.2 -o libpsx.so.2.69 ../psx/psx.o psx_magic.o -Wl,-e,__so_start -lpthread -Wl,-wrap,pthread_create
ln -sf libpsx.so.2.69 libpsx.so.2
ln -sf libpsx.so.2 libpsx.so
make[2]: Leaving directory '/builddir/build/BUILD/libcap-2.69/libcap'
/usr/bin/make -C pam_cap all
/usr/bin/make -C ../libcap all
/usr/bin/make libpsx.pc
make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/pam_cap'
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection  -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.so.2\" -c execable.c -o execable.o
make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/pam_cap'
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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection  -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[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/pam_cap'
gcc -Wl,-x -shared -o lazylink.so -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection  -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/libcap-2.69/pam_cap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/pam_cap/../libcap/include -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.so.2\" -Wl,-e,__so_start
make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/pam_cap'
make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/pam_cap'
echo "-Wl,-e,__so_start" > pam_cap_linkopts
./lazylink.so || echo "-lpam" >> pam_cap_linkopts
make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/pam_cap'
./lazylink.so: symbol lookup error: ./lazylink.so: undefined symbol: nothing_sets_this
make[3]: 'libcap.so' is up to date.
/usr/bin/make libpsx.a
make[3]: 'libpsx.a' is up to date.
/usr/bin/make libpsx.so
make[3]: 'libpsx.so' is up to date.
make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/pam_cap'
touch LIBCAP
make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/pam_cap'
make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/pam_cap'
cat pam_cap_linkopts | xargs -e gcc -Wl,-x -shared -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes  -o pam_cap.so pam_cap.o execable.o -L/builddir/build/BUILD/libcap-2.69/pam_cap/../libcap -lcap
make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/pam_cap'
/usr/bin/make testlink
make[2]: Entering directory '/builddir/build/BUILD/libcap-2.69/pam_cap'
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection  -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Dlinux -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/libcap-2.69/pam_cap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.69/pam_cap/../libcap/include  -c -o test.o test.c
make[2]: Leaving directory '/builddir/build/BUILD/libcap-2.69/pam_cap'
make[2]: Entering directory '/builddir/build/BUILD/libcap-2.69/pam_cap'
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection  -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Wunreachable-code -fPIC -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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'
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'
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
make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/go'
-linkmode=external requires external (cgo) linking, but cgo is not enabled
make[1]: *** [Makefile:74: gowns] Error 1
make[1]: *** Waiting for unfinished jobs....
-linkmode=external requires external (cgo) linking, but cgo is not enabled
make[1]: *** [Makefile:71: setid] Error 1
-linkmode=external requires external (cgo) linking, but cgo is not enabled
make[1]: *** [Makefile:77: captree] Error 1
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
make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/go'
-linkmode=external requires external (cgo) linking, but cgo is not enabled
make[1]: *** [Makefile:80: captrace] Error 1
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
make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/go'
-linkmode=external requires external (cgo) linking, but cgo is not enabled
make[1]: *** [Makefile:63: web] Error 1
make: *** [Makefile:14: all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.xdoeHn (%build)
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.xdoeHn (%build)
Child return code was: 1
EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 1a73c75f7f4d4f5c8bc0e1e1db741a04 -D /var/lib/mock/f40-build-48975648-5817911/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.dbznougy:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"\' \'--setenv=PS1=<mock-chroot> \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/libcap.spec\'\n', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
             ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status
    raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode)
mockbuild.exception.Error: Command failed: 
 # /usr/bin/systemd-nspawn -q -M 1a73c75f7f4d4f5c8bc0e1e1db741a04 -D /var/lib/mock/f40-build-48975648-5817911/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.dbznougy:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"' '--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/libcap.spec'



Extracted relevant lines:
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'
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'
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'
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'
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
make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/go'
-linkmode=external requires external (cgo) linking, but cgo is not enabled
make[1]: *** [Makefile:74: gowns] Error 1
make[1]: *** Waiting for unfinished jobs....
-linkmode=external requires external (cgo) linking, but cgo is not enabled
make[1]: *** [Makefile:71: setid] Error 1
-linkmode=external requires external (cgo) linking, but cgo is not enabled
make[1]: *** [Makefile:77: captree] Error 1
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
make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.69/go'
-linkmode=external requires external (cgo) linking, but cgo is not enabled
make[1]: *** [Makefile:80: captrace] Error 1
make[1]: Entering directory '/builddir/build/BUILD/libcap-2.69/go'
make[1]: *** [Makefile:63: web] Error 1
make: *** [Makefile:14: all] Error 2
EXCEPTION: [Error('Command failed: 
 # /usr/bin/systemd-nspawn -q -M 1a73c75f7f4d4f5c8bc0e1e1db741a04 -D /var/lib/mock/f40-build-48975648-5817911/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.dbznougy:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"\' \'--setenv=PS1=<mock-chroot> \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/libcap.spec\'
', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace
  File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status
    raise exception.Error("Command failed: 
 # %s
%s" % (cmd_pretty(command, env), output), child.returncode)
mockbuild.exception.Error: Command failed: 
 # /usr/bin/systemd-nspawn -q -M 1a73c75f7f4d4f5c8bc0e1e1db741a04 -D /var/lib/mock/f40-build-48975648-5817911/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.dbznougy:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"' '--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/libcap.spec'