Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/beep.spec'], chrootPath='/var/lib/mock/f28-build-14756751-1050654/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/beep.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/beep-1.3-26.fc28.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/beep.spec'], chrootPath='/var/lib/mock/f28-build-14756751-1050654/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/beep.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.ePY4oI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf beep-1.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/beep-1.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd beep-1.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (0001-Fixed-Makefile.patch): + echo 'Patch #1 (0001-Fixed-Makefile.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix 0001 --fuzz=0 patching file Makefile Patch #2 (0002-Add-more-error-detection.patch): + echo 'Patch #2 (0002-Add-more-error-detection.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix 0002 --fuzz=0 patching file beep.c Patch #4 (0004-also-catch-SIGTERM-for-stopping-the-beep.patch): + echo 'Patch #4 (0004-also-catch-SIGTERM-for-stopping-the-beep.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix 0004 --fuzz=0 patching file beep.c Hunk #1 succeeded at 130 (offset 3 lines). Hunk #2 succeeded at 325 (offset 3 lines). Patch #5 (0005-Make-build-install-more-user-and-packaging-friendly.patch): + echo 'Patch #5 (0005-Make-build-install-more-user-and-packaging-friendly.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix 0005 --fuzz=0 patching file Makefile Patch #6 (0006-Preserve-file-modification-time-on-install.patch): + echo 'Patch #6 (0006-Preserve-file-modification-time-on-install.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix 0006 --fuzz=0 patching file Makefile Patch #7 (0007-Fix-indentation-if-brace-error.patch): + echo 'Patch #7 (0007-Fix-indentation-if-brace-error.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix 0007 --fuzz=0 patching file beep.c Patch #8 (0008-Apply-CVE-2018-0492.patch-from-Debian-package.patch): + echo 'Patch #8 (0008-Apply-CVE-2018-0492.patch-from-Debian-package.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix 0008 --fuzz=0 patching file beep.c Patch #9 (0009-store-uncompressed-beep.1-file-in-source-repository.patch): + echo 'Patch #9 (0009-store-uncompressed-beep.1-file-in-source-repository.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix 0009 --fuzz=0 patching file Makefile patching file beep.1 + rm -f beep.1.gz Patch #11 (0011-constrain-freq-and-period-values.patch): + echo 'Patch #11 (0011-constrain-freq-and-period-values.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix 0011 --fuzz=0 patching file Makefile patching file beep.c Patch #12 (0012-get-rid-of-a-few-signed-int-and-unchecked-input-valu.patch): + echo 'Patch #12 (0012-get-rid-of-a-few-signed-int-and-unchecked-input-valu.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix 0012 --fuzz=0 patching file beep.c Patch #13 (0013-Fix-CVE-2018-1000532-and-mitigate-against-related-is.patch): + echo 'Patch #13 (0013-Fix-CVE-2018-1000532-and-mitigate-against-related-is.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix 0013 --fuzz=0 patching file beep.c Patch #14 (0014-Update-COPYING-with-new-FSF-address.patch): + echo 'Patch #14 (0014-Update-COPYING-with-new-FSF-address.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix 0014 --fuzz=0 patching file COPYING Patch #15 (0015-If-do_beep-sees-error-from-API-exit-program.patch): + echo 'Patch #15 (0015-If-do_beep-sees-error-from-API-exit-program.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix 0015 --fuzz=0 patching file beep.c Patch #16 (0016-Make-the-evdev-device-the-first-to-look-for.patch): + echo 'Patch #16 (0016-Make-the-evdev-device-the-first-to-look-for.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix 0016 --fuzz=0 patching file beep.c Patch #17 (0017-Use-realpath-3-on-device-name.patch): + echo 'Patch #17 (0017-Use-realpath-3-on-device-name.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix 0017 --fuzz=0 patching file beep.c Patch #18 (0018-refuse-to-run-when-setuid-or-setgid-usage-detected.patch): + echo 'Patch #18 (0018-refuse-to-run-when-setuid-or-setgid-usage-detected.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix 0018 --fuzz=0 patching file beep.c Patch #19 (0019-add-setuid-setgid-check-output-newline.patch): + echo 'Patch #19 (0019-add-setuid-setgid-check-output-newline.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix 0019 --fuzz=0 patching file beep.c Patch #20 (0020-refuse-to-run-under-sudo.patch): + echo 'Patch #20 (0020-refuse-to-run-under-sudo.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix 0020 --fuzz=0 patching file beep.c Patch #21 (0021-print-console_device-in-verbose-message-on-BEEP_TYPE.patch): + echo 'Patch #21 (0021-print-console_device-in-verbose-message-on-BEEP_TYPE.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix 0021 --fuzz=0 patching file beep.c + echo 'Patch #22 (0022-restructure-device-whitelisting-code.patch):' Patch #22 (0022-restructure-device-whitelisting-code.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix 0022 --fuzz=0 patching file beep.c Patch #23 (0023-README-beep.1-remove-setuid-suggestions.patch): + echo 'Patch #23 (0023-README-beep.1-remove-setuid-suggestions.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix 0023 --fuzz=0 patching file README patching file beep.1 + cp -p /builddir/build/SOURCES/beep-README.fedora README.fedora + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Ce4l3v + umask 022 + cd /builddir/build/BUILD + cd beep-1.3 + make -j4 FLAGS= 'CFLAGS=-Wall -Wextra -Werror -std=gnu99 -pedantic -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 -funwind-tables -fstack-clash-protection' gcc -Wall -Wextra -Werror -std=gnu99 -pedantic -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 -funwind-tables -fstack-clash-protection -o beep -lm beep.c gzip --best -c < beep.1 > beep.1.gz + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.SltOXj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/beep-1.3-26.fc28.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/beep-1.3-26.fc28.ppc64le BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/beep-1.3-26.fc28.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/beep-1.3-26.fc28.ppc64le + cd beep-1.3 + rm -rf /builddir/build/BUILDROOT/beep-1.3-26.fc28.ppc64le + make install DESTDIR=/builddir/build/BUILDROOT/beep-1.3-26.fc28.ppc64le install -m 0755 -d /builddir/build/BUILDROOT/beep-1.3-26.fc28.ppc64le/usr/bin install -m 0755 -p beep /builddir/build/BUILDROOT/beep-1.3-26.fc28.ppc64le/usr/bin/ install -m 0755 -d /builddir/build/BUILDROOT/beep-1.3-26.fc28.ppc64le/usr/share/man/man1 install -m 0644 -p beep.1.gz /builddir/build/BUILDROOT/beep-1.3-26.fc28.ppc64le/usr/share/man/man1/ + install -d -m 0755 /builddir/build/BUILDROOT/beep-1.3-26.fc28.ppc64le//etc/modprobe.d/ + install -p -m 0644 /builddir/build/SOURCES/beep-modprobe.conf /builddir/build/BUILDROOT/beep-1.3-26.fc28.ppc64le//etc/modprobe.d/beep.conf + install -d -m 0755 /builddir/build/BUILDROOT/beep-1.3-26.fc28.ppc64le//usr/lib/udev/rules.d/ + install -p -m 0644 /builddir/build/SOURCES/90-pcspkr-beep.rules /builddir/build/BUILDROOT/beep-1.3-26.fc28.ppc64le//usr/lib/udev/rules.d/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.3-26.fc28 --unique-debug-suffix -1.3-26.fc28.ppc64le --unique-debug-src-base beep-1.3-26.fc28.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/beep-1.3 extracting debug info from /builddir/build/BUILDROOT/beep-1.3-26.fc28.ppc64le/usr/bin/beep /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 36 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/beep-1.3-26.fc28.ppc64le/etc/ld.so.conf: No such file or directory + /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 + /usr/lib/rpm/redhat/brp-mangle-shebangs '' '' Processing files: beep-1.3-26.fc28.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KZEj57 + umask 022 + cd /builddir/build/BUILD + cd beep-1.3 + DOCDIR=/builddir/build/BUILDROOT/beep-1.3-26.fc28.ppc64le/usr/share/doc/beep + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/beep-1.3-26.fc28.ppc64le/usr/share/doc/beep + cp -pr CHANGELOG /builddir/build/BUILDROOT/beep-1.3-26.fc28.ppc64le/usr/share/doc/beep + cp -pr COPYING /builddir/build/BUILDROOT/beep-1.3-26.fc28.ppc64le/usr/share/doc/beep + cp -pr CREDITS /builddir/build/BUILDROOT/beep-1.3-26.fc28.ppc64le/usr/share/doc/beep + cp -pr README /builddir/build/BUILDROOT/beep-1.3-26.fc28.ppc64le/usr/share/doc/beep + cp -pr README.fedora /builddir/build/BUILDROOT/beep-1.3-26.fc28.ppc64le/usr/share/doc/beep + exit 0 Provides: beep = 1.3-26.fc28 beep(ppc-64) = 1.3-26.fc28 config(beep) = 1.3-26.fc28 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) rtld(GNU_HASH) Processing files: beep-debugsource-1.3-26.fc28.ppc64le Provides: beep-debugsource = 1.3-26.fc28 beep-debugsource(ppc-64) = 1.3-26.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: beep-debuginfo-1.3-26.fc28.ppc64le Provides: beep-debuginfo = 1.3-26.fc28 beep-debuginfo(ppc-64) = 1.3-26.fc28 debuginfo(build-id) = d4198403f107d3b89d07315e057942a1c8ce60ed Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: beep-debugsource(ppc-64) = 1.3-26.fc28 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/beep-1.3-26.fc28.ppc64le Wrote: /builddir/build/RPMS/beep-1.3-26.fc28.ppc64le.rpm Wrote: /builddir/build/RPMS/beep-debugsource-1.3-26.fc28.ppc64le.rpm Wrote: /builddir/build/RPMS/beep-debuginfo-1.3-26.fc28.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ymcthW + umask 022 + cd /builddir/build/BUILD + cd beep-1.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/beep-1.3-26.fc28.ppc64le + exit 0 Child return code was: 0