You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@brpc.apache.org by "icexin (via GitHub)" <gi...@apache.org> on 2025/09/30 01:50:29 UTC

[I] bazel: build failed with `--define with_bthread_tracer=true` (brpc)

icexin opened a new issue, #3110:
URL: https://github.com/apache/brpc/issues/3110

   **Describe the bug**
   
   ```
   In file included from <built-in>:402:
   <command line>:3:9: error: macro name must be an identifier
   #define -DBRPC_BTHREAD_TRACER 1
           ^
   ```
   
   ``` bash
   src/bthread/task_tracer.cpp:26:10: error: 'absl/debugging/stacktrace.h' file not found with <angled> include; use "quotes" instead
   #include <absl/debugging/stacktrace.h>
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            "absl/debugging/stacktrace.h"
   src/bthread/task_tracer.cpp:27:10: error: 'absl/debugging/symbolize.h' file not found with <angled> include; use "quotes" instead
   #include <absl/debugging/symbolize.h>
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
            "absl/debugging/symbolize.h"
   ```
   
   
   
   **To Reproduce**
   ```
   $ bazel build --define with_bthread_tracer=true :brpc
   ```
   
   **Expected behavior**
   
   
   **Versions**
   OS: ubuntu 20.04
   Compiler: clang-12
   brpc: master
   protobuf: MODULE.bazel
   
   **Additional context/screenshots**
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@brpc.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@brpc.apache.org
For additional commands, e-mail: issues-help@brpc.apache.org


Re: [I] bazel: build failed with `--define with_bthread_tracer=true` (brpc)

Posted by "chenBright (via GitHub)" <gi...@apache.org>.
chenBright closed issue #3110: bazel: build failed with `--define with_bthread_tracer=true`
URL: https://github.com/apache/brpc/issues/3110


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@brpc.apache.org
For additional commands, e-mail: issues-help@brpc.apache.org