Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/hid-replay.spec'], gid=425timeout=172800chrootPath='/var/lib/mock/f27-build-9398074-774289/root'printOutput=Falselogger=env={'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'LANG': 'en_US.UTF-8'}uid=1000shell=Falseuser='mockbuild'nspawn_args=[]) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/hid-replay.spec'] with env {'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/hid-replay-0.7.1-5.fc27.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/hid-replay.spec'], gid=425timeout=172800chrootPath='/var/lib/mock/f27-build-9398074-774289/root'printOutput=Falselogger=env={'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'LANG': 'en_US.UTF-8'}uid=1000shell=Falseuser='mockbuild'nspawn_args=[]) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/hid-replay.spec'] with env {'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', '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.7OgDTf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hid-replay-0.7.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/hid-replay-0.7.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd hid-replay-0.7.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (0001-force-hid-replay-build-for-RHEL-6.patch): + echo 'Patch #1 (0001-force-hid-replay-build-for-RHEL-6.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.ac patching file include/linux/uhid.h patching file src/Makefile.am + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7TZ10Y + umask 022 + cd /builddir/build/BUILD + cd hid-replay-0.7.1 + autoreconf -v --install autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal autoreconf: configure.ac: tracing autoreconf: configure.ac: creating directory config-aux autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf autoreconf: running: /usr/bin/autoheader autoreconf: running: automake --add-missing --copy --no-force configure.ac:19: installing 'config-aux/compile' configure.ac:12: installing 'config-aux/install-sh' configure.ac:12: installing 'config-aux/missing' Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/Makefile.am: installing 'config-aux/depcomp' autoreconf: Leaving directory `.' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=ppc64le-redhat-linux-gnu --host=ppc64le-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --disable-silent-rules configure: WARNING: unrecognized options: --disable-static 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 nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for ppc64le-redhat-linux-gnu-gcc... no 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 style of include used by make... GNU checking dependency style of gcc... none 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 linux/uhid.h usability... yes checking linux/uhid.h presence... yes checking for linux/uhid.h... yes checking for xmlto... /usr/bin/xmlto checking for asciidoc... /usr/bin/asciidoc checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands configure: WARNING: unrecognized options: --disable-static + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/hid-replay-0.7.1' Making all in src make[2]: Entering directory '/builddir/build/BUILD/hid-replay-0.7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -c -o hid-recorder.o hid-recorder.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -c -o hid-replay.o hid-replay.c hid-recorder.c: In function 'scan_devices': hid-recorder.c:190:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &devnum); ^~~~~~~~~~~~~~~~~~~~ hid-replay.c: In function 'main': hid-replay.c:510:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (line, sizeof(line), stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hid-recorder.c:195:2: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&filename, "%s/%s%d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DEV_DIR, HIDRAW_DEV_NAME, ~~~~~~~~~~~~~~~~~~~~~~~~~ devnum); ~~~~~~~ hid-replay.c: In function 'hid_replay_wait_opened': hid-replay.c:378:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fds[i].fd, &event, sizeof(event)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hid-recorder.c:172:9: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 59 [-Wformat-truncation=] "%s/%s", DEV_DIR, namelist[i]->d_name); ^~ In file included from /usr/include/stdio.h:862:0, from hid-recorder.c:49: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 6 and 261 bytes into a destination of size 64 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hid-recorder.c: In function 'find_hid_dbg': hid-recorder.c:244:9: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 234 [-Wformat-truncation=] "%s/%s/rdesc", HID_DBG_DIR, namelist[i]->d_name); ^~ In file included from /usr/include/stdio.h:862:0, from hid-recorder.c:49: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 29 and 284 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hid-recorder.c:256:10: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 234 [-Wformat-truncation=] "%s/%s/events", HID_DBG_DIR, namelist[i]->d_name); ^~ In file included from /usr/include/stdio.h:862:0, from hid-recorder.c:49: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 30 and 285 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hid-replay hid-replay.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hid-recorder hid-recorder.o Note: Writing hid-replay.1 Note: Writing hid-recorder.1 rm hid-recorder.xml hid-replay.xml make[2]: Leaving directory '/builddir/build/BUILD/hid-replay-0.7.1/src' make[2]: Entering directory '/builddir/build/BUILD/hid-replay-0.7.1' make[2]: Leaving directory '/builddir/build/BUILD/hid-replay-0.7.1' make[1]: Leaving directory '/builddir/build/BUILD/hid-replay-0.7.1' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LFY0kL + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/hid-replay-0.7.1-5.fc27.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/hid-replay-0.7.1-5.fc27.ppc64le ++ dirname /builddir/build/BUILDROOT/hid-replay-0.7.1-5.fc27.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/hid-replay-0.7.1-5.fc27.ppc64le + cd hid-replay-0.7.1 + make install DESTDIR=/builddir/build/BUILDROOT/hid-replay-0.7.1-5.fc27.ppc64le Making install in src make[1]: Entering directory '/builddir/build/BUILD/hid-replay-0.7.1/src' make[2]: Entering directory '/builddir/build/BUILD/hid-replay-0.7.1/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/hid-replay-0.7.1-5.fc27.ppc64le/usr/bin' /usr/bin/install -c hid-recorder hid-replay '/builddir/build/BUILDROOT/hid-replay-0.7.1-5.fc27.ppc64le/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/hid-replay-0.7.1-5.fc27.ppc64le/usr/share/man/man1' /usr/bin/install -c -m 644 hid-replay.1 hid-recorder.1 '/builddir/build/BUILDROOT/hid-replay-0.7.1-5.fc27.ppc64le/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/hid-replay-0.7.1/src' make[1]: Leaving directory '/builddir/build/BUILD/hid-replay-0.7.1/src' make[1]: Entering directory '/builddir/build/BUILD/hid-replay-0.7.1' make[2]: Entering directory '/builddir/build/BUILD/hid-replay-0.7.1' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/hid-replay-0.7.1' make[1]: Leaving directory '/builddir/build/BUILD/hid-replay-0.7.1' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.7.1-5.fc27 --unique-debug-suffix -0.7.1-5.fc27.ppc64le --unique-debug-src-base hid-replay-0.7.1-5.fc27.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/hid-replay-0.7.1 extracting debug info from /builddir/build/BUILDROOT/hid-replay-0.7.1-5.fc27.ppc64le/usr/bin/hid-replay extracting debug info from /builddir/build/BUILDROOT/hid-replay-0.7.1-5.fc27.ppc64le/usr/bin/hid-recorder /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 92 blocks + /usr/lib/rpm/check-buildroot + /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 + /usr/lib/rpm/brp-python-hardlink Processing files: hid-replay-0.7.1-5.fc27.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pymjly + umask 022 + cd /builddir/build/BUILD + cd hid-replay-0.7.1 + DOCDIR=/builddir/build/BUILDROOT/hid-replay-0.7.1-5.fc27.ppc64le/usr/share/doc/hid-replay + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hid-replay-0.7.1-5.fc27.ppc64le/usr/share/doc/hid-replay + cp -pr README /builddir/build/BUILDROOT/hid-replay-0.7.1-5.fc27.ppc64le/usr/share/doc/hid-replay + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.OO9Lll + umask 022 + cd /builddir/build/BUILD + cd hid-replay-0.7.1 + LICENSEDIR=/builddir/build/BUILDROOT/hid-replay-0.7.1-5.fc27.ppc64le/usr/share/licenses/hid-replay + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hid-replay-0.7.1-5.fc27.ppc64le/usr/share/licenses/hid-replay + cp -pr COPYING /builddir/build/BUILDROOT/hid-replay-0.7.1-5.fc27.ppc64le/usr/share/licenses/hid-replay + exit 0 Provides: hid-replay = 0.7.1-5.fc27 hid-replay(ppc-64) = 0.7.1-5.fc27 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.17)(64bit) rtld(GNU_HASH) Processing files: hid-replay-debugsource-0.7.1-5.fc27.ppc64le Provides: hid-replay-debugsource = 0.7.1-5.fc27 hid-replay-debugsource(ppc-64) = 0.7.1-5.fc27 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: hid-replay-debuginfo-0.7.1-5.fc27.ppc64le Provides: debuginfo(build-id) = 10be0af8c761d8a93271270c6bb99a60b559447d debuginfo(build-id) = 798a02c60ea13a321c19a867b16c802e60dd141c hid-replay-debuginfo = 0.7.1-5.fc27 hid-replay-debuginfo(ppc-64) = 0.7.1-5.fc27 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/hid-replay-0.7.1-5.fc27.ppc64le Wrote: /builddir/build/RPMS/hid-replay-0.7.1-5.fc27.ppc64le.rpm Wrote: /builddir/build/RPMS/hid-replay-debugsource-0.7.1-5.fc27.ppc64le.rpm Wrote: /builddir/build/RPMS/hid-replay-debuginfo-0.7.1-5.fc27.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Hc79p8 + umask 022 + cd /builddir/build/BUILD + cd hid-replay-0.7.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/hid-replay-0.7.1-5.fc27.ppc64le + exit 0 Child return code was: 0