Mock Version: 2.10 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libcap.spec'], chrootPath='/var/lib/mock/centos-stream-8-x86_64-1623330157.964819/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5mcz7ber:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5mcz7ber:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', 'aa6157205d1346729e3aa2b6e8ad07ea', '-D', '/var/lib/mock/centos-stream-8-x86_64-1623330157.964819/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5mcz7ber:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libcap.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/libcap-2.26-5.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libcap.spec'], chrootPath='/var/lib/mock/centos-stream-8-x86_64-1623330157.964819/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5mcz7ber:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5mcz7ber:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', 'bdb6070bed7748bd9d6c11d71c427066', '-D', '/var/lib/mock/centos-stream-8-x86_64-1623330157.964819/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5mcz7ber:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libcap.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4HZa1u + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libcap-2.26 + /usr/bin/gzip -dc /builddir/build/SOURCES/libcap-2.26.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libcap-2.26 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (libcap-2.25-buildflags.patch): + echo 'Patch #0 (libcap-2.25-buildflags.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Make.Rules + echo 'Patch #1 (libcap-PAM_REINITIALIZE_CRED.patch):' Patch #1 (libcap-PAM_REINITIALIZE_CRED.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file pam_cap/pam_cap.c Patch #2 (libcap-2.26-ambient-caps.patch): + echo 'Patch #2 (libcap-2.26-ambient-caps.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file doc/cap_get_ambient.3 patching file doc/cap_get_proc.3 patching file doc/cap_reset_ambient.3 patching file doc/cap_set_ambient.3 patching file pam_cap/.gitignore patching file pam_cap/Makefile patching file pam_cap/pam_cap.c patching file pam_cap/sudotest.conf patching file pam_cap/test_pam_cap.c Patch #3 (libcap-add-new-caps.patch): + echo 'Patch #3 (libcap-add-new-caps.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file distcheck.sh patching file libcap/include/uapi/linux/capability.h patching file Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6jo5Zs + umask 022 + cd /builddir/build/BUILD + cd libcap-2.26 + make prefix=/usr lib=lib64 LIBDIR=/usr/lib64 SBINDIR=/usr/sbin INCDIR=/usr/include MANDIR=/usr/share/man PKGCONFIGDIR=/usr/lib64/pkgconfig/ make -C libcap all make[1]: Entering directory '/builddir/build/BUILD/libcap-2.26/libcap' => making cap_names.list.h from /builddir/build/BUILD/libcap-2.26/libcap/../libcap/include/uapi/linux/capability.h perl -e 'while ($l=<>) { if ($l =~ /^\#define[ \t](CAP[_A-Z]+)[ \t]+([0-9]+)\s+$/) { $tok=$1; $val=$2; $tok =~ tr/A-Z/a-z/; print "{\"$tok\",$val},\n"; } }' /builddir/build/BUILD/libcap-2.26/libcap/../libcap/include/uapi/linux/capability.h | fgrep -v 0x > cap_names.list.h gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -I/builddir/build/BUILD/libcap-2.26/libcap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.26/libcap/../libcap/include _makenames.c -o _makenames ./_makenames > cap_names.h gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -fPIC -I/builddir/build/BUILD/libcap-2.26/libcap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.26/libcap/../libcap/include -c cap_alloc.c -o cap_alloc.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -fPIC -I/builddir/build/BUILD/libcap-2.26/libcap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.26/libcap/../libcap/include -c cap_proc.c -o cap_proc.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -fPIC -I/builddir/build/BUILD/libcap-2.26/libcap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.26/libcap/../libcap/include -c cap_extint.c -o cap_extint.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -fPIC -I/builddir/build/BUILD/libcap-2.26/libcap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.26/libcap/../libcap/include -c cap_flag.c -o cap_flag.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -fPIC -I/builddir/build/BUILD/libcap-2.26/libcap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.26/libcap/../libcap/include -c cap_text.c -o cap_text.o cap_text.c: In function 'cap_to_name': cap_text.c:296:2: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&tmp, "%u", cap); ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -fPIC -I/builddir/build/BUILD/libcap-2.26/libcap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.26/libcap/../libcap/include -c cap_file.c -o cap_file.o gcc -Wl,-x -shared -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/builddir/build/BUILD/libcap-2.26/libcap/../libcap -Wl,-soname,libcap.so.2 -o libcap.so.2.26 cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_file.o ln -sf libcap.so.2.26 libcap.so.2 ln -sf libcap.so.2 libcap.so 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 sed -e 's,@prefix@,/usr,' \ -e 's,@exec_prefix@,/usr,' \ -e 's,@libdir@,/usr/lib64,' \ -e 's,@includedir@,/usr/include,' \ -e 's,@VERSION@,2.26,' \ -e 's,@deps@,,' \ libcap.pc.in >libcap.pc make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.26/libcap' make -C pam_cap all make[1]: Entering directory '/builddir/build/BUILD/libcap-2.26/pam_cap' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -fPIC -I/builddir/build/BUILD/libcap-2.26/pam_cap/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.26/pam_cap/../libcap/include -c pam_cap.c -o pam_cap.o gcc -Wl,-x -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/builddir/build/BUILD/libcap-2.26/pam_cap/../libcap -o pam_cap.so pam_cap.o -L../libcap -lcap make testlink make[2]: Entering directory '/builddir/build/BUILD/libcap-2.26/pam_cap' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/builddir/build/BUILD/libcap-2.26/pam_cap/../libcap -o testlink test.c pam_cap.o -lpam -ldl -L../libcap -lcap make[2]: Leaving directory '/builddir/build/BUILD/libcap-2.26/pam_cap' make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.26/pam_cap' make -C progs all make[1]: Entering directory '/builddir/build/BUILD/libcap-2.26/progs' gcc -fPIC -I/builddir/build/BUILD/libcap-2.26/progs/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.26/progs/../libcap/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -c getpcaps.c -o getpcaps.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/builddir/build/BUILD/libcap-2.26/progs/../libcap -o getpcaps getpcaps.o -L../libcap -lcap gcc -fPIC -I/builddir/build/BUILD/libcap-2.26/progs/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.26/progs/../libcap/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -c capsh.c -o capsh.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/builddir/build/BUILD/libcap-2.26/progs/../libcap -o capsh capsh.o -L../libcap -lcap gcc -fPIC -I/builddir/build/BUILD/libcap-2.26/progs/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.26/progs/../libcap/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -c getcap.c -o getcap.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/builddir/build/BUILD/libcap-2.26/progs/../libcap -o getcap getcap.o -L../libcap -lcap gcc -fPIC -I/builddir/build/BUILD/libcap-2.26/progs/../libcap/include/uapi -I/builddir/build/BUILD/libcap-2.26/progs/../libcap/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -c setcap.c -o setcap.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/builddir/build/BUILD/libcap-2.26/progs/../libcap -o setcap setcap.o -L../libcap -lcap make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.26/progs' make -C doc all make[1]: Entering directory '/builddir/build/BUILD/libcap-2.26/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.26/doc' make -C kdebug all make[1]: Entering directory '/builddir/build/BUILD/libcap-2.26/kdebug' cd to kdebug to test a kernel build make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.26/kdebug' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UC8fWt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64 + cd libcap-2.26 + make install RAISE_SETFCAP=no DESTDIR=/builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64 LIBDIR=/usr/lib64 SBINDIR=/usr/sbin PKGCONFIGDIR=/usr/lib64/pkgconfig/ make -C libcap install make[1]: Entering directory '/builddir/build/BUILD/libcap-2.26/libcap' mkdir -p -m 0755 /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64/usr/include/sys install -m 0644 include/sys/capability.h /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64/usr/include/sys mkdir -p -m 0755 /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64/usr/lib64 install -m 0644 libcap.a /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64/usr/lib64/libcap.a install -m 0644 libcap.so.2.26 /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64/usr/lib64/libcap.so.2.26 ln -sf libcap.so.2.26 /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64/usr/lib64/libcap.so.2 ln -sf libcap.so.2 /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64/usr/lib64/libcap.so mkdir -p -m 0755 /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64/usr/lib64/pkgconfig/ install -m 0644 libcap.pc /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64/usr/lib64/pkgconfig//libcap.pc make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.26/libcap' make -C pam_cap install make[1]: Entering directory '/builddir/build/BUILD/libcap-2.26/pam_cap' make testlink make[2]: Entering directory '/builddir/build/BUILD/libcap-2.26/pam_cap' make[2]: 'testlink' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/libcap-2.26/pam_cap' mkdir -p -m 0755 /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64/usr/lib64/security install -m 0755 pam_cap.so /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64/usr/lib64/security make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.26/pam_cap' make -C progs install make[1]: Entering directory '/builddir/build/BUILD/libcap-2.26/progs' mkdir -p -m 0755 /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64/usr/sbin for p in getpcaps capsh getcap setcap ; do \ install -m 0755 $p /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64/usr/sbin ; \ done make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.26/progs' make -C doc install make[1]: Entering directory '/builddir/build/BUILD/libcap-2.26/doc' mkdir -p -m 755 /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64/usr/share/man/man1 /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64/usr/share/man/man3 /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64/usr/share/man/man8 for man in \ /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64/usr/share/man/man1 capsh.1 \ /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64/usr/share/man/man3 cap_init.3 cap_free.3 cap_dup.3 cap_clear.3 cap_clear_flag.3 cap_get_flag.3 cap_set_flag.3 cap_compare.3 cap_get_proc.3 cap_get_pid.3 cap_set_proc.3 cap_get_file.3 cap_get_fd.3 cap_set_file.3 cap_set_fd.3 cap_copy_ext.3 cap_size.3 cap_copy_int.3 cap_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 \ /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64/usr/share/man/man8 getcap.8 setcap.8 \ ; \ do \ case $man in \ /*) sub=$man ; continue ;; \ esac; \ install -m 644 $man $sub ; \ done make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.26/doc' make -C kdebug install make[1]: Entering directory '/builddir/build/BUILD/libcap-2.26/kdebug' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.26/kdebug' + mkdir -p /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64//usr/share/man/man2 /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64//usr/share/man/man3 /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64//usr/share/man/man8 + mv -f 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_drop_bound.3 doc/cap_dup.3 doc/cap_free.3 doc/cap_from_name.3 doc/cap_from_text.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_pid.3 doc/cap_get_proc.3 doc/cap_init.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_proc.3 doc/cap_size.3 doc/cap_to_name.3 doc/cap_to_text.3 doc/capgetp.3 doc/capsetp.3 doc/libcap.3 /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64//usr/share/man/man3/ + cp -f /builddir/build/SOURCES/getpcaps.8 /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64//usr/share/man/man8/ + chmod +x /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64//usr/lib64/libcap.so.2 /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64//usr/lib64/libcap.so.2.26 + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 2.26-5.el8 --unique-debug-suffix -2.26-5.el8.x86_64 --unique-debug-src-base libcap-2.26-5.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/libcap-2.26 extracting debug info from /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64/usr/lib64/security/pam_cap.so extracting debug info from /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64/usr/lib64/libcap.so.2.26 extracting debug info from /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64/usr/sbin/capsh extracting debug info from /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64/usr/sbin/getcap extracting debug info from /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64/usr/sbin/getpcaps extracting debug info from /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64/usr/sbin/setcap /usr/lib/rpm/sepdebugcrcfix: Updated 6 CRC32s, 0 CRC32s did match. 184 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: libcap-2.26-5.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.R07ZCv + umask 022 + cd /builddir/build/BUILD + cd libcap-2.26 + DOCDIR=/builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64/usr/share/doc/libcap + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64/usr/share/doc/libcap + cp -pr doc/capability.notes /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64/usr/share/doc/libcap + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Gtv2Cu + umask 022 + cd /builddir/build/BUILD + cd libcap-2.26 + LICENSEDIR=/builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64/usr/share/licenses/libcap + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64/usr/share/licenses/libcap + cp -pr License /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64/usr/share/licenses/libcap + exit 0 Provides: libcap = 2.26-5.el8 libcap(x86-64) = 2.26-5.el8 libcap.so.2()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.8)(64bit) libcap.so.2()(64bit) rtld(GNU_HASH) Processing files: libcap-static-2.26-5.el8.x86_64 Provides: libcap-static = 2.26-5.el8 libcap-static(x86-64) = 2.26-5.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libcap-devel-2.26-5.el8.x86_64 Provides: libcap-devel = 2.26-5.el8 libcap-devel(x86-64) = 2.26-5.el8 pkgconfig(libcap) = 2.26 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) Processing files: libcap-debugsource-2.26-5.el8.x86_64 Provides: libcap-debugsource = 2.26-5.el8 libcap-debugsource(x86-64) = 2.26-5.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libcap-debuginfo-2.26-5.el8.x86_64 Provides: debuginfo(build-id) = 8a9b4b5b03431cd660fbef22eda1070438b8102a debuginfo(build-id) = 8cb6b1c4b9dc5210823e4dcbb3a8449f157a9d54 debuginfo(build-id) = 902c9294d4e332747a2a586d9f61083d12f21ffe debuginfo(build-id) = ae815e8c198175406fe4950c0127165066d4e9c2 debuginfo(build-id) = b713e5d591e8454b77090f280cc695bf76171586 debuginfo(build-id) = b99001e0bb57b5e3338d6c1d8a32f04349996be8 libcap-debuginfo = 2.26-5.el8 libcap-debuginfo(x86-64) = 2.26-5.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libcap-debugsource(x86-64) = 2.26-5.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64 Wrote: /builddir/build/RPMS/libcap-2.26-5.el8.x86_64.rpm Wrote: /builddir/build/RPMS/libcap-static-2.26-5.el8.x86_64.rpm Wrote: /builddir/build/RPMS/libcap-devel-2.26-5.el8.x86_64.rpm Wrote: /builddir/build/RPMS/libcap-debugsource-2.26-5.el8.x86_64.rpm Wrote: /builddir/build/RPMS/libcap-debuginfo-2.26-5.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.TZRw8s + umask 022 + cd /builddir/build/BUILD + cd libcap-2.26 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libcap-2.26-5.el8.x86_64 + exit 0 Child return code was: 0