Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ubertooth.spec'], chrootPath='/var/lib/mock/f33-build-223290-48451/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=432000uid=987gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7ll_23id:/etc/resolv.conf']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7ll_23id:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8f88f79de69e4e48b3f8137fa6afc0a6', '-D', '/var/lib/mock/f33-build-223290-48451/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7ll_23id:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ubertooth.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1574035200 Wrote: /builddir/build/SRPMS/ubertooth-2018.12.R1-8.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ubertooth.spec'], chrootPath='/var/lib/mock/f33-build-223290-48451/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=432000uid=987gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7ll_23id:/etc/resolv.conf']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7ll_23id:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0d9b976400e4431c84903d41f5150b04', '-D', '/var/lib/mock/f33-build-223290-48451/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7ll_23id:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ubertooth.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1574035200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UArNnt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ubertooth-2018-12-R1 + /usr/bin/xz -dc /builddir/build/SOURCES/ubertooth-2018-12-R1.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ubertooth-2018-12-R1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/ubertooth-0000-fix-python-shebang.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/ubertooth-0001-fix-specan-ui-pyside.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.keZbAt + umask 022 + cd /builddir/build/BUILD + cd ubertooth-2018-12-R1 + sed -i -e 's/GROUP="@UBERTOOTH_GROUP@"/ENV{ID_SOFTWARE_RADIO}="1"/g' host/misc/udev/40-ubertooth.rules.in + CFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON host -DINSTALL_UDEV_RULES=on -DUDEV_RULES_GROUP=plugdev -DUDEV_RULES_PATH:PATH=/usr/lib/udev/rules.d . -- The C compiler identification is GNU 10.0.1 -- The CXX compiler identification is GNU 10.0.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc - works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ - works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Warning (dev) at CMakeLists.txt:28 (set): implicitly converting 'INT' to 'STRING' type. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at CMakeLists.txt:29 (set): implicitly converting 'INT' to 'STRING' type. This warning is for project developers. Use -Wno-dev to suppress it. -- Setting version string 2018-12-R1 -- Found PkgConfig: /usr/bin/pkg-config (found version "1.6.3") -- Found LIBBTBB: /lib64/libbtbb.so -- Checking for module 'libusb-1.0' -- Found libusb-1.0, version 1.0.23 -- Found LIBUSB: /usr/lib64/libusb-1.0.so -- Building shared library -- Checking for module 'bluez' -- Found bluez, version 5.54 -- Found LIBBLUETOOTH: /usr/lib64/libbluetooth.so -- Ubertooth udev rules will be installed to '/usr/lib/udev/rules.d' upon running 'make install' -- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/ubertooth-2018-12-R1 + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/cmake -S/builddir/build/BUILD/ubertooth-2018-12-R1/host -B/builddir/build/BUILD/ubertooth-2018-12-R1 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/ubertooth-2018-12-R1/CMakeFiles /builddir/build/BUILD/ubertooth-2018-12-R1/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all /usr/bin/make -f libubertooth/src/CMakeFiles/ubertooth.dir/build.make libubertooth/src/CMakeFiles/ubertooth.dir/depend make[2]: Entering directory '/builddir/build/BUILD/ubertooth-2018-12-R1' cd /builddir/build/BUILD/ubertooth-2018-12-R1 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/ubertooth-2018-12-R1/host /builddir/build/BUILD/ubertooth-2018-12-R1/host/libubertooth/src /builddir/build/BUILD/ubertooth-2018-12-R1 /builddir/build/BUILD/ubertooth-2018-12-R1/libubertooth/src /builddir/build/BUILD/ubertooth-2018-12-R1/libubertooth/src/CMakeFiles/ubertooth.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/ubertooth-2018-12-R1/libubertooth/src/CMakeFiles/ubertooth.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/ubertooth-2018-12-R1/libubertooth/src/CMakeFiles/ubertooth.dir/depend.internal". Dependee "/builddir/build/BUILD/ubertooth-2018-12-R1/libubertooth/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/ubertooth-2018-12-R1/libubertooth/src/CMakeFiles/ubertooth.dir/depend.internal". Scanning dependencies of target ubertooth make[2]: Leaving directory '/builddir/build/BUILD/ubertooth-2018-12-R1' /usr/bin/make -f libubertooth/src/CMakeFiles/ubertooth.dir/build.make libubertooth/src/CMakeFiles/ubertooth.dir/build make[2]: Entering directory '/builddir/build/BUILD/ubertooth-2018-12-R1' [ 12%] Building C object libubertooth/src/CMakeFiles/ubertooth.dir/ubertooth_fifo.c.o cd /builddir/build/BUILD/ubertooth-2018-12-R1/libubertooth/src && /usr/bin/cc -DRELEASE=\"2018-12-R1\" -DVERSION=\"1.1\" -Dubertooth_EXPORTS -I/usr/include/libusb-1.0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o CMakeFiles/ubertooth.dir/ubertooth_fifo.c.o -c /builddir/build/BUILD/ubertooth-2018-12-R1/host/libubertooth/src/ubertooth_fifo.c make[2]: Leaving directory '/builddir/build/BUILD/ubertooth-2018-12-R1' make[2]: Entering directory '/builddir/build/BUILD/ubertooth-2018-12-R1' [ 6%] Building C object libubertooth/src/CMakeFiles/ubertooth.dir/ubertooth_callback.c.o cd /builddir/build/BUILD/ubertooth-2018-12-R1/libubertooth/src && /usr/bin/cc -DRELEASE=\"2018-12-R1\" -DVERSION=\"1.1\" -Dubertooth_EXPORTS -I/usr/include/libusb-1.0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o CMakeFiles/ubertooth.dir/ubertooth_callback.c.o -c /builddir/build/BUILD/ubertooth-2018-12-R1/host/libubertooth/src/ubertooth_callback.c make[2]: Leaving directory '/builddir/build/BUILD/ubertooth-2018-12-R1' make[2]: Entering directory '/builddir/build/BUILD/ubertooth-2018-12-R1' [ 9%] Building C object libubertooth/src/CMakeFiles/ubertooth.dir/ubertooth.c.o cd /builddir/build/BUILD/ubertooth-2018-12-R1/libubertooth/src && /usr/bin/cc -DRELEASE=\"2018-12-R1\" -DVERSION=\"1.1\" -Dubertooth_EXPORTS -I/usr/include/libusb-1.0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o CMakeFiles/ubertooth.dir/ubertooth.c.o -c /builddir/build/BUILD/ubertooth-2018-12-R1/host/libubertooth/src/ubertooth.c make[2]: Leaving directory '/builddir/build/BUILD/ubertooth-2018-12-R1' make[2]: Entering directory '/builddir/build/BUILD/ubertooth-2018-12-R1' [ 6%] Building C object libubertooth/src/CMakeFiles/ubertooth.dir/ubertooth_control.c.o cd /builddir/build/BUILD/ubertooth-2018-12-R1/libubertooth/src && /usr/bin/cc -DRELEASE=\"2018-12-R1\" -DVERSION=\"1.1\" -Dubertooth_EXPORTS -I/usr/include/libusb-1.0 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o CMakeFiles/ubertooth.dir/ubertooth_control.c.o -c /builddir/build/BUILD/ubertooth-2018-12-R1/host/libubertooth/src/ubertooth_control.c make[2]: Leaving directory '/builddir/build/BUILD/ubertooth-2018-12-R1' make[2]: Entering directory '/builddir/build/BUILD/ubertooth-2018-12-R1' [ 15%] Linking C shared library libubertooth.so cd /builddir/build/BUILD/ubertooth-2018-12-R1/libubertooth/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/ubertooth.dir/link.txt --verbose=1 /usr/bin/cc -fPIC -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 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,libubertooth.so.1 -o libubertooth.so.1.1 CMakeFiles/ubertooth.dir/ubertooth.c.o CMakeFiles/ubertooth.dir/ubertooth_callback.c.o CMakeFiles/ubertooth.dir/ubertooth_control.c.o CMakeFiles/ubertooth.dir/ubertooth_fifo.c.o -lusb-1.0 -lbtbb /usr/bin/ld: CMakeFiles/ubertooth.dir/ubertooth_callback.c.o: in function `.LANCHOR1': /builddir/build/BUILD/ubertooth-2018-12-R1/host/libubertooth/src/ubertooth_callback.c:30: multiple definition of `packet_counter_max'; CMakeFiles/ubertooth.dir/ubertooth.c.o:/builddir/build/BUILD/ubertooth-2018-12-R1/host/libubertooth/src/ubertooth.c:50: first defined here collect2: error: ld returned 1 exit status make[2]: *** [libubertooth/src/CMakeFiles/ubertooth.dir/build.make:154: libubertooth/src/libubertooth.so.1.1] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/ubertooth-2018-12-R1' make[1]: *** [CMakeFiles/Makefile2:325: libubertooth/src/CMakeFiles/ubertooth.dir/all] Error 2 make: *** [Makefile:153: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.keZbAt (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.keZbAt (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 0d9b976400e4431c84903d41f5150b04 -D /var/lib/mock/f33-build-223290-48451/root -a --capability=cap_ipc_lock --bind=/tmp/mock-resolv.7ll_23id:/etc/resolv.conf --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=en_US.UTF-8 -u mockbuild bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ubertooth.spec