Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/kloak.spec'], chrootPath='/var/lib/mock/879857-fedora-rawhide-ppc64le-1554737913.711348/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.di0edhhi:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e19d087f10aa40a49515805d43357103', '-D', '/var/lib/mock/879857-fedora-rawhide-ppc64le-1554737913.711348/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.di0edhhi:/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 ppc64le --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: ppc64le Building for target ppc64le 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 ppc64le --nodeps /builddir/build/SPECS/kloak.spec'], chrootPath='/var/lib/mock/879857-fedora-rawhide-ppc64le-1554737913.711348/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.di0edhhi:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b40192da0b8e4a8ea8fd1c2b720bb520', '-D', '/var/lib/mock/879857-fedora-rawhide-ppc64le-1554737913.711348/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.di0edhhi:/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 ppc64le --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: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GyHtAw + 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.NlH4uv + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-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.ELBRyv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/kloak-0.2-1.fc31.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/kloak-0.2-1.fc31.ppc64le BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/kloak-0.2-1.fc31.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/kloak-0.2-1.fc31.ppc64le + cd kloak-0.2 + rm -rf /builddir/build/BUILDROOT/kloak-0.2-1.fc31.ppc64le + mkdir -p /builddir/build/BUILDROOT/kloak-0.2-1.fc31.ppc64le//usr/sbin + mkdir -p /builddir/build/BUILDROOT/kloak-0.2-1.fc31.ppc64le/usr/lib/systemd/system/ + mkdir -p /builddir/build/BUILDROOT/kloak-0.2-1.fc31.ppc64le//usr/share/man/man8/ + install -Dpm 0755 kloak /builddir/build/BUILDROOT/kloak-0.2-1.fc31.ppc64le//usr/sbin/kloak + install -Dpm 0755 eventcap /builddir/build/BUILDROOT/kloak-0.2-1.fc31.ppc64le//usr/sbin/eventcap + install -Dpm 0644 lib/systemd/system/kloak.service /builddir/build/BUILDROOT/kloak-0.2-1.fc31.ppc64le//usr/lib/systemd/system/kloak.service + gzip --best + ronn --pipe -r man/kloak.8.ronn + gzip --best + ronn --pipe -r man/eventcap.8.ronn + /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.ppc64le --unique-debug-src-base kloak-0.2-1.fc31.ppc64le --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.ppc64le/usr/sbin/eventcap explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/kloak-0.2-1.fc31.ppc64le/usr/sbin/kloak extracting debug info from /builddir/build/BUILDROOT/kloak-0.2-1.fc31.ppc64le/usr/sbin/eventcap extracting debug info from /builddir/build/BUILDROOT/kloak-0.2-1.fc31.ppc64le/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.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.qVj7xx + umask 022 + cd /builddir/build/BUILD + cd kloak-0.2 + DOCDIR=/builddir/build/BUILDROOT/kloak-0.2-1.fc31.ppc64le/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.ppc64le/usr/share/doc/kloak + cp -pr README.md /builddir/build/BUILDROOT/kloak-0.2-1.fc31.ppc64le/usr/share/doc/kloak + cp -pr changelog.upstream /builddir/build/BUILDROOT/kloak-0.2-1.fc31.ppc64le/usr/share/doc/kloak + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.hmDk8t + umask 022 + cd /builddir/build/BUILD + cd kloak-0.2 + LICENSEDIR=/builddir/build/BUILDROOT/kloak-0.2-1.fc31.ppc64le/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.ppc64le/usr/share/licenses/kloak + cp -pr LICENSE /builddir/build/BUILDROOT/kloak-0.2-1.fc31.ppc64le/usr/share/licenses/kloak + exit 0 Provides: kloak = 0.2-1.fc31 kloak(ppc-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.17)(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit) rtld(GNU_HASH) Processing files: kloak-debugsource-0.2-1.fc31.ppc64le Provides: kloak-debugsource = 0.2-1.fc31 kloak-debugsource(ppc-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.ppc64le Provides: debuginfo(build-id) = 55384d36405363b1f00ced54ae160896b6ac8489 debuginfo(build-id) = 9841f7cb0f3939c88056777b88a0d6fb3fba48d4 kloak-debuginfo = 0.2-1.fc31 kloak-debuginfo(ppc-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(ppc-64) = 0.2-1.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/kloak-0.2-1.fc31.ppc64le Wrote: /builddir/build/RPMS/kloak-0.2-1.fc31.ppc64le.rpm Wrote: /builddir/build/RPMS/kloak-debugsource-0.2-1.fc31.ppc64le.rpm Wrote: /builddir/build/RPMS/kloak-debuginfo-0.2-1.fc31.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.M7DJGw + umask 022 + cd /builddir/build/BUILD + cd kloak-0.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/kloak-0.2-1.fc31.ppc64le + exit 0 Child return code was: 0