#1150592 android-platform-tools FTBFS with protobuf 36.2+

#1150592#5
Date:
2026-10-11 09:30:02 UTC
From:
To:
Hi,

There's an upcoming Protobuf transition to its 36.2 version. Your
package FTBFS with it. I can provide a basic patch to fix it.
Unfortunately it will still fail with some abseil issues for which I
don't have a solution at the moment. Relevant compiler lines for this
issue:
make[2]: *** [debian/system/adb.mk:114: packages/modules/adb/types.o] Error 1
packages/modules/adb/transport.cpp:1671:13: error: use of undeclared
identifier 'STATELESS'
 1671 |             LOG(DEBUG) << "ignoring reverse forward that will
fail due to norebind";
      |             ^~~~~~~~~~
/usr/include/absl/log/log.h:218:23: note: expanded from macro 'LOG'
  218 | #define LOG(severity) ABSL_LOG_INTERNAL_LOG_IMPL(_##severity)
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/absl/log/internal/log_impl.h:27:41: note: expanded from
macro 'ABSL_LOG_INTERNAL_LOG_IMPL'
   27 |   ABSL_LOG_INTERNAL_CONDITION##severity(STATELESS, true) \
      |                                         ^~~~~~~~~
packages/modules/adb/transport.cpp:1671:13: error: expected ';' after expression
/usr/include/absl/log/log.h:218:23: note: expanded from macro 'LOG'
  218 | #define LOG(severity) ABSL_LOG_INTERNAL_LOG_IMPL(_##severity)

Regards,
Laszlo/GCS