DEBUG: Executing shell function do_compile
NOTE: VERBOSE=1 cmake --build TOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/build --target all --
Change Dir: 'TOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/build'

Run Build Command(s): ninja -v -j 16 all
[1/2] TOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++ --sysroot=TOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/recipe-sysroot -DTOML11_COMPILE_SOURCES -ITOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/sources/libtoml11-4.4.0/tests/extlib/doctest/doctest -ITOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/sources/libtoml11-4.4.0/include -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a8 -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=TOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/recipe-sysroot  -O2 -g -fcanon-prefix-map  -ffile-prefix-map=TOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/sources/libtoml11-4.4.0=/usr/src/debug/libtoml11/4.4.0  -ffile-prefix-map=TOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/build=/usr/src/debug/libtoml11/4.4.0  -ffile-prefix-map=TOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/recipe-sysroot-native=  -pipe -fvisibility-inlines-hidden -std=c++11 -Wall -Wextra -Wpedantic -Werror -Wsign-conversion -Wconversion -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wdouble-promotion -Wundef -Wshadow -MD -MT tests/CMakeFiles/test_value.dir/test_value.cpp.o -MF tests/CMakeFiles/test_value.dir/test_value.cpp.o.d -o tests/CMakeFiles/test_value.dir/test_value.cpp.o -c TOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/sources/libtoml11-4.4.0/tests/test_value.cpp
FAILED: [code=1] tests/CMakeFiles/test_value.dir/test_value.cpp.o 
TOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++ --sysroot=TOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/recipe-sysroot -DTOML11_COMPILE_SOURCES -ITOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/sources/libtoml11-4.4.0/tests/extlib/doctest/doctest -ITOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/sources/libtoml11-4.4.0/include -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a8 -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=TOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/recipe-sysroot  -O2 -g -fcanon-prefix-map  -ffile-prefix-map=TOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/sources/libtoml11-4.4.0=/usr/src/debug/libtoml11/4.4.0  -ffile-prefix-map=TOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/build=/usr/src/debug/libtoml11/4.4.0  -ffile-prefix-map=TOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/recipe-sysroot-native=  -pipe -fvisibility-inlines-hidden -std=c++11 -Wall -Wextra -Wpedantic -Werror -Wsign-conversion -Wconversion -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wdouble-promotion -Wundef -Wshadow -MD -MT tests/CMakeFiles/test_value.dir/test_value.cpp.o -MF tests/CMakeFiles/test_value.dir/test_value.cpp.o.d -o tests/CMakeFiles/test_value.dir/test_value.cpp.o -c TOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/sources/libtoml11-4.4.0/tests/test_value.cpp
In file included from TOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/sources/libtoml11-4.4.0/include/toml11/types.hpp:9,
                 from TOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/sources/libtoml11-4.4.0/include/toml11/skip.hpp:8,
                 from TOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/sources/libtoml11-4.4.0/include/toml11/parser.hpp:10,
                 from TOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/sources/libtoml11-4.4.0/tests/utility.hpp:6,
                 from TOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/sources/libtoml11-4.4.0/tests/test_value.cpp:4:
In member function 'toml::basic_value<TypeConcig>& toml::basic_value<TypeConcig>::operator=(const std::chrono::duration<_Rep, _Period>&) [with Rep = long long int; Period = std::ratio<3600>; TypeConfig = toml::type_config]',
    inlined from 'void test_ctors(T, U, FMT) [with toml::value_t TYPE = toml::value_t::local_time; T = std::chrono::duration<long long int, std::ratio<3600> >; U = std::chrono::duration<long long int>; FMT = toml::local_time_format_info]' at TOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/sources/libtoml11-4.4.0/tests/test_value.cpp:303:33:
TOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/sources/libtoml11-4.4.0/include/toml11/value.hpp:905:13: error: '((unsigned char*)((char*)&x_assign_different_type + offsetof(toml::value, toml::basic_value<toml::type_config>::<unnamed>)))[12]' may be used uninitialized [-Werror=maybe-uninitialized]
  905 |             fmt = this->as_local_time_fmt();
      |             ^~~
TOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/sources/libtoml11-4.4.0/tests/test_value.cpp: In function 'void test_ctors(T, U, FMT) [with toml::value_t TYPE = toml::value_t::local_time; T = std::chrono::duration<long long int, std::ratio<3600> >; U = std::chrono::duration<long long int>; FMT = toml::local_time_format_info]':
TOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/sources/libtoml11-4.4.0/tests/test_value.cpp:302:21: note: 'x_assign_different_type' declared here
  302 |         toml::value x_assign_different_type(true);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~
In member function 'toml::basic_value<TypeConcig>& toml::basic_value<TypeConcig>::operator=(const std::chrono::duration<_Rep, _Period>&) [with Rep = long long int; Period = std::ratio<3600>; TypeConfig = toml::type_config]',
    inlined from 'void test_ctors(T, U, FMT) [with toml::value_t TYPE = toml::value_t::local_time; T = std::chrono::duration<long long int, std::ratio<3600> >; U = std::chrono::duration<long long int>; FMT = toml::local_time_format_info]' at TOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/sources/libtoml11-4.4.0/tests/test_value.cpp:303:33:
TOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/sources/libtoml11-4.4.0/include/toml11/value.hpp:905:13: error: '((const toml::local_time_format_info*)((char*)&x_assign_different_type + offsetof(toml::value, toml::basic_value<toml::type_config>::<unnamed>) + 4))[1].toml::local_time_format_info::subsecond_precision' may be used uninitialized [-Werror=maybe-uninitialized]
  905 |             fmt = this->as_local_time_fmt();
      |             ^~~
TOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/sources/libtoml11-4.4.0/tests/test_value.cpp: In function 'void test_ctors(T, U, FMT) [with toml::value_t TYPE = toml::value_t::local_time; T = std::chrono::duration<long long int, std::ratio<3600> >; U = std::chrono::duration<long long int>; FMT = toml::local_time_format_info]':
TOPDIR/tmp/work/cortexa8t2hf-neon-poky-linux-gnueabi/libtoml11/4.4.0/sources/libtoml11-4.4.0/tests/test_value.cpp:302:21: note: 'x_assign_different_type' declared here
  302 |         toml::value x_assign_different_type(true);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
ninja: build stopped: subcommand failed.

WARNING: exit code 1 from a shell command.

Error details

Submitted on:
07/09/26 15:05
Error type:
Recipe
Task:
do_compile
Recipe:
libtoml11
Recipe version:
1_4.4.0-r0
Machine:
beaglebone-yocto
Distro:
poky
Build system:
x86_64-linux
Target system:
arm-poky-linux-gnueabi
Host distro:
universal/debian-13
Branch:
mathieu/master-next
Commit:
8c9b00d3d00b0ed39f7176319c3dc34e137d311a
Build:
#250231
Submitter:
yp-ab-debian13-vk-2
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/2/builds/4597
Similar errors:
10
Open a bug