DEBUG: Executing shell function do_compile
ninja: Entering directory `.'
[1/32] compile ../git/src/tracing/core/trace_packet.cc
FAILED: obj/src/tracing/core/core.trace_packet.o 
x86_64-oe-linux-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/git=/usr/src/debug/perfetto/47.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/git=/usr/src/debug/perfetto/47.0 -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/build=/usr/src/debug/perfetto/47.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/build=/usr/src/debug/perfetto/47.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/recipe-sysroot-native=  --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/recipe-sysroot -MMD -MF obj/src/tracing/core/core.trace_packet.o.d -DNDEBUG -DPERFETTO_IMPLEMENTATION -Igen -I../git -I../git/src/profiling/memory/include -I../git/include -Igen/build_config -fstrict-aliasing -Wformat -g -fPIC -fstack-protector-strong  -fno-omit-frame-pointer -mbmi -mbmi2 -mavx2 -mpopcnt -msse4.2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wextra -Wpedantic -fvisibility=hidden -O3 -fdata-sections -ffunction-sections -Wno-redundant-move -Wno-use-after-free -Wno-maybe-uninitialized -Wno-infinite-recursion -Wno-nonnull -fno-exceptions -fno-rtti -std=c++17      -c ../git/src/tracing/core/trace_packet.cc -o obj/src/tracing/core/core.trace_packet.o
In file included from ../git/include/perfetto/ext/tracing/core/trace_packet.h:27,
                 from ../git/src/tracing/core/trace_packet.cc:17:
../git/include/perfetto/ext/tracing/core/slice.h:47:46: error: 'uint8_t' was not declared in this scope
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                              ^~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:26:1: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
   25 | #include <vector>
  +++ |+#include <cstdint>
   26 | 
../git/include/perfetto/ext/tracing/core/slice.h:47:55: error: template argument 1 is invalid
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                                       ^
../git/include/perfetto/ext/tracing/core/slice.h:47:55: error: template argument 2 is invalid
../git/include/perfetto/ext/tracing/core/slice.h:47:46: error: 'uint8_t' was not declared in this scope
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                              ^~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:47:46: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/slice.h:47:55: error: template argument 1 is invalid
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                                       ^
../git/include/perfetto/ext/tracing/core/slice.h:47:55: error: template argument 2 is invalid
../git/include/perfetto/ext/tracing/core/slice.h:47:46: error: 'uint8_t' was not declared in this scope
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                              ^~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:47:46: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/slice.h:47:55: error: template argument 1 is invalid
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                                       ^
../git/include/perfetto/ext/tracing/core/slice.h:47:55: error: template argument 2 is invalid
../git/include/perfetto/ext/tracing/core/slice.h:47:30: error: invalid template-id
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                              ^~~
../git/include/perfetto/ext/tracing/core/slice.h:47:46: error: 'uint8_t' was not declared in this scope
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                              ^~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:47:46: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/slice.h:47:54: error: expected primary-expression before ']' token
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                                      ^
../git/include/perfetto/ext/tracing/core/slice.h:47:30: error: missing template argument list after 'std::unique_ptr'; template placeholder not permitted in parameter
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                              ^~~
      |                                 <>
In file included from TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/recipe-sysroot/usr/include/c++/15.0.1/memory:80,
                 from ../git/include/perfetto/ext/tracing/core/trace_packet.h:21:
TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/recipe-sysroot/usr/include/c++/15.0.1/bits/unique_ptr.h:271:11: note: 'template<class _Tp, class _Dp> class std::unique_ptr' declared here
  271 |     class unique_ptr
      |           ^~~~~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:55:3: error: 'uint8_t' does not name a type
   55 |   uint8_t* own_data() {
      |   ^~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:55:3: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/slice.h:67:19: error: 'uint8_t' was not declared in this scope
   67 |   std::unique_ptr<uint8_t[]> own_data_;
      |                   ^~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:67:19: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/slice.h:67:28: error: template argument 1 is invalid
   67 |   std::unique_ptr<uint8_t[]> own_data_;
      |                            ^
../git/include/perfetto/ext/tracing/core/slice.h:67:28: error: template argument 2 is invalid
../git/include/perfetto/ext/tracing/core/slice.h: In static member function 'static perfetto::Slice perfetto::Slice::Allocate(size_t)':
../git/include/perfetto/ext/tracing/core/slice.h:41:21: error: request for member 'reset' in 'slice.perfetto::Slice::own_data_', which is of non-class type 'int'
   41 |     slice.own_data_.reset(new uint8_t[size]);
      |                     ^~~~~
../git/include/perfetto/ext/tracing/core/slice.h:41:31: error: 'uint8_t' does not name a type
   41 |     slice.own_data_.reset(new uint8_t[size]);
      |                               ^~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:41:31: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/slice.h:42:35: error: invalid types 'int[int]' for array subscript
   42 |     slice.start = &slice.own_data_[0];
      |                                   ^
../git/include/perfetto/ext/tracing/core/slice.h: In static member function 'static perfetto::Slice perfetto::Slice::TakeOwnership(...)':
../git/include/perfetto/ext/tracing/core/slice.h:49:33: error: 'buf' was not declared in this scope
   49 |     slice.own_data_ = std::move(buf);
      |                                 ^~~
../git/include/perfetto/ext/tracing/core/slice.h:50:35: error: invalid types 'int[int]' for array subscript
   50 |     slice.start = &slice.own_data_[0];
      |                                   ^
../git/include/perfetto/ext/tracing/core/trace_packet.h: At global scope:
../git/include/perfetto/ext/tracing/core/trace_packet.h:44:20: error: 'uint32_t' does not name a type
   44 |   static constexpr uint32_t kPacketFieldNumber = 1;
      |                    ^~~~~~~~
../git/include/perfetto/ext/tracing/core/trace_packet.h:28:1: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
   27 | #include "perfetto/ext/tracing/core/slice.h"
  +++ |+#include <cstdint>
   28 | 
../git/include/perfetto/ext/tracing/core/trace_packet.h:79:17: error: 'uint32_t' was not declared in this scope
   79 |   std::optional<uint32_t> buffer_index_for_stats() const {
      |                 ^~~~~~~~
../git/include/perfetto/ext/tracing/core/trace_packet.h:79:17: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/trace_packet.h:79:25: error: template argument 1 is invalid
   79 |   std::optional<uint32_t> buffer_index_for_stats() const {
      |                         ^
../git/include/perfetto/ext/tracing/core/trace_packet.h:84:35: error: 'uint32_t' has not been declared
   84 |   void set_buffer_index_for_stats(uint32_t v) {
      |                                   ^~~~~~~~
../git/include/perfetto/ext/tracing/core/trace_packet.h:84:35: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/trace_packet.h:96:3: error: 'uint32_t' does not name a type
   96 |   uint32_t buffer_index_for_stats_ = 0;
      |   ^~~~~~~~
../git/include/perfetto/ext/tracing/core/trace_packet.h:96:3: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/trace_packet.h: In member function 'int perfetto::TracePacket::buffer_index_for_stats() const':
../git/include/perfetto/ext/tracing/core/trace_packet.h:80:9: error: 'buffer_index_for_stats_' was not declared in this scope; did you mean 'buffer_index_for_stats'?
   80 |     if (buffer_index_for_stats_ == 0)
      |         ^~~~~~~~~~~~~~~~~~~~~~~
      |         buffer_index_for_stats
../git/include/perfetto/ext/tracing/core/trace_packet.h:81:19: error: cannot convert 'const std::nullopt_t' to 'int' in return
   81 |       return std::nullopt;
      |              ~~~~~^~~~~~~
      |                   |
      |                   const std::nullopt_t
../git/include/perfetto/ext/tracing/core/trace_packet.h:82:12: error: 'buffer_index_for_stats_' was not declared in this scope; did you mean 'buffer_index_for_stats'?
   82 |     return buffer_index_for_stats_ - 1;
      |            ^~~~~~~~~~~~~~~~~~~~~~~
      |            buffer_index_for_stats
../git/include/perfetto/ext/tracing/core/trace_packet.h: In member function 'void perfetto::TracePacket::set_buffer_index_for_stats(int)':
../git/include/perfetto/ext/tracing/core/trace_packet.h:85:5: error: 'buffer_index_for_stats_' was not declared in this scope; did you mean 'buffer_index_for_stats'?
   85 |     buffer_index_for_stats_ = v + 1;
      |     ^~~~~~~~~~~~~~~~~~~~~~~
      |     buffer_index_for_stats
../git/src/tracing/core/trace_packet.cc: In member function 'perfetto::TracePacket& perfetto::TracePacket::operator=(perfetto::TracePacket&&)':
../git/src/tracing/core/trace_packet.cc:36:3: error: 'buffer_index_for_stats_' was not declared in this scope; did you mean 'buffer_index_for_stats'?
   36 |   buffer_index_for_stats_ = other.buffer_index_for_stats_;
      |   ^~~~~~~~~~~~~~~~~~~~~~~
      |   buffer_index_for_stats
../git/src/tracing/core/trace_packet.cc:36:35: error: 'class perfetto::TracePacket' has no member named 'buffer_index_for_stats_'; did you mean 'buffer_index_for_stats'?
   36 |   buffer_index_for_stats_ = other.buffer_index_for_stats_;
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~
      |                                   buffer_index_for_stats
../git/src/tracing/core/trace_packet.cc:37:9: error: 'class perfetto::TracePacket' has no member named 'buffer_index_for_stats_'; did you mean 'buffer_index_for_stats'?
   37 |   other.buffer_index_for_stats_ = 0;
      |         ^~~~~~~~~~~~~~~~~~~~~~~
      |         buffer_index_for_stats
../git/src/tracing/core/trace_packet.cc: In member function 'std::tuple<char*, long unsigned int> perfetto::TracePacket::GetProtoPreamble()':
../git/src/tracing/core/trace_packet.cc:56:50: error: 'kPacketFieldNumber' was not declared in this scope
   56 |   constexpr uint8_t tag = MakeTagLengthDelimited(kPacketFieldNumber);
      |                                                  ^~~~~~~~~~~~~~~~~~
../git/src/tracing/core/trace_packet.cc:57:21: error: non-constant condition for static assertion
   57 |   static_assert(tag < 0x80, "TracePacket tag should fit in one byte");
      |                 ~~~~^~~~~~
[2/32] compile ../git/src/perfetto_cmd/packet_writer.cc
FAILED: obj/src/perfetto_cmd/perfetto_cmd.packet_writer.o 
x86_64-oe-linux-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/git=/usr/src/debug/perfetto/47.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/git=/usr/src/debug/perfetto/47.0 -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/build=/usr/src/debug/perfetto/47.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/build=/usr/src/debug/perfetto/47.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/recipe-sysroot-native=  --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/recipe-sysroot -MMD -MF obj/src/perfetto_cmd/perfetto_cmd.packet_writer.o.d -DNDEBUG -DPERFETTO_IMPLEMENTATION -Igen -I../git -I../git/src/profiling/memory/include -I../git/include -Igen/build_config -fstrict-aliasing -Wformat -g -fPIC -fstack-protector-strong  -fno-omit-frame-pointer -mbmi -mbmi2 -mavx2 -mpopcnt -msse4.2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wextra -Wpedantic -fvisibility=hidden -O3 -fdata-sections -ffunction-sections -Wno-redundant-move -Wno-use-after-free -Wno-maybe-uninitialized -Wno-infinite-recursion -Wno-nonnull -fno-exceptions -fno-rtti -std=c++17      -c ../git/src/perfetto_cmd/packet_writer.cc -o obj/src/perfetto_cmd/perfetto_cmd.packet_writer.o
In file included from ../git/include/perfetto/ext/tracing/core/trace_packet.h:27,
                 from ../git/src/perfetto_cmd/packet_writer.h:24,
                 from ../git/src/perfetto_cmd/packet_writer.cc:17:
../git/include/perfetto/ext/tracing/core/slice.h:47:46: error: 'uint8_t' was not declared in this scope
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                              ^~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:25:1: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
   24 | #include <string>
  +++ |+#include <cstdint>
   25 | #include <vector>
../git/include/perfetto/ext/tracing/core/slice.h:47:55: error: template argument 1 is invalid
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                                       ^
../git/include/perfetto/ext/tracing/core/slice.h:47:55: error: template argument 2 is invalid
../git/include/perfetto/ext/tracing/core/slice.h:47:46: error: 'uint8_t' was not declared in this scope
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                              ^~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:47:46: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/slice.h:47:55: error: template argument 1 is invalid
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                                       ^
../git/include/perfetto/ext/tracing/core/slice.h:47:55: error: template argument 2 is invalid
../git/include/perfetto/ext/tracing/core/slice.h:47:46: error: 'uint8_t' was not declared in this scope
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                              ^~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:47:46: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/slice.h:47:55: error: template argument 1 is invalid
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                                       ^
../git/include/perfetto/ext/tracing/core/slice.h:47:55: error: template argument 2 is invalid
../git/include/perfetto/ext/tracing/core/slice.h:47:30: error: invalid template-id
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                              ^~~
../git/include/perfetto/ext/tracing/core/slice.h:47:46: error: 'uint8_t' was not declared in this scope
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                              ^~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:47:46: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/slice.h:47:54: error: expected primary-expression before ']' token
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                                      ^
../git/include/perfetto/ext/tracing/core/slice.h:47:30: error: missing template argument list after 'std::unique_ptr'; template placeholder not permitted in parameter
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                              ^~~
      |                                 <>
In file included from TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/recipe-sysroot/usr/include/c++/15.0.1/memory:80,
                 from ../git/include/perfetto/ext/tracing/core/trace_packet.h:21:
TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/recipe-sysroot/usr/include/c++/15.0.1/bits/unique_ptr.h:271:11: note: 'template<class _Tp, class _Dp> class std::unique_ptr' declared here
  271 |     class unique_ptr
      |           ^~~~~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:55:3: error: 'uint8_t' does not name a type
   55 |   uint8_t* own_data() {
      |   ^~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:55:3: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/slice.h:67:19: error: 'uint8_t' was not declared in this scope
   67 |   std::unique_ptr<uint8_t[]> own_data_;
      |                   ^~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:67:19: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/slice.h:67:28: error: template argument 1 is invalid
   67 |   std::unique_ptr<uint8_t[]> own_data_;
      |                            ^
../git/include/perfetto/ext/tracing/core/slice.h:67:28: error: template argument 2 is invalid
../git/include/perfetto/ext/tracing/core/slice.h: In static member function 'static perfetto::Slice perfetto::Slice::Allocate(size_t)':
../git/include/perfetto/ext/tracing/core/slice.h:41:21: error: request for member 'reset' in 'slice.perfetto::Slice::own_data_', which is of non-class type 'int'
   41 |     slice.own_data_.reset(new uint8_t[size]);
      |                     ^~~~~
../git/include/perfetto/ext/tracing/core/slice.h:41:31: error: 'uint8_t' does not name a type
   41 |     slice.own_data_.reset(new uint8_t[size]);
      |                               ^~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:41:31: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/slice.h:42:35: error: invalid types 'int[int]' for array subscript
   42 |     slice.start = &slice.own_data_[0];
      |                                   ^
../git/include/perfetto/ext/tracing/core/slice.h: In static member function 'static perfetto::Slice perfetto::Slice::TakeOwnership(...)':
../git/include/perfetto/ext/tracing/core/slice.h:49:33: error: 'buf' was not declared in this scope
   49 |     slice.own_data_ = std::move(buf);
      |                                 ^~~
../git/include/perfetto/ext/tracing/core/slice.h:50:35: error: invalid types 'int[int]' for array subscript
   50 |     slice.start = &slice.own_data_[0];
      |                                   ^
../git/include/perfetto/ext/tracing/core/trace_packet.h: At global scope:
../git/include/perfetto/ext/tracing/core/trace_packet.h:44:20: error: 'uint32_t' does not name a type
   44 |   static constexpr uint32_t kPacketFieldNumber = 1;
      |                    ^~~~~~~~
../git/include/perfetto/ext/tracing/core/trace_packet.h:28:1: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
   27 | #include "perfetto/ext/tracing/core/slice.h"
  +++ |+#include <cstdint>
   28 | 
../git/include/perfetto/ext/tracing/core/trace_packet.h:79:17: error: 'uint32_t' was not declared in this scope
   79 |   std::optional<uint32_t> buffer_index_for_stats() const {
      |                 ^~~~~~~~
../git/include/perfetto/ext/tracing/core/trace_packet.h:79:17: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/trace_packet.h:79:25: error: template argument 1 is invalid
   79 |   std::optional<uint32_t> buffer_index_for_stats() const {
      |                         ^
../git/include/perfetto/ext/tracing/core/trace_packet.h:84:35: error: 'uint32_t' has not been declared
   84 |   void set_buffer_index_for_stats(uint32_t v) {
      |                                   ^~~~~~~~
../git/include/perfetto/ext/tracing/core/trace_packet.h:84:35: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/trace_packet.h:96:3: error: 'uint32_t' does not name a type
   96 |   uint32_t buffer_index_for_stats_ = 0;
      |   ^~~~~~~~
../git/include/perfetto/ext/tracing/core/trace_packet.h:96:3: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/trace_packet.h: In member function 'int perfetto::TracePacket::buffer_index_for_stats() const':
../git/include/perfetto/ext/tracing/core/trace_packet.h:80:9: error: 'buffer_index_for_stats_' was not declared in this scope; did you mean 'buffer_index_for_stats'?
   80 |     if (buffer_index_for_stats_ == 0)
      |         ^~~~~~~~~~~~~~~~~~~~~~~
      |         buffer_index_for_stats
../git/include/perfetto/ext/tracing/core/trace_packet.h:81:19: error: cannot convert 'const std::nullopt_t' to 'int' in return
   81 |       return std::nullopt;
      |              ~~~~~^~~~~~~
      |                   |
      |                   const std::nullopt_t
../git/include/perfetto/ext/tracing/core/trace_packet.h:82:12: error: 'buffer_index_for_stats_' was not declared in this scope; did you mean 'buffer_index_for_stats'?
   82 |     return buffer_index_for_stats_ - 1;
      |            ^~~~~~~~~~~~~~~~~~~~~~~
      |            buffer_index_for_stats
../git/include/perfetto/ext/tracing/core/trace_packet.h: In member function 'void perfetto::TracePacket::set_buffer_index_for_stats(int)':
../git/include/perfetto/ext/tracing/core/trace_packet.h:85:5: error: 'buffer_index_for_stats_' was not declared in this scope; did you mean 'buffer_index_for_stats'?
   85 |     buffer_index_for_stats_ = v + 1;
      |     ^~~~~~~~~~~~~~~~~~~~~~~
      |     buffer_index_for_stats
[3/32] compile ../git/src/tracing/service/packet_stream_validator.cc
FAILED: obj/src/tracing/service/service.packet_stream_validator.o 
x86_64-oe-linux-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/git=/usr/src/debug/perfetto/47.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/git=/usr/src/debug/perfetto/47.0 -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/build=/usr/src/debug/perfetto/47.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/build=/usr/src/debug/perfetto/47.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/recipe-sysroot-native=  --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/recipe-sysroot -MMD -MF obj/src/tracing/service/service.packet_stream_validator.o.d -DNDEBUG -DPERFETTO_IMPLEMENTATION -Igen -I../git -I../git/src/profiling/memory/include -I../git/include -Igen/build_config -fstrict-aliasing -Wformat -g -fPIC -fstack-protector-strong  -fno-omit-frame-pointer -mbmi -mbmi2 -mavx2 -mpopcnt -msse4.2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wextra -Wpedantic -fvisibility=hidden -O3 -fdata-sections -ffunction-sections -Wno-redundant-move -Wno-use-after-free -Wno-maybe-uninitialized -Wno-infinite-recursion -Wno-nonnull -fno-exceptions -fno-rtti -std=c++17      -c ../git/src/tracing/service/packet_stream_validator.cc -o obj/src/tracing/service/service.packet_stream_validator.o
In file included from ../git/src/tracing/service/packet_stream_validator.h:20,
                 from ../git/src/tracing/service/packet_stream_validator.cc:17:
../git/include/perfetto/ext/tracing/core/slice.h:47:46: error: 'uint8_t' was not declared in this scope
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                              ^~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:28:1: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
   27 | #include "perfetto/base/logging.h"
  +++ |+#include <cstdint>
   28 | 
../git/include/perfetto/ext/tracing/core/slice.h:47:55: error: template argument 1 is invalid
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                                       ^
../git/include/perfetto/ext/tracing/core/slice.h:47:55: error: template argument 2 is invalid
../git/include/perfetto/ext/tracing/core/slice.h:47:46: error: 'uint8_t' was not declared in this scope
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                              ^~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:47:46: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/slice.h:47:55: error: template argument 1 is invalid
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                                       ^
../git/include/perfetto/ext/tracing/core/slice.h:47:55: error: template argument 2 is invalid
../git/include/perfetto/ext/tracing/core/slice.h:47:46: error: 'uint8_t' was not declared in this scope
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                              ^~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:47:46: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/slice.h:47:55: error: template argument 1 is invalid
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                                       ^
../git/include/perfetto/ext/tracing/core/slice.h:47:55: error: template argument 2 is invalid
../git/include/perfetto/ext/tracing/core/slice.h:47:30: error: invalid template-id
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                              ^~~
../git/include/perfetto/ext/tracing/core/slice.h:47:46: error: 'uint8_t' was not declared in this scope
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                              ^~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:47:46: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/slice.h:47:54: error: expected primary-expression before ']' token
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                                      ^
../git/include/perfetto/ext/tracing/core/slice.h:47:30: error: missing template argument list after 'std::unique_ptr'; template placeholder not permitted in parameter
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                              ^~~
      |                                 <>
In file included from TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/recipe-sysroot/usr/include/c++/15.0.1/memory:80,
                 from ../git/include/perfetto/ext/tracing/core/slice.h:23:
TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/recipe-sysroot/usr/include/c++/15.0.1/bits/unique_ptr.h:271:11: note: 'template<class _Tp, class _Dp> class std::unique_ptr' declared here
  271 |     class unique_ptr
      |           ^~~~~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:55:3: error: 'uint8_t' does not name a type
   55 |   uint8_t* own_data() {
      |   ^~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:55:3: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/slice.h:67:19: error: 'uint8_t' was not declared in this scope
   67 |   std::unique_ptr<uint8_t[]> own_data_;
      |                   ^~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:67:19: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/slice.h:67:28: error: template argument 1 is invalid
   67 |   std::unique_ptr<uint8_t[]> own_data_;
      |                            ^
../git/include/perfetto/ext/tracing/core/slice.h:67:28: error: template argument 2 is invalid
../git/include/perfetto/ext/tracing/core/slice.h: In static member function 'static perfetto::Slice perfetto::Slice::Allocate(size_t)':
../git/include/perfetto/ext/tracing/core/slice.h:41:21: error: request for member 'reset' in 'slice.perfetto::Slice::own_data_', which is of non-class type 'int'
   41 |     slice.own_data_.reset(new uint8_t[size]);
      |                     ^~~~~
../git/include/perfetto/ext/tracing/core/slice.h:41:31: error: 'uint8_t' does not name a type
   41 |     slice.own_data_.reset(new uint8_t[size]);
      |                               ^~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:41:31: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/slice.h:42:35: error: invalid types 'int[int]' for array subscript
   42 |     slice.start = &slice.own_data_[0];
      |                                   ^
../git/include/perfetto/ext/tracing/core/slice.h: In static member function 'static perfetto::Slice perfetto::Slice::TakeOwnership(...)':
../git/include/perfetto/ext/tracing/core/slice.h:49:33: error: 'buf' was not declared in this scope
   49 |     slice.own_data_ = std::move(buf);
      |                                 ^~~
../git/include/perfetto/ext/tracing/core/slice.h:50:35: error: invalid types 'int[int]' for array subscript
   50 |     slice.start = &slice.own_data_[0];
      |                                   ^
[4/32] compile ../git/src/tracing/service/zlib_compressor.cc
FAILED: obj/src/tracing/service/zlib_compressor.zlib_compressor.o 
x86_64-oe-linux-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/git=/usr/src/debug/perfetto/47.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/git=/usr/src/debug/perfetto/47.0 -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/build=/usr/src/debug/perfetto/47.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/build=/usr/src/debug/perfetto/47.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/recipe-sysroot-native=  --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/recipe-sysroot -MMD -MF obj/src/tracing/service/zlib_compressor.zlib_compressor.o.d -DNDEBUG -DPERFETTO_IMPLEMENTATION -DZLIB_IMPLEMENTATION -DCHROMIUM_ZLIB_NO_CHROMECONF -I../git -I../git/src/profiling/memory/include -I../git/include -Igen/build_config -Igen -fstrict-aliasing -Wformat -g -fPIC -fstack-protector-strong  -fno-omit-frame-pointer -mbmi -mbmi2 -mavx2 -mpopcnt -msse4.2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -Wextra -Wpedantic -fvisibility=hidden -O3 -fdata-sections -ffunction-sections -isystem ../git/buildtools/zlib -Wno-redundant-move -Wno-use-after-free -Wno-maybe-uninitialized -Wno-infinite-recursion -Wno-nonnull -fno-exceptions -fno-rtti -std=c++17      -c ../git/src/tracing/service/zlib_compressor.cc -o obj/src/tracing/service/zlib_compressor.zlib_compressor.o
In file included from ../git/include/perfetto/ext/tracing/core/trace_packet.h:27,
                 from ../git/src/tracing/service/zlib_compressor.h:22,
                 from ../git/src/tracing/service/zlib_compressor.cc:17:
../git/include/perfetto/ext/tracing/core/slice.h:47:46: error: 'uint8_t' was not declared in this scope
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                              ^~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:25:1: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
   24 | #include <string>
  +++ |+#include <cstdint>
   25 | #include <vector>
../git/include/perfetto/ext/tracing/core/slice.h:47:55: error: template argument 1 is invalid
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                                       ^
../git/include/perfetto/ext/tracing/core/slice.h:47:55: error: template argument 2 is invalid
../git/include/perfetto/ext/tracing/core/slice.h:47:46: error: 'uint8_t' was not declared in this scope
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                              ^~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:47:46: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/slice.h:47:55: error: template argument 1 is invalid
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                                       ^
../git/include/perfetto/ext/tracing/core/slice.h:47:55: error: template argument 2 is invalid
../git/include/perfetto/ext/tracing/core/slice.h:47:46: error: 'uint8_t' was not declared in this scope
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                              ^~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:47:46: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/slice.h:47:55: error: template argument 1 is invalid
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                                       ^
../git/include/perfetto/ext/tracing/core/slice.h:47:55: error: template argument 2 is invalid
../git/include/perfetto/ext/tracing/core/slice.h:47:30: error: invalid template-id
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                              ^~~
../git/include/perfetto/ext/tracing/core/slice.h:47:46: error: 'uint8_t' was not declared in this scope
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                              ^~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:47:46: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/slice.h:47:54: error: expected primary-expression before ']' token
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                                                      ^
../git/include/perfetto/ext/tracing/core/slice.h:47:30: error: missing template argument list after 'std::unique_ptr'; template placeholder not permitted in parameter
   47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
      |                              ^~~
      |                                 <>
In file included from TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/recipe-sysroot/usr/include/c++/15.0.1/memory:80,
                 from ../git/include/perfetto/ext/tracing/core/trace_packet.h:21:
TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/recipe-sysroot/usr/include/c++/15.0.1/bits/unique_ptr.h:271:11: note: 'template<class _Tp, class _Dp> class std::unique_ptr' declared here
  271 |     class unique_ptr
      |           ^~~~~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:55:3: error: 'uint8_t' does not name a type
   55 |   uint8_t* own_data() {
      |   ^~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:55:3: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/slice.h:67:19: error: 'uint8_t' was not declared in this scope
   67 |   std::unique_ptr<uint8_t[]> own_data_;
      |                   ^~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:67:19: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/slice.h:67:28: error: template argument 1 is invalid
   67 |   std::unique_ptr<uint8_t[]> own_data_;
      |                            ^
../git/include/perfetto/ext/tracing/core/slice.h:67:28: error: template argument 2 is invalid
../git/include/perfetto/ext/tracing/core/slice.h: In static member function 'static perfetto::Slice perfetto::Slice::Allocate(size_t)':
../git/include/perfetto/ext/tracing/core/slice.h:41:21: error: request for member 'reset' in 'slice.perfetto::Slice::own_data_', which is of non-class type 'int'
   41 |     slice.own_data_.reset(new uint8_t[size]);
      |                     ^~~~~
../git/include/perfetto/ext/tracing/core/slice.h:41:31: error: 'uint8_t' does not name a type
   41 |     slice.own_data_.reset(new uint8_t[size]);
      |                               ^~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:41:31: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/slice.h:42:35: error: invalid types 'int[int]' for array subscript
   42 |     slice.start = &slice.own_data_[0];
      |                                   ^
../git/include/perfetto/ext/tracing/core/slice.h: In static member function 'static perfetto::Slice perfetto::Slice::TakeOwnership(...)':
../git/include/perfetto/ext/tracing/core/slice.h:49:33: error: 'buf' was not declared in this scope
   49 |     slice.own_data_ = std::move(buf);
      |                                 ^~~
../git/include/perfetto/ext/tracing/core/slice.h:50:35: error: invalid types 'int[int]' for array subscript
   50 |     slice.start = &slice.own_data_[0];
      |                                   ^
../git/include/perfetto/ext/tracing/core/trace_packet.h: At global scope:
../git/include/perfetto/ext/tracing/core/trace_packet.h:44:20: error: 'uint32_t' does not name a type
   44 |   static constexpr uint32_t kPacketFieldNumber = 1;
      |                    ^~~~~~~~
../git/include/perfetto/ext/tracing/core/trace_packet.h:28:1: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
   27 | #include "perfetto/ext/tracing/core/slice.h"
  +++ |+#include <cstdint>
   28 | 
../git/include/perfetto/ext/tracing/core/trace_packet.h:79:17: error: 'uint32_t' was not declared in this scope
   79 |   std::optional<uint32_t> buffer_index_for_stats() const {
      |                 ^~~~~~~~
../git/include/perfetto/ext/tracing/core/trace_packet.h:79:17: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/trace_packet.h:79:25: error: template argument 1 is invalid
   79 |   std::optional<uint32_t> buffer_index_for_stats() const {
      |                         ^
../git/include/perfetto/ext/tracing/core/trace_packet.h:84:35: error: 'uint32_t' has not been declared
   84 |   void set_buffer_index_for_stats(uint32_t v) {
      |                                   ^~~~~~~~
../git/include/perfetto/ext/tracing/core/trace_packet.h:84:35: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/trace_packet.h:96:3: error: 'uint32_t' does not name a type
   96 |   uint32_t buffer_index_for_stats_ = 0;
      |   ^~~~~~~~
../git/include/perfetto/ext/tracing/core/trace_packet.h:96:3: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/include/perfetto/ext/tracing/core/trace_packet.h: In member function 'int perfetto::TracePacket::buffer_index_for_stats() const':
../git/include/perfetto/ext/tracing/core/trace_packet.h:80:9: error: 'buffer_index_for_stats_' was not declared in this scope; did you mean 'buffer_index_for_stats'?
   80 |     if (buffer_index_for_stats_ == 0)
      |         ^~~~~~~~~~~~~~~~~~~~~~~
      |         buffer_index_for_stats
../git/include/perfetto/ext/tracing/core/trace_packet.h:81:19: error: cannot convert 'const std::nullopt_t' to 'int' in return
   81 |       return std::nullopt;
      |              ~~~~~^~~~~~~
      |                   |
      |                   const std::nullopt_t
../git/include/perfetto/ext/tracing/core/trace_packet.h:82:12: error: 'buffer_index_for_stats_' was not declared in this scope; did you mean 'buffer_index_for_stats'?
   82 |     return buffer_index_for_stats_ - 1;
      |            ^~~~~~~~~~~~~~~~~~~~~~~
      |            buffer_index_for_stats
../git/include/perfetto/ext/tracing/core/trace_packet.h: In member function 'void perfetto::TracePacket::set_buffer_index_for_stats(int)':
../git/include/perfetto/ext/tracing/core/trace_packet.h:85:5: error: 'buffer_index_for_stats_' was not declared in this scope; did you mean 'buffer_index_for_stats'?
   85 |     buffer_index_for_stats_ = v + 1;
      |     ^~~~~~~~~~~~~~~~~~~~~~~
      |     buffer_index_for_stats
../git/src/tracing/service/zlib_compressor.cc: In function 'perfetto::Slice perfetto::{anonymous}::PreambleToSlice(const Preamble&)':
../git/src/tracing/service/zlib_compressor.cc:53:16: error: 'struct perfetto::Slice' has no member named 'own_data'; did you mean 'int perfetto::Slice::own_data_'? (not accessible from this context)
   53 |   memcpy(slice.own_data(), preamble.buf.data(), preamble.size);
      |                ^~~~~~~~
../git/include/perfetto/ext/tracing/core/slice.h:67:30: note: declared private here
   67 |   std::unique_ptr<uint8_t[]> own_data_;
      |                              ^~~~~~~~~
ninja: build stopped: subcommand failed.
WARNING: TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/temp/run.do_compile.2939949:141 exit 1 from 'ninja -C . tracebox'
WARNING: Backtrace (BB generated script): 
	#1: do_compile, TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/temp/run.do_compile.2939949, line 141
	#2: main, TOPDIR/tmp/work/core2-64-oe-linux/perfetto/47.0/temp/run.do_compile.2939949, line 145

Error details

Submitted on:
04/04/25 02:46
Error type:
Recipe
Task:
do_compile
Recipe:
perfetto
Recipe version:
47.0-r0
Machine:
qemux86-64
Distro:
nodistro
Build system:
x86_64-linux
Target system:
x86_64-oe-linux
Host distro:
gentoo-2.17/gentoo-2.17
Branch:
jansa/master
Commit:
d3bdb4779afb21567ff31b4c9621daca36f64aab
Build:
#204268
Submitter:
Martin.Jansa@gmail.com
Similar errors:
1
Open a bug