DEBUG: Executing shell function do_compile_ptest_base
NOTE: make -j 16 -l 75 -C TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/build/examples cpp
make: Entering directory 'TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/build/examples'
protoc $PROTO_PATH --cpp_out=. --java_out=. --python_out=. addressbook.proto
pkg-config --cflags protobuf  # fails if protobuf is not installed
pkg-config --cflags protobuf  # fails if protobuf is not installed
-ITOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/sources/protobuf-6.33.5/src -I/usr/include -DPROTOBUF_USE_DLLS -ITOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/sources/protobuf-6.33.5/third_party/utf8_range -DNOMINMAX
-ITOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/sources/protobuf-6.33.5/src -I/usr/include -DPROTOBUF_USE_DLLS -ITOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/sources/protobuf-6.33.5/third_party/utf8_range -DNOMINMAX
x86_64-poky-linux-g++  -m64 -march=x86-64-v3 -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot  -O2 -g -fcanon-prefix-map  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/sources/protobuf-6.33.5=/usr/src/debug/protobuf/6.33.5  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/build=/usr/src/debug/protobuf/6.33.5  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot-native=  -pipe -fvisibility-inlines-hidden -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/build/CMakeFiles/libprotobuf.dir/src/google/protobuf/timestamp.pb.cc.o -ITOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/sources/protobuf-6.33.5/src -I/usr/include -DPROTOBUF_USE_DLLS -ITOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/sources/protobuf-6.33.5/third_party/utf8_range -DNOMINMAX -LTOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/build -lprotobuf -L/usr/lib -labsl_log_internal_check_op -labsl_die_if_null -labsl_log_internal_conditions -labsl_log_internal_message -labsl_examine_stack -labsl_log_internal_format -labsl_log_internal_nullguard -labsl_log_internal_structured_proto -labsl_log_internal_log_sink_set -labsl_log_sink -labsl_log_entry -labsl_log_internal_proto -labsl_flags_internal -labsl_flags_marshalling -labsl_flags_reflection -labsl_flags_private_handle_accessor -labsl_flags_commandlineflag -labsl_flags_commandlineflag_internal -labsl_flags_config -labsl_flags_program_name -labsl_log_initialize -labsl_log_internal_globals -labsl_log_globals -labsl_vlog_config_internal -labsl_log_internal_fnmatch -labsl_raw_hash_set -labsl_hashtablez_sampler -labsl_random_distributions -labsl_random_seed_sequences -labsl_random_internal_entropy_pool -labsl_random_internal_randen -labsl_random_internal_randen_hwaes -labsl_random_internal_randen_hwaes_impl -labsl_random_internal_randen_slow -labsl_random_internal_platform -labsl_random_internal_seed_material -labsl_random_seed_gen_exception -labsl_statusor -labsl_status -labsl_cord -labsl_cordz_info -labsl_cord_internal -labsl_cordz_functions -labsl_exponential_biased -labsl_cordz_handle -labsl_crc_cord_state -labsl_crc32c -labsl_crc_internal -labsl_crc_cpu_detect -labsl_leak_check -labsl_strerror -labsl_str_format_internal -labsl_synchronization -labsl_graphcycles_internal -labsl_kernel_timeout_internal -labsl_stacktrace -labsl_borrowed_fixup_buffer -labsl_hash -labsl_city -labsl_symbolize -labsl_debugging_internal -labsl_demangle_internal -labsl_demangle_rust -labsl_decode_rust_punycode -labsl_utf8_for_code_point -labsl_malloc_internal -labsl_tracing_internal -labsl_time -labsl_civil_time -labsl_time_zone -labsl_strings -labsl_strings_internal -labsl_int128 -labsl_base -lrt -labsl_spinlock_wait -labsl_throw_delegate -labsl_raw_logging_internal -labsl_log_severity add_person.cc addressbook.pb.cc -o add_person_cpp
x86_64-poky-linux-g++  -m64 -march=x86-64-v3 -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot  -O2 -g -fcanon-prefix-map  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/sources/protobuf-6.33.5=/usr/src/debug/protobuf/6.33.5  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/build=/usr/src/debug/protobuf/6.33.5  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot-native=  -pipe -fvisibility-inlines-hidden -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/build/CMakeFiles/libprotobuf.dir/src/google/protobuf/timestamp.pb.cc.o -ITOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/sources/protobuf-6.33.5/src -I/usr/include -DPROTOBUF_USE_DLLS -ITOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/sources/protobuf-6.33.5/third_party/utf8_range -DNOMINMAX -LTOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/build -lprotobuf -L/usr/lib -labsl_log_internal_check_op -labsl_die_if_null -labsl_log_internal_conditions -labsl_log_internal_message -labsl_examine_stack -labsl_log_internal_format -labsl_log_internal_nullguard -labsl_log_internal_structured_proto -labsl_log_internal_log_sink_set -labsl_log_sink -labsl_log_entry -labsl_log_internal_proto -labsl_flags_internal -labsl_flags_marshalling -labsl_flags_reflection -labsl_flags_private_handle_accessor -labsl_flags_commandlineflag -labsl_flags_commandlineflag_internal -labsl_flags_config -labsl_flags_program_name -labsl_log_initialize -labsl_log_internal_globals -labsl_log_globals -labsl_vlog_config_internal -labsl_log_internal_fnmatch -labsl_raw_hash_set -labsl_hashtablez_sampler -labsl_random_distributions -labsl_random_seed_sequences -labsl_random_internal_entropy_pool -labsl_random_internal_randen -labsl_random_internal_randen_hwaes -labsl_random_internal_randen_hwaes_impl -labsl_random_internal_randen_slow -labsl_random_internal_platform -labsl_random_internal_seed_material -labsl_random_seed_gen_exception -labsl_statusor -labsl_status -labsl_cord -labsl_cordz_info -labsl_cord_internal -labsl_cordz_functions -labsl_exponential_biased -labsl_cordz_handle -labsl_crc_cord_state -labsl_crc32c -labsl_crc_internal -labsl_crc_cpu_detect -labsl_leak_check -labsl_strerror -labsl_str_format_internal -labsl_synchronization -labsl_graphcycles_internal -labsl_kernel_timeout_internal -labsl_stacktrace -labsl_borrowed_fixup_buffer -labsl_hash -labsl_city -labsl_symbolize -labsl_debugging_internal -labsl_demangle_internal -labsl_demangle_rust -labsl_decode_rust_punycode -labsl_utf8_for_code_point -labsl_malloc_internal -labsl_tracing_internal -labsl_time -labsl_civil_time -labsl_time_zone -labsl_strings -labsl_strings_internal -labsl_int128 -labsl_base -lrt -labsl_spinlock_wait -labsl_throw_delegate -labsl_raw_logging_internal -labsl_log_severity list_people.cc addressbook.pb.cc -o list_people_cpp
cc1plus: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
cc1plus: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/cstdio:47,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/ext/string_conversions.h:47,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/bits/basic_string.h:4444,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/string:56,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/bits/locale_classes.h:42,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/bits/ios_base.h:43,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/ios:46,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/istream:42,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/fstream:42,
                 from add_person.cc:4:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' was not declared in this scope
  205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
      |                           ^~~~~~~~
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/cstdio:47,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/ext/string_conversions.h:47,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/bits/basic_string.h:4444,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/string:56,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/bits/locale_classes.h:42,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/bits/ios_base.h:43,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/ios:46,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/istream:42,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/fstream:42,
                 from list_people.cc:3:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' was not declared in this scope
  205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
      |                           ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' was not declared in this scope; did you mean 'tmpnam'?
  210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
      |                                 ^~~~~~~~
      |                                 tmpnam
