Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pam_url.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1640822662.246201/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d9_a4l4z:/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.d9_a4l4z:/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', '656a81c810354dd6bb17d3668bc36197', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1640822662.246201/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d9_a4l4z:/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/pam_url.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 setting SOURCE_DATE_EPOCH=1626912000 Wrote: /builddir/build/SRPMS/pam_url-0.3.3-17.20211230git58e33bf.fc36.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/pam_url.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1640822662.246201/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d9_a4l4z:/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.d9_a4l4z:/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', '17b1a824f417437fbbae66e38c96d760', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1640822662.246201/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d9_a4l4z:/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/pam_url.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 setting SOURCE_DATE_EPOCH=1626912000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.141Sk0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pam_url-58e33bfaed3064ddc93f352b8272d42c17a20313 + /usr/bin/gzip -dc /builddir/build/SOURCES/pam_url-58e33bfaed3064ddc93f352b8272d42c17a20313.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pam_url-58e33bfaed3064ddc93f352b8272d42c17a20313 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's/#ifndef __CURL_CURL_H/#ifndef CURLINC_CURL_H/g' pam_url.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.P0ANuc + umask 022 + cd /builddir/build/BUILD + cd pam_url-58e33bfaed3064ddc93f352b8272d42c17a20313 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c99' + make -j2 pamlib=lib64/security all cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c99 -fPIC -pthread -D_GNU_SOURCE -c -o pam_url.o pam_url.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c99 -fPIC -pthread -D_GNU_SOURCE -c -o pam_url_account.o pam_url_account.c pam_url.c: In function 'get_password': pam_url.c:21:13: warning: unused variable 'prompt_len' [-Wunused-variable] 21 | int prompt_len = 0; | ^~~~~~~~~~ pam_url.c: In function 'fetch_url': pam_url.c:212:45: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'const void *' [-Wformat=] 212 | if( asprintf(&combined, "%s%s", opts.first_pass, opts.passwd) < 0 || | ~^ ~~~~~~~~~~~ | | | | char * const void * | %p pam_url.c: In function 'check_rc': pam_url.c:336:13: warning: unused variable 'ret' [-Wunused-variable] 336 | int ret=0; | ^~~ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c99 -fPIC -pthread -D_GNU_SOURCE -c -o pam_url_authenticate.o pam_url_authenticate.c pam_url_authenticate.c: In function 'pam_sm_authenticate': pam_url_authenticate.c:15:13: warning: unused variable 'len' [-Wunused-variable] 15 | int len = 0; | ^~~ cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c99 -fPIC -pthread -D_GNU_SOURCE -c -o pam_url_password.o pam_url_password.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c99 -fPIC -pthread -D_GNU_SOURCE -c -o pam_url_session.o pam_url_session.c cc pam_url.o pam_url_account.o pam_url_authenticate.o pam_url_password.o pam_url_session.o -shared -lpam -pthread -lcurl -lconfig -o pam_url.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LhtueW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pam_url-0.3.3-17.20211230git58e33bf.fc36.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pam_url-0.3.3-17.20211230git58e33bf.fc36.x86_64 ++ dirname /builddir/build/BUILDROOT/pam_url-0.3.3-17.20211230git58e33bf.fc36.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pam_url-0.3.3-17.20211230git58e33bf.fc36.x86_64 + cd pam_url-58e33bfaed3064ddc93f352b8272d42c17a20313 + make DESTDIR=/builddir/build/BUILDROOT/pam_url-0.3.3-17.20211230git58e33bf.fc36.x86_64 pamlib=lib64/security install install -D -m 755 pam_url.so /builddir/build/BUILDROOT/pam_url-0.3.3-17.20211230git58e33bf.fc36.x86_64/lib64/security/pam_url.so install -D -m 644 examples/pam_url.conf /builddir/build/BUILDROOT/pam_url-0.3.3-17.20211230git58e33bf.fc36.x86_64/etc/pam_url.conf + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.3.3-17.20211230git58e33bf.fc36 --unique-debug-suffix -0.3.3-17.20211230git58e33bf.fc36.x86_64 --unique-debug-src-base pam_url-0.3.3-17.20211230git58e33bf.fc36.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/pam_url-58e33bfaed3064ddc93f352b8272d42c17a20313 extracting debug info from /builddir/build/BUILDROOT/pam_url-0.3.3-17.20211230git58e33bf.fc36.x86_64/lib64/security/pam_url.so original debug info size: 76kB, size after compression: 68kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 34 blocks + /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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: pam_url-0.3.3-17.20211230git58e33bf.fc36.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.kKU80z + umask 022 + cd /builddir/build/BUILD + cd pam_url-58e33bfaed3064ddc93f352b8272d42c17a20313 + DOCDIR=/builddir/build/BUILDROOT/pam_url-0.3.3-17.20211230git58e33bf.fc36.x86_64/usr/share/doc/pam_url + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pam_url-0.3.3-17.20211230git58e33bf.fc36.x86_64/usr/share/doc/pam_url + cp -pr AUTHOR /builddir/build/BUILDROOT/pam_url-0.3.3-17.20211230git58e33bf.fc36.x86_64/usr/share/doc/pam_url + cp -pr COPYING /builddir/build/BUILDROOT/pam_url-0.3.3-17.20211230git58e33bf.fc36.x86_64/usr/share/doc/pam_url + cp -pr INSTALL /builddir/build/BUILDROOT/pam_url-0.3.3-17.20211230git58e33bf.fc36.x86_64/usr/share/doc/pam_url + cp -pr README /builddir/build/BUILDROOT/pam_url-0.3.3-17.20211230git58e33bf.fc36.x86_64/usr/share/doc/pam_url + cp -pr examples /builddir/build/BUILDROOT/pam_url-0.3.3-17.20211230git58e33bf.fc36.x86_64/usr/share/doc/pam_url + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(pam_url) = 1:0.3.3-17.20211230git58e33bf.fc36 pam_url = 1:0.3.3-17.20211230git58e33bf.fc36 pam_url(x86-64) = 1:0.3.3-17.20211230git58e33bf.fc36 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.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.8)(64bit) libconfig.so.11()(64bit) libcurl.so.4()(64bit) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) libpam.so.0(LIBPAM_EXTENSION_1.0)(64bit) rtld(GNU_HASH) Processing files: pam_url-debugsource-0.3.3-17.20211230git58e33bf.fc36.x86_64 Provides: pam_url-debugsource = 1:0.3.3-17.20211230git58e33bf.fc36 pam_url-debugsource(x86-64) = 1:0.3.3-17.20211230git58e33bf.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: pam_url-debuginfo-0.3.3-17.20211230git58e33bf.fc36.x86_64 Provides: debuginfo(build-id) = c14f3004c9c6b13c653484cc267be013869adca0 pam_url-debuginfo = 1:0.3.3-17.20211230git58e33bf.fc36 pam_url-debuginfo(x86-64) = 1:0.3.3-17.20211230git58e33bf.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pam_url-debugsource(x86-64) = 1:0.3.3-17.20211230git58e33bf.fc36 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pam_url-0.3.3-17.20211230git58e33bf.fc36.x86_64 Wrote: /builddir/build/RPMS/pam_url-0.3.3-17.20211230git58e33bf.fc36.x86_64.rpm Wrote: /builddir/build/RPMS/pam_url-debuginfo-0.3.3-17.20211230git58e33bf.fc36.x86_64.rpm Wrote: /builddir/build/RPMS/pam_url-debugsource-0.3.3-17.20211230git58e33bf.fc36.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Ywn9bz + umask 022 + cd /builddir/build/BUILD + cd pam_url-58e33bfaed3064ddc93f352b8272d42c17a20313 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pam_url-0.3.3-17.20211230git58e33bf.fc36.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0