Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/kloak.spec'], chrootPath='/var/lib/mock/879857-fedora-rawhide-i386-1554738059.313637/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rnurmgzw:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5223d8d51bb3441eb9123a87a94e42b8', '-D', '/var/lib/mock/879857-fedora-rawhide-i386-1554738059.313637/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rnurmgzw:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/kloak.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': 'en_US.UTF-8'} and shell False Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/kloak-0.2-1.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/kloak.spec'], chrootPath='/var/lib/mock/879857-fedora-rawhide-i386-1554738059.313637/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rnurmgzw:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '82f2ceea9a98418a8a639997eda33f28', '-D', '/var/lib/mock/879857-fedora-rawhide-i386-1554738059.313637/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rnurmgzw:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/kloak.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': 'en_US.UTF-8'} and shell False Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JEwOHw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kloak-0.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/v0.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd kloak-0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5H7Euv + umask 022 + cd /builddir/build/BUILD + cd kloak-0.2 + CFLAGS='-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/make -O -j2 gcc src/eventcap.c -o eventcap -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld gcc src/main.c src/keycodes.c -o kloak -lm -lpthread -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld BUILDSTDERR: src/main.c: In function 'current_time_ms': BUILDSTDERR: src/main.c:93:12: warning: variable 's' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 93 | time_t s; // Seconds BUILDSTDERR: | ^ BUILDSTDERR: src/main.c:92:10: warning: variable 'ms' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 92 | long ms; // Milliseconds BUILDSTDERR: | ^~ BUILDSTDERR: src/main.c: In function 'main': BUILDSTDERR: src/main.c:451:15: warning: unused variable 'res' [-Wunused-variable] BUILDSTDERR: 451 | int c, i, res, keycode; BUILDSTDERR: | ^~~ BUILDSTDERR: At top level: BUILDSTDERR: src/main.c:42:12: warning: 'polling_interval' defined but not used [-Wunused-variable] BUILDSTDERR: 42 | static int polling_interval = DEFAULT_POLLING_INTERVAL_MS; BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from src/main.c:2: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'detect_keyboard' at src/main.c:175:17: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'detect_uinput' at src/main.c:194:13: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'main' at src/main.c:541:9: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'main' at src/main.c:545:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/main.c: In function 'main': BUILDSTDERR: src/main.c:545:5: note: length computed here BUILDSTDERR: 545 | strncpy(_rescue_keys_str, rescue_keys_str, strlen(rescue_keys_str)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.i99yku + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/kloak-0.2-1.fc31.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/kloak-0.2-1.fc31.i386 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/kloak-0.2-1.fc31.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/kloak-0.2-1.fc31.i386 + cd kloak-0.2 + rm -rf /builddir/build/BUILDROOT/kloak-0.2-1.fc31.i386 + mkdir -p /builddir/build/BUILDROOT/kloak-0.2-1.fc31.i386//usr/sbin + mkdir -p /builddir/build/BUILDROOT/kloak-0.2-1.fc31.i386/usr/lib/systemd/system/ + mkdir -p /builddir/build/BUILDROOT/kloak-0.2-1.fc31.i386//usr/share/man/man8/ + install -Dpm 0755 kloak /builddir/build/BUILDROOT/kloak-0.2-1.fc31.i386//usr/sbin/kloak + install -Dpm 0755 eventcap /builddir/build/BUILDROOT/kloak-0.2-1.fc31.i386//usr/sbin/eventcap + install -Dpm 0644 lib/systemd/system/kloak.service /builddir/build/BUILDROOT/kloak-0.2-1.fc31.i386//usr/lib/systemd/system/kloak.service + ronn --pipe -r man/kloak.8.ronn + gzip --best + ronn --pipe -r man/eventcap.8.ronn + gzip --best + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.2-1.fc31 --unique-debug-suffix -0.2-1.fc31.i386 --unique-debug-src-base kloak-0.2-1.fc31.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/kloak-0.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/kloak-0.2-1.fc31.i386/usr/sbin/eventcap explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/kloak-0.2-1.fc31.i386/usr/sbin/kloak extracting debug info from /builddir/build/BUILDROOT/kloak-0.2-1.fc31.i386/usr/sbin/eventcap extracting debug info from /builddir/build/BUILDROOT/kloak-0.2-1.fc31.i386/usr/sbin/kloak /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 51 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: kloak-0.2-1.fc31.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.7LrjJt + umask 022 + cd /builddir/build/BUILD + cd kloak-0.2 + DOCDIR=/builddir/build/BUILDROOT/kloak-0.2-1.fc31.i386/usr/share/doc/kloak + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/kloak-0.2-1.fc31.i386/usr/share/doc/kloak + cp -pr README.md /builddir/build/BUILDROOT/kloak-0.2-1.fc31.i386/usr/share/doc/kloak + cp -pr changelog.upstream /builddir/build/BUILDROOT/kloak-0.2-1.fc31.i386/usr/share/doc/kloak + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.w3cZ6u + umask 022 + cd /builddir/build/BUILD + cd kloak-0.2 + LICENSEDIR=/builddir/build/BUILDROOT/kloak-0.2-1.fc31.i386/usr/share/licenses/kloak + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/kloak-0.2-1.fc31.i386/usr/share/licenses/kloak + cp -pr LICENSE /builddir/build/BUILDROOT/kloak-0.2-1.fc31.i386/usr/share/licenses/kloak + exit 0 Provides: kloak = 0.2-1.fc31 kloak(x86-32) = 0.2-1.fc31 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): systemd Requires(postun): /bin/sh systemd Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.17) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libm.so.6 libpthread.so.0 libpthread.so.0(GLIBC_2.0) rtld(GNU_HASH) Processing files: kloak-debugsource-0.2-1.fc31.i686 Provides: kloak-debugsource = 0.2-1.fc31 kloak-debugsource(x86-32) = 0.2-1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: kloak-debuginfo-0.2-1.fc31.i686 Provides: debuginfo(build-id) = 4d4ba28e040fa43980d23487bfab01a7eb97e54a debuginfo(build-id) = a634740a2a8e2ef65ebd5eb6c29abaa05eb91c1b kloak-debuginfo = 0.2-1.fc31 kloak-debuginfo(x86-32) = 0.2-1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: kloak-debugsource(x86-32) = 0.2-1.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/kloak-0.2-1.fc31.i386 Wrote: /builddir/build/RPMS/kloak-0.2-1.fc31.i686.rpm Wrote: /builddir/build/RPMS/kloak-debugsource-0.2-1.fc31.i686.rpm Wrote: /builddir/build/RPMS/kloak-debuginfo-0.2-1.fc31.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.m5HZbt + umask 022 + cd /builddir/build/BUILD + cd kloak-0.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/kloak-0.2-1.fc31.i386 + exit 0 Child return code was: 0