/usr/include/stdio.h:210:33: error: 'L_tmpnam' was not declared in this scope; did you mean 'tmpnam'?
  210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
      |                                 ^~~~~~~~
      |                                 tmpnam
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/x86_64-poky-linux/bits/gthr-default.h:35,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/x86_64-poky-linux/bits/gthr.h:157,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/ext/atomicity.h:37,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/bits/ios_base.h:41:
TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/ext/concurrence.h:257:32: error: cannot convert '<brace-enclosed initializer list>' to 'unsigned int' in initialization
  257 |     __gthread_cond_t _M_cond = __GTHREAD_COND_INIT;
      |                                ^~~~~~~~~~~~~~~~~~~
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/x86_64-poky-linux/bits/gthr-default.h:35,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/x86_64-poky-linux/bits/gthr.h:157,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/ext/atomicity.h:37,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/bits/ios_base.h:41:
TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/ext/concurrence.h:257:32: error: cannot convert '<brace-enclosed initializer list>' to 'unsigned int' in initialization
  257 |     __gthread_cond_t _M_cond = __GTHREAD_COND_INIT;
      |                                ^~~~~~~~~~~~~~~~~~~
cc1plus: some warnings being treated as errors
cc1plus: some warnings being treated as errors
cc1plus: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
cc1plus: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/cstdio:47,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/ext/string_conversions.h:47,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/bits/basic_string.h:4444,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/string:56,
                 from addressbook.pb.h:10,
                 from addressbook.pb.cc:6:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' was not declared in this scope
  205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
      |                           ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' was not declared in this scope; did you mean 'tmpnam'?
  210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
      |                                 ^~~~~~~~
      |                                 tmpnam
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/cstdio:47,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/ext/string_conversions.h:47,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/bits/basic_string.h:4444,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/string:56,
                 from addressbook.pb.h:10,
                 from addressbook.pb.cc:6:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' was not declared in this scope
  205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
      |                           ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' was not declared in this scope; did you mean 'tmpnam'?
  210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
      |                                 ^~~~~~~~
      |                                 tmpnam
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/x86_64-poky-linux/bits/gthr-default.h:35,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/x86_64-poky-linux/bits/gthr.h:157,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/ext/atomicity.h:37,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/bits/ios_base.h:41,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/ios:46,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/absl/log/internal/log_message.h:33,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/absl/log/internal/log_impl.h:22,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/absl/log/absl_log.h:36,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/sources/protobuf-6.33.5/src/google/protobuf/io/coded_stream.h:109,
                 from addressbook.pb.h:20:
TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/ext/concurrence.h:257:32: error: cannot convert '<brace-enclosed initializer list>' to 'unsigned int' in initialization
  257 |     __gthread_cond_t _M_cond = __GTHREAD_COND_INIT;
      |                                ^~~~~~~~~~~~~~~~~~~
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/x86_64-poky-linux/bits/gthr-default.h:35,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/x86_64-poky-linux/bits/gthr.h:157,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/ext/atomicity.h:37,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/bits/ios_base.h:41,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/ios:46,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/absl/log/internal/log_message.h:33,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/absl/log/internal/log_impl.h:22,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/absl/log/absl_log.h:36,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/sources/protobuf-6.33.5/src/google/protobuf/io/coded_stream.h:109,
                 from addressbook.pb.h:20:
TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/recipe-sysroot/usr/include/c++/15.2.0/ext/concurrence.h:257:32: error: cannot convert '<brace-enclosed initializer list>' to 'unsigned int' in initialization
  257 |     __gthread_cond_t _M_cond = __GTHREAD_COND_INIT;
      |                                ^~~~~~~~~~~~~~~~~~~
cc1plus: some warnings being treated as errors
cc1plus: some warnings being treated as errors
make: *** [Makefile:55: list_people_cpp] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Makefile:51: add_person_cpp] Error 1
make: Leaving directory 'TOPDIR/tmp/work/x86-64-v3-poky-linux/protobuf/6.33.5/build/examples'
ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.

Error details

Submitted on:
20/03/26 21:09
Error type:
Recipe
Task:
do_compile_ptest_base
Recipe:
protobuf
Recipe version:
6.33.5-r0
Machine:
qemux86-64
Distro:
poky
Build system:
x86_64-linux
Target system:
x86_64-poky-linux
Host distro:
debian-12/debian-12
Branch:
yoe/mut
Commit:
ef468f9129253e8cda6e6d8bc0e9a209c8e5ef78
Build:
#232791
Submitter:
yp-ab-debian12-vk-9
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/81/builds/1372
Similar errors:
2
Open a bug