You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "arashandishgar (via GitHub)" <gi...@apache.org> on 2025/03/25 11:09:47 UTC

[I] [C++] Vcpkg fails on building abseil [arrow]

arashandishgar opened a new issue, #45928:
URL: https://github.com/apache/arrow/issues/45928

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   I'm not sure whether the following error is bug .
   
   I use Ubuntu 24.04 and vcpkg to build Arrow with the following command:
   `cmake --preset ninja-debug-maximal  -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake  -DARROW_ZSTD_USE_SHARED=OFF ..`
   I got the following error.
   ```
   CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
       Command failed: /snap/cmake/1445/bin/cmake --build . --config Debug --target install -- -v -j13
       Working Directory: /home/arashandishgar/Desktop/arrow/cpp/vcpkg/buildtrees/abseil/x64-linux-dbg
       See logs for more information:
         /home/arashandishgar/Desktop/arrow/cpp/vcpkg/buildtrees/abseil/install-x64-linux-dbg-out.log
   
   Call Stack (most recent call first):
     /home/arashandishgar/Desktop/arrow/cpp/build/vcpkg_installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
     /home/arashandishgar/Desktop/arrow/cpp/build/vcpkg_installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
     buildtrees/versioning_/versions/abseil/962a81319706d17c9e90bd0b873659ec7c75178a/portfile.cmake:31 (vcpkg_cmake_install)
     scripts/ports.cmake:203 (include)
   
   
   error: building abseil:x64-linux failed with: BUILD_FAILED
   See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
   Elapsed time to handle abseil:x64-linux: 12 s
   Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
   Then check for known issues at:
     https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+abseil
   You can submit a new issue at:
     https://github.com/microsoft/vcpkg/issues/new?title=[abseil]+Build+error+on+x64-linux&body=Copy%20issue%20body%20from%20%2Fhome%2Farashandishgar%2FDesktop%2Farrow%2Fcpp%2Fbuild%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
   You can also submit an issue by running (GitHub CLI must be installed):
     /usr/bin/gh issue create -R microsoft/vcpkg --title "[abseil] Build failure on x64-linux" --body-file /home/arashandishgar/Desktop/arrow/cpp/build/vcpkg_installed/vcpkg/issue_body.md
   -- Running vcpkg install - failed
   CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:938 (message):
     vcpkg install failed.  See logs for more information:
     /home/arashandishgar/Desktop/arrow/cpp/build/vcpkg-manifest-install.log
   Call Stack (most recent call first):
     build/CMakeFiles/3.31.6/CMakeSystem.cmake:6 (include)
     CMakeLists.txt:103 (project)
   ```
   According to this [link](https://github.com/microsoft/vcpkg/issues/39945#issuecomment-2232603542), the problem can be solved by updating`builtin-baseline` I've already done it for solved, and it was worked
   
   ### Component(s)
   
   Developer Tools, C++


-- 
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@arrow.apache.org.apache.org

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


Re: [I] [C++] Vcpkg fails on building abseil [arrow]

Posted by "raulcd (via GitHub)" <gi...@apache.org>.
raulcd commented on issue #45928:
URL: https://github.com/apache/arrow/issues/45928#issuecomment-2750947133

   We seem to not have updated the builtin-baseline in 3 years, could you share which one did you updated to?
   I would be happy to review and trigger the nightly jobs if you can submit a PR for that.


-- 
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: github-unsubscribe@arrow.apache.org

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


Re: [I] [C++] Vcpkg fails on building abseil [arrow]

Posted by "arashandishgar (via GitHub)" <gi...@apache.org>.
arashandishgar commented on issue #45928:
URL: https://github.com/apache/arrow/issues/45928#issuecomment-2751300518

   I use the SHA of the latest commit on the master branch of vcpkg, which is at this moment .`21816e0df975ab3ba13ab75263c4deeb080ef681`. .However, there are other problems that I try to ignore in my command.
   
   > I use Ubuntu 24.04 and vcpkg to build Arrow with the following command: `cmake --preset ninja-debug-maximal -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake -DARROW_ZSTD_USE_SHARED=OFF ..` I got the following error.
   
   1- Arrow needs the shared version of zstd, which is not feasible for vcpkg to build it. (I use the static version in the above command.)
   2- If I use ` DARROW_DEPENDENCY_SOURCE:STRING=VCPKG` . I get the following error.
   ```
   
   CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:893 (_find_package):
     Could not find a package configuration file provided by "azure-core-cpp"
     with any of the following names:
   
       azure-core-cppConfig.cmake
       azure-core-cpp-config.cmake
   
     Add the installation prefix of "azure-core-cpp" to CMAKE_PREFIX_PATH or set
     "azure-core-cpp_DIR" to a directory containing one of the above files.  If
     "azure-core-cpp" provides a separate development package or SDK, be sure it
     has been installed.
   Call Stack (most recent call first):
     cmake_modules/FindAzure.cmake:32 (find_package)
     vcpkg/scripts/buildsystems/vcpkg.cmake:893 (_find_package)
     cmake_modules/ThirdpartyToolchain.cmake:310 (find_package)
     cmake_modules/ThirdpartyToolchain.cmake:5537 (resolve_dependency)
     CMakeLists.txt:547 (include)
   
   ```
   BTW, thanks for your suggestion for contributing by sending a pull request. Unfortunately, I virtually know nothing about CMake and vcpkg. I just know how to use it. (I mean, I have not written any vcpkg.json or CMakeLists.txt.) I think it's better ,more informed people work on it.


-- 
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: github-unsubscribe@arrow.apache.org

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