Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/fmidi.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-163084-10992/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/fmidi.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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674604800 Wrote: /builddir/build/SRPMS/fmidi-0.1.1-1.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/fmidi.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-163084-10992/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/fmidi.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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674604800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Pej77k + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fmidi-0.1.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/fmidi-0.1.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd fmidi-0.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/4.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/20916421656e89a1303a85e76e89db8bd551a31e.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -r -i -e 's|"lib(["/])|"/usr/lib64\1|g' -e 's|\\\$\{prefix\}/lib\b|/usr/lib64|g' CMakeLists.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QgnzZ3 + umask 022 + cd /builddir/build/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 -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 fmidi-0.1.1 + 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 -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 -DFMIDI_ENABLE_DEBUG=OFF -DFMIDI_PIC=ON -DFMIDI_STATIC=OFF -GNinja -- The C compiler identification is GNU 12.2.1 -- The CXX compiler identification is GNU 12.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 -- 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 -- Found Boost: /usr/lib64/cmake/Boost-1.78.0/BoostConfig.cmake (found version "1.78.0") found components: filesystem system -- Found Curses: /usr/lib64/libcurses.so -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") -- Checking for module 'rtmidi' -- Found rtmidi, version 4.0.0 -- Performing Test fmidi_HAVE_FTS -- Performing Test fmidi_HAVE_FTS - Success -- Target fmidi-fmt does not exist, using the system library -- Checking for module 'fmt' -- Found fmt, version 8.1.1 -- 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 CMAKE_INSTALL_DO_STRIP CMAKE_VERBOSE_MAKEFILE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/fmidi-0.1.1/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j8 --verbose [1/24] /usr/bin/g++ -DFMIDI_BUILD=1 -Dfmidi_EXPORTS -I/builddir/build/BUILD/fmidi-0.1.1/sources -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 -fdiagnostics-color=always -fPIC -fvisibility=hidden -std=gnu++11 -MD -MT CMakeFiles/fmidi.dir/sources/fmidi/u_stdio.cc.o -MF CMakeFiles/fmidi.dir/sources/fmidi/u_stdio.cc.o.d -o CMakeFiles/fmidi.dir/sources/fmidi/u_stdio.cc.o -c /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/u_stdio.cc [2/24] /usr/bin/g++ -DFMIDI_BUILD=1 -Dfmidi_EXPORTS -I/builddir/build/BUILD/fmidi-0.1.1/sources -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 -fdiagnostics-color=always -fPIC -fvisibility=hidden -std=gnu++11 -MD -MT CMakeFiles/fmidi.dir/sources/fmidi/u_memstream.cc.o -MF CMakeFiles/fmidi.dir/sources/fmidi/u_memstream.cc.o.d -o CMakeFiles/fmidi.dir/sources/fmidi/u_memstream.cc.o -c /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/u_memstream.cc [3/24] /usr/bin/g++ -DFMIDI_BUILD=1 -Dfmidi_EXPORTS -I/builddir/build/BUILD/fmidi-0.1.1/sources -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 -fdiagnostics-color=always -fPIC -fvisibility=hidden -std=gnu++11 -MD -MT CMakeFiles/fmidi.dir/sources/fmidi/file/identify.cc.o -MF CMakeFiles/fmidi.dir/sources/fmidi/file/identify.cc.o.d -o CMakeFiles/fmidi.dir/sources/fmidi/file/identify.cc.o -c /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/file/identify.cc FAILED: CMakeFiles/fmidi.dir/sources/fmidi/file/identify.cc.o /usr/bin/g++ -DFMIDI_BUILD=1 -Dfmidi_EXPORTS -I/builddir/build/BUILD/fmidi-0.1.1/sources -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 -fdiagnostics-color=always -fPIC -fvisibility=hidden -std=gnu++11 -MD -MT CMakeFiles/fmidi.dir/sources/fmidi/file/identify.cc.o -MF CMakeFiles/fmidi.dir/sources/fmidi/file/identify.cc.o.d -o CMakeFiles/fmidi.dir/sources/fmidi/file/identify.cc.o -c /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/file/identify.cc In file included from /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/file/identify.cc:7: /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.h:13:68: error: expected class-name before '{' token 13 | template <> struct fmt::formatter : ostream_formatter {}; | ^ /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.h:14:70: error: expected class-name before '{' token 14 | template <> struct fmt::formatter : ostream_formatter {}; | ^ /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.h:25:72: error: expected class-name before '{' token 25 | template <> struct fmt::formatter : ostream_formatter {}; | ^ /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.h:36:71: error: expected class-name before '{' token 36 | template <> struct fmt::formatter : ostream_formatter {}; | ^ [4/24] /usr/bin/g++ -DFMIDI_BUILD=1 -Dfmidi_EXPORTS -I/builddir/build/BUILD/fmidi-0.1.1/sources -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 -fdiagnostics-color=always -fPIC -fvisibility=hidden -std=gnu++11 -MD -MT CMakeFiles/fmidi.dir/sources/fmidi/file/write_smf.cc.o -MF CMakeFiles/fmidi.dir/sources/fmidi/file/write_smf.cc.o.d -o CMakeFiles/fmidi.dir/sources/fmidi/file/write_smf.cc.o -c /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/file/write_smf.cc FAILED: CMakeFiles/fmidi.dir/sources/fmidi/file/write_smf.cc.o /usr/bin/g++ -DFMIDI_BUILD=1 -Dfmidi_EXPORTS -I/builddir/build/BUILD/fmidi-0.1.1/sources -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 -fdiagnostics-color=always -fPIC -fvisibility=hidden -std=gnu++11 -MD -MT CMakeFiles/fmidi.dir/sources/fmidi/file/write_smf.cc.o -MF CMakeFiles/fmidi.dir/sources/fmidi/file/write_smf.cc.o.d -o CMakeFiles/fmidi.dir/sources/fmidi/file/write_smf.cc.o -c /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/file/write_smf.cc In file included from /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/file/write_smf.cc:7: /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.h:13:68: error: expected class-name before '{' token 13 | template <> struct fmt::formatter : ostream_formatter {}; | ^ /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.h:14:70: error: expected class-name before '{' token 14 | template <> struct fmt::formatter : ostream_formatter {}; | ^ /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.h:25:72: error: expected class-name before '{' token 25 | template <> struct fmt::formatter : ostream_formatter {}; | ^ /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.h:36:71: error: expected class-name before '{' token 36 | template <> struct fmt::formatter : ostream_formatter {}; | ^ [5/24] /usr/bin/g++ -DFMIDI_BUILD=1 -Dfmidi_EXPORTS -I/builddir/build/BUILD/fmidi-0.1.1/sources -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 -fdiagnostics-color=always -fPIC -fvisibility=hidden -std=gnu++11 -MD -MT CMakeFiles/fmidi.dir/sources/fmidi/fmidi_internal.cc.o -MF CMakeFiles/fmidi.dir/sources/fmidi/fmidi_internal.cc.o.d -o CMakeFiles/fmidi.dir/sources/fmidi/fmidi_internal.cc.o -c /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.cc FAILED: CMakeFiles/fmidi.dir/sources/fmidi/fmidi_internal.cc.o /usr/bin/g++ -DFMIDI_BUILD=1 -Dfmidi_EXPORTS -I/builddir/build/BUILD/fmidi-0.1.1/sources -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 -fdiagnostics-color=always -fPIC -fvisibility=hidden -std=gnu++11 -MD -MT CMakeFiles/fmidi.dir/sources/fmidi/fmidi_internal.cc.o -MF CMakeFiles/fmidi.dir/sources/fmidi/fmidi_internal.cc.o.d -o CMakeFiles/fmidi.dir/sources/fmidi/fmidi_internal.cc.o -c /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.cc In file included from /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.cc:6: /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.h:13:68: error: expected class-name before '{' token 13 | template <> struct fmt::formatter : ostream_formatter {}; | ^ /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.h:14:70: error: expected class-name before '{' token 14 | template <> struct fmt::formatter : ostream_formatter {}; | ^ /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.h:25:72: error: expected class-name before '{' token 25 | template <> struct fmt::formatter : ostream_formatter {}; | ^ /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.h:36:71: error: expected class-name before '{' token 36 | template <> struct fmt::formatter : ostream_formatter {}; | ^ [6/24] /usr/bin/g++ -DFMIDI_BUILD=1 -Dfmidi_EXPORTS -I/builddir/build/BUILD/fmidi-0.1.1/sources -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 -fdiagnostics-color=always -fPIC -fvisibility=hidden -std=gnu++11 -MD -MT CMakeFiles/fmidi.dir/sources/fmidi/file/read_smf.cc.o -MF CMakeFiles/fmidi.dir/sources/fmidi/file/read_smf.cc.o.d -o CMakeFiles/fmidi.dir/sources/fmidi/file/read_smf.cc.o -c /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/file/read_smf.cc FAILED: CMakeFiles/fmidi.dir/sources/fmidi/file/read_smf.cc.o /usr/bin/g++ -DFMIDI_BUILD=1 -Dfmidi_EXPORTS -I/builddir/build/BUILD/fmidi-0.1.1/sources -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 -fdiagnostics-color=always -fPIC -fvisibility=hidden -std=gnu++11 -MD -MT CMakeFiles/fmidi.dir/sources/fmidi/file/read_smf.cc.o -MF CMakeFiles/fmidi.dir/sources/fmidi/file/read_smf.cc.o.d -o CMakeFiles/fmidi.dir/sources/fmidi/file/read_smf.cc.o -c /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/file/read_smf.cc In file included from /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/file/read_smf.cc:8: /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.h:13:68: error: expected class-name before '{' token 13 | template <> struct fmt::formatter : ostream_formatter {}; | ^ /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.h:14:70: error: expected class-name before '{' token 14 | template <> struct fmt::formatter : ostream_formatter {}; | ^ /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.h:25:72: error: expected class-name before '{' token 25 | template <> struct fmt::formatter : ostream_formatter {}; | ^ /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.h:36:71: error: expected class-name before '{' token 36 | template <> struct fmt::formatter : ostream_formatter {}; | ^ [7/24] /usr/bin/g++ -DFMIDI_BUILD=1 -Dfmidi_EXPORTS -I/builddir/build/BUILD/fmidi-0.1.1/sources -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 -fdiagnostics-color=always -fPIC -fvisibility=hidden -std=gnu++11 -MD -MT CMakeFiles/fmidi.dir/sources/fmidi/file/read_mus.cc.o -MF CMakeFiles/fmidi.dir/sources/fmidi/file/read_mus.cc.o.d -o CMakeFiles/fmidi.dir/sources/fmidi/file/read_mus.cc.o -c /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/file/read_mus.cc FAILED: CMakeFiles/fmidi.dir/sources/fmidi/file/read_mus.cc.o /usr/bin/g++ -DFMIDI_BUILD=1 -Dfmidi_EXPORTS -I/builddir/build/BUILD/fmidi-0.1.1/sources -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 -fdiagnostics-color=always -fPIC -fvisibility=hidden -std=gnu++11 -MD -MT CMakeFiles/fmidi.dir/sources/fmidi/file/read_mus.cc.o -MF CMakeFiles/fmidi.dir/sources/fmidi/file/read_mus.cc.o.d -o CMakeFiles/fmidi.dir/sources/fmidi/file/read_mus.cc.o -c /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/file/read_mus.cc In file included from /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/file/read_mus.cc:8: /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.h:13:68: error: expected class-name before '{' token 13 | template <> struct fmt::formatter : ostream_formatter {}; | ^ /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.h:14:70: error: expected class-name before '{' token 14 | template <> struct fmt::formatter : ostream_formatter {}; | ^ /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.h:25:72: error: expected class-name before '{' token 25 | template <> struct fmt::formatter : ostream_formatter {}; | ^ /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.h:36:71: error: expected class-name before '{' token 36 | template <> struct fmt::formatter : ostream_formatter {}; | ^ [8/24] /usr/bin/g++ -DFMIDI_BUILD=1 -Dfmidi_EXPORTS -I/builddir/build/BUILD/fmidi-0.1.1/sources -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 -fdiagnostics-color=always -fPIC -fvisibility=hidden -std=gnu++11 -MD -MT CMakeFiles/fmidi.dir/sources/fmidi/file/read_xmi.cc.o -MF CMakeFiles/fmidi.dir/sources/fmidi/file/read_xmi.cc.o.d -o CMakeFiles/fmidi.dir/sources/fmidi/file/read_xmi.cc.o -c /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/file/read_xmi.cc FAILED: CMakeFiles/fmidi.dir/sources/fmidi/file/read_xmi.cc.o /usr/bin/g++ -DFMIDI_BUILD=1 -Dfmidi_EXPORTS -I/builddir/build/BUILD/fmidi-0.1.1/sources -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 -fdiagnostics-color=always -fPIC -fvisibility=hidden -std=gnu++11 -MD -MT CMakeFiles/fmidi.dir/sources/fmidi/file/read_xmi.cc.o -MF CMakeFiles/fmidi.dir/sources/fmidi/file/read_xmi.cc.o.d -o CMakeFiles/fmidi.dir/sources/fmidi/file/read_xmi.cc.o -c /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/file/read_xmi.cc In file included from /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/file/read_xmi.cc:8: /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.h:13:68: error: expected class-name before '{' token 13 | template <> struct fmt::formatter : ostream_formatter {}; | ^ /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.h:14:70: error: expected class-name before '{' token 14 | template <> struct fmt::formatter : ostream_formatter {}; | ^ /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.h:25:72: error: expected class-name before '{' token 25 | template <> struct fmt::formatter : ostream_formatter {}; | ^ /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.h:36:71: error: expected class-name before '{' token 36 | template <> struct fmt::formatter : ostream_formatter {}; | ^ [9/24] /usr/bin/g++ -DFMIDI_BUILD=1 -Dfmidi_EXPORTS -I/builddir/build/BUILD/fmidi-0.1.1/sources -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 -fdiagnostics-color=always -fPIC -fvisibility=hidden -std=gnu++11 -MD -MT CMakeFiles/fmidi.dir/sources/fmidi/fmidi_seq.cc.o -MF CMakeFiles/fmidi.dir/sources/fmidi/fmidi_seq.cc.o.d -o CMakeFiles/fmidi.dir/sources/fmidi/fmidi_seq.cc.o -c /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_seq.cc [10/24] /usr/bin/g++ -DFMIDI_BUILD=1 -Dfmidi_EXPORTS -I/builddir/build/BUILD/fmidi-0.1.1/sources -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 -fdiagnostics-color=always -fPIC -fvisibility=hidden -std=gnu++11 -MD -MT CMakeFiles/fmidi.dir/sources/fmidi/fmidi_util.cc.o -MF CMakeFiles/fmidi.dir/sources/fmidi/fmidi_util.cc.o.d -o CMakeFiles/fmidi.dir/sources/fmidi/fmidi_util.cc.o -c /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_util.cc FAILED: CMakeFiles/fmidi.dir/sources/fmidi/fmidi_util.cc.o /usr/bin/g++ -DFMIDI_BUILD=1 -Dfmidi_EXPORTS -I/builddir/build/BUILD/fmidi-0.1.1/sources -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 -fdiagnostics-color=always -fPIC -fvisibility=hidden -std=gnu++11 -MD -MT CMakeFiles/fmidi.dir/sources/fmidi/fmidi_util.cc.o -MF CMakeFiles/fmidi.dir/sources/fmidi/fmidi_util.cc.o.d -o CMakeFiles/fmidi.dir/sources/fmidi/fmidi_util.cc.o -c /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_util.cc In file included from /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_util.cc:7: /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.h:13:68: error: expected class-name before '{' token 13 | template <> struct fmt::formatter : ostream_formatter {}; | ^ /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.h:14:70: error: expected class-name before '{' token 14 | template <> struct fmt::formatter : ostream_formatter {}; | ^ /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.h:25:72: error: expected class-name before '{' token 25 | template <> struct fmt::formatter : ostream_formatter {}; | ^ /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.h:36:71: error: expected class-name before '{' token 36 | template <> struct fmt::formatter : ostream_formatter {}; | ^ In file included from /usr/include/fmt/format.h:48, from /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_internal.h:10: /usr/include/fmt/core.h: In instantiation of 'static void fmt::v8::detail::value::format_custom_arg(void*, typename Context::parse_context_type&, Context&) [with T = fmidi_event; Formatter = fmt::v8::formatter; Context = fmt::v8::basic_format_context; typename Context::parse_context_type = fmt::v8::basic_format_parse_context]': /usr/include/fmt/core.h:1261:19: required from 'fmt::v8::detail::value::value(T&) [with T = const fmidi_event; Context = fmt::v8::basic_format_context]' /usr/include/fmt/core.h:1732:14: required from 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::custom_type; T = const fmidi_event&; typename std::enable_if::type = 0]' /usr/include/fmt/core.h:1856:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {const unsigned int&, const fmidi_event&}; Context = fmt::v8::basic_format_context; Args = {unsigned int, fmidi_event}]' /usr/include/fmt/core.h:1873:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {const unsigned int&, const fmidi_event&}]' /usr/include/fmt/core.h:3225:44: required from 'void fmt::v8::print(FILE*, format_string, T&& ...) [with T = {const unsigned int&, const fmidi_event&}; FILE = FILE; format_string = basic_format_string]' /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_util.cc:406:23: required from 'void fmidi_repr_smf(OutputStreamRef, const fmidi_smf_t&) [with OutputStreamRef = _IO_FILE*; fmidi_smf_t = fmidi_smf]' /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_util.cc:427:27: required from here /usr/include/fmt/core.h:1279:28: error: 'struct fmt::v8::formatter' has no member named 'parse' 1279 | parse_ctx.advance_to(f.parse(parse_ctx)); | ~~^~~~~ /usr/include/fmt/core.h:1282:22: error: 'struct fmt::v8::formatter' has no member named 'format'; did you mean 'formatter'? 1282 | ctx.advance_to(f.format(*static_cast(arg), ctx)); | ~~^~~~~~ | formatter /usr/include/fmt/core.h: In instantiation of 'static void fmt::v8::detail::value::format_custom_arg(void*, typename Context::parse_context_type&, Context&) [with T = printfmt_bytes; Formatter = fmt::v8::formatter; Context = fmt::v8::basic_format_context; typename Context::parse_context_type = fmt::v8::basic_format_parse_context]': /usr/include/fmt/core.h:1261:19: required from 'fmt::v8::detail::value::value(T&) [with T = const printfmt_bytes; Context = fmt::v8::basic_format_context]' /usr/include/fmt/core.h:1732:14: required from 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::custom_type; T = printfmt_bytes&; typename std::enable_if::type = 0]' /usr/include/fmt/core.h:1856:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {printfmt_bytes&}; Context = fmt::v8::basic_format_context; Args = {printfmt_bytes}]' /usr/include/fmt/core.h:1873:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {printfmt_bytes&}]' /usr/include/fmt/core.h:3225:44: required from 'void fmt::v8::print(FILE*, format_string, T&& ...) [with T = {printfmt_bytes}; FILE = FILE; format_string = basic_format_string]' /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_util.cc:448:19: required from 'void fmidi_repr_event(OutputStreamRef, const fmidi_event_t&) [with OutputStreamRef = _IO_FILE*; fmidi_event_t = fmidi_event]' /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_util.cc:470:29: required from here /usr/include/fmt/core.h:1279:28: error: 'struct fmt::v8::formatter' has no member named 'parse' 1279 | parse_ctx.advance_to(f.parse(parse_ctx)); | ~~^~~~~ /usr/include/fmt/core.h:1282:22: error: 'struct fmt::v8::formatter' has no member named 'format'; did you mean 'formatter'? 1282 | ctx.advance_to(f.format(*static_cast(arg), ctx)); | ~~^~~~~~ | formatter /usr/include/fmt/core.h: In instantiation of 'static void fmt::v8::detail::value::format_custom_arg(void*, typename Context::parse_context_type&, Context&) [with T = printfmt_quoted; Formatter = fmt::v8::formatter; Context = fmt::v8::basic_format_context; typename Context::parse_context_type = fmt::v8::basic_format_parse_context]': /usr/include/fmt/core.h:1261:19: required from 'fmt::v8::detail::value::value(T&) [with T = const printfmt_quoted; Context = fmt::v8::basic_format_context]' /usr/include/fmt/core.h:1732:14: required from 'fmt::v8::detail::value fmt::v8::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v8::basic_format_context; type = fmt::v8::detail::type::custom_type; T = printfmt_quoted&; typename std::enable_if::type = 0]' /usr/include/fmt/core.h:1856:77: required from 'fmt::v8::format_arg_store::format_arg_store(T&& ...) [with T = {printfmt_quoted&}; Context = fmt::v8::basic_format_context; Args = {printfmt_quoted}]' /usr/include/fmt/core.h:1873:38: required from 'constexpr fmt::v8::format_arg_store::type>::type ...> fmt::v8::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {printfmt_quoted&}]' /usr/include/fmt/core.h:3225:44: required from 'void fmt::v8::print(FILE*, format_string, T&& ...) [with T = {printfmt_quoted&}; FILE = FILE; format_string = basic_format_string]' /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_util.cc:118:19: required from 'bool fmidi_repr_meta(OutputStreamRef, const uint8_t*, uint32_t) [with OutputStreamRef = _IO_FILE*; uint8_t = unsigned char; uint32_t = unsigned int]' /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_util.cc:438:46: required from 'void fmidi_repr_event(OutputStreamRef, const fmidi_event_t&) [with OutputStreamRef = _IO_FILE*; fmidi_event_t = fmidi_event]' /builddir/build/BUILD/fmidi-0.1.1/sources/fmidi/fmidi_util.cc:470:29: required from here /usr/include/fmt/core.h:1279:28: error: 'struct fmt::v8::formatter' has no member named 'parse' 1279 | parse_ctx.advance_to(f.parse(parse_ctx)); | ~~^~~~~ /usr/include/fmt/core.h:1282:22: error: 'struct fmt::v8::formatter' has no member named 'format'; did you mean 'formatter'? 1282 | ctx.advance_to(f.format(*static_cast(arg), ctx)); | ~~^~~~~~ | formatter ninja: build stopped: subcommand failed. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.QgnzZ3 (%build) Bad exit status from /var/tmp/rpm-tmp.QgnzZ3 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, 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/fmidi.spec