Mock Version: 4.1
Mock Version: 4.1
Mock Version: 4.1
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/c4fs.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-230767-18231/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fefd556f450>timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/c4fs.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/c4fs-0.0.1^20230512git99eedfa-1.ocs23.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/c4fs.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-230767-18231/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fefd556f450>timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/c4fs.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XFLPz8
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf c4fs-99eedfa6e02d67224bf91877a869eebcbc4de1e3
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/c4fs-99eedfa6e02d67224bf91877a869eebcbc4de1e3.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd c4fs-99eedfa6e02d67224bf91877a869eebcbc4de1e3
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/c4fs-1abba00-external-c4core.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ find ext
ext
ext/c4core
+ cp -rp /usr/share/cmake/c4project ext/c4core/cmake
+ sed -r -i -e 's/(LIBS.*)\bdoctest\b/\1/' -e 's/(c4_setup_testing\()DOCTEST\)/\1\)/' test/CMakeLists.txt
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LyhRB0
+ 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd c4fs-99eedfa6e02d67224bf91877a869eebcbc4de1e3
+ 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ 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 x86_64-OpenCloudOS-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_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 -DC4FS_CACHE_DOWNLOAD_DOCTEST:PATH=/ -DC4FS_BUILD_TESTS=ON
-- The CXX compiler identification is GNU 12.3.1
-- 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
-- c4fs: using C++ standard: C++11
-- c4fs: setting C++ standard: 11
-- c4fs: setting C++ standard required: ON
-- c4fs: packing the project: TYPE;LIBRARY
-- c4fs: cpack tag: -
-- Configuring done (0.3s)
-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:
    C4FS_CACHE_DOWNLOAD_DOCTEST
    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/c4fs-99eedfa6e02d67224bf91877a869eebcbc4de1e3/x86_64-OpenCloudOS-linux-gnu
+ /usr/bin/cmake --build x86_64-OpenCloudOS-linux-gnu -j32 --verbose
[1/6] /usr/bin/g++ -Dc4fs_EXPORTS -I/builddir/build/BUILD/c4fs-99eedfa6e02d67224bf91877a869eebcbc4de1e3/src -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DNDEBUG -std=c++11 -fPIC -MD -MT CMakeFiles/c4fs.dir/src/c4/fs/fs.cpp.o -MF CMakeFiles/c4fs.dir/src/c4/fs/fs.cpp.o.d -o CMakeFiles/c4fs.dir/src/c4/fs/fs.cpp.o -c /builddir/build/BUILD/c4fs-99eedfa6e02d67224bf91877a869eebcbc4de1e3/src/c4/fs/fs.cpp
FAILED: CMakeFiles/c4fs.dir/src/c4/fs/fs.cpp.o 
/usr/bin/g++ -Dc4fs_EXPORTS -I/builddir/build/BUILD/c4fs-99eedfa6e02d67224bf91877a869eebcbc4de1e3/src -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DNDEBUG -std=c++11 -fPIC -MD -MT CMakeFiles/c4fs.dir/src/c4/fs/fs.cpp.o -MF CMakeFiles/c4fs.dir/src/c4/fs/fs.cpp.o.d -o CMakeFiles/c4fs.dir/src/c4/fs/fs.cpp.o -c /builddir/build/BUILD/c4fs-99eedfa6e02d67224bf91877a869eebcbc4de1e3/src/c4/fs/fs.cpp
In file included from /builddir/build/BUILD/c4fs-99eedfa6e02d67224bf91877a869eebcbc4de1e3/src/c4/fs/fs.cpp:5:
/usr/include/c4/charconv.hpp: In function 'bool c4::atof(csubstr, float*)':
/usr/include/c4/charconv.hpp:1967:9: error: 'fast_float' has not been declared
 1967 |         fast_float::from_chars_result result;
      |         ^~~~~~~~~~
/usr/include/c4/charconv.hpp:1968:9: error: 'result' was not declared in this scope
 1968 |         result = fast_float::from_chars(str.str, str.str + str.len, *v);
      |         ^~~~~~
/usr/include/c4/charconv.hpp:1968:18: error: 'fast_float' has not been declared
 1968 |         result = fast_float::from_chars(str.str, str.str + str.len, *v);
      |                  ^~~~~~~~~~
