[Android-tools-devel] Bug#1150592: android-platform-tools FTBFS with protobuf 36.2+

László Böszörményi (GCS) gcs at debian.org
Sun Oct 11 10:30:02 BST 2026


Source: android-platform-tools
Version: 34.0.5-13
Severity: normal
Tags: ftbfs patch
Usertags protobuf36_2
X-Debbugs-Cc: gcs at debian.org

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: android-platform-tools_protobuf.patch
Type: text/x-patch
Size: 1449 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/android-tools-devel/attachments/20261011/411d57db/attachment.bin>


More information about the Android-tools-devel mailing list