symforce-org / symforce

Fast symbolic computation, code generation, and nonlinear optimization for robotics
https://symforce.org
Apache License 2.0
1.44k stars 147 forks source link

Need to call make three times in a row to make with cmake #356

Closed arbor-arthur closed 1 year ago

arbor-arthur commented 1 year ago

Describe the bug I have the following docker image that builds symforce, and only succeeds because it calls make three times in a row on an x86_64 platform:

FROM ubuntu:focal

RUN apt update && apt install -y --no-install-recommends software-properties-common gpg gpg-agent dirmngr && rm -rf /var/lib/apt/lists/*

# Allow to install newer cmake
RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 42D5A192B819C5DA && apt-add-repository "deb https://apt.kitware.com/ubuntu/ focal main"

RUN apt update && apt install -y --no-install-recommends libgmp-dev cmake git curl unzip build-essential python3-pip python3.8-dev && rm -rf /var/lib/apt/lists/*

# build and install symforce
RUN python3 -m pip install numpy argh testresources sympy symforce-sym skymarshal black clang-format 'cython>=0.19.1,<3'
RUN mkdir -p /opt/symforce
RUN git config --global --add safe.directory /opt/symforce && git clone https://github.com/symforce-org/symforce.git /opt/symforce && cd /opt/symforce

# ridiculous cmake/c++ requires me to call make three times in a row before it succeeds. WHAT?!
RUN mkdir -p /opt/symforce/build && cd /opt/symforce/build && cmake .. && make -j $(nproc) || make -j $(nproc) || make -j $(nproc)

# This version won't succeed
# RUN mkdir -p /opt/symforce/build && cd /opt/symforce/build && cmake .. && make -j $(nproc)

To Reproduce Build the given docker image w/ the command that only calls make one time. Compare to the version that calls make three times.

Expected behavior One make should be enough for anyone!

Screenshots The error when running make just a single time is opaque, just Error 2:

 > [9/9] RUN mkdir -p /opt/symforce/build && cd /opt/symforce/build && cmake .. && make -j $(nproc):
0.181 -- The C compiler identification is GNU 9.4.0
0.234 -- The CXX compiler identification is GNU 9.4.0
0.249 -- Detecting C compiler ABI info
0.309 -- Detecting C compiler ABI info - done
0.316 -- Check for working C compiler: /usr/bin/cc - skipped
0.316 -- Detecting C compile features
0.316 -- Detecting C compile features - done
0.326 -- Detecting CXX compiler ABI info
0.390 -- Detecting CXX compiler ABI info - done
0.397 -- Check for working CXX compiler: /usr/bin/c++ - skipped
0.397 -- Detecting CXX compile features
0.397 -- Detecting CXX compile features - done
0.406 -- Eigen3 not found, adding with FetchContent
1.016 -- Performing Test EIGEN_COMPILER_SUPPORT_CPP11
1.073 -- Performing Test EIGEN_COMPILER_SUPPORT_CPP11 - Success
1.073 -- Performing Test COMPILER_SUPPORT_std=cpp03
1.129 -- Performing Test COMPILER_SUPPORT_std=cpp03 - Success
1.130 -- Performing Test standard_math_library_linked_to_automatically
1.208 -- Performing Test standard_math_library_linked_to_automatically - Success
1.208 -- Standard libraries to link to explicitly: none
1.208 -- Performing Test COMPILER_SUPPORT_WERROR
1.264 -- Performing Test COMPILER_SUPPORT_WERROR - Success
1.264 -- Performing Test COMPILER_SUPPORT_pedantic
1.319 -- Performing Test COMPILER_SUPPORT_pedantic - Success
1.320 -- Performing Test COMPILER_SUPPORT_Wall
1.374 -- Performing Test COMPILER_SUPPORT_Wall - Success
1.375 -- Performing Test COMPILER_SUPPORT_Wextra
1.430 -- Performing Test COMPILER_SUPPORT_Wextra - Success
1.430 -- Performing Test COMPILER_SUPPORT_Wundef
1.484 -- Performing Test COMPILER_SUPPORT_Wundef - Success
1.485 -- Performing Test COMPILER_SUPPORT_Wcastalign
1.541 -- Performing Test COMPILER_SUPPORT_Wcastalign - Success
1.542 -- Performing Test COMPILER_SUPPORT_Wcharsubscripts
1.598 -- Performing Test COMPILER_SUPPORT_Wcharsubscripts - Success
1.599 -- Performing Test COMPILER_SUPPORT_Wnonvirtualdtor
1.655 -- Performing Test COMPILER_SUPPORT_Wnonvirtualdtor - Success
1.656 -- Performing Test COMPILER_SUPPORT_Wunusedlocaltypedefs
1.712 -- Performing Test COMPILER_SUPPORT_Wunusedlocaltypedefs - Success
1.712 -- Performing Test COMPILER_SUPPORT_Wpointerarith
1.769 -- Performing Test COMPILER_SUPPORT_Wpointerarith - Success
1.770 -- Performing Test COMPILER_SUPPORT_Wwritestrings
1.826 -- Performing Test COMPILER_SUPPORT_Wwritestrings - Success
1.827 -- Performing Test COMPILER_SUPPORT_Wformatsecurity
1.884 -- Performing Test COMPILER_SUPPORT_Wformatsecurity - Success
1.885 -- Performing Test COMPILER_SUPPORT_Wshorten64to32
1.906 -- Performing Test COMPILER_SUPPORT_Wshorten64to32 - Failed
1.907 -- Performing Test COMPILER_SUPPORT_Wlogicalop
1.963 -- Performing Test COMPILER_SUPPORT_Wlogicalop - Success
1.964 -- Performing Test COMPILER_SUPPORT_Wenumconversion
1.983 -- Performing Test COMPILER_SUPPORT_Wenumconversion - Failed
1.984 -- Performing Test COMPILER_SUPPORT_Wcpp11extensions
2.005 -- Performing Test COMPILER_SUPPORT_Wcpp11extensions - Failed
2.006 -- Performing Test COMPILER_SUPPORT_Wdoublepromotion
2.061 -- Performing Test COMPILER_SUPPORT_Wdoublepromotion - Success
2.061 -- Performing Test COMPILER_SUPPORT_Wshadow
2.116 -- Performing Test COMPILER_SUPPORT_Wshadow - Success
2.117 -- Performing Test COMPILER_SUPPORT_Wnopsabi
2.172 -- Performing Test COMPILER_SUPPORT_Wnopsabi - Success
2.172 -- Performing Test COMPILER_SUPPORT_Wnovariadicmacros
2.227 -- Performing Test COMPILER_SUPPORT_Wnovariadicmacros - Success
2.227 -- Performing Test COMPILER_SUPPORT_Wnolonglong
2.285 -- Performing Test COMPILER_SUPPORT_Wnolonglong - Success
2.285 -- Performing Test COMPILER_SUPPORT_fnochecknew
2.341 -- Performing Test COMPILER_SUPPORT_fnochecknew - Success
2.342 -- Performing Test COMPILER_SUPPORT_fnocommon
2.398 -- Performing Test COMPILER_SUPPORT_fnocommon - Success
2.398 -- Performing Test COMPILER_SUPPORT_fstrictaliasing
2.454 -- Performing Test COMPILER_SUPPORT_fstrictaliasing - Success
2.455 -- Performing Test COMPILER_SUPPORT_wd981
2.474 -- Performing Test COMPILER_SUPPORT_wd981 - Failed
2.474 -- Performing Test COMPILER_SUPPORT_wd2304
2.493 -- Performing Test COMPILER_SUPPORT_wd2304 - Failed
2.494 -- Performing Test COMPILER_SUPPORT_STRICTANSI
2.514 -- Performing Test COMPILER_SUPPORT_STRICTANSI - Failed
2.514 -- Performing Test COMPILER_SUPPORT_Qunusedarguments
2.535 -- Performing Test COMPILER_SUPPORT_Qunusedarguments - Failed
2.536 -- Performing Test COMPILER_SUPPORT_ansi
2.591 -- Performing Test COMPILER_SUPPORT_ansi - Success
2.591 -- Performing Test COMPILER_SUPPORT_OPENMP
2.648 -- Performing Test COMPILER_SUPPORT_OPENMP - Success
2.649 -- Looking for a Fortran compiler
2.673 -- Looking for a Fortran compiler - NOTFOUND
2.678 -- Found unsuitable Qt version "" from NOTFOUND
2.678 -- Qt4 not found, so disabling the mandelbrot and opengl demos
2.683 -- Could NOT find CHOLMOD (missing: CHOLMOD_INCLUDES CHOLMOD_LIBRARIES)
2.684 -- Could NOT find UMFPACK (missing: UMFPACK_INCLUDES UMFPACK_LIBRARIES)
2.685 -- Could NOT find KLU (missing: KLU_INCLUDES KLU_LIBRARIES)
2.687 -- Could NOT find SuperLU (missing: SUPERLU_INCLUDES SUPERLU_LIBRARIES SUPERLU_VERSION_OK) (Required is at least version "4.0")
2.837 -- A version of Pastix has been found but pastix_nompi.h does not exist in the include directory. Because Eigen tests require a version without MPI, we disable the Pastix backend.
2.837 --
2.837 -- Configured Eigen 3.4.0
2.837 --
2.837 -- Available targets (use: make TARGET):
2.837 -- ---------+--------------------------------------------------------------
2.837 -- Target   |   Description
2.837 -- ---------+--------------------------------------------------------------
2.837 -- install  | Install Eigen. Headers will be installed to:
2.837 --          |     <CMAKE_INSTALL_PREFIX>/<INCLUDE_INSTALL_DIR>
2.837 --          |   Using the following values:
2.837 --          |     CMAKE_INSTALL_PREFIX: /usr/local
2.837 --          |     INCLUDE_INSTALL_DIR:  include/eigen3
2.837 --          |   Change the install location of Eigen headers using:
2.837 --          |     cmake . -DCMAKE_INSTALL_PREFIX=yourprefix
2.837 --          |   Or:
2.837 --          |     cmake . -DINCLUDE_INSTALL_DIR=yourdir
2.837 -- doc      | Generate the API documentation, requires Doxygen & LaTeX
2.837 -- blas     | Build BLAS library (not the same thing as Eigen)
2.837 -- uninstall| Remove files installed by the install target
2.837 -- ---------+--------------------------------------------------------------
2.837 --
2.840 -- Catch2 not found, adding with FetchContent
3.559 -- Performing Test HAVE_FLAG__ffile_prefix_map__opt_symforce_build__deps_catch2_src__
3.616 -- Performing Test HAVE_FLAG__ffile_prefix_map__opt_symforce_build__deps_catch2_src__ - Success
3.803 -- fmt not found, adding with FetchContent
4.389 -- Module support is disabled.
4.389 -- Version: 8.0.1
4.389 -- Build type:
4.389 -- CXX_STANDARD: 14
4.390 -- Performing Test has_std_14_flag
4.446 -- Performing Test has_std_14_flag - Success
4.447 -- Performing Test has_std_1y_flag
4.502 -- Performing Test has_std_1y_flag - Success
4.502 -- Performing Test SUPPORTS_USER_DEFINED_LITERALS
4.558 -- Performing Test SUPPORTS_USER_DEFINED_LITERALS - Success
4.558 -- Performing Test FMT_HAS_VARIANT
4.648 -- Performing Test FMT_HAS_VARIANT - Success
4.648 -- Required features: cxx_variadic_templates
4.649 -- Looking for strtod_l
4.677 -- Looking for strtod_l - not found
4.681 -- spdlog not found, adding with FetchContent
5.242 -- Build spdlog: 1.9.2
5.244 -- Found Threads: TRUE
5.244 -- Build type: Release
5.245 -- Generating install
5.254 -- tl::optional not found, adding with FetchContent
6.468 CMake Deprecation Warning at build/_deps/metis-src/CMakeLists.txt:1 (cmake_minimum_required):
6.468   Compatibility with CMake < 3.5 will be removed from a future version of
6.468   CMake.
6.468
6.468   Update the VERSION argument <min> value or use a ...<max> suffix to tell
6.468   CMake that the project does not need compatibility with older versions.
6.468
6.468
6.468 -- Looking for execinfo.h
6.519 -- Looking for execinfo.h - found
6.519 -- Looking for getline
6.568 -- Looking for getline - found
6.617 -- checking for thread-local storage - found
6.626 -- pybind11 not found, adding with FetchContent
7.236 CMake Deprecation Warning at build/_deps/pybind11-src/CMakeLists.txt:8 (cmake_minimum_required):
7.236   Compatibility with CMake < 3.5 will be removed from a future version of
7.236   CMake.
7.236
7.236   Update the VERSION argument <min> value or use a ...<max> suffix to tell
7.236   CMake that the project does not need compatibility with older versions.
7.236
7.236
7.239 -- pybind11 v2.9.2
7.240 CMake Warning (dev) at build/_deps/pybind11-src/tools/FindPythonLibsNew.cmake:98 (find_package):
7.240   Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
7.240   are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
7.240   the cmake_policy command to set the policy and suppress this warning.
7.240
7.240 Call Stack (most recent call first):
7.240   build/_deps/pybind11-src/tools/pybind11Tools.cmake:50 (find_package)
7.240   build/_deps/pybind11-src/tools/pybind11Common.cmake:206 (include)
7.240   build/_deps/pybind11-src/CMakeLists.txt:200 (include)
7.240 This warning is for project developers.  Use -Wno-dev to suppress it.
7.240
7.250 -- Found PythonInterp: /usr/bin/python3 (found version "3.8.10")
7.265 -- Found PythonLibs: /usr/lib/aarch64-linux-gnu/libpython3.8.so
7.266 -- Performing Test HAS_FLTO
7.355 -- Performing Test HAS_FLTO - Success
7.408 -- Configuring done (7.3s)
7.547 -- Generating done (0.1s)
7.556 -- Build files have been written to: /opt/symforce/build
7.603 [  0%] Built target skymarshal_core
7.603 [  0%] Generating lcmtypes/python2.7/lcmtypes/sym/_key_t.py, lcmtypes/python2.7/lcmtypes/sym/__init__.py, lcmtypes/python2.7/lcmtypes/sym/_index_entry_t.py, lcmtypes/python2.7/lcmtypes/sym/_index_t.py, lcmtypes/python2.7/lcmtypes/sym/_values_t.py, lcmtypes/python2.7/lcmtypes/sym/_valuesf_t.py, lcmtypes/python2.7/lcmtypes/sym/_linearized_dense_factor_t.py, lcmtypes/python2.7/lcmtypes/sym/_linearized_dense_factorf_t.py, lcmtypes/python2.7/lcmtypes/sym/_linearization_dense_key_helper_t.py, lcmtypes/python2.7/lcmtypes/sym/_linearization_dense_factor_helper_t.py, lcmtypes/python2.7/lcmtypes/sym/_linearization_offsets_t.py, lcmtypes/python2.7/lcmtypes/sym/_linearization_sparse_factor_helper_t.py, lcmtypes/python2.7/lcmtypes/sym/_optimizer_params_t.py, lcmtypes/python2.7/lcmtypes/sym/_optimizer_gnc_params_t.py, lcmtypes/python2.7/lcmtypes/sym/_optimization_iteration_t.py, lcmtypes/python2.7/lcmtypes/sym/_sparse_matrix_structure_t.py, lcmtypes/python2.7/lcmtypes/sym/_optimization_status_t.py, lcmtypes/python2.7/lcmtypes/sym/_levenberg_marquardt_solver_failure_reason_t.py, lcmtypes/python2.7/lcmtypes/sym/_optimization_stats_t.py, lcmtypes/python2.7/lcmtypes/sym/_type_t.py, lcmtypes/cpp/lcmtypes/sym/key_t.hpp, lcmtypes/cpp/lcmtypes/sym/index_entry_t.hpp, lcmtypes/cpp/lcmtypes/sym/index_t.hpp, lcmtypes/cpp/lcmtypes/sym/values_t.hpp, lcmtypes/cpp/lcmtypes/sym/valuesf_t.hpp, lcmtypes/cpp/lcmtypes/sym/linearized_dense_factor_t.hpp, lcmtypes/cpp/lcmtypes/sym/linearized_dense_factorf_t.hpp, lcmtypes/cpp/lcmtypes/sym/linearization_dense_key_helper_t.hpp, lcmtypes/cpp/lcmtypes/sym/linearization_dense_factor_helper_t.hpp, lcmtypes/cpp/lcmtypes/sym/linearization_offsets_t.hpp, lcmtypes/cpp/lcmtypes/sym/linearization_sparse_factor_helper_t.hpp, lcmtypes/cpp/lcmtypes/sym/optimizer_params_t.hpp, lcmtypes/cpp/lcmtypes/sym/optimizer_gnc_params_t.hpp, lcmtypes/cpp/lcmtypes/sym/optimization_iteration_t.hpp, lcmtypes/cpp/lcmtypes/sym/sparse_matrix_structure_t.hpp, lcmtypes/cpp/lcmtypes/sym/optimization_status_t.hpp, lcmtypes/cpp/lcmtypes/sym/levenberg_marquardt_solver_failure_reason_t.hpp, lcmtypes/cpp/lcmtypes/sym/optimization_stats_t.hpp, lcmtypes/cpp/lcmtypes/sym/type_t.hpp
7.604 [  1%] Generating lcmtypes/python2.7/lcmtypes/eigen_lcm/_Matrix43f.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/__init__.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Matrix2i.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Matrix3i.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Matrix4i.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_MatrixXi.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Matrix2d.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Matrix3d.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Matrix4d.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_MatrixXd.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Matrix2f.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Matrix3f.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Matrix4f.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_MatrixXf.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Vector2i.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Vector3i.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Vector4i.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_VectorXi.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Vector1i.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Vector5i.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Vector6i.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Vector7i.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Vector8i.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Vector2d.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Vector3d.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Vector4d.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_VectorXd.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Vector1d.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Vector5d.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Vector6d.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Vector7d.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Vector8d.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Vector2f.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Vector3f.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Vector4f.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_VectorXf.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Vector1f.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Vector5f.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Vector6f.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Vector7f.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Vector8f.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_SymmetricMatrix2d.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_SymmetricMatrix3d.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_SymmetricMatrix4d.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_SymmetricMatrixXd.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_SymmetricMatrix2f.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_SymmetricMatrix3f.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_SymmetricMatrix4f.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_SymmetricMatrixXf.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Quaterniond.py, lcmtypes/python2.7/lcmtypes/eigen_lcm/_Quaternionf.py
7.606 [  1%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/__/GKlib/b64.c.o
7.607 [  1%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/__/GKlib/blas.c.o
7.608 [  1%] Building CXX object _deps/fmtlib-build/CMakeFiles/fmt.dir/src/format.cc.o
7.610 [  1%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_automake.cpp.o
7.648 Removing: /opt/symforce/build/symenginepy-prefix/src/symenginepy-stamp/symenginepy-update-info.txt
7.648 Removing: /opt/symforce/build/symenginepy-prefix/src/symenginepy-stamp/symenginepy-patch-info.txt
7.679 [  1%] Built target symenginepy_check_git_clean
7.713 Removing: /opt/symforce/build/symengine-prefix/src/symengine-stamp/symengine-update-info.txt
7.713 Removing: /opt/symforce/build/symengine-prefix/src/symengine-stamp/symengine-patch-info.txt
7.721 [  1%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_common_base.cpp.o
7.743 [  1%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/__/GKlib/csr.c.o
7.743 [  1%] Built target symengine_check_git_clean
7.749 [  1%] Building CXX object _deps/fmtlib-build/CMakeFiles/fmt.dir/src/os.cc.o
7.784 /opt/symforce/build/_deps/metis-src/GKlib/csr.c: In function 'gk_csr_Normalize':
7.784 /opt/symforce/build/_deps/metis-src/GKlib/csr.c:1344:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
7.784  1344 |    else if (norm == 1)
7.784       |         ^~
7.784 /opt/symforce/build/_deps/metis-src/GKlib/csr.c:1346:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
7.784  1346 |           for (j=ptr[i]; j<ptr[i+1]; j++)
7.784       |           ^~~
7.785 /opt/symforce/build/_deps/metis-src/GKlib/csr.c:1371:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
7.785  1371 |    else if (norm == 1)
7.785       |         ^~
7.785 /opt/symforce/build/_deps/metis-src/GKlib/csr.c:1373:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
7.785  1373 |           for (j=ptr[i]; j<ptr[i+1]; j++)
7.785       |           ^~~
7.786 Generated 52 files
7.801 Generated 40 files
7.899 [  1%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_compact.cpp.o
7.973 [  1%] Built target symforce_lcmtypes_cpp
7.982 make[2]: *** No rule to make target 'symengine-prefix/src/symengine-stamp/symengine-update-info.txt', needed by 'symengine-prefix/src/symengine-stamp/symengine-update'.  Stop.
7.982 make[2]: *** Waiting for unfinished jobs....
7.986 [  1%] Creating directories for 'symengine'
7.995 make[1]: *** [CMakeFiles/Makefile2:762: CMakeFiles/symengine.dir/all] Error 2
7.996 make[1]: *** Waiting for unfinished jobs....
8.000 [  1%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_console.cpp.o
8.003 [  1%] Built target eigen_lcm_py
8.008 [  2%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_cumulative_base.cpp.o
8.023 [  2%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_event_listener.cpp.o
8.059 [  3%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/__/GKlib/error.c.o
8.086 [  3%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/__/GKlib/evaluate.c.o
8.124 [  3%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/__/GKlib/fkvkselect.c.o
8.156 [  3%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/__/GKlib/fs.c.o
8.191 [  4%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/__/GKlib/getopt.c.o
8.219 [  4%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_helpers.cpp.o
8.220 /opt/symforce/build/_deps/metis-src/GKlib/getopt.c: In function 'gk_getopt_internal':
8.220 /opt/symforce/build/_deps/metis-src/GKlib/getopt.c:343:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
8.220   343 |     if (gk_optind == 0)
8.220       |     ^~
8.220 /opt/symforce/build/_deps/metis-src/GKlib/getopt.c:345:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
8.220   345 |       optstring = gk_getopt_initialize (argc, argv, optstring);
8.220       |       ^~~~~~~~~
8.221 /opt/symforce/build/_deps/metis-src/GKlib/getopt.c:700:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
8.221   700 |  else
8.221       |  ^~~~
8.221 /opt/symforce/build/_deps/metis-src/GKlib/getopt.c:703:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
8.221   703 |    nextchar = NULL;
8.221       |    ^~~~~~~~
8.224 [  4%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/__/GKlib/gkregex.c.o
8.230 [  4%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/__/GKlib/graph.c.o
8.259 [  4%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/__/GKlib/htable.c.o
8.312 [  4%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/__/GKlib/io.c.o
8.345 [  5%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/__/GKlib/itemsets.c.o
8.383 [  5%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_junit.cpp.o
8.395 [  5%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/__/GKlib/mcore.c.o
8.413 [  5%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/__/GKlib/memory.c.o
8.446 [  5%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/__/GKlib/omp.c.o
8.475 [  7%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/__/GKlib/pdb.c.o
8.480 [  7%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/__/GKlib/pqueue.c.o
8.586 [  7%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/__/GKlib/random.c.o
8.650 [  7%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_multi.cpp.o
8.662 [  8%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_registrars.cpp.o
8.705 [  8%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/__/GKlib/rw.c.o
8.714 [  8%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/__/GKlib/seq.c.o
8.723 [  9%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/__/GKlib/sort.c.o
8.768 [  9%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/__/GKlib/string.c.o
8.774 [  9%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_sonarqube.cpp.o
8.834 [  9%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_streaming_base.cpp.o
8.840 [  9%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_tap.cpp.o
8.860 [  9%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/__/GKlib/timers.c.o
8.887 [ 10%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_teamcity.cpp.o
8.902 [ 10%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/__/GKlib/tokenizer.c.o
8.941 [ 10%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_xml.cpp.o
8.951 [ 10%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/__/GKlib/util.c.o
9.009 [ 11%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/auxapi.c.o
9.051 [ 11%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/balance.c.o
9.059 [ 11%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/catch_approx.cpp.o
9.183 [ 11%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/bucketsort.c.o
9.201 [ 11%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_assertion_handler.cpp.o
9.232 [ 11%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/checkgraph.c.o
9.232 [ 13%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/coarsen.c.o
9.241 [ 13%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/catch_assertion_result.cpp.o
9.250 [ 14%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_clara.cpp.o
9.272 [ 14%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_commandline.cpp.o
9.317 [ 14%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/compress.c.o
9.402 [ 14%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/contig.c.o
9.443 [ 14%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_source_line_info.cpp.o
9.443 [ 14%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/catch_config.cpp.o
9.489 [ 15%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_case_insensitive_comparisons.cpp.o
9.507 [ 15%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/debug.c.o
9.593 [ 15%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_console_colour.cpp.o
9.605 [ 15%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/fm.c.o
9.611 [ 16%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/fortran.c.o
9.631 [ 16%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_context.cpp.o
9.666 [ 16%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_debug_console.cpp.o
9.697 [ 16%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/frename.c.o
9.754 [ 16%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/gklib.c.o
9.786 [ 16%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/graph.c.o
9.807 [ 16%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_debugger.cpp.o
9.827 [ 17%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_enforce.cpp.o
9.862 [ 17%] Linking CXX static library libfmt.a
9.868 [ 19%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/initpart.c.o
9.881 [ 19%] Built target fmt
9.885 [ 19%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/kmetis.c.o
9.950 [ 19%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/kwayfm.c.o
9.970 [ 19%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_enum_values_registry.cpp.o
9.986 [ 19%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_exception_translator_registry.cpp.o
9.994 [ 19%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/kwayrefine.c.o
10.09 [ 19%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_fatal_condition_handler.cpp.o
10.16 [ 19%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/mcutil.c.o
10.17 [ 20%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/mesh.c.o
10.18 [ 21%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_floating_point_helpers.cpp.o
10.19 [ 21%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_istream.cpp.o
10.25 [ 21%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/meshpart.c.o
10.25 [ 21%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_generatortracker.cpp.o
10.29 [ 21%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/minconn.c.o
10.30 [ 21%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_reporter.cpp.o
10.34 [ 21%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/mincover.c.o
10.37 [ 21%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_list.cpp.o
10.43 [ 22%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/mmd.c.o
10.47 [ 23%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_floating_point.cpp.o
10.51 [ 23%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/ometis.c.o
10.55 [ 23%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/options.c.o
10.56 [ 23%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/parmetis.c.o
10.67 [ 23%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/pmetis.c.o
10.67 [ 23%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_quantifiers.cpp.o
10.70 [ 23%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_string.cpp.o
10.70 [ 25%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/refine.c.o
10.76 [ 25%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/separator.c.o
10.77 [ 25%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/sfm.c.o
10.79 [ 25%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/srefine.c.o
10.81 [ 25%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_templated.cpp.o
10.82 [ 25%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/stat.c.o
10.85 [ 25%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/catch_message.cpp.o
10.85 [ 26%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/timing.c.o
10.90 [ 26%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/util.c.o
10.91 [ 27%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_output_redirect.cpp.o
10.92 [ 27%] Building C object _deps/metis-build/libmetis/CMakeFiles/metis.dir/wspace.c.o
10.95 [ 27%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/catch_registry_hub.cpp.o
10.97 [ 27%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_random_number_generator.cpp.o
10.98 [ 27%] Linking C static library libmetis.a
11.01 [ 27%] Built target metis
11.02 [ 27%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_random_seed_generation.cpp.o
11.02 [ 28%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_reporter_registry.cpp.o
11.04 [ 28%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_reporter_spec_parser.cpp.o
11.07 [ 28%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_result_type.cpp.o
11.10 [ 28%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_run_context.cpp.o
11.17 [ 28%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_section.cpp.o
11.23 [ 29%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_stdstreams.cpp.o
11.37 [ 29%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/catch_session.cpp.o
11.38 [ 29%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_singletons.cpp.o
11.40 [ 29%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_reusable_string_stream.cpp.o
11.44 [ 30%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_stringref.cpp.o
11.46 [ 30%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_string_manip.cpp.o
11.47 [ 30%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_tag_alias_registry.cpp.o
11.50 [ 30%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/catch_test_case_info.cpp.o
11.61 [ 30%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_case_registry_impl.cpp.o
11.66 [ 32%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_case_tracker.cpp.o
11.71 [ 32%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_registry.cpp.o
11.75 [ 32%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_textflow.cpp.o
11.76 [ 32%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/catch_test_spec.cpp.o
11.83 [ 33%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_spec_parser.cpp.o
11.93 [ 33%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/catch_timer.cpp.o
11.98 [ 33%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/catch_tostring.cpp.o
12.02 [ 33%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/catch_totals.cpp.o
12.05 [ 33%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/catch_version.cpp.o
12.06 [ 34%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_wildcard_pattern.cpp.o
12.09 [ 34%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_xmlwriter.cpp.o
12.19 [ 34%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_case_info_hasher.cpp.o
12.23 [ 34%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/generators/catch_generators_random.cpp.o
12.25 [ 34%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/generators/catch_generator_exception.cpp.o
12.28 [ 35%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/generators/catch_generators.cpp.o
12.29 [ 35%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers.cpp.o
12.33 [ 35%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_container_properties.cpp.o
12.37 [ 35%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_exception.cpp.o
12.46 [ 36%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_predicate.cpp.o
12.48 [ 36%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/matchers/internal/catch_matchers_impl.cpp.o
12.49 [ 36%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/catch_tag_alias_autoregistrar.cpp.o
12.51 [ 36%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/catch_get_random_seed.cpp.o
12.51 [ 36%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_decomposer.cpp.o
12.57 [ 38%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_errno_guard.cpp.o
12.60 [ 38%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_lazy_expr.cpp.o
12.62 [ 38%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_leak_detector.cpp.o
12.64 [ 38%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_message_info.cpp.o
12.65 [ 39%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_polyfills.cpp.o
12.67 [ 39%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_startup_exception_registry.cpp.o
12.68 [ 39%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/internal/catch_uncaught_exceptions.cpp.o
12.70 [ 39%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_capture.cpp.o
12.71 [ 39%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_config.cpp.o
12.72 [ 40%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_exception.cpp.o
12.73 [ 40%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_registry_hub.cpp.o
12.75 [ 40%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_reporter_factory.cpp.o
12.78 [ 40%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_reporter_registry.cpp.o
12.78 [ 41%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_testcase.cpp.o
12.83 [ 41%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/benchmark/catch_chronometer.cpp.o
12.84 [ 41%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/benchmark/detail/catch_benchmark_function.cpp.o
12.85 [ 41%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/benchmark/detail/catch_run_for_at_least.cpp.o
12.85 [ 41%] Building CXX object _deps/catch2-build/src/CMakeFiles/Catch2.dir/catch2/benchmark/detail/catch_stats.cpp.o
13.23 [ 42%] Linking CXX static library libCatch2.a
13.27 [ 42%] Built target Catch2
13.27 make: *** [Makefile:166: all] Error 2

Environment (please complete the following information):

aaron-skydio commented 1 year ago

We saw similar errors with cmake 3.27, we've now pinned cmake<3.27 in our setup.py: https://github.com/symforce-org/symforce/commit/691c8f5f0b5e14c50d7de624b567581e88284b89

So that's the first thing to check - if that's the issue and you have a fix for cmake 3.27 that would be great, or we can use this issue to track

arbor-arthur commented 1 year ago

Yeah python3 -m pip install 'cmake==3.26' solved the problem for me! (I also didn't realize I could install cmake with pip).

The docker image above is using the latest main, so I guess the cmake<3.27 in setup.py isn't really being enforced or checked at all during a cmake build.

aaron-skydio commented 1 year ago

The docker image above is using the latest main, so I guess the cmake<3.27 in setup.py isn't really being enforced or checked at all during a cmake build.

Ah, good point, we should absolutely check, we'll add that

aaron-skydio commented 1 year ago

Fixed by 9eca6dd