nam20485 / OdbDesign

A free open source cross-platform C++ library for parsing ODB++ Design archives, accessing their data, and building net list product models. Exposed via a REST API packaged inside of a Docker image.
https://nam20485.github.io/OdbDesign/
MIT License
32 stars 12 forks source link

vcpkg dependency build failure during vcpkg install step in docker build #332

Open nam20485 opened 1 month ago

nam20485 commented 1 month ago
Installing 64/75 upb[codegen,core]:x64-linux@2022-06-21...
#19 131.2 Building upb[codegen,core]:x64-linux@2022-06-21...
#19 131.2 /root/.cache/vcpkg/registries/git-trees/4a5b5306d38f1a58f65c98c236b84ca297501ab1: info: installing overlay port from here
#19 131.2 -- Downloading https://github.com/protocolbuffers/upb/archive/e4635f223e7d36dfbea3b722a4ca4807a7e882e2.tar.gz -> protocolbuffers-upb-e4635f223e7d36dfbea3b722a4ca4807a7e882e2.tar.gz...
#19 131.9 -- Extracting source /root/src/github/microsoft/vcpkg/downloads/protocolbuffers-upb-e4635f223e7d36dfbea3b722a4ca4807a7e882e2.tar.gz
#19 131.9 -- Applying patch 0001-make-cmakelists-py.patch
#19 131.9 -- Applying patch 0002-fix-uwp.patch
#19 132.0 -- Using source at /root/src/github/microsoft/vcpkg/buildtrees/upb/src/07a7e882e2-67ea24d098.clean
#19 132.0 CMake Error at scripts/cmake/vcpkg_find_acquire_program.cmake:166 (message):
#19 132.0   Could not find python3.  Please install it via your package manager:
#19 132.0 
#19 132.0       sudo apt-get install python3
#19 132.0 Call Stack (most recent call first):
#19 132.0   /root/.cache/vcpkg/registries/git-trees/4a5b5306d38f1a58f65c98c236b84ca297501ab1/portfile.cmake:14 (vcpkg_find_acquire_program)
#19 132.0   scripts/ports.cmake:192 (include)
#19 132.0 
#19 132.0 
#19 132.0 error: building upb:x64-linux failed with: BUILD_FAILED
#19 132.0 See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
#19 132.0 Elapsed time to handle upb:x64-linux: 780 ms
#19 132.0 Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
#19 132.0 Then check for known issues at:
#19 132.0   https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+upb
#19 132.0 You can submit a new issue at:
#19 132.0   https://github.com/microsoft/vcpkg/issues/new?title=[upb]+Build+error+on+x64-linux&body=Copy+issue+body+from+%2Fsrc%2FOdbDesign%2Fout%2Fbuild%2Flinux-release%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
#19 132.0 
#19 132.4 -- Running vcpkg install - failed
#19 132.4 CMake Error at /root/src/github/microsoft/vcpkg/scripts/buildsystems/vcpkg.cmake:904 (message):
#19 132.4   vcpkg install failed.  See logs for more information:
#19 132.4   /src/OdbDesign/out/build/linux-release/vcpkg-manifest-install.log
#19 132.4 Call Stack (most recent call first):
#19 132.4   /usr/share/cmake-3.25/Modules/CMakeDetermineSystem.cmake:124 (include)
#19 132.4   CMakeLists.txt:6 (project)
#19 132.4