Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/virt_cacard.spec'], chrootPath='/var/lib/mock/fedora-35-i686-1654077819.485132/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.27kc8m5e:/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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.27kc8m5e:/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', '4ee1e0e124264b7ba15f0af1cd351c7e', '-D', '/var/lib/mock/fedora-35-i686-1654077819.485132/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.27kc8m5e:/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 i686 --nodeps /builddir/build/SPECS/virt_cacard.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1654041600 Wrote: /builddir/build/SRPMS/virt_cacard-1.2.1-3.fc35.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/virt_cacard.spec'], chrootPath='/var/lib/mock/fedora-35-i686-1654077819.485132/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.27kc8m5e:/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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.27kc8m5e:/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', 'b1591eaa3866436f93357997b8cbc449', '-D', '/var/lib/mock/fedora-35-i686-1654077819.485132/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.27kc8m5e:/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 i686 --nodeps /builddir/build/SPECS/virt_cacard.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1654041600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XCucmq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf virt_cacard-1.2.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/virt_cacard-1.2.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd virt_cacard-1.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (virt_cacard-1.2.1-rhel7.patch):' Patch #0 (virt_cacard-1.2.1-rhel7.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .old --fuzz=0 patching file configure.ac + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uJIJ4Q + umask 022 + cd /builddir/build/BUILD + cd virt_cacard-1.2.1 + ./autogen.sh autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf autoreconf: running: /usr/bin/autoheader autoreconf: running: automake --add-missing --no-force autoreconf: Leaving directory `.' + ./configure checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for gcc option to accept ISO C99... none needed checking for gcc option to accept ISO Standard C... (cached) none needed checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for CACARD... yes checking for GLIB... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for unistd.h... (cached) yes checking for inline... inline checking for uint16_t... yes checking for uint8_t... yes checking for memset... yes checking for socket... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of gcc... gcc3 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands + make -j2 make all-am make[1]: Entering directory '/builddir/build/BUILD/virt_cacard-1.2.1' depbase=`echo src/virt_cacard.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DG_LOG_DOMAIN=\"virt_cacard\" -I/usr/include/cacard -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/PCSC -pthread -g -O2 -MT src/virt_cacard.o -MD -MP -MF $depbase.Tpo -c -o src/virt_cacard.o src/virt_cacard.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo src/connection.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DG_LOG_DOMAIN=\"virt_cacard\" -I/usr/include/cacard -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/PCSC -pthread -g -O2 -MT src/connection.o -MD -MP -MF $depbase.Tpo -c -o src/connection.o src/connection.c &&\ mv -f $depbase.Tpo $depbase.Po In file included from /usr/include/glib-2.0/glib.h:62, from src/virt_cacard.c:30: src/virt_cacard.c: In function 'do_socket_read': src/virt_cacard.c:405:17: warning: format '%li' expects argument of type 'long int', but argument 6 has type 'gsize' {aka 'unsigned int'} [-Wformat=] 405 | g_debug("%s: rcvLength = = %i\n wasRead = %li\n", __func__, rcvLength, wasRead); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | gsize {aka unsigned int} /usr/include/glib-2.0/glib/gmessages.h:354:32: note: in definition of macro 'g_debug' 354 | __VA_ARGS__) | ^~~~~~~~~~~ src/virt_cacard.c:405:53: note: format string is defined here 405 | g_debug("%s: rcvLength = = %i\n wasRead = %li\n", __func__, rcvLength, wasRead); | ~~^ | | | long int | %i In file included from /usr/include/glib-2.0/glib.h:62, from src/virt_cacard.c:30: src/virt_cacard.c:407:17: warning: format '%li' expects argument of type 'long int', but argument 6 has type 'gsize' {aka 'unsigned int'} [-Wformat=] 407 | g_debug("%s: second part rcvLength = %i\n wasRead = %li\n", __func__, rcvLength, wasRead); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | gsize {aka unsigned int} /usr/include/glib-2.0/glib/gmessages.h:354:32: note: in definition of macro 'g_debug' 354 | __VA_ARGS__) | ^~~~~~~~~~~ src/virt_cacard.c:407:63: note: format string is defined here 407 | g_debug("%s: second part rcvLength = %i\n wasRead = %li\n", __func__, rcvLength, wasRead); | ~~^ | | | long int | %i gcc -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DG_LOG_DOMAIN=\"virt_cacard\" -I/usr/include/cacard -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/nss3 -I/usr/include/nspr4 -I/usr/include/PCSC -pthread -g -O2 -o virt_cacard src/virt_cacard.o src/connection.o -lglib-2.0 -lcacard -lglib-2.0 make[1]: Leaving directory '/builddir/build/BUILD/virt_cacard-1.2.1' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HNmod1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/virt_cacard-1.2.1-3.fc35.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/virt_cacard-1.2.1-3.fc35.i386 ++ dirname /builddir/build/BUILDROOT/virt_cacard-1.2.1-3.fc35.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/virt_cacard-1.2.1-3.fc35.i386 + cd virt_cacard-1.2.1 + install -d /builddir/build/BUILDROOT/virt_cacard-1.2.1-3.fc35.i386/usr/bin + install virt_cacard /builddir/build/BUILDROOT/virt_cacard-1.2.1-3.fc35.i386/usr/bin + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.2.1-3.fc35 --unique-debug-suffix -1.2.1-3.fc35.i386 --unique-debug-src-base virt_cacard-1.2.1-3.fc35.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/virt_cacard-1.2.1 extracting debug info from /builddir/build/BUILDROOT/virt_cacard-1.2.1-3.fc35.i386/usr/bin/virt_cacard original debug info size: 44kB, size after compression: 40kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 44 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: virt_cacard-1.2.1-3.fc35.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1X23S3 + umask 022 + cd /builddir/build/BUILD + cd virt_cacard-1.2.1 + DOCDIR=/builddir/build/BUILDROOT/virt_cacard-1.2.1-3.fc35.i386/usr/share/doc/virt_cacard + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/virt_cacard-1.2.1-3.fc35.i386/usr/share/doc/virt_cacard + cp -pr README.md /builddir/build/BUILDROOT/virt_cacard-1.2.1-3.fc35.i386/usr/share/doc/virt_cacard + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.QiYmfp + umask 022 + cd /builddir/build/BUILD + cd virt_cacard-1.2.1 + LICENSEDIR=/builddir/build/BUILDROOT/virt_cacard-1.2.1-3.fc35.i386/usr/share/licenses/virt_cacard + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/virt_cacard-1.2.1-3.fc35.i386/usr/share/licenses/virt_cacard + cp -pr LICENSE /builddir/build/BUILDROOT/virt_cacard-1.2.1-3.fc35.i386/usr/share/licenses/virt_cacard + RPM_EC=0 ++ jobs -p + exit 0 Provides: virt_cacard = 1.2.1-3.fc35 virt_cacard(x86-32) = 1.2.1-3.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.34) libcacard.so.0 libglib-2.0.so.0 rtld(GNU_HASH) Processing files: virt_cacard-debugsource-1.2.1-3.fc35.i686 Provides: virt_cacard-debugsource = 1.2.1-3.fc35 virt_cacard-debugsource(x86-32) = 1.2.1-3.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: virt_cacard-debuginfo-1.2.1-3.fc35.i686 Provides: debuginfo(build-id) = 4b006736bd7f1d562fe93ad89a295cb8e0d825c4 virt_cacard-debuginfo = 1.2.1-3.fc35 virt_cacard-debuginfo(x86-32) = 1.2.1-3.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: virt_cacard-debugsource(x86-32) = 1.2.1-3.fc35 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/virt_cacard-1.2.1-3.fc35.i386 Wrote: /builddir/build/RPMS/virt_cacard-debuginfo-1.2.1-3.fc35.i686.rpm Wrote: /builddir/build/RPMS/virt_cacard-1.2.1-3.fc35.i686.rpm Wrote: /builddir/build/RPMS/virt_cacard-debugsource-1.2.1-3.fc35.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8NqSXD + umask 022 + cd /builddir/build/BUILD + cd virt_cacard-1.2.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/virt_cacard-1.2.1-3.fc35.i386 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0