NEUpanning commented on issue #5491:
URL:
https://github.com/apache/incubator-gluten/issues/5491#issuecomment-2073984617
@xumingming Thanks for your reply. I pulled the latest code and the build
failed again. Here is cmake log
```
+ echo
ENABLE_S3=OFF,ENABLE_GCS=OFF,ENABLE_HDFS=OFF,ENABLE_ABFS=OFF,BUILD_TYPE=Release,VELOX_HOME=/Users/panning/VSProjects/glutenNvelox_CE/gluten/incubator-gluten/ep/build-velox/src/../build/velox_ep,ENABLE_BENCHMARK=OFF,ENABLE_TESTS=OFF,BUILD_TEST_UTILS=OFF,COMPILE_ARROW_JAVA=OFF,OTHER_ARGUMENTS=,COMMIT_HASH=3a997a5934059e77dc6c0ee13e48946f5cbad015
++ build_gluten_cpp
++ echo 'Start to Gluten CPP'
Start to Gluten CPP
++ cd
/Users/panning/VSProjects/glutenNvelox_CE/gluten/incubator-gluten/dev/../cpp
++ rm -rf build
++ mkdir build
++ cd build
++ cmake -DBUILD_VELOX_BACKEND=ON -DCMAKE_BUILD_TYPE=Release
-DBUILD_TESTS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_BENCHMARKS=OFF
-DBUILD_JEMALLOC=OFF -DENABLE_HBM=OFF -DENABLE_QAT=OFF -DENABLE_IAA=OFF
-DENABLE_GCS=OFF -DENABLE_S3=OFF -DENABLE_HDFS=OFF -DENABLE_ABFS=OFF ..
-- Building using CMake version: 3.29.2
-- The C compiler identification is AppleClang 15.0.0.15000309
-- The CXX compiler identification is AppleClang 15.0.0.15000309
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
- skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
- skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Set VELOX_HOME to
/Users/panning/VSProjects/glutenNvelox_CE/gluten/incubator-gluten/ep/build-velox/build/velox_ep
-- Add definition NDEBUG
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found JNI:
/Library/Java/JavaVirtualMachines/jdk1.8.0_301.jdk/Contents/Home/include found
components: AWT JVM
-- Found glog: /usr/local/lib/libglog.dylib
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Found Boost: /usr/local/lib/cmake/Boost-1.84.0/BoostConfig.cmake (found
version "1.84.0")
-- Set Substrait Proto Directory in
/Users/panning/VSProjects/glutenNvelox_CE/gluten/incubator-gluten/gluten-core/src/main/resources/substrait/proto
-- Set Gluten Proto Directory in
/Users/panning/VSProjects/glutenNvelox_CE/gluten/incubator-gluten/gluten-core/src/main/resources/org/apache/gluten/proto
-- Found Arrow library:
/Users/panning/VSProjects/glutenNvelox_CE/gluten/incubator-gluten/ep/build-velox/build/velox_ep/_build/release/third_party/arrow_ep/install/lib/libarrow.1500.dylib
-- Found Arrow library:
/Users/panning/VSProjects/glutenNvelox_CE/gluten/incubator-gluten/ep/build-velox/build/velox_ep/_build/release/third_party/arrow_ep/install/lib/libparquet.1500.dylib
-- Could NOT find Protobuf (missing: Protobuf_INCLUDE_DIR)
-- Use existing ProtoBuf libraries: /usr/local/lib/libprotobuf.a
-- Use existing Jemalloc libraries
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Found Boost: /usr/local/lib/cmake/Boost-1.84.0/BoostConfig.cmake (found
suitable version "1.84.0", minimum required is "1.51.0") found components:
context filesystem program_options regex system thread
-- Found folly: /usr/local
-- Found Arrow library:
/Users/panning/VSProjects/glutenNvelox_CE/gluten/incubator-gluten/ep/build-velox/build/velox_ep/_build/release/third_party/arrow_ep/install/lib/libarrow.1500.dylib
-- Found Arrow library:
/Users/panning/VSProjects/glutenNvelox_CE/gluten/incubator-gluten/ep/build-velox/build/velox_ep/_build/release/third_party/arrow_ep/install/lib/libparquet.1500.dylib
-- RE2 Library Can Be Found in re2::re2
-- Found Thrift: /usr/local/lib/libthrift.dylib (found version "0.20.0")
-- Configuring done (4.1s)
CMake Error at core/CMakeLists.txt:295 (add_dependencies):
The dependency target "protobuf::libprotobuf" of target "jni_proto" does
not exist.
-- Generating done (0.3s)
CMake Generate step failed. Build files cannot be regenerated correctly.
```
It seems that make can't find Protobuf but i already installed it. Here is
`brew list` command output.
```
(python_envs) ➜ incubator-gluten git:(main) brew list protobuf
/usr/local/Cellar/protobuf/26.1/bin/protoc
/usr/local/Cellar/protobuf/26.1/bin/protoc-26.1.0
/usr/local/Cellar/protobuf/26.1/include/google/ (239 files)
/usr/local/Cellar/protobuf/26.1/include/java/core/src/main/resources/google/protobuf/java_features.proto
/usr/local/Cellar/protobuf/26.1/include/upb_generator/mangle.h
/usr/local/Cellar/protobuf/26.1/include/ (2 files)
/usr/local/Cellar/protobuf/26.1/lib/libprotobuf-lite.26.1.0.dylib
/usr/local/Cellar/protobuf/26.1/lib/libprotobuf.26.1.0.dylib
/usr/local/Cellar/protobuf/26.1/lib/libprotoc.26.1.0.dylib
/usr/local/Cellar/protobuf/26.1/lib/cmake/ (10 files)
/usr/local/Cellar/protobuf/26.1/lib/pkgconfig/ (3 files)
/usr/local/Cellar/protobuf/26.1/lib/ (5 other files)
/usr/local/Cellar/protobuf/26.1/share/emacs/site-lisp/protobuf/protobuf-mode.el
/usr/local/Cellar/protobuf/26.1/share/protobuf/ (25 files)
/usr/local/Cellar/protobuf/26.1/share/vim/vimfiles/syntax/proto.vim
```
--
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]