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
Build pipeline breaks due to failure to compile boost on Windows
Building Boost (b2.exe <options) fails with following console logging.
Boost Console Output with `--verbose` flag
[1] msvc-14.2
Component configuration:
- atomic : not building
- charconv : not building
- chrono : not building
- cobalt : not building
- container : not building
- context : not building
- contract : not building
- coroutine : not building
- date_time : not building
- exception : not building
- fiber : not building
- filesystem : not building
- graph : not building
- graph_parallel : not building
- headers : not building
- iostreams : not building
- json : not building
- locale : not building
- log : not building
- math : not building
- mpi : not building
- nowide : not building
- program_options : not building
- python : building
- random : not building
- regex : not building
- serialization : not building
- stacktrace : not building
- system : not building
- test : not building
- thread : not building
- timer : not building
- type_erasure : not building
- url : not building
- wave : not building
...patience...
...patience...
...found 35849 targets...
...updating 5 targets...
compile-c-c++ bin.v2\libs\python\build\msvc-14.2\debug\link-static\python-3.10\threading-multi\numpy\dtype.obj
dtype.cpp
libs\python\src\numpy\dtype.cpp(101): error C2039: 'elsize': is not a member of '_PyArray_Descr'
C:\Python310\lib\site-packages\numpy_core\include\numpy\ndarraytypes.h(618): note: see declaration of '_PyArray_Descr'
...failed compile-c-c++ bin.v2\libs\python\build\msvc-14.2\debug\link-static\python-3.10\threading-multi\numpy\dtype.obj...
...skipped <pbin.v2\libs\python\build\msvc-14.2\debug\link-static\python-3.10\threading-multi>libboost_numpy310-vc142-mt-gd-x64-1_85.lib for lack of <pbin.v2\libs\python\build\msvc-14.2\debug\link-static\python-3.10\threading-multi>numpy\dtype.obj...
...skipped pC:\Users\seleonar.NORTHAMERICA\Documents\Dev\lang_ext\packages\output\liblibboost_numpy310-vc142-mt-gd-x64-1_85.lib for lack of <pbin.v2\libs\python\build\msvc-14.2\debug\link-static\python-3.10\threading-multi>libboost_numpy310-vc142-mt-gd-x64-1_85.lib...
...skipped <pbin.v2\libs\python\build\msvc-14.2\debug\link-static\python-3.10\threading-multi>libboost_numpy-variant-vc142-mt-gd-x64-1_85-static-py3.10.cmake for lack of <pbin.v2\libs\python\build\msvc-14.2\debug\link-static\python-3.10\threading-multi>libboost_numpy310-vc142-mt-gd-x64-1_85.lib...
...skipped pC:\Users\seleonar.NORTHAMERICA\Documents\Dev\lang_ext\packages\output\lib\cmake\boost_numpy-1.85.0libboost_numpy-variant-vc142-mt-gd-x64-1_85-static-py3.10.cmake for lack of <pbin.v2\libs\python\build\msvc-14.2\debug\link-static\python-3.10\threading-multi>libboost_numpy-variant-vc142-mt-gd-x64-1_85-static-py3.10.cmake...
The following error message led me to the root cause:
compile-c-c++ bin.v2\libs\python\build\msvc-14.2\debug\link-static\python-3.10\threading-multi\numpy\dtype.obj
dtype.cpp
libs\python\src\numpy\dtype.cpp(101): error C2039: 'elsize': is not a member of '_PyArray_Descr'
C:\Python310\lib\site-packages\numpy_core\include\numpy\ndarraytypes.h(618): note: see declaration of '_PyArray_Descr'
Which then led me to finding that the following two files differ where Windows does not explicitly set Numpy and Pandas versions while the Linux script does: (Numpy-1.22.3 and Panda-1.4.2)
What is the issue
Build pipeline breaks due to failure to compile boost on Windows
Building Boost (b2.exe <options) fails with following console logging.
Boost Console Output with `--verbose` flag
The following error message led me to the root cause:
Which then led me to finding that the following two files differ where Windows does not explicitly set Numpy and Pandas versions while the Linux script does: (Numpy-1.22.3 and Panda-1.4.2)
C:\enlistment\language-extensions\python\build\linux\restore-packages.sh
C:\enlistment\language-extensions\python\build\windows\restore-packages.cmd
External Reporting
The text was updated successfully, but these errors were encountered: