Open3D 0.19.0 "make install" causes relink
envgap__isl-org__Open3D-7152
01 / FAILURE SIGNATURE
As reported upstream
### Error message
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
71798783b1c052293b7778c75126cf2d82f0959f- Manifest
CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
isl-org/Open3D #7152 · read the original issue
### Checklist - [x] I have searched for [similar issues](https://github.com/isl-org/Open3D/issues). - [x] For Python issues, I have tested with the [latest development wheel](https://www.open3d.org/docs/latest/getting_started.html#development-version-pip). - [x] I have checked the [release documentation](https://www.open3d.org/docs/release/) and the [latest documentation](https://www.open3d.org/docs/latest/) (for `main` branch). ### Describe the issue Open3D 0.19.0 "make install" causes relink, which slows down the build. (Also, adding a automatic step to CMakeLists to execute "make python-package" never finishes) 0.18.0 does not have this issue: ``` docker run -it --rm --entrypoint=bash debian:bookworm apt update && apt install -y git g++ make cmake python3-dev libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libfilament-dev libassimp-dev libfmt-dev libglew-dev libglfw3-dev libjpeg-dev liblzf-dev git clone https://github.com/isl-org/Open3D cd Open3D git checkout v0.18.0 mkdir build cd build cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_PYTHON_MODULE=ON -DBUILD_SHARED_LIBS=ON -DBUILD_GUI=OFF -DBUILD_EXAMPLES=OFF -DCMAKE_CXX_STANDARD=17 -DGLIBCXX_USE_CXX11_ABI=ON -DUSE_SYSTEM_ASSIMP=ON -DUSE_SYSTEM_FMT=ON -DUSE_SYSTEM_GLEW=ON -DUSE_SYSTEM_GLFW=ON -DUSE_SYSTEM_JPEG=ON -DUSE_SYSTEM_LIBLZF=ON make -j8 make install ``` ``` root@5c9471d0ed18:/Open3D/build# make install [ 1%] Built target ext_eigen [ 2%] Built target ext_nanoflann [ 3%] Built target ext_jsoncpp [ 4%] Built target ext_boringssl [ 5%] Built target ext_curl [ 6%] Built target ext_zlib [ 7%] Built target ext_libpng [ 9%] Built target 3rdparty_rply [ 9%] Built target 3rdparty_tinyfiledialogs [ 10%] Built target ext_tinygltf [ 11%] Built target ext_tinyobjloader [ 12%] Built target ext_qhull [ 14%] Built target 3rdparty_qhull_r [ 17%] Built target 3rdparty_qhullcpp [ 18%] Built target ext_poisson [ 19%] Built target ext_zeromq [ 20%] Built target ext_cppzmq [ 21%] Built target ext_msgpack-c [ 22%] Built target ext_vtk [ 23%] Built target ext_directxheaders [ 25%] Built target ext_directxmath [ 27%] Built target ext_uvatlas [ 28%] Built target ext_tbb [ 29%] Built target ext_parallelstl [ 30%] Built target ext_mkl_include [ 31%] Built target ext_mkl [ 34%] Built target ext_ippicv [ 35%] Built target ext_embree [ 35%] Built target ShaderLinker [ 35%] Built target ShaderEncoder [ 38%] Built target shader [ 44%] Built target visualization [ 44%] Built target camera [ 54%] Built target core [ 61%] Built target data [ 65%] Built target geometry [ 71%] Built target io [ 72%] Built target ml_contrib [ 75%] Built target pipelines [ 77%] Built target tgeometry [ 78%] Built target tgeometry_kernel [ 80%] Built target tio [ 81%] Built target tpipelines [ 84%] Built target tpipelines_kernel [ 86%] Built target utility [ 86%] Built target Open3D [ 86%] Built target ConvertPointCloud [ 86%] Built target GLInfo [ 86%] Built target ManuallyCropGeometry [ 86%] Built target MergeMesh [ 86%] Built target ViewGeometry [ 87%] Built target ManuallyAlignPointCloud [ 87%] Built target OfflineReconstruction [100%] Built target pybind Install the project... -- Install configuration: "Release" ``` ### Steps to reproduce the bug ```python (due to glfw difference, bookworm cannot build 0.19.0) docker run -it --rm --entrypoint=bash debian:trixie apt update && apt install -y git g++ make cmake python3-dev libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libfilament-dev libassimp-dev libfmt-dev libglew-dev libglfw3-dev libjpeg-dev liblzf-dev git clone https://github.com/isl-org/Open3D cd Open3D git checkout v0.19.0 mkdir build cd build cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_PYTHON_MODULE=ON -DBUILD_SHARED_LIBS=ON -DBUILD_GUI=OFF -DBUILD_EXAMPLES=OFF -DCMAKE_CXX_STANDARD=17 -DGLIBCXX_USE_CXX11_ABI=ON -DUSE_SYSTEM_ASSIMP=ON -DUSE_SYSTEM_FMT=ON -DUSE_SYSTEM_GLEW=ON -DUSE_SYSTEM_GLFW=ON -DUSE_SYSTEM_JPEG=ON -DUSE_SYSTEM_LIBLZF=ON make -j8 ``` ### Error message ``` root@fbc9f97cb6ab:/Open3D/build# make install [ 1%] Built target ext_eigen [ 2%] Built target ext_nanoflann [ 4%] Built target ext_jsoncpp [ 5%] Built target ext_boringssl [ 6%] Built target ext_curl [ 7%] Built target ext_zlib [ 9%] Built target ext_libpng [ 10%] Built target 3rdparty_rply [ 10%] Built target 3rdparty_tinyfiledialogs [ 11%] Built target ext_tinygltf [ 12%] Built target ext_tinyobjloader [ 14%] Built target 3rdparty_qhull_r [ 17%] Built target 3rdparty_qhullcpp [ 18%] Built target ext_poisson [ 19%] Built target ext_zeromq [ 20%] Built target ext_cppzmq [ 21%] Built target ext_msgpack-c [ 22%] Built target ext_vtk [ 23%] Built target ext_directxheaders [ 25%] Built target ext_directxmath [ 26%] Built target ext_uvatlas [ 27%] Built target ext_mkl [ 27%] Performing update step for 'ext_ipp' [ 27%] No patch step for 'ext_ipp' [ 27%] No configure step for 'ext_ipp' [ 27%] No build step for 'ext_ipp' [ 27%] No install step for 'ext_ipp' [ 28%] Completed 'ext_ipp' [ 28%] Built target ext_ipp [ 29%] Built target ext_embree [ 34%] Built target tbb [ 34%] Built target ShaderLinker [ 34%] Built target ShaderEncoder [ 37%] Built target shader [ 39%] Built target visualization_impl [ 39%] Built target camera [ 46%] Built target core [ 50%] Built target core_impl [ 56%] Built target data [ 62%] Built target geometry [ 68%] Built target io [ 68%] Built target ml_contrib [ 71%] Built target pipelines [ 73%] Built target tgeometry [ 76%] Built target tgeometry_kernel [ 77%] Built target tio [ 78%] Built target tpipelines [ 80%] Built target tpipelines_kernel [ 82%] Built target utility [ 86%] Built target visualization [ 86%] Linking CXX shared library ../../lib/Release/libOpen3D.so [ 86%] Built target Open3D [ 86%] Linking CXX executable ../../bin/ConvertPointCloud [ 86%] Built target ConvertPointCloud [ 86%] Linking CXX executable ../../bin/GLInfo [ 86%] Built target GLInfo [ 86%] Linking CXX executable ../../bin/ManuallyCropGeometry [ 86%] Built target ManuallyCropGeometry [ 86%] Linking CXX executable ../../bin/MergeMesh [ 86%] Built target MergeMesh [ 86%] Linking CXX executable ../../bin/ViewGeometry [ 86%] Built target ViewGeometry [ 87%] Linking CXX executable ../../../bin/ManuallyAlignPointCloud [ 87%] Built target ManuallyAlignPointCloud [ 87%] Linking CXX executable ../../OfflineReconstruction/OfflineReconstruction [ 87%] Built target OfflineReconstruction [ 87%] Linking CXX shared module ../../lib/Release/Python/cpu/pybind.cpython-313-x86_64-linux-gnu.so [100%] Built target pybind Install the project... -- Install configuration: "Release" ``` ### Expected behavior These message should not be printed in "make install" ``` Linking CXX shared library ../../lib/Release/libOpen3D.so Linking CXX shared module ../../lib/Release/Python/cpu/pybind.cpython-313-x86_64-linux-gnu.so ``` ### Open3D, Python and System information ```markdown - Operating system: Debian 13 - Python version: Python 3.13 - Open3D version: 0.19.0 - System architecture: amd64 - How did you install Open3D?: build from source - Compiler version (if built from source): gcc 14 ``` ### Additional information _No response_
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]