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/utox.spec'], chrootPath='/var/lib/mock/f33-build-296540-55720/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=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/utox.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=1592570414 Wrote: /builddir/build/SRPMS/utox-0.17.2-1.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/utox.spec'], chrootPath='/var/lib/mock/f33-build-296540-55720/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=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/utox.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=1592570414 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.t6fOYL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf uTox-0.17.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/utox-0.17.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd uTox-0.17.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + cd uTox-0.17.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/third-party.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Y7e1MI + umask 022 + cd /builddir/build/BUILD + cd uTox-0.17.2 + mkdir build + cd build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B riscv64-redhat-linux-gnu -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 .. -- The C compiler identification is GNU 10.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- checking for C compiler flag: -Wall -- checking for C compiler flag: -Wextra -- checking for C compiler flag: -Wpointer-arith -- checking for C compiler flag: -Wimplicit-fallthrough=5 -- checking for C compiler flag: -Werror=implicit-function-declaration -- checking for C compiler flag: -Wformat=0 -- Warning: Can't find flag -Wformat=0 -- checking for C compiler flag: -Wno-misleading-indentation -- checking for C compiler flag: -fno-strict-aliasing -- checking for C compiler flag: -fPIC -- checking for C compiler flag: -fno-common -- checking for C compiler flag: -flto -- checking for C compiler flag: -fsanitize=address -- Warning: Can't find flag -fsanitize=address -- checking for C compiler flag: -fno-omit-frame-pointer -- Warning: Can't find flag -fno-omit-frame-pointer -- checking for C compiler flag: -DAUDIO_FILTERING=1 -- Found PkgConfig: /usr/bin/pkg-config (found version "1.7.0") -- Found libtox: /usr/lib64/libtoxcore.so -- Found libsodium: /usr/lib64/libsodium.so -- Found libvpx: /usr/lib64/libvpx.so -- Found X11: /usr/include -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:273 (message): The package name passed to `find_package_handle_standard_args` (DBUS) does not match the name of the calling package (DBus). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/FindDBus.cmake:67 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) src/xlib/CMakeLists.txt:7 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found DBUS: /usr/include/dbus-1.0;/usr/lib64/dbus-1.0/include -- checking for C compiler flag: -DHAVE_DBUS=1 -- Found Freetype: /usr/lib64/libfreetype.so (found version "2.10.1") Found Freetype version 2.10.1 Freetype include: /usr/include/freetype2 Freetype library: /usr/lib64/libfreetype.so -- Found libfontconfig: /usr/lib64/libfontconfig.so FontConfig include: /usr/include FontConfig library: /usr/lib64/libfontconfig.so X include: /usr/include X library: /usr/lib64/libX11.so;/usr/lib64/libXext.so Xrender include: /usr/include Xrender library: /usr/lib64/libXrender.so -- Found libv4lconvert: /usr/lib64/libv4lconvert.so V4Lconvert include: /usr/include V4Lconvert library: /usr/lib64/libv4lconvert.so DBus include: /usr/include/dbus-1.0;/usr/lib64/dbus-1.0/include DBus library: /usr/lib64/libdbus-1.so -- Found libopus: /usr/lib64/libopus.so -- Found OpenAL: /usr/lib64/libopenal.so -- Found libfilteraudio: /usr/lib64/libfilteraudio.so CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:273 (message): The package name passed to `find_package_handle_standard_args` (PkgConfig) does not match the name of the calling package (Check). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): /usr/share/cmake/Modules/FindPkgConfig.cmake:59 (find_package_handle_standard_args) cmake/FindCheck.cmake:16 (INCLUDE) tests/CMakeLists.txt:6 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Checking for one of the modules 'check' Build options: - CMake Module Path: /builddir/build/BUILD/uTox-0.17.2/cmake/ ---------------------------------- - Add ASAN: ON - Link-Time Optimization: ON - Error on Warning: OFF - Filter Audio: ON - Static uTox: OFF - Static Toxcore: OFF - Static DBus: OFF - Static Filteraudio: OFF - Static Opus: OFF - Static Sodium: OFF - Static VPX: OFF -- Platform Options -------------- - Enable DBus: ON - Enable Tests ON * CMake system is 'Linux' * CMake build type is '' * C Compiler is '/usr/bin/gcc' with the following flags: * C flags for Debug: -g * C flags for Release: -DNDEBUG -Os * C flags for all types: -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpointer-arith -Wimplicit-fallthrough=5 -Werror=implicit-function-declaration -Wno-misleading-indentation -fno-strict-aliasing -fPIC -fno-common -flto -DAUDIO_FILTERING=1 TIP: You may want to set the env variable ASAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer for ASAN to show nicer stack traces. See for more details. -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/uTox-0.17.2/build/riscv64-redhat-linux-gnu + /usr/bin/make -O -j4 V=1 VERBOSE=1 make: *** No targets specified and no makefile found. Stop. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.Y7e1MI (%build) Bad exit status from /var/tmp/rpm-tmp.Y7e1MI (%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: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/utox.spec