zhangbutao opened a new issue, #55133:
URL: https://github.com/apache/doris/issues/55133

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   master branch
   
   ### What's Wrong?
   
   `error: 'LUCENE_DISABLE_HASHING' macro redefined`
   
   ### What You Expected?
   
   I want build the master branch using the docker build image.
   
   ### How to Reproduce?
   
   - docker pull the latest build image
   
   `docekr pull apache/doris:build-env-ldb-toolchain-latest`
   
   - Build the master branch code, but found the error:
   
   ```
   In file included from /root/doris-source/be/src/runtime/primitive_type.h:31:
   In file included from /root/doris-source/be/src/vec/core/field.h:39:
   In file included from /root/doris-source/be/src/util/bitmap_value.h:44:
   In file included from /root/doris-source/be/src/vec/common/pod_array.h:36:
   In file included from /root/doris-source/be/src/runtime/thread_context.h:30:
   In file included from /root/doris-source/be/src/runtime/exec_env.h:33:
   In file included from 
/root/doris-source/be/src/olap/rowset/segment_v2/inverted_index_writer.h:20:
   In file included from 
/root/doris-source/be/../contrib/clucene/src/core/CLucene.h:16:
   In file included from 
/root/doris-source/be/../contrib/clucene/src/core/CLucene/StdHeader.h:20:
   In file included from 
/root/doris-source/be/../contrib/clucene/src/shared/CLucene/SharedHeader.h:18:
   
/root/doris-source/be/build_Release/clucene/src/shared/CLucene/clucene-config.h:61:9:
 error: 'LUCENE_DISABLE_HASHING' macro redefined [-Werror,-Wmacro-redefined]
      61 | #define LUCENE_DISABLE_HASHING 1
         |         ^
   /root/doris-source/be/../contrib/clucene/src/core/CLucene/CLConfig.h:34:13: 
note: previous definition is here
      34 |     #define LUCENE_DISABLE_HASHING
         |             ^
   1 error generated.
   [170/1247] Building CXX object 
src/gen_cpp/CMakeFiles/DorisGen.dir/root/doris-source/gensrc/build/gen_cpp/FrontendService_types.cpp.o
   ninja: build stopped: subcommand failed.
   
   ```
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to