Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/android-file-transfer.spec'], chrootPath='/var/lib/mock/f38-build-710721-93504/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/android-file-transfer.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'} and shell False warning: bogus date in %changelog: Tue Jan 5 2020 Marek Blaha - 4.2-1 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658275200 Wrote: /builddir/build/SRPMS/android-file-transfer-4.2-5.fc38.src.rpm RPM build warnings: bogus date in %changelog: Tue Jan 5 2020 Marek Blaha - 4.2-1 Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/android-file-transfer.spec'], chrootPath='/var/lib/mock/f38-build-710721-93504/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/android-file-transfer.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'} and shell False warning: bogus date in %changelog: Tue Jan 5 2020 Marek Blaha - 4.2-1 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658275200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tZ3Cr9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf android-file-transfer-linux-4.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/android-file-transfer-linux-4.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd android-file-transfer-linux-4.2 + /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.B0mzZj + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd android-file-transfer-linux-4.2 + export 'CXXFLAGS=-fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer' + CXXFLAGS='-fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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 redhat-linux-build -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_DO_STRIP:BOOL=OFF -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 -GNinja -- The C compiler identification is GNU 13.0.1 -- The CXX compiler identification is GNU 13.0.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 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- building for Linux -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Checking for module 'fuse' -- Found fuse, version 2.9.9 -- Checking for module 'taglib' -- Package 'taglib', required by 'virtual:world', not found -- fuse found, building mount helper -- Looking for include file magic.h -- Looking for include file magic.h - not found -- Looking for magic_open in magic -- Looking for magic_open in magic - not found -- version: v4.2-snapshot, base version: 4.2 -- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR) CMake Warning at CMakeLists.txt:192 (message): building without MTPZ support, openssl not found -- Found Readline: /usr/include -- Performing Test READLINE_NO_CURSES_TEST -- Performing Test READLINE_NO_CURSES_TEST - Success -- Using Qt5 -- Configuring done (12.8s) -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP CMAKE_VERBOSE_MAKEFILE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/android-file-transfer-linux-4.2/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose [1/79] /usr/bin/g++ -DFUSE_USE_VERSION=26 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -I/builddir/build/BUILD/android-file-transfer-linux-4.2 -I/builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/backend/posix -I/builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/backend/linux -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -DNDEBUG -std=gnu++11 -I/usr/include/fuse -Wall -pthread -MD -MT CMakeFiles/mtp-ng-static.dir/mtp/ptp/DeviceProperty.cpp.o -MF CMakeFiles/mtp-ng-static.dir/mtp/ptp/DeviceProperty.cpp.o.d -o CMakeFiles/mtp-ng-static.dir/mtp/ptp/DeviceProperty.cpp.o -c /builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/ptp/DeviceProperty.cpp FAILED: CMakeFiles/mtp-ng-static.dir/mtp/ptp/DeviceProperty.cpp.o /usr/bin/g++ -DFUSE_USE_VERSION=26 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -I/builddir/build/BUILD/android-file-transfer-linux-4.2 -I/builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/backend/posix -I/builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/backend/linux -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -DNDEBUG -std=gnu++11 -I/usr/include/fuse -Wall -pthread -MD -MT CMakeFiles/mtp-ng-static.dir/mtp/ptp/DeviceProperty.cpp.o -MF CMakeFiles/mtp-ng-static.dir/mtp/ptp/DeviceProperty.cpp.o.d -o CMakeFiles/mtp-ng-static.dir/mtp/ptp/DeviceProperty.cpp.o -c /builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/ptp/DeviceProperty.cpp In file included from /builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/ptp/DeviceProperty.h:23, from /builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/ptp/DeviceProperty.cpp:1: /builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/types.h: In function 'T mtp::RequireNotNull(const T&, const std::string&)': /builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/types.h:51:36: error: 'runtime_error' is not a member of 'std' 51 | throw std::runtime_error("null check failed " + expr); | ^~~~~~~~~~~~~ /builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/types.h:31:1: note: 'std::runtime_error' is defined in header ''; did you forget to '#include '? 30 | #include +++ |+#include 31 | [2/79] /usr/bin/g++ -DFUSE_USE_VERSION=26 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -I/builddir/build/BUILD/android-file-transfer-linux-4.2 -I/builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/backend/posix -I/builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/backend/linux -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -DNDEBUG -std=gnu++11 -I/usr/include/fuse -Wall -pthread -MD -MT CMakeFiles/mtp-ng-static.dir/mtp/ptp/DataTypeCode.cpp.o -MF CMakeFiles/mtp-ng-static.dir/mtp/ptp/DataTypeCode.cpp.o.d -o CMakeFiles/mtp-ng-static.dir/mtp/ptp/DataTypeCode.cpp.o -c /builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/ptp/DataTypeCode.cpp FAILED: CMakeFiles/mtp-ng-static.dir/mtp/ptp/DataTypeCode.cpp.o /usr/bin/g++ -DFUSE_USE_VERSION=26 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -I/builddir/build/BUILD/android-file-transfer-linux-4.2 -I/builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/backend/posix -I/builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/backend/linux -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -DNDEBUG -std=gnu++11 -I/usr/include/fuse -Wall -pthread -MD -MT CMakeFiles/mtp-ng-static.dir/mtp/ptp/DataTypeCode.cpp.o -MF CMakeFiles/mtp-ng-static.dir/mtp/ptp/DataTypeCode.cpp.o.d -o CMakeFiles/mtp-ng-static.dir/mtp/ptp/DataTypeCode.cpp.o -c /builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/ptp/DataTypeCode.cpp In file included from /builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/ptp/DataTypeCode.h:4, from /builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/ptp/DataTypeCode.cpp:1: /builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/types.h: In function 'T mtp::RequireNotNull(const T&, const std::string&)': /builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/types.h:51:36: error: 'runtime_error' is not a member of 'std' 51 | throw std::runtime_error("null check failed " + expr); | ^~~~~~~~~~~~~ /builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/types.h:31:1: note: 'std::runtime_error' is defined in header ''; did you forget to '#include '? 30 | #include +++ |+#include 31 | [3/79] /usr/bin/g++ -DFUSE_USE_VERSION=26 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -I/builddir/build/BUILD/android-file-transfer-linux-4.2 -I/builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/backend/posix -I/builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/backend/linux -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -DNDEBUG -std=gnu++11 -I/usr/include/fuse -Wall -pthread -MD -MT CMakeFiles/mtp-ng-static.dir/mtp/log.cpp.o -MF CMakeFiles/mtp-ng-static.dir/mtp/log.cpp.o.d -o CMakeFiles/mtp-ng-static.dir/mtp/log.cpp.o -c /builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/log.cpp FAILED: CMakeFiles/mtp-ng-static.dir/mtp/log.cpp.o /usr/bin/g++ -DFUSE_USE_VERSION=26 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -I/builddir/build/BUILD/android-file-transfer-linux-4.2 -I/builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/backend/posix -I/builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/backend/linux -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -DNDEBUG -std=gnu++11 -I/usr/include/fuse -Wall -pthread -MD -MT CMakeFiles/mtp-ng-static.dir/mtp/log.cpp.o -MF CMakeFiles/mtp-ng-static.dir/mtp/log.cpp.o.d -o CMakeFiles/mtp-ng-static.dir/mtp/log.cpp.o -c /builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/log.cpp In file included from /builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/ByteArray.h:23, from /builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/log.h:23, from /builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/log.cpp:19: /builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/types.h: In function 'T mtp::RequireNotNull(const T&, const std::string&)': /builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/types.h:51:36: error: 'runtime_error' is not a member of 'std' 51 | throw std::runtime_error("null check failed " + expr); | ^~~~~~~~~~~~~ /builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/types.h:31:1: note: 'std::runtime_error' is defined in header ''; did you forget to '#include '? 30 | #include +++ |+#include 31 | [4/79] /usr/bin/g++ -DFUSE_USE_VERSION=26 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -I/builddir/build/BUILD/android-file-transfer-linux-4.2 -I/builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/backend/posix -I/builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/backend/linux -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -DNDEBUG -std=gnu++11 -I/usr/include/fuse -Wall -pthread -MD -MT CMakeFiles/mtp-ng-static.dir/mtp/ptp/Device.cpp.o -MF CMakeFiles/mtp-ng-static.dir/mtp/ptp/Device.cpp.o.d -o CMakeFiles/mtp-ng-static.dir/mtp/ptp/Device.cpp.o -c /builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/ptp/Device.cpp FAILED: CMakeFiles/mtp-ng-static.dir/mtp/ptp/Device.cpp.o /usr/bin/g++ -DFUSE_USE_VERSION=26 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -I/builddir/build/BUILD/android-file-transfer-linux-4.2 -I/builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/backend/posix -I/builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/backend/linux -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -DNDEBUG -std=gnu++11 -I/usr/include/fuse -Wall -pthread -MD -MT CMakeFiles/mtp-ng-static.dir/mtp/ptp/Device.cpp.o -MF CMakeFiles/mtp-ng-static.dir/mtp/ptp/Device.cpp.o.d -o CMakeFiles/mtp-ng-static.dir/mtp/ptp/Device.cpp.o -c /builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/ptp/Device.cpp In file included from /builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/Token.h:23, from /builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/usb/BulkPipe.h:23, from /builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/ptp/Device.h:23, from /builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/ptp/Device.cpp:20: /builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/types.h: In function 'T mtp::RequireNotNull(const T&, const std::string&)': /builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/types.h:51:36: error: 'runtime_error' is not a member of 'std' 51 | throw std::runtime_error("null check failed " + expr); | ^~~~~~~~~~~~~ /builddir/build/BUILD/android-file-transfer-linux-4.2/mtp/types.h:31:1: note: 'std::runtime_error' is defined in header ''; did you forget to '#include '? 30 | #include +++ |+#include 31 | ninja: build stopped: subcommand failed. RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.B0mzZj (%build) bogus date in %changelog: Tue Jan 5 2020 Marek Blaha - 4.2-1 Bad exit status from /var/tmp/rpm-tmp.B0mzZj (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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/android-file-transfer.spec