DEBUG: Executing shell function do_compile
NOTE: make -j 10 -l 64 CXX=i686-yoe-linux-clang++  -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse  --dyld-prefix=/usr -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot  -O2 -g  -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/sources/pbzip2-1.1.13=/usr/src/debug/pbzip2/1.1.13  -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/sources/pbzip2-1.1.13=/usr/src/debug/pbzip2/1.1.13  -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot-native=  -pipe -fvisibility-inlines-hidden LDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/sources/pbzip2-1.1.13=/usr/src/debug/pbzip2/1.1.13  -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/sources/pbzip2-1.1.13=/usr/src/debug/pbzip2/1.1.13  -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot-native=  -Wl,-z,relro,-z,now
i686-yoe-linux-clang++  -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse  --dyld-prefix=/usr -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot  -O2 -g  -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/sources/pbzip2-1.1.13=/usr/src/debug/pbzip2/1.1.13  -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/sources/pbzip2-1.1.13=/usr/src/debug/pbzip2/1.1.13  -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot-native=  -pipe -fvisibility-inlines-hidden -O2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_STACKSIZE_CUSTOMIZATION -pthread -D_POSIX_PTHREAD_SEMANTICS -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/sources/pbzip2-1.1.13=/usr/src/debug/pbzip2/1.1.13  -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/sources/pbzip2-1.1.13=/usr/src/debug/pbzip2/1.1.13  -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot-native=  -Wl,-z,relro,-z,now pbzip2.cpp BZ2StreamScanner.cpp ErrorContext.cpp -o pbzip2 -lbz2 -lpthread
In file included from pbzip2.cpp:13:
In file included from ./pbzip2.h:16:
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot/usr/include/c++/v1/string:834:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
  834 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
