microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
22.87k stars 6.31k forks source link

boost-python failed to compile #33069

Closed kxgy closed 1 year ago

kxgy commented 1 year ago

Building boost-python[core,python2,python3]:x64-windows-static-md... warning: -- Using community triplet x64-windows-static-md. This triplet configuration is not guaranteed to succeed. -- [COMMUNITY] Loading triplet configuration from: D:\Projects\vcpkg\triplets\community\x64-windows-static-md.cmake -- Using cached boostorg-python-boost-1.82.0.tar.gz. -- Extracting source D:/Projects/vcpkg/downloads/boostorg-python-boost-1.82.0.tar.gz -- Using source at D:/Projects/vcpkg/buildtrees/boost-python/src/ost-1.82.0-316083640d CMake Error at ports/boost-python/portfile.cmake:11 (include): include could not find requested file:

D:/Projects/vcpkg/installed/x64-windows/share/boost-build/boost-modular-build.cmake

Call Stack (most recent call first): scripts/ports.cmake:147 (include)

error: building boost-python:x64-windows-static-md failed with: BUILD_FAILED Elapsed time to handle boost-python:x64-windows-static-md: 445 ms internal error: D:\a_work\1\s\src\vcpkg\commands.build.cpp(1511): Value was null Please open an issue at https://github.com/microsoft/vcpkg/issues/new?template=other-type-of-bug-report.md&labels=category:vcpkg-bug with detailed steps to reproduce the problem. NativeCommandExitException: Program "vcpkg.exe" ended with non-zero exit code: 1.

JonLiu1993 commented 1 year ago

@kxgy, Thanks for posting this issue, I can not reproduce this issue:

Could you confirm that this file exists?

D:/Projects/vcpkg/installed/x64-windows/share/boost-build/boost-modular-build.cmake
kxgy commented 1 year ago

@kxgy, Thanks for posting this issue, I can not reproduce this issue:,感谢您发布此问题,我无法回复此问题:

Can you confirm that this file exists?你能确认这个文件存在吗?

D:/Projects/vcpkg/installed/x64-windows/share/boost-build/boost-modular-build.cmake

No, but this is done in a completely new compiled way

kxgy commented 1 year ago

.\vcpkg install --triplet=x64-windows-static-md --recurse boost boost-accumulators boost-algorithm boost-align boost-any boost-array boost-asio[ssl] boost-assert boost-assign boost-atomic boost-beast boost-bimap boost-bind boost-build boost-callable-traits boost-chrono boost-circular-buffer boost-compatibility boost-compute boost-concept-check boost-config boost-container boost-container-hash boost-context boost-contract boost-conversion boost-convert boost-core boost-coroutine boost-coroutine2 boost-crc boost-date-time boost-describe boost-detail boost-dll boost-dynamic-bitset boost-endian boost-exception boost-fiber[numa] boost-filesystem boost-flyweight boost-foreach boost-format boost-function boost-function-types boost-functional boost-fusion boost-geometry boost-gil boost-graph boost-hana boost-heap boost-histogram boost-hof boost-icl boost-integer boost-interprocess boost-interval boost-intrusive boost-io boost-iostreams boost-iostreams[bzip2,lzma,zlib,zstd] boost-iterator boost-json boost-lambda boost-lambda2 boost-leaf boost-lexical-cast boost-local-function boost-locale[icu] boost-lockfree boost-log boost-logic boost-math boost-metaparse boost-move boost-msm boost-multi-array boost-multi-index boost-multiprecision boost-mysql boost-nowide boost-numeric-conversion boost-optional boost-outcome boost-parameter boost-parameter-python boost-pfr boost-phoenix boost-poly-collection boost-polygon boost-pool boost-predef boost-preprocessor boost-process boost-python[python2,python3] boost-program-options boost-property-map boost-property-tree boost-proto boost-ptr-container boost-qvm boost-random boost-range boost-ratio boost-rational boost-regex[icu] boost-safe-numerics boost-scope-exit boost-serialization boost-signals2 boost-smart-ptr boost-sort boost-spirit boost-stacktrace boost-statechart boost-static-assert boost-static-string boost-stl-interfaces boost-system boost-test boost-thread boost-throw-exception boost-timer boost-tokenizer boost-tti boost-tuple boost-type-erasure boost-type-index boost-type-traits boost-typeof boost-ublas boost-uninstall boost-units boost-unordered boost-url boost-utility boost-uuid boost-variant boost-variant2 boost-vcpkg-helpers boost-vmd boost-wave boost-winapi boost-xpressive boost-yap failed remove boost-python[python2,python3] .\vcpkg install --triplet=x64-windows-static-md --recurse boost boost-accumulators boost-algorithm boost-align boost-any boost-array boost-asio[ssl] boost-assert boost-assign boost-atomic boost-beast boost-bimap boost-bind boost-build boost-callable-traits boost-chrono boost-circular-buffer boost-compatibility boost-compute boost-concept-check boost-config boost-container boost-container-hash boost-context boost-contract boost-conversion boost-convert boost-core boost-coroutine boost-coroutine2 boost-crc boost-date-time boost-describe boost-detail boost-dll boost-dynamic-bitset boost-endian boost-exception boost-fiber[numa] boost-filesystem boost-flyweight boost-foreach boost-format boost-function boost-function-types boost-functional boost-fusion boost-geometry boost-gil boost-graph boost-hana boost-heap boost-histogram boost-hof boost-icl boost-integer boost-interprocess boost-interval boost-intrusive boost-io boost-iostreams boost-iostreams[bzip2,lzma,zlib,zstd] boost-iterator boost-json boost-lambda boost-lambda2 boost-leaf boost-lexical-cast boost-local-function boost-locale[icu] boost-lockfree boost-log boost-logic boost-math boost-metaparse boost-move boost-msm boost-multi-array boost-multi-index boost-multiprecision boost-mysql boost-nowide boost-numeric-conversion boost-optional boost-outcome boost-parameter boost-parameter-python boost-pfr boost-phoenix boost-poly-collection boost-polygon boost-pool boost-predef boost-preprocessor boost-process boost-program-options boost-property-map boost-property-tree boost-proto boost-ptr-container boost-qvm boost-random boost-range boost-ratio boost-rational boost-regex[icu] boost-safe-numerics boost-scope-exit boost-serialization boost-signals2 boost-smart-ptr boost-sort boost-spirit boost-stacktrace boost-statechart boost-static-assert boost-static-string boost-stl-interfaces boost-system boost-test boost-thread boost-throw-exception boost-timer boost-tokenizer boost-tti boost-tuple boost-type-erasure boost-type-index boost-type-traits boost-typeof boost-ublas boost-uninstall boost-units boost-unordered boost-url boost-utility boost-uuid boost-variant boost-variant2 boost-vcpkg-helpers boost-vmd boost-wave boost-winapi boost-xpressive boost-yap success

JonLiu1993 commented 1 year ago

@kxgy, Did the issue go away after reinstalling?

JonLiu1993 commented 1 year ago

Ping @kxgy for response.

JonLiu1993 commented 1 year ago

We hope your question was answered to your satisfaction; if it wasn't, you can reopen with more info.