pybind / pybind/pybind11

make check fails to run tests.

Open
#1,355 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
18k
Forks
2.3k
Avg merge
5d 17h
Merged PRs (30d)
10

Description

make check fails to run tests. Anyone have any ideas?

Platform information:
lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID: Scientific
Description: Scientific Linux release 7.4 (Nitrogen)
Release: 7.4
Codename: Nitrogen

Note: I tried on OSX and everything was fine.

The output is:

>XXX:erpsim1:~/dcs16/TaoGui/pybind11/build> make check     
/nfs/acc/libs/Linux_x86_64_intel/extra/cmake-3.6.2_12oct16/bin/cmake -H/home/dcs16/dcs16/TaoGui/pybind11 -B/home/dcs16/dcs16/TaoGui/pybind11/build --check-build-system CMakeFiles/Makefile.cmake 0
make -f CMakeFiles/Makefile2 check
make[1]: Entering directory `/nfs/acc/user/dcs16/TaoGui/pybind11/build'
/nfs/acc/libs/Linux_x86_64_intel/extra/cmake-3.6.2_12oct16/bin/cmake -H/home/dcs16/dcs16/TaoGui/pybind11 -B/home/dcs16/dcs16/TaoGui/pybind11/build --check-build-system CMakeFiles/Makefile.cmake 0
/nfs/acc/libs/Linux_x86_64_intel/extra/cmake-3.6.2_12oct16/bin/cmake -E cmake_progress_start /home/dcs16/dcs16/TaoGui/pybind11/build/CMakeFiles 40
make -f CMakeFiles/Makefile2 tests/CMakeFiles/check.dir/all
make[2]: Entering directory `/nfs/acc/user/dcs16/TaoGui/pybind11/build'
make -f tests/test_cmake_build/CMakeFiles/mock_install.dir/build.make tests/test_cmake_build/CMakeFiles/mock_install.dir/depend
make[3]: Entering directory `/nfs/acc/user/dcs16/TaoGui/pybind11/build'
cd /home/dcs16/dcs16/TaoGui/pybind11/build && /nfs/acc/libs/Linux_x86_64_intel/extra/cmake-3.6.2_12oct16/bin/cmake -E cmake_depends "Unix Makefiles" /home/dcs16/dcs16/TaoGui/pybind11 /home/dcs16/dcs16/TaoGui/pybind11/tests/test_cmake_build /home/dcs16/dcs16/TaoGui/pybind11/build /home/dcs16/dcs16/TaoGui/pybind11/build/tests/test_cmake_build /home/dcs16/dcs16/TaoGui/pybind11/build/tests/test_cmake_build/CMakeFiles/mock_install.dir/DependInfo.cmake --color=
make[3]: Leaving directory `/nfs/acc/user/dcs16/TaoGui/pybind11/build'
make -f tests/test_cmake_build/CMakeFiles/mock_install.dir/build.make tests/test_cmake_build/CMakeFiles/mock_install.dir/build
make[3]: Entering directory `/nfs/acc/user/dcs16/TaoGui/pybind11/build'
cd /home/dcs16/dcs16/TaoGui/pybind11/build/tests/test_cmake_build && /nfs/acc/libs/Linux_x86_64_intel/extra/cmake-3.6.2_12oct16/bin/cmake -DCMAKE_INSTALL_PREFIX=/home/dcs16/dcs16/TaoGui/pybind11/build/mock_install -P /home/dcs16/dcs16/TaoGui/pybind11/build/cmake_install.cmake
-- Install configuration: "MinSizeRel"
-- Up-to-date: /home/dcs16/dcs16/TaoGui/pybind11/build/mock_install/include/pybind11
-- Up-to-date: /home/dcs16/dcs16/TaoGui/pybind11/build/mock_install/include/pybind11/cast.h
-- Up-to-date: /home/dcs16/dcs16/TaoGui/pybind11/build/mock_install/include/pybind11/chrono.h
-- Up-to-date: /home/dcs16/dcs16/TaoGui/pybind11/build/mock_install/include/pybind11/functional.h
-- Up-to-date: /home/dcs16/dcs16/TaoGui/pybind11/build/mock_install/include/pybind11/eigen.h
-- Up-to-date: /home/dcs16/dcs16/TaoGui/pybind11/build/mock_install/include/pybind11/pytypes.h
-- Up-to-date: /home/dcs16/dcs16/TaoGui/pybind11/build/mock_install/include/pybind11/common.h
-- Up-to-date: /home/dcs16/dcs16/TaoGui/pybind11/build/mock_install/include/pybind11/numpy.h
-- Up-to-date: /home/dcs16/dcs16/TaoGui/pybind11/build/mock_install/include/pybind11/complex.h
-- Up-to-date: /home/dcs16/dcs16/TaoGui/pybind11/build/mock_install/include/pybind11/options.h
-- Up-to-date: /home/dcs16/dcs16/TaoGui/pybind11/build/mock_install/include/pybind11/eval.h
-- Up-to-date: /home/dcs16/dcs16/TaoGui/pybind11/build/mock_install/include/pybind11/detail
-- Up-to-date: /home/dcs16/dcs16/TaoGui/pybind11/build/mock_install/include/pybind11/detail/common.h
-- Up-to-date: /home/dcs16/dcs16/TaoGui/pybind11/build/mock_install/include/pybind11/detail/descr.h
-- Up-to-date: /home/dcs16/dcs16/TaoGui/pybind11/build/mock_install/include/pybind11/detail/init.h
-- Up-to-date: /home/dcs16/dcs16/TaoGui/pybind11/build/mock_install/include/pybind11/detail/internals.h
-- Up-to-date: /home/dcs16/dcs16/TaoGui/pybind11/build/mock_install/include/pybind11/detail/typeid.h
-- Up-to-date: /home/dcs16/dcs16/TaoGui/pybind11/build/mock_install/include/pybind11/detail/class.h
-- Up-to-date: /home/dcs16/dcs16/TaoGui/pybind11/build/mock_install/include/pybind11/iostream.h
-- Up-to-date: /home/dcs16/dcs16/TaoGui/pybind11/build/mock_install/include/pybind11/stl_bind.h
-- Up-to-date: /home/dcs16/dcs16/TaoGui/pybind11/build/mock_install/include/pybind11/buffer_info.h
-- Up-to-date: /home/dcs16/dcs16/TaoGui/pybind11/build/mock_install/include/pybind11/stl.h
-- Up-to-date: /home/dcs16/dcs16/TaoGui/pybind11/build/mock_install/include/pybind11/operators.h
-- Up-to-date: /home/dcs16/dcs16/TaoGui/pybind11/build/mock_install/include/pybind11/attr.h
-- Up-to-date: /home/dcs16/dcs16/TaoGui/pybind11/build/mock_install/include/pybind11/embed.h
-- Up-to-date: /home/dcs16/dcs16/TaoGui/pybind11/build/mock_install/include/pybind11/pybind11.h
-- Up-to-date: /home/dcs16/dcs16/TaoGui/pybind11/build/mock_install/share/cmake/pybind11/pybind11Config.cmake
-- Up-to-date: /home/dcs16/dcs16/TaoGui/pybind11/build/mock_install/share/cmake/pybind11/pybind11ConfigVersion.cmake
-- Up-to-date: /home/dcs16/dcs16/TaoGui/pybind11/build/mock_install/share/cmake/pybind11/FindPythonLibsNew.cmake
-- Up-to-date: /home/dcs16/dcs16/TaoGui/pybind11/build/mock_install/share/cmake/pybind11/pybind11Tools.cmake
-- Up-to-date: /home/dcs16/dcs16/TaoGui/pybind11/build/mock_install/share/cmake/pybind11/pybind11Targets.cmake
make[3]: Leaving directory `/nfs/acc/user/dcs16/TaoGui/pybind11/build'
[  0%] Built target mock_install
make -f tests/test_cmake_build/CMakeFiles/test_installed_embed.dir/build.make tests/test_cmake_build/CMakeFiles/test_installed_embed.dir/depend
make[3]: Entering directory `/nfs/acc/user/dcs16/TaoGui/pybind11/build'
cd /home/dcs16/dcs16/TaoGui/pybind11/build && /nfs/acc/libs/Linux_x86_64_intel/extra/cmake-3.6.2_12oct16/bin/cmake -E cmake_depends "Unix Makefiles" /home/dcs16/dcs16/TaoGui/pybind11 /home/dcs16/dcs16/TaoGui/pybind11/tests/test_cmake_build /home/dcs16/dcs16/TaoGui/pybind11/build /home/dcs16/dcs16/TaoGui/pybind11/build/tests/test_cmake_build /home/dcs16/dcs16/TaoGui/pybind11/build/tests/test_cmake_build/CMakeFiles/test_installed_embed.dir/DependInfo.cmake --color=
Dependee "/home/dcs16/dcs16/TaoGui/pybind11/build/tests/test_cmake_build/CMakeFiles/test_installed_embed.dir/DependInfo.cmake" is newer than depender "/home/dcs16/dcs16/TaoGui/pybind11/build/tests/test_cmake_build/CMakeFiles/test_installed_embed.dir/depend.internal".
Dependee "/home/dcs16/dcs16/TaoGui/pybind11/build/tests/test_cmake_build/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/dcs16/dcs16/TaoGui/pybind11/build/tests/test_cmake_build/CMakeFiles/test_installed_embed.dir/depend.internal".

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing make check on Scientific Linux 7.4 with the CMake 3.6.2 environment shown, then inspect the tests/test_cmake_build targets and the make check rule. The issue is resolved when the command proceeds past the reported build output and runs the test suite successfully on the affected platform.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp, python
Domain
build-system, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.