./BZ2StreamScanner.h:128:25: note: in instantiation of template class 'std::basic_string<unsigned char>' requested here
  128 |         basic_string<CharType> _bz2Header;
      |                                ^
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/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 pbzip2.cpp:13:
In file included from ./pbzip2.h:16:
In file included from TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot/usr/include/c++/v1/string:652:
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot/usr/include/c++/v1/string_view:306:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
  306 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot/usr/include/c++/v1/__type_traits/is_convertible.h:23:60: note: in instantiation of template class 'std::basic_string_view<unsigned char>' requested here
   23 |     : public integral_constant<bool, __is_convertible(_T1, _T2)> {};
      |                                                            ^
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot/usr/include/c++/v1/string:750:29: note: in instantiation of template class 'std::is_convertible<const std::basic_string<unsigned char> &, std::basic_string_view<unsigned char>>' requested here
  750 |     : public _BoolConstant< is_convertible<const _Tp&, basic_string_view<_CharT, _Traits> >::value &&
      |                             ^
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot/usr/include/c++/v1/string:1240: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
 1240 |             __enable_if_t<__can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value &&
      |                           ^
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot/usr/include/c++/v1/string:1243:47: note: while substituting prior template arguments into non-type template parameter [with _Tp = std::basic_string<unsigned char>]
 1243 |   _LIBCPP_CONSTEXPR_SINCE_CXX20 basic_string& operator=(const _Tp& __t) {
      |                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
 1244 |     __self_view __sv = __t;
      |     ~~~~~~~~~~~~~~~~~~~~~~~
 1245 |     return assign(__sv);
      |     ~~~~~~~~~~~~~~~~~~~~
 1246 |   }
      |   ~
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot/usr/include/c++/v1/string:765:7: note: while substituting deduced template arguments into function template 'operator=' [with _Tp = std::basic_string<unsigned char>, $1 = (no value)]
  765 | class basic_string {
      |       ^
./BZ2StreamScanner.h:20:7: note: while declaring the implicit copy assignment operator for 'BZ2StreamScanner'
   20 | class BZ2StreamScanner
      |       ^
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
2 errors generated.
In file included from BZ2StreamScanner.cpp:8:
In file included from ./pbzip2.h:16:
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot/usr/include/c++/v1/string:834:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
  834 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
./BZ2StreamScanner.h:128:25: note: in instantiation of template class 'std::basic_string<unsigned char>' requested here
  128 |         basic_string<CharType> _bz2Header;
      |                                ^
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/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 BZ2StreamScanner.cpp:8:
In file included from ./pbzip2.h:16:
In file included from TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot/usr/include/c++/v1/string:652:
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot/usr/include/c++/v1/string_view:306:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
  306 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot/usr/include/c++/v1/__type_traits/is_convertible.h:23:60: note: in instantiation of template class 'std::basic_string_view<unsigned char>' requested here
   23 |     : public integral_constant<bool, __is_convertible(_T1, _T2)> {};
      |                                                            ^
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot/usr/include/c++/v1/string:750:29: note: in instantiation of template class 'std::is_convertible<const std::basic_string<unsigned char> &, std::basic_string_view<unsigned char>>' requested here
  750 |     : public _BoolConstant< is_convertible<const _Tp&, basic_string_view<_CharT, _Traits> >::value &&
      |                             ^
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot/usr/include/c++/v1/string:1240: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
 1240 |             __enable_if_t<__can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value &&
      |                           ^
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot/usr/include/c++/v1/string:1243:47: note: while substituting prior template arguments into non-type template parameter [with _Tp = std::basic_string<unsigned char>]
 1243 |   _LIBCPP_CONSTEXPR_SINCE_CXX20 basic_string& operator=(const _Tp& __t) {
      |                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
 1244 |     __self_view __sv = __t;
      |     ~~~~~~~~~~~~~~~~~~~~~~~
 1245 |     return assign(__sv);
      |     ~~~~~~~~~~~~~~~~~~~~
 1246 |   }
      |   ~
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot/usr/include/c++/v1/string:765:7: note: while substituting deduced template arguments into function template 'operator=' [with _Tp = std::basic_string<unsigned char>, $1 = (no value)]
  765 | class basic_string {
      |       ^
./BZ2StreamScanner.h:20:7: note: while declaring the implicit copy assignment operator for 'BZ2StreamScanner'
   20 | class BZ2StreamScanner
      |       ^
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/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 BZ2StreamScanner.cpp:8:
In file included from ./pbzip2.h:16:
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot/usr/include/c++/v1/string:2857:29: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
 2857 |            ? (__fits_in_sso(traits_type::length(__s)) ? __assign_short(__s, traits_type::length(__s))
      |                             ^
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot/usr/include/c++/v1/string:1260:12: note: in instantiation of member function 'std::basic_string<unsigned char>::assign' requested here
 1260 |     return assign(__s);
      |            ^
BZ2StreamScanner.cpp:52:13: note: in instantiation of member function 'std::basic_string<unsigned char>::operator=' requested here
   52 |         _bz2Header = bz2header;
      |                    ^
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/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 BZ2StreamScanner.cpp:8:
In file included from ./pbzip2.h:16:
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot/usr/include/c++/v1/string:2857:77: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
 2857 |            ? (__fits_in_sso(traits_type::length(__s)) ? __assign_short(__s, traits_type::length(__s))
      |                                                                             ^
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/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 BZ2StreamScanner.cpp:8:
In file included from ./pbzip2.h:16:
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot/usr/include/c++/v1/string:2858:80: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
 2858 |                                                       : __assign_external(__s, traits_type::length(__s)))
      |                                                                                ^
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/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 BZ2StreamScanner.cpp:8:
In file included from ./pbzip2.h:16:
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot/usr/include/c++/v1/string:2236:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
 2236 |     traits_type::move(std::__to_address(__p), __s, __n);
      |     ^
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot/usr/include/c++/v1/string:2857:57: note: in instantiation of member function 'std::basic_string<unsigned char>::__assign_short' requested here
 2857 |            ? (__fits_in_sso(traits_type::length(__s)) ? __assign_short(__s, traits_type::length(__s))
      |                                                         ^
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot/usr/include/c++/v1/string:1260:12: note: in instantiation of member function 'std::basic_string<unsigned char>::assign' requested here
 1260 |     return assign(__s);
      |            ^
BZ2StreamScanner.cpp:52:13: note: in instantiation of member function 'std::basic_string<unsigned char>::operator=' requested here
   52 |         _bz2Header = bz2header;
      |                    ^
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/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 BZ2StreamScanner.cpp:8:
In file included from ./pbzip2.h:16:
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot/usr/include/c++/v1/string:2237:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
 2237 |     traits_type::assign(__p[__n], value_type());
      |     ^
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/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 BZ2StreamScanner.cpp:8:
In file included from ./pbzip2.h:16:
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot/usr/include/c++/v1/string:2849:33: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
 2849 |   return __assign_external(__s, traits_type::length(__s));
      |                                 ^
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot/usr/include/c++/v1/string:2859:14: note: in instantiation of member function 'std::basic_string<unsigned char>::__assign_external' requested here
 2859 |            : __assign_external(__s);
      |              ^
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot/usr/include/c++/v1/string:1260:12: note: in instantiation of member function 'std::basic_string<unsigned char>::assign' requested here
 1260 |     return assign(__s);
      |            ^
BZ2StreamScanner.cpp:52:13: note: in instantiation of member function 'std::basic_string<unsigned char>::operator=' requested here
   52 |         _bz2Header = bz2header;
      |                    ^
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/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 BZ2StreamScanner.cpp:8:
In file included from ./pbzip2.h:16:
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot/usr/include/c++/v1/string:3754:22: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
 3754 |   int __r          = traits_type::compare(data() + __pos1, __s, std::min(__rlen, __n2));
      |                      ^
BZ2StreamScanner.cpp:364:24: note: in instantiation of member function 'std::basic_string<unsigned char>::compare' requested here
  364 |                 else if ( _bz2Header.compare( 0, prefixLen, getInBuffSearchPtr(), prefixLen ) == 0 )
      |                                      ^
TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/recipe-sysroot/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
9 errors generated.
make: *** [Makefile:70: pbzip2] Error 1
ERROR: oe_runmake failed
WARNING: TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/temp/run.do_compile.2409715:179 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script): 
	#1: bbfatal_log, TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/temp/run.do_compile.2409715, line 179
	#2: die, TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/temp/run.do_compile.2409715, line 164
	#3: oe_runmake, TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/temp/run.do_compile.2409715, line 169
	#4: base_do_compile, TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/temp/run.do_compile.2409715, line 147
	#5: do_compile, TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/temp/run.do_compile.2409715, line 141
	#6: main, TMPDIR/work/core2-32-yoe-linux/pbzip2/1.1.13/temp/run.do_compile.2409715, line 189

Error details

Submitted on:
18/07/25 07:15
Error type:
Recipe
Task:
do_compile
Recipe:
pbzip2
Recipe version:
1.1.13-r0
Machine:
qemux86
Distro:
yoe
Build system:
x86_64-linux
Target system:
i686-yoe-linux
Host distro:
ubuntu-22.04/ubuntu-22.04
Branch:
HEAD
Commit:
9e30ab09ad5a9a33c2c7861a0e2ba7eeeacd0617
Build:
#211529
Submitter:
ab@rdk
Similar errors:
4
Open a bug