At some point after 0.18.4, freecad stopped working with the i3 window manager - the symptom is that the top toolbar fails to appear. I wanted to do a bisection on the repository to identify the commit that broke it so I could file an actionable bug report.
I cloned the FreeCAD repository, did "apt-get build-dep freecad". and followed the directions for an out-of-directory build at https://wiki.freecadweb.org/Compile_on_Linux
Code: Select all
esr@snark:~/software/freecad-build$ cmake -DBUILD_QT5=ON -DPYTHON_EXECUTABLE=/usr/bin/python3 -DFREECAD_USE_PYBIND11=ON ../freecad-source
-- Compiler: GNU, version: 10.3.0
-- prefix: /usr/local
-- bindir: bin
-- datadir: share
-- docdir: share/doc/FreeCAD
-- includedir: include
-- libdir: lib
-- cmake: 3.16.3
-- PyCXX found:
-- Headers: /home/esr/software/freecad-source/src
-- Sources: /home/esr/software/freecad-source/src/CXX
-- Version: 6.2.8
-- -- Found OCE/OpenCASCADE version: 7.5.2
-- -- OCE/OpenCASCADE include directory: /usr/include/opencascade
-- -- OCE/OpenCASCADE shared libraries directory: /usr/lib/x86_64-linux-gnu
-- The imported target "vtkParseOGLExt" references the file
"/usr/bin/vtkParseOGLExt-7.1"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib/cmake/vtk-7.1/VTKTargets.cmake"
but not all the files it references.
-- The imported target "vtkRenderingPythonTkWidgets" references the file
"/usr/lib/x86_64-linux-gnu/libvtkRenderingPythonTkWidgets.so"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib/cmake/vtk-7.1/VTKTargets.cmake"
but not all the files it references.
-- The imported target "vtk" references the file
"/usr/bin/vtk"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib/cmake/vtk-7.1/VTKTargets.cmake"
but not all the files it references.
-- The imported target "pvtk" references the file
"/usr/bin/pvtk"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib/cmake/vtk-7.1/VTKTargets.cmake"
but not all the files it references.
-- VTK components: vtkCommonCore;vtkCommonDataModel;vtkFiltersVerdict;vtkIOXML;vtkFiltersCore;vtkFiltersGeneral;vtkIOLegacy;vtkFiltersExtraction;vtkFiltersSources;vtkFiltersGeometry;vtkIOMPIParallel;vtkParallelMPI;vtkhdf5;vtkFiltersParallelDIY2;vtkRenderingCore;vtkInteractionStyle;vtkRenderingFreeType;vtkRenderingOpenGL2
-- Check for medfile (libmed and libmedc) ...
-- We guess that libmed was built using hdf5-openmpi version
-- Performing Test _flag_found
-- Performing Test _flag_found - Success
CMake Error at cMake/FreeCAD_Helpers/SetupQt.cmake:12 (find_package):
By not providing "FindQt5XmlPatterns.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"Qt5XmlPatterns", but CMake did not find one.
Could not find a package configuration file provided by "Qt5XmlPatterns"
with any of the following names:
Qt5XmlPatternsConfig.cmake
qt5xmlpatterns-config.cmake
Add the installation prefix of "Qt5XmlPatterns" to CMAKE_PREFIX_PATH or set
"Qt5XmlPatterns_DIR" to a directory containing one of the above files. If
"Qt5XmlPatterns" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
CMakeLists.txt:69 (include)
-- Configuring incomplete, errors occurred!
See also "/home/esr/software/freecad-build/CMakeFiles/CMakeOutput.log".
See also "/home/esr/software/freecad-build/CMakeFiles/CMakeError.log".
esr@snark:~/software/freecad-build$
I will turn what I learn here into Pop!_OS build notes for the documentation wiki.