This causes sysdig build failure
../recipe-sysroot/usr/include/valijson/internal/basic_adapter.hpp:241:24:
error: no template named 'optional' in namespace 'std'
241 | const std::optional<Array> array =
m_value.getArrayOptional();
| ~~~~~^
../recipe-sysroot/usr/include/valijson/internal/basic_adapter.hpp:259:24:
error: no template named 'optional' in namespace 'std'
259 | const std::optional<Object> object =
m_value.getObjectOptional();
| ~~~~~^
../recipe-sysroot/usr/include/valijson/internal/basic_adapter.hpp:501:28:
error: no template named 'optional' in namespace 'std'
501 | const std::optional<ArrayType> array =
m_value.getArrayOptional();
| ~~~~~^
../recipe-sysroot/usr/include/valijson/internal/basic_adapter.hpp:511:28:
error: no template named 'optional' in namespace 'std'
511 | const std::optional<ObjectType> object =
m_value.getObjectOptional();
| ~~~~~^
../recipe-sysroot/usr/include/valijson/internal/basic_adapter.hpp:540:14:
error: no member named 'optional' in namespace 'std'
540 | std::optional<ArrayType> arrayValue =
m_value.getArrayOptional();
| ^~~~~~~~
../recipe-sysroot/usr/include/valijson/internal/basic_adapter.hpp:540:23:
error: 'ArrayType' does not refer to a value
540 | std::optional<ArrayType> arrayValue =
m_value.getArrayOptional();
| ^
../recipe-sysroot/usr/include/valijson/internal/basic_adapter.hpp:79:14:
note: declared here
79 | typename ArrayType,
| ^
../recipe-sysroot/usr/include/valijson/internal/basic_adapter.hpp:540:34:
error: use of undeclared identifier 'arrayValue'; did you mean
'Json::arrayValue'?
540 | std::optional<ArrayType> arrayValue =
m_value.getArrayOptional();
| ^~~~~~~~~~
../recipe-sysroot/usr/include/json/value.h:115:3: note: 'Json::arrayValue'
declared here
115 | arrayValue, ///< array value (ordered list)
| ^
here is full log
https://termbin.com/y3j0
On Fri, Feb 27, 2026 at 2:15 AM wangmy via lists.openembedded.org <wangmy=
[email protected]> wrote:
> From: Wang Mingyu <[email protected]>
>
> Issues fixed in this release:
> -----------------------------
> Update bundle.sh to include regex.hpp
> Fix copy-paste error message
> Ensure nlohmann/json non-finite floats are interpreted as null when
> validating
> Ensure tests are built in oss-fuzz build
>
> Other changes include:
> ----------------------
> Added support for JSON pointer paths in validation errors
> Added a validation benchmark example
> Added design and architecture docs
> Removed compatibility shim for std::optional
>
> Signed-off-by: Wang Mingyu <[email protected]>
> ---
> .../valijson/{valijson_1.0.6.bb => valijson_1.1.0.bb} | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> rename meta-oe/recipes-devtools/valijson/{valijson_1.0.6.bb =>
> valijson_1.1.0.bb} (93%)
>
> diff --git a/meta-oe/recipes-devtools/valijson/valijson_1.0.6.bb
> b/meta-oe/recipes-devtools/valijson/valijson_1.1.0.bb
> similarity index 93%
> rename from meta-oe/recipes-devtools/valijson/valijson_1.0.6.bb
> rename to meta-oe/recipes-devtools/valijson/valijson_1.1.0.bb
> index 4e5f02746c..b7e45c3057 100644
> --- a/meta-oe/recipes-devtools/valijson/valijson_1.0.6.bb
> +++ b/meta-oe/recipes-devtools/valijson/valijson_1.1.0.bb
> @@ -4,7 +4,7 @@ LICENSE = "BSD-2-Clause"
> LIC_FILES_CHKSUM = "file://LICENSE;md5=5c4583a434195e4f3b418e17c8ca2daf"
>
> SRC_URI = "git://
> github.com/tristanpenman/valijson.git;branch=master;protocol=https;tag=v${PV}
> <http://github.com/tristanpenman/valijson.git;branch=master;protocol=https;tag=v$%7BPV%7D>
> "
> -SRCREV = "4edda758546436462da479bb8c8514f8a95c35ad"
> +SRCREV = "b12841e3fa23a8cc477179face0a5ce5f80b64ab"
>
>
> inherit cmake
> --
> 2.43.0
>
>
>
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#124814):
https://lists.openembedded.org/g/openembedded-devel/message/124814
Mute This Topic: https://lists.openembedded.org/mt/118027942/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-