/usr/include/c4/charconv.hpp: In function 'bool c4::atod(csubstr, double*)':
/usr/include/c4/charconv.hpp:2006:9: error: 'fast_float' has not been declared
 2006 |         fast_float::from_chars_result result;
      |         ^~~~~~~~~~
/usr/include/c4/charconv.hpp:2007:9: error: 'result' was not declared in this scope
 2007 |         result = fast_float::from_chars(str.str, str.str + str.len, *v);
      |         ^~~~~~
/usr/include/c4/charconv.hpp:2007:18: error: 'fast_float' has not been declared
 2007 |         result = fast_float::from_chars(str.str, str.str + str.len, *v);
      |                  ^~~~~~~~~~
[2/6] /usr/bin/g++  -I/builddir/build/BUILD/c4fs-99eedfa6e02d67224bf91877a869eebcbc4de1e3/test -I/builddir/build/BUILD/c4fs-99eedfa6e02d67224bf91877a869eebcbc4de1e3/src -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DNDEBUG -std=c++11 -MD -MT test/CMakeFiles/c4fs-test-basic.dir/test_basic.cpp.o -MF test/CMakeFiles/c4fs-test-basic.dir/test_basic.cpp.o.d -o test/CMakeFiles/c4fs-test-basic.dir/test_basic.cpp.o -c /builddir/build/BUILD/c4fs-99eedfa6e02d67224bf91877a869eebcbc4de1e3/test/test_basic.cpp
FAILED: test/CMakeFiles/c4fs-test-basic.dir/test_basic.cpp.o 
/usr/bin/g++  -I/builddir/build/BUILD/c4fs-99eedfa6e02d67224bf91877a869eebcbc4de1e3/test -I/builddir/build/BUILD/c4fs-99eedfa6e02d67224bf91877a869eebcbc4de1e3/src -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DNDEBUG -std=c++11 -MD -MT test/CMakeFiles/c4fs-test-basic.dir/test_basic.cpp.o -MF test/CMakeFiles/c4fs-test-basic.dir/test_basic.cpp.o.d -o test/CMakeFiles/c4fs-test-basic.dir/test_basic.cpp.o -c /builddir/build/BUILD/c4fs-99eedfa6e02d67224bf91877a869eebcbc4de1e3/test/test_basic.cpp
In file included from /usr/include/c4/format.hpp:7,
                 from /usr/include/c4/std/tuple.hpp:7,
                 from /usr/include/c4/std/std.hpp:8,
                 from /builddir/build/BUILD/c4fs-99eedfa6e02d67224bf91877a869eebcbc4de1e3/test/test_basic.cpp:2:
/usr/include/c4/charconv.hpp: In function 'bool c4::atof(csubstr, float*)':
/usr/include/c4/charconv.hpp:1967:9: error: 'fast_float' has not been declared
 1967 |         fast_float::from_chars_result result;
      |         ^~~~~~~~~~
/usr/include/c4/charconv.hpp:1968:9: error: 'result' was not declared in this scope
 1968 |         result = fast_float::from_chars(str.str, str.str + str.len, *v);
      |         ^~~~~~
/usr/include/c4/charconv.hpp:1968:18: error: 'fast_float' has not been declared
 1968 |         result = fast_float::from_chars(str.str, str.str + str.len, *v);
      |                  ^~~~~~~~~~
/usr/include/c4/charconv.hpp: In function 'bool c4::atod(csubstr, double*)':
/usr/include/c4/charconv.hpp:2006:9: error: 'fast_float' has not been declared
 2006 |         fast_float::from_chars_result result;
      |         ^~~~~~~~~~
/usr/include/c4/charconv.hpp:2007:9: error: 'result' was not declared in this scope
 2007 |         result = fast_float::from_chars(str.str, str.str + str.len, *v);
      |         ^~~~~~
/usr/include/c4/charconv.hpp:2007:18: error: 'fast_float' has not been declared
 2007 |         result = fast_float::from_chars(str.str, str.str + str.len, *v);
      |                  ^~~~~~~~~~
ninja: build stopped: subcommand failed.
error: Bad exit status from /var/tmp/rpm-tmp.LyhRB0 (%build)
    Bad exit status from /var/tmp/rpm-tmp.LyhRB0 (%build)
RPM build errors:
Child return code was: 1
EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/c4fs.spec\n', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
             ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, 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 --noclean --target x86_64 --nodeps /builddir/build/SPECS/c4fs.spec