Skip to content
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

Docker container build error #3

Open
2 tasks done
H-tr opened this issue Jan 2, 2024 · 0 comments
Open
2 tasks done

Docker container build error #3

H-tr opened this issue Jan 2, 2024 · 0 comments

Comments

@H-tr
Copy link

H-tr commented Jan 2, 2024

If you're not reporting a bug, please use the forum to ask questions.

Bug Report

Please answer the following questions for yourself before reporting a bug.

  • I checked the documentation and the forum but found no answer.
  • I checked to make sure that this issue has not already been filed.

Environment

Select the following information.

  • DART version: [e.g., master, 6.8.3]
  • OS name and version name(or number): Windows11, WSL2
  • Compiler name and version number: [e.g., GCC 7.4.0, Clang 3.9.1]

Expected Behavior

Docker build successfully

Current Behavior

What is the current behavior?
The pybind11 failed

------
 > [37/42] RUN git clone https://github.com/pybind/pybind11.git &&     pushd pybind11 &&     mkdir build &&     pushd build &&     cmake .. &&     make install -j10:
0.327 Cloning into 'pybind11'...
2.297 /pybind11 /
2.298 /pybind11/build /pybind11 /
2.349 -- The CXX compiler identification is GNU 12.2.1
2.354 -- Detecting CXX compiler ABI info
2.397 -- Detecting CXX compiler ABI info - done
2.401 -- Check for working CXX compiler: /opt/rh/gcc-toolset-12/root/usr/bin/c++ - skipped
2.401 -- Detecting CXX compile features
2.401 -- Detecting CXX compile features - done
2.403 -- pybind11 v2.12.0 dev1
2.403 -- CMake 3.19.0
3.028 CMake Error at /usr/local/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
3.028   Could NOT find Python (missing: Python_INCLUDE_DIRS Development.Module)
3.028   (found suitable version "3.8.18", minimum required is "3.6")
3.028 Call Stack (most recent call first):
3.028   /usr/local/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:577 (_FPHSA_FAILURE_MESSAGE)
3.028   /usr/local/share/cmake-3.19/Modules/FindPython/Support.cmake:3140 (find_package_handle_standard_args)
3.028   /usr/local/share/cmake-3.19/Modules/FindPython.cmake:428 (include)
3.028   tools/pybind11NewTools.cmake:51 (find_package)
3.028   tools/pybind11Common.cmake:183 (include)
3.028   CMakeLists.txt:237 (include)
3.028
3.028
3.028 -- Configuring incomplete, errors occurred!
3.028 See also "/pybind11/build/CMakeFiles/CMakeOutput.log".
------

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. In build_container, run python bdocker_image.py

It might because of pybind11 is updated and no longer compatible with current python version. I solved it by specifying --branch v2.11 in dockerfile. Maybe you could check it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant