| Message ID | 20250101233112.2219927-2-yi.zhao@windriver.com |
|---|---|
| State | Accepted |
| Headers | show |
| Series | [meta-networking,1/2] frr: upgrade 10.2 -> 10.2.1 | expand |
this fails with clang with libc++ runtime instead of libstdc++
| In file included from
/home/kraj01/yoe/build/tmp/work/core2-64-yoe-linux/snort3/3.6.1.0/git/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.cc:24:
| In file included from
/home/kraj01/yoe/build/tmp/work/core2-64-yoe-linux/snort3/3.6.1.0/git/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.h:24:
| /home/kraj01/yoe/build/tmp/work/core2-64-yoe-linux/snort3/3.6.1.0/recipe-sysroot/usr/include/c++/v1/string:820:42:
error: implicit instantiation of undefined template
'std::char_traits<unsigned char>'
| 820 | static_assert(is_same<_CharT, typename
traits_type::char_type>::value,
| | ^
| /home/kraj01/yoe/build/tmp/work/core2-64-yoe-linux/snort3/3.6.1.0/git/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.h:48:14:
note: in instantiation of template class 'std::basic_string<unsigned
char>' requested here
| 48 | u8string buffer = (const uint8_t*)"";
| | ^
| /home/kraj01/yoe/build/tmp/work/core2-64-yoe-linux/snort3/3.6.1.0/recipe-sysroot/usr/include/c++/v1/__fwd/string.h:23:29:
note: template is declared here
| 23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
| | ^
| In file included from
/home/kraj01/yoe/build/tmp/work/core2-64-yoe-linux/snort3/3.6.1.0/git/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.cc:24:
| In file included from
/home/kraj01/yoe/build/tmp/work/core2-64-yoe-linux/snort3/3.6.1.0/git/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.h:24:
| In file included from
/home/kraj01/yoe/build/tmp/work/core2-64-yoe-linux/snort3/3.6.1.0/recipe-sysroot/usr/include/c++/v1/string:647:
| /home/kraj01/yoe/build/tmp/work/core2-64-yoe-linux/snort3/3.6.1.0/recipe-sysroot/usr/include/c++/v1/string_view:300:42:
error: implicit instantiation of undefined template
'std::char_traits<unsigned char>'
| 300 | static_assert(is_same<_CharT, typename
traits_type::char_type>::value,
| | ^
| /home/kraj01/yoe/build/tmp/work/core2-64-yoe-linux/snort3/3.6.1.0/recipe-sysroot/usr/include/c++/v1/__type_traits/is_convertible.h:22:99:
note: in instantiation of template class
'std::basic_string_view<unsigned char>' requested here
| 22 | struct _LIBCPP_TEMPLATE_VIS is_convertible : public
integral_constant<bool, __is_convertible(_T1, _T2)> {};
| |
^
| /home/kraj01/yoe/build/tmp/work/core2-64-yoe-linux/snort3/3.6.1.0/recipe-sysroot/usr/include/c++/v1/string:745:29:
note: in instantiation of template class 'std::is_convertible<const
std::basic_string<unsigned char> &, std::basic_string_view<unsigned
char>>' requested here
| 745 | : public _BoolConstant< is_convertible<const _Tp&,
basic_string_view<_CharT, _Traits> >::value &&
| | ^
| /home/kraj01/yoe/build/tmp/work/core2-64-yoe-linux/snort3/3.6.1.0/recipe-sysroot/usr/include/c++/v1/string:1151:27:
note: in instantiation of template class
'std::__can_be_converted_to_string_view<unsigned char,
std::char_traits<unsigned char>, std::basic_string<unsigned char>>'
requested here
| 1151 |
__enable_if_t<__can_be_converted_to_string_view<_CharT, _Traits,
_Tp>::value &&
| | ^
| /home/kraj01/yoe/build/tmp/work/core2-64-yoe-linux/snort3/3.6.1.0/recipe-sysroot/usr/include/c++/v1/string:1154:93:
note: while substituting prior template arguments into non-type
template parameter [with _Tp = std::basic_string<unsigned char>]
| 1154 | _LIBCPP_METHOD_TEMPLATE_IMPLICIT_INSTANTIATION_VIS
_LIBCPP_CONSTEXPR_SINCE_CXX20 explicit basic_string(const _Tp& __t)
| |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| 1155 | : __r_(__default_init_tag(), __default_init_tag()) {
| | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| 1156 | __self_view __sv = __t;
| | ~~~~~~~~~~~~~~~~~~~~~~~
| 1157 | __init(__sv.data(), __sv.size());
| | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| 1158 | }
| | ~
| /home/kraj01/yoe/build/tmp/work/core2-64-yoe-linux/snort3/3.6.1.0/recipe-sysroot/usr/include/c++/v1/string:752:7:
note: while substituting deduced template arguments into function
template 'basic_string' [with _Tp = std::basic_string<unsigned char>,
$1 = (no value)]
| 752 | class basic_string {
| | ^
| /home/kraj01/yoe/build/tmp/work/core2-64-yoe-linux/snort3/3.6.1.0/git/src/service_inspectors/http2_inspect/http2_hpack_cookie_header_buffer.h:31:7:
note: while declaring the implicit copy constructor for
'Http2CookieHeaderBuffer'
| 31 | class Http2CookieHeaderBuffer final
| | ^
| /home/kraj01/yoe/build/tmp/work/core2-64-yoe-linux/snort3/3.6.1.0/recipe-sysroot/usr/include/c++/v1/__fwd/string.h:23:29:
note: template is declared here
| 23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
On Wed, Jan 1, 2025 at 3:31 PM Yi Zhao via lists.openembedded.org
<yi.zhao=eng.windriver.com@lists.openembedded.org> wrote:
>
> https://github.com/snort3/snort3/releases/tag/3.6.1.0
> https://github.com/snort3/snort3/releases/tag/3.6.0.0
> https://github.com/snort3/snort3/releases/tag/3.5.2.0
> https://github.com/snort3/snort3/releases/tag/3.5.1.0
> https://github.com/snort3/snort3/releases/tag/3.5.0.0
> https://github.com/snort3/snort3/releases/tag/3.3.7.0
> https://github.com/snort3/snort3/releases/tag/3.3.6.0
> https://github.com/snort3/snort3/releases/tag/3.3.5.0
>
> Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
> ---
> .../snort/{snort3_3.3.4.0.bb => snort3_3.6.1.0.bb} | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> rename meta-networking/recipes-connectivity/snort/{snort3_3.3.4.0.bb => snort3_3.6.1.0.bb} (95%)
>
> diff --git a/meta-networking/recipes-connectivity/snort/snort3_3.3.4.0.bb b/meta-networking/recipes-connectivity/snort/snort3_3.6.1.0.bb
> similarity index 95%
> rename from meta-networking/recipes-connectivity/snort/snort3_3.3.4.0.bb
> rename to meta-networking/recipes-connectivity/snort/snort3_3.6.1.0.bb
> index 0f3d0e986f..622ab56ae9 100644
> --- a/meta-networking/recipes-connectivity/snort/snort3_3.3.4.0.bb
> +++ b/meta-networking/recipes-connectivity/snort/snort3_3.6.1.0.bb
> @@ -11,7 +11,7 @@ SRC_URI = "git://github.com/snort3/snort3.git;protocol=https;branch=master \
> file://0001-cmake-Check-for-HP-libunwind.patch \
> file://0001-cmake-Pass-noline-flag-to-flex.patch"
>
> -SRCREV = "5598e8dd87829cb1bbb478a7b6d4f6fb8b5dabfe"
> +SRCREV = "2f8c230d6605279b19dac8fe59e27f034ee81510"
>
> S = "${WORKDIR}/git"
>
> --
> 2.25.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#114611): https://lists.openembedded.org/g/openembedded-devel/message/114611
> Mute This Topic: https://lists.openembedded.org/mt/110381845/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
full compile log https://errors.yoctoproject.org/Errors/Details/839166/ On Wed, Jan 1, 2025 at 3:31 PM Yi Zhao via lists.openembedded.org <yi.zhao=eng.windriver.com@lists.openembedded.org> wrote: > > https://github.com/snort3/snort3/releases/tag/3.6.1.0 > https://github.com/snort3/snort3/releases/tag/3.6.0.0 > https://github.com/snort3/snort3/releases/tag/3.5.2.0 > https://github.com/snort3/snort3/releases/tag/3.5.1.0 > https://github.com/snort3/snort3/releases/tag/3.5.0.0 > https://github.com/snort3/snort3/releases/tag/3.3.7.0 > https://github.com/snort3/snort3/releases/tag/3.3.6.0 > https://github.com/snort3/snort3/releases/tag/3.3.5.0 > > Signed-off-by: Yi Zhao <yi.zhao@windriver.com> > --- > .../snort/{snort3_3.3.4.0.bb => snort3_3.6.1.0.bb} | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > rename meta-networking/recipes-connectivity/snort/{snort3_3.3.4.0.bb => snort3_3.6.1.0.bb} (95%) > > diff --git a/meta-networking/recipes-connectivity/snort/snort3_3.3.4.0.bb b/meta-networking/recipes-connectivity/snort/snort3_3.6.1.0.bb > similarity index 95% > rename from meta-networking/recipes-connectivity/snort/snort3_3.3.4.0.bb > rename to meta-networking/recipes-connectivity/snort/snort3_3.6.1.0.bb > index 0f3d0e986f..622ab56ae9 100644 > --- a/meta-networking/recipes-connectivity/snort/snort3_3.3.4.0.bb > +++ b/meta-networking/recipes-connectivity/snort/snort3_3.6.1.0.bb > @@ -11,7 +11,7 @@ SRC_URI = "git://github.com/snort3/snort3.git;protocol=https;branch=master \ > file://0001-cmake-Check-for-HP-libunwind.patch \ > file://0001-cmake-Pass-noline-flag-to-flex.patch" > > -SRCREV = "5598e8dd87829cb1bbb478a7b6d4f6fb8b5dabfe" > +SRCREV = "2f8c230d6605279b19dac8fe59e27f034ee81510" > > S = "${WORKDIR}/git" > > -- > 2.25.1 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#114611): https://lists.openembedded.org/g/openembedded-devel/message/114611 > Mute This Topic: https://lists.openembedded.org/mt/110381845/1997914 > Group Owner: openembedded-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
diff --git a/meta-networking/recipes-connectivity/snort/snort3_3.3.4.0.bb b/meta-networking/recipes-connectivity/snort/snort3_3.6.1.0.bb similarity index 95% rename from meta-networking/recipes-connectivity/snort/snort3_3.3.4.0.bb rename to meta-networking/recipes-connectivity/snort/snort3_3.6.1.0.bb index 0f3d0e986f..622ab56ae9 100644 --- a/meta-networking/recipes-connectivity/snort/snort3_3.3.4.0.bb +++ b/meta-networking/recipes-connectivity/snort/snort3_3.6.1.0.bb @@ -11,7 +11,7 @@ SRC_URI = "git://github.com/snort3/snort3.git;protocol=https;branch=master \ file://0001-cmake-Check-for-HP-libunwind.patch \ file://0001-cmake-Pass-noline-flag-to-flex.patch" -SRCREV = "5598e8dd87829cb1bbb478a7b6d4f6fb8b5dabfe" +SRCREV = "2f8c230d6605279b19dac8fe59e27f034ee81510" S = "${WORKDIR}/git"
https://github.com/snort3/snort3/releases/tag/3.6.1.0 https://github.com/snort3/snort3/releases/tag/3.6.0.0 https://github.com/snort3/snort3/releases/tag/3.5.2.0 https://github.com/snort3/snort3/releases/tag/3.5.1.0 https://github.com/snort3/snort3/releases/tag/3.5.0.0 https://github.com/snort3/snort3/releases/tag/3.3.7.0 https://github.com/snort3/snort3/releases/tag/3.3.6.0 https://github.com/snort3/snort3/releases/tag/3.3.5.0 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> --- .../snort/{snort3_3.3.4.0.bb => snort3_3.6.1.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-networking/recipes-connectivity/snort/{snort3_3.3.4.0.bb => snort3_3.6.1.0.bb} (95%)