You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Click to expand log
-- Providing CMake module for FindgRPCAlt as part of ArrowFlight CMake package
-- pkg-config package for grpc++ that is used by arrow-flight for static link isn't found
CMake Error at cmake_modules/ThirdpartyToolchain.cmake:310 (find_package):
By not providing "Findnlohmann_json.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"nlohmann_json", but CMake did not find one.
Could not find a package configuration file provided by "nlohmann_json"
with any of the following names:
Add the installation prefix of "nlohmann_json" to CMAKE_PREFIX_PATH or set
"nlohmann_json_DIR" to a directory containing one of the above files. If
"nlohmann_json" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
cmake_modules/ThirdpartyToolchain.cmake:4251 (resolve_dependency)
CMakeLists.txt:544 (include)
-- Configuring incomplete, errors occurred!
arrow/17.0.0: ERROR:
Package 'e67d4e73024d64e3e32a44a09882bca88d817bbf' build failed
arrow/17.0.0: WARN: Build folder /home/ppkowalski/.conan2/p/b/arrow3de7586871a98/b/build/Debug
ERROR: arrow/17.0.0: Error in build() method, line 414
cmake.configure(build_script_folder=os.path.join(self.source_folder, "cpp"))
ConanException: Error 1 while executing
I thought about installing nlohmann-json3-dev package using apt on the system (which I prefer not to, since I'd like to install everything with conan), then it goes further, however I am getting another error:
-- Providing CMake module for FindgRPCAlt as part of ArrowFlight CMake package
-- pkg-config package for grpc++ that is used by arrow-flight for static link isn't found
-- Found nlohmann_json: /usr/lib/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found version "3.10.5")
-- Found nlohmann_json headers: /usr/include;/usr/include
CMake Error at cmake_modules/ThirdpartyToolchain.cmake:310 (find_package):
By not providing "Findgoogle_cloud_cpp_storage.cmake" in CMAKE_MODULE_PATH
this project has asked CMake to find a package configuration file provided
by "google_cloud_cpp_storage", but CMake did not find one.
Could not find a package configuration file provided by
"google_cloud_cpp_storage" with any of the following names:
Add the installation prefix of "google_cloud_cpp_storage" to
CMAKE_PREFIX_PATH or set "google_cloud_cpp_storage_DIR" to a directory
containing one of the above files. If "google_cloud_cpp_storage" provides
a separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
cmake_modules/ThirdpartyToolchain.cmake:4462 (resolve_dependency)
CMakeLists.txt:544 (include)
-- Configuring incomplete, errors occurred!
arrow/17.0.0: ERROR:
Package 'e67d4e73024d64e3e32a44a09882bca88d817bbf' build failed
arrow/17.0.0: WARN: Build folder /home/ppkowalski/.conan2/p/b/arrow191307691fc54/b/build/Debug
ERROR: arrow/17.0.0: Error in build() method, line 414
cmake.configure(build_script_folder=os.path.join(self.source_folder, "cpp"))
ConanException: Error 1 while executing
</details>
The text was updated successfully, but these errors were encountered:
Description
I am trying to install arrow 17 with conan 2.6.0 on Ubuntu22.04. My conanfile.py:
The overrides are needed, because google-cloud-cpp is requested by arrow in version 1.40.1 which is not supported by conan 2.
However at some point I am getting errors (see the log messages attached)
Package and Environment Details
Conan profile
[settings]
arch=x86_64
build_type=Debug
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=10
os=Linux
Steps to reproduce
conan install . --build=missing --output-folder=build --profile=debug
Logs
Click to expand log
-- Providing CMake module for FindgRPCAlt as part of ArrowFlight CMake package -- pkg-config package for grpc++ that is used by arrow-flight for static link isn't found CMake Error at cmake_modules/ThirdpartyToolchain.cmake:310 (find_package): By not providing "Findnlohmann_json.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "nlohmann_json", but CMake did not find one.Could not find a package configuration file provided by "nlohmann_json"
with any of the following names:
Add the installation prefix of "nlohmann_json" to CMAKE_PREFIX_PATH or set
"nlohmann_json_DIR" to a directory containing one of the above files. If
"nlohmann_json" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
cmake_modules/ThirdpartyToolchain.cmake:4251 (resolve_dependency)
CMakeLists.txt:544 (include)
-- Configuring incomplete, errors occurred!
arrow/17.0.0: ERROR:
Package 'e67d4e73024d64e3e32a44a09882bca88d817bbf' build failed
arrow/17.0.0: WARN: Build folder /home/ppkowalski/.conan2/p/b/arrow3de7586871a98/b/build/Debug
ERROR: arrow/17.0.0: Error in build() method, line 414
cmake.configure(build_script_folder=os.path.join(self.source_folder, "cpp"))
ConanException: Error 1 while executing
I thought about installing nlohmann-json3-dev package using apt on the system (which I prefer not to, since I'd like to install everything with conan), then it goes further, however I am getting another error:
-- Providing CMake module for FindgRPCAlt as part of ArrowFlight CMake package
-- pkg-config package for grpc++ that is used by arrow-flight for static link isn't found
-- Found nlohmann_json: /usr/lib/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found version "3.10.5")
-- Found nlohmann_json headers: /usr/include;/usr/include
CMake Error at cmake_modules/ThirdpartyToolchain.cmake:310 (find_package):
By not providing "Findgoogle_cloud_cpp_storage.cmake" in CMAKE_MODULE_PATH
this project has asked CMake to find a package configuration file provided
by "google_cloud_cpp_storage", but CMake did not find one.
Could not find a package configuration file provided by
"google_cloud_cpp_storage" with any of the following names:
Add the installation prefix of "google_cloud_cpp_storage" to
CMAKE_PREFIX_PATH or set "google_cloud_cpp_storage_DIR" to a directory
containing one of the above files. If "google_cloud_cpp_storage" provides
a separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
cmake_modules/ThirdpartyToolchain.cmake:4462 (resolve_dependency)
CMakeLists.txt:544 (include)
-- Configuring incomplete, errors occurred!
arrow/17.0.0: ERROR:
Package 'e67d4e73024d64e3e32a44a09882bca88d817bbf' build failed
arrow/17.0.0: WARN: Build folder /home/ppkowalski/.conan2/p/b/arrow191307691fc54/b/build/Debug
ERROR: arrow/17.0.0: Error in build() method, line 414
cmake.configure(build_script_folder=os.path.join(self.source_folder, "cpp"))
ConanException: Error 1 while executing
The text was updated successfully, but these errors were encountered: