Mock Version: 2.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/usbrelay.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1606772985.027439/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dn4wnw_a:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dn4wnw_a:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd84854e71c0e4a99900e657d0151a789', '-D', '/var/lib/mock/epel-7-x86_64-1606772985.027439/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dn4wnw_a:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/usbrelay.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False warning: 'install' macro is already defined, can't add prologue. Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/usbrelay-0.7.37.gee75dd5969-0.vdb.3.el7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/usbrelay.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1606772985.027439/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dn4wnw_a:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dn4wnw_a:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '01c7d0f425c24b7bb0d6f21dd44892cd', '-D', '/var/lib/mock/epel-7-x86_64-1606772985.027439/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dn4wnw_a:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/usbrelay.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False warning: 'install' macro is already defined, can't add prologue. Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.35tzZK + umask 022 + cd /builddir/build/BUILD + : ---------- PREP ---------- : + + set -e + '[' -n '4.2.46(2)-release' ']' + set -o pipefail + [[ -n '' ]] + cd /builddir/build/BUILD + rm -rf usbrelay + /usr/bin/gzip -dc /builddir/build/SOURCES/usbrelay-0.7.37.gee75dd5969.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd usbrelay + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/usbrelay-0.7-configure.sh ./configure + chmod a+x ./configure + cp /builddir/build/SOURCES/usbrelay.rules ./50-usbrelay.rules + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.92aVxJ + umask 022 + cd /builddir/build/BUILD + cd usbrelay + : ---------- BUILD ---------- : + + set -e + '[' -n '4.2.46(2)-release' ']' + set -o pipefail + . ./environ.sh ++ export 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' ++ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' ++ export CPPFLAGS= ++ CPPFLAGS= ++ export 'CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' ++ CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' ++ export 'LDFLAGS=-Wl,-z,relro ' ++ LDFLAGS='-Wl,-z,relro ' ++ /usr/bin/pkg-config --cflags hidapi-hidraw + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -std=c99 -I/usr/include/hidapi ' ++ /usr/bin/pkg-config --libs hidapi-hidraw + LDFLAGS='-Wl,-z,relro -lhidapi-hidraw ' + /usr/bin/make -j2 HIDAPI=hidraw DIR_VERSION=0.7.37.gee75dd5969 echo "#define GITVERSION \"0.7.37.gee75dd5969\"" > gitversion.h cc -shared -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -std=c99 -I/usr/include/hidapi -O2 -Wall libusbrelay.c -Wl,-z,relro -lhidapi-hidraw -lhidapi-hidraw -o libusbrelay.so cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -std=c99 -I/usr/include/hidapi -O2 -Wall usbrelay.c -lusbrelay -L./ -Wl,-z,relro -lhidapi-hidraw -lhidapi-hidraw -o usbrelay + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9bl3HI + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.el7.x86_64 + cd usbrelay + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.el7.x86_64 install -d /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.el7.x86_64/usr/lib64 install -m 0755 libusbrelay.so /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.el7.x86_64/usr/lib64 install -d /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.el7.x86_64/usr/bin install -m 0755 usbrelay /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.el7.x86_64/usr/bin + /usr/bin/mkdir -p /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.el7.x86_64/usr/share/doc/usbrelay-0.7.37.gee75dd5969 + /usr/bin/install -D -m 0644 -p -t /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.el7.x86_64/usr/share/doc/usbrelay-0.7.37.gee75dd5969 README.md usbrelay.jpg + /usr/bin/mkdir -p /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.el7.x86_64/usr/lib/udev/rules.d + /usr/bin/install -D -m 0644 -p -t /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.el7.x86_64/usr/lib/udev/rules.d 50-usbrelay.rules + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/usbrelay extracting debug info from /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.el7.x86_64/usr/bin/usbrelay extracting debug info from /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.el7.x86_64/usr/lib64/libusbrelay.so /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 37 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: usbrelay-0.7.37.gee75dd5969-0.vdb.3.el7.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.WDFkzI + umask 022 + cd /builddir/build/BUILD + cd usbrelay + LICENSEDIR=/builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.el7.x86_64/usr/share/licenses/usbrelay-0.7.37.gee75dd5969 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.el7.x86_64/usr/share/licenses/usbrelay-0.7.37.gee75dd5969 + cp -pr LICENSE.md /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.el7.x86_64/usr/share/licenses/usbrelay-0.7.37.gee75dd5969 + exit 0 Provides: libusbrelay.so()(64bit) usbrelay = 0.7.37.gee75dd5969-0.vdb.3.el7 usbrelay(x86-64) = 0.7.37.gee75dd5969-0.vdb.3.el7 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.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libhidapi-hidraw.so.0()(64bit) libusbrelay.so()(64bit) rtld(GNU_HASH) Processing files: usbrelay-debuginfo-0.7.37.gee75dd5969-0.vdb.3.el7.x86_64 Provides: usbrelay-debuginfo = 0.7.37.gee75dd5969-0.vdb.3.el7 usbrelay-debuginfo(x86-64) = 0.7.37.gee75dd5969-0.vdb.3.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.el7.x86_64 Wrote: /builddir/build/RPMS/usbrelay-0.7.37.gee75dd5969-0.vdb.3.el7.x86_64.rpm Wrote: /builddir/build/RPMS/usbrelay-debuginfo-0.7.37.gee75dd5969-0.vdb.3.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.6Ibp9T + umask 022 + cd /builddir/build/BUILD + cd usbrelay + /usr/bin/rm -rf /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.el7.x86_64 + exit 0 Child return code was: 0