-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shiva[core]:x64-windows build failure - python config failure: Python is 32-bit, chosen compiler is 64-bit #7411
Comments
remove pybind11 install pybind11 // python x64 ? |
What do you mean by "install pybind11 // python x64"?
SYSTEM@ANDROMEDA 07/24/2019 20:10:30 D:\Git\vs2019
Call Stack (most recent call first): Error: Building package shiva:x64-windows failed with: BUILD_FAILED Additionally, attach any relevant sections from the log files above. But shiva still fails as pybind11 is installing the 32-bit version of python2 disregarding the x64-windows triplet. |
Did some research - .\scripts\vcpkg_find_acquire_program.cmake has hard coded urls to download the 32-bit versions python-2.7.16.msi and python-3.7.3-embed-win32.zip.
|
python 32 bit |
Another thought, is I've compiled vcpkg with the -win64 option when running .\bootstrap.bat to create a 64 bit version of vcpkg.exe, where most would not bother to add this option which would default to a 32 bit version of vcpkg even on a 64 bit machine. |
|
Whether one uses an "asterisk", "core", or "nothing" as there are no additional options for package shiva, nonetheless here is the results: ** Visual Studio 2017 Developer Command Prompt v15.9.14 [vcvarsall.bat] Environment initialized for: 'x64' SYSTEM@ANDROMEDA 07/25/2019 13:04:07 D:\Git\vs2017 Call Stack (most recent call first): Error: Building package shiva:x64-windows failed with: BUILD_FAILED Additionally, attach any relevant sections from the log files above. It wants a 64 bit python not the 32 bit installed by vcpkg that is hard coded in .\scripts\vcpkg_find_acquire_program.cmake |
Hi @timautry, thanks for reporting this issue! Thanks. |
Host Environment
VS2019 - Tools: MSVC 14.21.27702 Redist: MSVC 14.21.27702
To Reproduce
Steps to reproduce the behavior:
./vcpkg install shiva[core]:x64-windows
Failure logs
VS2017 Community:
SYSTEM@ANDROMEDA 07/24/2019 19:23:32 D:\Git\vs2017
->vcpkg install shiva[core]:x64-windows
The following packages will be built and installed:
shiva[core]:x64-windows
Starting package 1/1: shiva:x64-windows
Building package shiva[core]:x64-windows...
-- Using cached D:/Git/vcpkg.downloads/Milerius-shiva-1.0.tar.gz
-- Using source at D:/Git/vs2017/buildtrees/shiva/src/1.0-2860004d47
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:58 (message):
Command failed: ninja -v
Working Directory: D:/Git/vs2017/buildtrees/shiva/x64-windows-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
D:\Git\vs2017\buildtrees\shiva\config-x64-windows-out.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_configure_cmake.cmake:290 (vcpkg_execute_required_process)
ports/shiva/portfile.cmake:13 (vcpkg_configure_cmake)
scripts/ports.cmake:74 (include)
Error: Building package shiva:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with
.\vcpkg update
, thensubmit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: shiva:x64-windows
Vcpkg version: 2019.07.18-nohash-external
Additionally, attach any relevant sections from the log files above.
VS2019 Community:
SYSTEM@ANDROMEDA 07/24/2019 19:24:53 D:\Git\vs2019
->vcpkg install shiva[core]:x64-windows
The following packages will be built and installed:
shiva[core]:x64-windows
Starting package 1/1: shiva:x64-windows
Building package shiva[core]:x64-windows...
-- Using cached D:/Git/vcpkg.downloads/Milerius-shiva-1.0.tar.gz
-- Using source at D:/Git/vs2019/buildtrees/shiva/src/1.0-2860004d47
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:58 (message):
Command failed: ninja -v
Working Directory: D:/Git/vs2019/buildtrees/shiva/x64-windows-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
D:\Git\vs2019\buildtrees\shiva\config-x64-windows-out.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_configure_cmake.cmake:290 (vcpkg_execute_required_process)
ports/shiva/portfile.cmake:13 (vcpkg_configure_cmake)
scripts/ports.cmake:74 (include)
Error: Building package shiva:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with
.\vcpkg update
, thensubmit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: shiva:x64-windows
Vcpkg version: 2019.07.18-nohash-external
Additionally, attach any relevant sections from the log files above.
-Please attach any additional failure logs mentioned in the console output.
vs2017_buildtrees_shiva_config-x64-windows-out.log
vs2019_buildtrees_shiva_config-x64-windows-out.log
Additional context
-- Found PythonInterp: D:/Git/vcpkg.downloads/tools/python/python2/python.exe (found version "2.7.16")
CMake Error at D:/Git/vs2019/installed/x64-windows/share/cmake/pybind11/FindPythonLibsNew.cmake:122 (message):
Python config failure: Python is 32-bit, chosen compiler is 64-bit
Thank you for any guidance and assistance.
The text was updated successfully, but these errors were encountered: