Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/kloak.spec'], chrootPath='/var/lib/mock/879857-fedora-rawhide-x86_64-1554737948.623655/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.03ni6ood:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '415aa0f5d14e467385803bf533cae8e0', '-D', '/var/lib/mock/879857-fedora-rawhide-x86_64-1554737948.623655/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.03ni6ood:/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 x86_64 --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: x86_64 Building for target x86_64 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 x86_64 --nodeps /builddir/build/SPECS/kloak.spec'], chrootPath='/var/lib/mock/879857-fedora-rawhide-x86_64-1554737948.623655/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.03ni6ood:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ea58be58f3554c92a8bcb6f342cb62f3', '-D', '/var/lib/mock/879857-fedora-rawhide-x86_64-1554737948.623655/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.03ni6ood:/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 x86_64 --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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CvjkMt + 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.VU0fsv + 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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/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 -m64 -mtune=generic -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 -m64 -mtune=generic -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.oiBrgw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/kloak-0.2-1.fc31.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/kloak-0.2-1.fc31.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/kloak-0.2-1.fc31.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/kloak-0.2-1.fc31.x86_64 + cd kloak-0.2 + rm -rf /builddir/build/BUILDROOT/kloak-0.2-1.fc31.x86_64 + mkdir -p /builddir/build/BUILDROOT/kloak-0.2-1.fc31.x86_64//usr/sbin + mkdir -p /builddir/build/BUILDROOT/kloak-0.2-1.fc31.x86_64/usr/lib/systemd/system/ + mkdir -p /builddir/build/BUILDROOT/kloak-0.2-1.fc31.x86_64//usr/share/man/man8/ + install -Dpm 0755 kloak /builddir/build/BUILDROOT/kloak-0.2-1.fc31.x86_64//usr/sbin/kloak + install -Dpm 0755 eventcap /builddir/build/BUILDROOT/kloak-0.2-1.fc31.x86_64//usr/sbin/eventcap + install -Dpm 0644 lib/systemd/system/kloak.service /builddir/build/BUILDROOT/kloak-0.2-1.fc31.x86_64//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.x86_64 --unique-debug-src-base kloak-0.2-1.fc31.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -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.x86_64/usr/sbin/eventcap explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/kloak-0.2-1.fc31.x86_64/usr/sbin/kloak extracting debug info from /builddir/build/BUILDROOT/kloak-0.2-1.fc31.x86_64/usr/sbin/kloak extracting debug info from /builddir/build/BUILDROOT/kloak-0.2-1.fc31.x86_64/usr/sbin/eventcap /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.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.fs6x6s + umask 022 + cd /builddir/build/BUILD + cd kloak-0.2 + DOCDIR=/builddir/build/BUILDROOT/kloak-0.2-1.fc31.x86_64/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.x86_64/usr/share/doc/kloak + cp -pr README.md /builddir/build/BUILDROOT/kloak-0.2-1.fc31.x86_64/usr/share/doc/kloak + cp -pr changelog.upstream /builddir/build/BUILDROOT/kloak-0.2-1.fc31.x86_64/usr/share/doc/kloak + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.oRPUsu + umask 022 + cd /builddir/build/BUILD + cd kloak-0.2 + LICENSEDIR=/builddir/build/BUILDROOT/kloak-0.2-1.fc31.x86_64/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.x86_64/usr/share/licenses/kloak + cp -pr LICENSE /builddir/build/BUILDROOT/kloak-0.2-1.fc31.x86_64/usr/share/licenses/kloak + exit 0 Provides: kloak = 0.2-1.fc31 kloak(x86-64) = 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()(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) rtld(GNU_HASH) Processing files: kloak-debugsource-0.2-1.fc31.x86_64 Provides: kloak-debugsource = 0.2-1.fc31 kloak-debugsource(x86-64) = 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.x86_64 Provides: debuginfo(build-id) = ba757a9477de90a7249ce708259fe919869d2a0c debuginfo(build-id) = c7d1bbad8daed0be87845aeaf415dd5a9a72b10c kloak-debuginfo = 0.2-1.fc31 kloak-debuginfo(x86-64) = 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-64) = 0.2-1.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/kloak-0.2-1.fc31.x86_64 Wrote: /builddir/build/RPMS/kloak-0.2-1.fc31.x86_64.rpm Wrote: /builddir/build/RPMS/kloak-debugsource-0.2-1.fc31.x86_64.rpm Wrote: /builddir/build/RPMS/kloak-debuginfo-0.2-1.fc31.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.GJh1Ou + umask 022 + cd /builddir/build/BUILD + cd kloak-0.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/kloak-0.2-1.fc31.x86_64 + exit 0 Child return code was: 0