Mock Version: 2.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i586 --nodeps /builddir/build/SPECS/usbrelay.spec'], chrootPath='/var/lib/mock/opensuse-tumbleweed-i586-1606769699.042253/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.133a7taa:/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.133a7taa:/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', 'c4d47d0d95ab454b91669b5af4214c80', '-D', '/var/lib/mock/opensuse-tumbleweed-i586-1606769699.042253/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.133a7taa:/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 i586 --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 Building target platforms: i586 Building for target i586 Wrote: /builddir/build/SRPMS/usbrelay-0.7.37.gee75dd5969-0.vdb.3.suse.tw.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i586 --nodeps /builddir/build/SPECS/usbrelay.spec'], chrootPath='/var/lib/mock/opensuse-tumbleweed-i586-1606769699.042253/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.133a7taa:/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.133a7taa:/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', '08031c8e1fec47ba84e35b23288506ad', '-D', '/var/lib/mock/opensuse-tumbleweed-i586-1606769699.042253/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.133a7taa:/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 i586 --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 Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XtL3Qv + umask 022 + cd /builddir/build/BUILD + : ---------- PREP ---------- : + + set -e + '[' -n '5.0.18(1)-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 -xof - + 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 -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS= + export LDFLAGS + ./configure --host=i586-suse-linux-gnu --build=i586-suse-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/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.r1hIgu + umask 022 + cd /builddir/build/BUILD + /usr/bin/rm -rf /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.suse.tw.i386 ++ dirname /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.suse.tw.i386 + /usr/bin/mkdir -p /builddir/build/BUILDROOT + /usr/bin/mkdir /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.suse.tw.i386 + cd usbrelay + : ---------- BUILD ---------- : + + set -e + '[' -n '5.0.18(1)-release' ']' + set -o pipefail + . ./environ.sh ++ export 'CFLAGS=-O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables' ++ CFLAGS='-O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables' ++ export CPPFLAGS= ++ CPPFLAGS= ++ export 'CXXFLAGS=-O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables' ++ CXXFLAGS='-O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables' ++ export LDFLAGS= ++ LDFLAGS= ++ /usr/bin/pkg-config --cflags hidapi-hidraw + CFLAGS='-O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -std=c99 -I/usr/include/hidapi ' ++ /usr/bin/pkg-config --libs hidapi-hidraw + LDFLAGS=' -lhidapi-hidraw ' + /usr/bin/make -O -j2 V=1 VERBOSE=1 HIDAPI=hidraw DIR_VERSION=0.7.37.gee75dd5969 echo "#define GITVERSION \"0.7.37.gee75dd5969\"" > gitversion.h cc -shared -fPIC -O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -std=c99 -I/usr/include/hidapi -O2 -Wall libusbrelay.c -lhidapi-hidraw -lhidapi-hidraw -o libusbrelay.so cc -O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -std=c99 -I/usr/include/hidapi -O2 -Wall usbrelay.c -lusbrelay -L./ -lhidapi-hidraw -lhidapi-hidraw -o usbrelay + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.J8EZ9s + umask 022 + cd /builddir/build/BUILD + cd usbrelay + : ---------- INSTALL ---------- : + + set -e + '[' -n '5.0.18(1)-release' ']' + set -o pipefail + make install DESTDIR=/builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.suse.tw.i386 install -d /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.suse.tw.i386/usr/lib install -m 0755 libusbrelay.so /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.suse.tw.i386/usr/lib install -d /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.suse.tw.i386/usr/bin install -m 0755 usbrelay /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.suse.tw.i386/usr/bin + /usr/bin/install -D -m 0644 -p -t /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.suse.tw.i386/usr/share/doc/packages/usbrelay README.md usbrelay.jpg + /usr/bin/install -D -m 0644 -p -t /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.suse.tw.i386/usr/lib/udev/rules.d 50-usbrelay.rules + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-suse Processing files: usbrelay-0.7.37.gee75dd5969-0.vdb.3.suse.tw.i586 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.n5qdcv + umask 022 + cd /builddir/build/BUILD + cd usbrelay + LICENSEDIR=/builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.suse.tw.i386/usr/share/licenses/usbrelay + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.suse.tw.i386/usr/share/licenses/usbrelay + cp -pr LICENSE.md /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.suse.tw.i386/usr/share/licenses/usbrelay + RPM_EC=0 ++ jobs -p + exit 0 Provides: libusbrelay.so usbrelay = 0.7.37.gee75dd5969-0.vdb.3.suse.tw usbrelay(x86-32) = 0.7.37.gee75dd5969-0.vdb.3.suse.tw 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 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libhidapi-hidraw.so.0 libusbrelay.so Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.suse.tw.i386 Wrote: /builddir/build/RPMS/usbrelay-0.7.37.gee75dd5969-0.vdb.3.suse.tw.i586.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.juZ1Qw + umask 022 + cd /builddir/build/BUILD + cd usbrelay + /usr/bin/rm -rf /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.suse.tw.i386 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0