Mock Version: 2.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/usbrelay.spec'], chrootPath='/var/lib/mock/opensuse-tumbleweed-aarch64-1606773126.411516/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.0igbdorp:/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.0igbdorp:/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', 'ab14bf2948514fdf93bf10a91e3ccdc4', '-D', '/var/lib/mock/opensuse-tumbleweed-aarch64-1606773126.411516/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0igbdorp:/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 aarch64 --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: aarch64 Building for target aarch64 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 aarch64 --nodeps /builddir/build/SPECS/usbrelay.spec'], chrootPath='/var/lib/mock/opensuse-tumbleweed-aarch64-1606773126.411516/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.0igbdorp:/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.0igbdorp:/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', 'afd3661f36a74a97a6663d8b1093e083', '-D', '/var/lib/mock/opensuse-tumbleweed-aarch64-1606773126.411516/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0igbdorp:/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 aarch64 --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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.M6kQaw + 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' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g ' + export FFLAGS + FCFLAGS='-O2 -g ' + export FCFLAGS + LDFLAGS= + export LDFLAGS + ./configure --host=aarch64-suse-linux-gnu --build=aarch64-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/lib64 --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.NkTDYu + umask 022 + cd /builddir/build/BUILD + /usr/bin/rm -rf /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.suse.tw.aarch64 ++ dirname /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.suse.tw.aarch64 + /usr/bin/mkdir -p /builddir/build/BUILDROOT + /usr/bin/mkdir /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.suse.tw.aarch64 + cd usbrelay + ref=/usr/lib/rpm ++ uname -m + testarch=aarch64 + for s in guess sub ++ find -maxdepth 8 -name config.guess + for s in guess sub ++ find -maxdepth 8 -name config.sub + : ---------- BUILD ---------- : + + set -e + '[' -n '5.0.18(1)-release' ']' + set -o pipefail + . ./environ.sh ++ export 'CFLAGS=-O2 -g' ++ CFLAGS='-O2 -g' ++ export CPPFLAGS= ++ CPPFLAGS= ++ export 'CXXFLAGS=-O2 -g' ++ CXXFLAGS='-O2 -g' ++ export LDFLAGS= ++ LDFLAGS= ++ /usr/bin/pkg-config --cflags hidapi-hidraw + CFLAGS='-O2 -g -std=c99 -I/usr/include/hidapi ' ++ /usr/bin/pkg-config --libs hidapi-hidraw + LDFLAGS=' -lhidapi-hidraw ' + /usr/bin/make -O -j4 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 -std=c99 -I/usr/include/hidapi -O2 -Wall libusbrelay.c -lhidapi-hidraw -lhidapi-hidraw -o libusbrelay.so libusbrelay.c: In function 'find_board': libusbrelay.c:274:13: warning: implicit declaration of function 'realpath' [-Wimplicit-function-declaration] 274 | respath = realpath(serial, NULL); | ^~~~~~~~ libusbrelay.c:274:11: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 274 | respath = realpath(serial, NULL); | ^ cc -O2 -g -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.DTPOvu + 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.aarch64 install -d /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.suse.tw.aarch64/usr/lib64 install -m 0755 libusbrelay.so /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.suse.tw.aarch64/usr/lib64 install -d /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.suse.tw.aarch64/usr/bin install -m 0755 usbrelay /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.suse.tw.aarch64/usr/bin + /usr/bin/install -D -m 0644 -p -t /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.suse.tw.aarch64/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.aarch64/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.aarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ldWB1s + umask 022 + cd /builddir/build/BUILD + cd usbrelay + LICENSEDIR=/builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.suse.tw.aarch64/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.aarch64/usr/share/licenses/usbrelay + cp -pr LICENSE.md /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.suse.tw.aarch64/usr/share/licenses/usbrelay + RPM_EC=0 ++ jobs -p + exit 0 Provides: libusbrelay.so()(64bit) usbrelay = 0.7.37.gee75dd5969-0.vdb.3.suse.tw usbrelay(aarch-64) = 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()(64bit) libc.so.6(GLIBC_2.17)(64bit) libhidapi-hidraw.so.0()(64bit) libusbrelay.so()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/usbrelay-0.7.37.gee75dd5969-0.vdb.3.suse.tw.aarch64 Wrote: /builddir/build/RPMS/usbrelay-0.7.37.gee75dd5969-0.vdb.3.suse.tw.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.hfdsHt + 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.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0