DEBUG: Executing shell function do_compile
NOTE: make -j 10 -l 64
riscv64-yoe-linux-clang++ -march=rv64imafdc_zicsr_zifencei -mabi=lp64d  --dyld-prefix=/usr -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/nlohmann-fifo/1.0.0+git/recipe-sysroot -std=c++11  -O2 -g  -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/nlohmann-fifo/1.0.0+git/sources/nlohmann-fifo-1.0.0+git=/usr/src/debug/nlohmann-fifo/1.0.0+git  -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/nlohmann-fifo/1.0.0+git/sources/nlohmann-fifo-1.0.0+git=/usr/src/debug/nlohmann-fifo/1.0.0+git  -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/nlohmann-fifo/1.0.0+git/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/nlohmann-fifo/1.0.0+git/recipe-sysroot-native=  -pipe -fvisibility-inlines-hidden -Wall -Wextra -pedantic -Weffc++ -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Wdisabled-optimization -Wformat=2 -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wold-style-cast -Woverloaded-virtual -Wredundant-decls -Wshadow -Wsign-conversion -Wsign-promo -Wstrict-overflow=5 -Wswitch -Wundef -Wno-unused -Wnon-virtual-dtor -Wreorder -Wdeprecated -Wfloat-equal  -I src -I test -I test/thirdparty test/unit.cpp -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/nlohmann-fifo/1.0.0+git/sources/nlohmann-fifo-1.0.0+git=/usr/src/debug/nlohmann-fifo/1.0.0+git  -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/nlohmann-fifo/1.0.0+git/sources/nlohmann-fifo-1.0.0+git=/usr/src/debug/nlohmann-fifo/1.0.0+git  -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/nlohmann-fifo/1.0.0+git/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/nlohmann-fifo/1.0.0+git/recipe-sysroot-native=  -Wl,-z,relro,-z,now -o unit
test/unit.cpp:14:9: warning: keyword is hidden by macro definition [-Wkeyword-macro]
   14 | #define private public
      |         ^
In file included from test/unit.cpp:11:
In file included from test/thirdparty/catch/catch.hpp:324:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/nlohmann-fifo/1.0.0+git/recipe-sysroot/usr/include/c++/v1/sstream:323:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/nlohmann-fifo/1.0.0+git/recipe-sysroot/usr/include/c++/v1/__ostream/basic_ostream.h:20:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/nlohmann-fifo/1.0.0+git/recipe-sysroot/usr/include/c++/v1/__ostream/put_character_sequence.h:19:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/nlohmann-fifo/1.0.0+git/recipe-sysroot/usr/include/c++/v1/__locale_dir/pad_and_output.h:16:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/nlohmann-fifo/1.0.0+git/recipe-sysroot/usr/include/c++/v1/ios:223:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/nlohmann-fifo/1.0.0+git/recipe-sysroot/usr/include/c++/v1/__locale:27:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/nlohmann-fifo/1.0.0+git/recipe-sysroot/usr/include/c++/v1/string:652:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/nlohmann-fifo/1.0.0+git/recipe-sysroot/usr/include/c++/v1/string_view:947:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/nlohmann-fifo/1.0.0+git/recipe-sysroot/usr/include/c++/v1/algorithm:1908:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/nlohmann-fifo/1.0.0+git/recipe-sysroot/usr/include/c++/v1/__algorithm/shuffle.h:16:
TMPDIR/work/riscv64imafdc-yoe-linux/nlohmann-fifo/1.0.0+git/recipe-sysroot/usr/include/c++/v1/__random/uniform_int_distribution.h:212:17: error: static assertion failed due to requirement '__libcpp_random_is_valid_urng<Catch::RandomNumberGenerator, void>::value': 
  212 |   static_assert(__libcpp_random_is_valid_urng<_URNG>::value, "");
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64imafdc-yoe-linux/nlohmann-fifo/1.0.0+git/recipe-sysroot/usr/include/c++/v1/__algorithm/shuffle.h:147:29: note: in instantiation of function template specialization 'std::uniform_int_distribution<long>::operator()<Catch::RandomNumberGenerator>' requested here
  147 |       difference_type __i = __uid(__g, _Pp(0, __d));
      |                             ^
TMPDIR/work/riscv64imafdc-yoe-linux/nlohmann-fifo/1.0.0+git/recipe-sysroot/usr/include/c++/v1/__algorithm/shuffle.h:159:14: note: in instantiation of function template specialization 'std::__shuffle<std::_ClassicAlgPolicy, std::__wrap_iter<Catch::TestCase *>, std::__wrap_iter<Catch::TestCase *>, Catch::RandomNumberGenerator &>' requested here
  159 |   (void)std::__shuffle<_ClassicAlgPolicy>(
      |              ^
test/thirdparty/catch/catch.hpp:6539:18: note: in instantiation of function template specialization 'std::shuffle<std::__wrap_iter<Catch::TestCase *>, Catch::RandomNumberGenerator &>' requested here
 6539 |             std::shuffle( vector.begin(), vector.end(), rng );
      |                  ^
test/thirdparty/catch/catch.hpp:6557:44: note: in instantiation of function template specialization 'Catch::RandomNumberGenerator::shuffle<std::vector<Catch::TestCase>>' requested here
 6557 |                     RandomNumberGenerator::shuffle( sorted );
      |                                            ^
1 warning and 1 error generated.
make: *** [Makefile:15: unit] Error 1
ERROR: oe_runmake failed
WARNING: TMPDIR/work/riscv64imafdc-yoe-linux/nlohmann-fifo/1.0.0+git/temp/run.do_compile.1001951:179 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script): 
	#1: bbfatal_log, TMPDIR/work/riscv64imafdc-yoe-linux/nlohmann-fifo/1.0.0+git/temp/run.do_compile.1001951, line 179
	#2: die, TMPDIR/work/riscv64imafdc-yoe-linux/nlohmann-fifo/1.0.0+git/temp/run.do_compile.1001951, line 164
	#3: oe_runmake, TMPDIR/work/riscv64imafdc-yoe-linux/nlohmann-fifo/1.0.0+git/temp/run.do_compile.1001951, line 169
	#4: base_do_compile, TMPDIR/work/riscv64imafdc-yoe-linux/nlohmann-fifo/1.0.0+git/temp/run.do_compile.1001951, line 147
	#5: do_compile, TMPDIR/work/riscv64imafdc-yoe-linux/nlohmann-fifo/1.0.0+git/temp/run.do_compile.1001951, line 141
	#6: main, TMPDIR/work/riscv64imafdc-yoe-linux/nlohmann-fifo/1.0.0+git/temp/run.do_compile.1001951, line 189

Error details

Submitted on:
01/08/25 05:07
Error type:
Recipe
Task:
do_compile
Recipe:
nlohmann-fifo
Recipe version:
1.0.0+git-r0
Machine:
qemuriscv64
Distro:
yoe
Build system:
x86_64-linux
Target system:
riscv64-yoe-linux
Host distro:
ubuntu-22.04/ubuntu-22.04
Branch:
HEAD
Commit:
58d2196165ee72e133ecb0a3775a942b1f183b3f
Build:
#212460
Submitter:
ab@rdk
Similar errors:
2
Open a bug