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

CMake warnings in edge build #151

Open
luzpaz opened this issue Jan 8, 2025 · 5 comments
Open

CMake warnings in edge build #151

luzpaz opened this issue Jan 8, 2025 · 5 comments

Comments

@luzpaz
Copy link
Collaborator

luzpaz commented Jan 8, 2025

There are so many CMake warnings in the output they are too numerous to put here. Here are the first two:

:: -- Found OpenGLU: /usr/lib/x86_64-linux-gnu/libGLU.so
:: CMake Warning (dev) at cMake/FreeCAD_Helpers/SetupBoost.cmake:7 (find_package):
:: Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake
:: --help-policy CMP0167" for policy details. Use the cmake_policy command to
:: set the policy and suppress this warning.
::
:: Call Stack (most recent call first):
:: CMakeLists.txt:72 (SetupBoost)
:: This warning is for project developers. Use -Wno-dev to suppress it.

ref: https://github.com/FreeCAD/FreeCAD-snap/actions/runs/12661843089/job/35285745525#step:4:1173


:: -- Did not find VTK 9, trying for an older version
:: -- 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.

ref: https://github.com/FreeCAD/FreeCAD-snap/actions/runs/12661843089/job/35285745525#step:4:1184

@luzpaz luzpaz changed the title CMakre warning in edge build CMake warnings in edge build Jan 8, 2025
@furgo16
Copy link
Contributor

furgo16 commented Jan 9, 2025

:: -- Did not find VTK 9, trying for an older version

I guess at least the first line of that warning could be fixed by upgrading the snap's Vtk from 7.1.1 to 9.1.0. The Debian package in the daily PPA has already 9.1.0, so I guess it can be considered as tested.

In any case, it would be great to have a concerted effort to harmonize the versions of different libraries in all packages/platforms, as it would potentially reduce the number of bugs related to specific library versions.

Library Version Platform Package Channel
Python 3.10.12 Linux .deb daily PPA
Python 3.10.12 Linux .snap edge
Qt 5.15.3 Linux .deb daily PPA
Qt 5.15.10 Linux .snap edge
Coin 4.0.0 Linux .deb daily PPA
Coin 4.0.0 Linux .snap edge
Vtk 9.1.0 Linux .deb daily PPA
Vtk 7.1.1 Linux .snap edge
OCCT 7.8.1 Linux .deb daily PPA
OCCT 7.7.1 Linux .snap edge

@luzpaz
Copy link
Collaborator Author

luzpaz commented Jan 9, 2025

Great list. This reminds me of an idea to create some sort of script that queries all current dev builds and outputs all their dependencies in a way that it's easy to distinguish/compare versions.

@luzpaz
Copy link
Collaborator Author

luzpaz commented Jan 10, 2025

Hey @adrianinsaval @oursland @ipatch
Is there a way we can create the logic and a page somewhere that keeps track of the 3rd party dependency versions of all the development builds (by polling them somehow) ?

We could output it to a graph similar to #151 (comment)

@ipatch
Copy link

ipatch commented Jan 10, 2025

Is there a way we can create the logic and a page somewhere that keeps track of the 3rd party dependency versions of all the development builds (by polling them somehow) ?

not saying it couldn't be done, but that would require a bit of effort to try and automate that process. 😬

@luzpaz
Copy link
Collaborator Author

luzpaz commented Jan 13, 2025

Prompt: an open source project generates multiple cross-platform development builds on a weekly/daily basis. What would be an automated way to retrieve a list of the 3rd party dependencies used during each build process and capture them in a markdown table that compares the dependency across all builds?

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

3 participants