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

Method to limit known cmake warnings in daily build less verbose ? #85

Open
luzpaz opened this issue May 31, 2023 · 6 comments
Open

Method to limit known cmake warnings in daily build less verbose ? #85

luzpaz opened this issue May 31, 2023 · 6 comments

Comments

@luzpaz
Copy link
Collaborator

luzpaz commented May 31, 2023

ref: https://github.com/FreeCAD/FreeCAD-snap/actions/runs/5127557766/jobs/9223324235#step:4:5125


=================================================
Now run 'cmake --build /home/runner/work/FreeCAD-snap/FreeCAD-snap/parts/freecad/build' to build FreeCAD
=================================================

CMake Warning at src/Base/CMakeLists.txt:381 (add_library):
  Cannot generate a safe runtime search path for target FreeCADBase because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/App/CMakeLists.txt:316 (add_library):
  Cannot generate a safe runtime search path for target FreeCADApp because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Main/CMakeLists.txt:48 (add_executable):
  Cannot generate a safe runtime search path for target FreeCADMain because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Main/CMakeLists.txt:77 (add_executable):
  Cannot generate a safe runtime search path for target FreeCADMainCmd
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Main/CMakeLists.txt:121 (add_library):
  Cannot generate a safe runtime search path for target FreeCADMainPy because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Main/CMakeLists.txt:146 (add_library):
  Cannot generate a safe runtime search path for target FreeCADGuiPy because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Mod/Draft/App/CMakeLists.txt:34 (add_library):
  Cannot generate a safe runtime search path for target DraftUtils because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Mod/Fem/App/CMakeLists.txt:199 (add_library):
  Cannot generate a safe runtime search path for target Fem because files in
  some directories may conflict with libraries in implicit directories:

    runtime library [libjpeg.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libpng16.so.16] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libtiff.so.5] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libm.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libfreetype.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libSM.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libICE.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libX11.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libXext.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libXt.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libgomp.so.1] in /usr/lib/gcc/x86_64-linux-gnu/9 may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Mod/Fem/Gui/CMakeLists.txt:365 (add_library):
  Cannot generate a safe runtime search path for target FemGui because files
  in some directories may conflict with libraries in implicit directories:

    runtime library [libjpeg.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libpng16.so.16] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libtiff.so.5] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libm.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libfreetype.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libSM.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libICE.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libX11.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libXext.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libXt.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libgomp.so.1] in /usr/lib/gcc/x86_64-linux-gnu/9 may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Mod/Import/App/CMakeLists.txt:77 (add_library):
  Cannot generate a safe runtime search path for target Import because files
  in some directories may conflict with libraries in implicit directories:

    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libfreetype.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Mod/Import/Gui/CMakeLists.txt:39 (add_library):
  Cannot generate a safe runtime search path for target ImportGui because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libfreetype.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Mod/Inspection/App/CMakeLists.txt:45 (add_library):
  Cannot generate a safe runtime search path for target Inspection because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Mod/Inspection/Gui/CMakeLists.txt:58 (add_library):
  Cannot generate a safe runtime search path for target InspectionGui because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Mod/Mesh/App/CMakeLists.txt:411 (add_library):
  Cannot generate a safe runtime search path for target Mesh because files in
  some directories may conflict with libraries in implicit directories:

    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Mod/Mesh/Gui/CMakeLists.txt:171 (add_library):
  Cannot generate a safe runtime search path for target MeshGui because files
  in some directories may conflict with libraries in implicit directories:

    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Mod/MeshPart/App/CMakeLists.txt:79 (add_library):
  Cannot generate a safe runtime search path for target MeshPart because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libjpeg.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libpng16.so.16] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libtiff.so.5] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libm.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libSM.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libICE.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libX11.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libXext.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libXt.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libfreetype.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Mod/MeshPart/App/CMakeLists.txt:109 (add_library):
  Cannot generate a safe runtime search path for target flatmesh because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libjpeg.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libpng16.so.16] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libtiff.so.5] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libm.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libSM.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libICE.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libX11.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libXext.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libXt.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libfreetype.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Mod/MeshPart/Gui/CMakeLists.txt:85 (add_library):
  Cannot generate a safe runtime search path for target MeshPartGui because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libjpeg.so.8] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libpng16.so.16] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libtiff.so.5] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libm.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libfreetype.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libSM.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libICE.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libX11.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libXext.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libXt.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Mod/Part/App/CMakeLists.txt:571 (add_library):
  Cannot generate a safe runtime search path for target Part because files in
  some directories may conflict with libraries in implicit directories:

    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Mod/Part/Gui/CMakeLists.txt:263 (add_library):
  Cannot generate a safe runtime search path for target PartGui because files
  in some directories may conflict with libraries in implicit directories:

    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Mod/PartDesign/App/CMakeLists.txt:147 (add_library):
  Cannot generate a safe runtime search path for target PartDesign because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Mod/PartDesign/Gui/CMakeLists.txt:264 (add_library):
  Cannot generate a safe runtime search path for target PartDesignGui because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Mod/Path/App/CMakeLists.txt:126 (add_library):
  Cannot generate a safe runtime search path for target Path because files in
  some directories may conflict with libraries in implicit directories:

    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libfreetype.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Mod/Path/libarea/CMakeLists.txt:97 (add_library):
  Cannot generate a safe runtime search path for target area-native because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libfreetype.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Mod/Path/libarea/CMakeLists.txt:104 (add_library):
  Cannot generate a safe runtime search path for target area because files in
  some directories may conflict with libraries in implicit directories:

    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libfreetype.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Mod/Path/PathSimulator/App/CMakeLists.txt:44 (add_library):
  Cannot generate a safe runtime search path for target PathSimulator because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libfreetype.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Mod/Path/Gui/CMakeLists.txt:92 (add_library):
  Cannot generate a safe runtime search path for target PathGui because files
  in some directories may conflict with libraries in implicit directories:

    runtime library [libfreetype.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu
    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Mod/Points/App/CMakeLists.txt:64 (add_library):
  Cannot generate a safe runtime search path for target Points because files
  in some directories may conflict with libraries in implicit directories:

    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Mod/Points/Gui/CMakeLists.txt:67 (add_library):
  Cannot generate a safe runtime search path for target PointsGui because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Mod/ReverseEngineering/App/CMakeLists.txt:81 (add_library):
  Cannot generate a safe runtime search path for target ReverseEngineering
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Mod/ReverseEngineering/Gui/CMakeLists.txt:74 (add_library):
  Cannot generate a safe runtime search path for target ReverseEngineeringGui
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Mod/Robot/App/CMakeLists.txt:131 (add_library):
  Cannot generate a safe runtime search path for target Robot because files
  in some directories may conflict with libraries in implicit directories:

    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Mod/Robot/Gui/CMakeLists.txt:136 (add_library):
  Cannot generate a safe runtime search path for target RobotGui because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at src/Mod/Sketcher/App/CMakeLists.txt:150 (add_library):
  Cannot generate a safe runtime search path for target Sketcher because
  files in some directories may conflict with libraries in implicit
CMake Warning at src/Gui/CMakeLists.txt:1290 (add_library):
  Cannot generate a safe runtime search path for target FreeCADGui because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at tests/CMakeLists.txt:37 (add_executable):
  Cannot generate a safe runtime search path for target Tests_run because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at tests/CMakeLists.txt:43 (add_executable):
  Cannot generate a safe runtime search path for target Sketcher_tests_run
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.


CMake Warning at tests/src/Qt/CMakeLists.txt:19 (add_executable):
  Cannot generate a safe runtime search path for target
  InventorBuilder_Tests_run because files in some directories may conflict
  with libraries in implicit directories:

    runtime library [libboost_filesystem.so.1.71.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /snap/kde-frameworks-5-99-qt-5-15-7-core20-sdk/current/usr/lib/x86_64-linux-gnu

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  tests/src/Qt/CMakeLists.txt:46 (SETUP_TESTS)
@luzpaz
Copy link
Collaborator Author

luzpaz commented May 31, 2023

@riqueenz is this related to what you're encountering in #80 (comment) ?

@luzpaz
Copy link
Collaborator Author

luzpaz commented Aug 12, 2023

Still seeing a lot of CMake warnings in builds, just browse through https://github.com/FreeCAD/FreeCAD-snap/actions/runs/5838273381/job/15835100505 for example

@luzpaz
Copy link
Collaborator Author

luzpaz commented Aug 15, 2023

@ScarlettGatelyMoore perhaps you'd have a moment to check this out ?

@ScarlettGatelyMoore
Copy link
Contributor

@ScarlettGatelyMoore perhaps you'd have a moment to check this out ?

Those are normal because we are overriding to use content pack libraries over system libraries. However, the core20 sdk being listed there concerns me. Are you using a docker image? How is this being built?

@ScarlettGatelyMoore
Copy link
Contributor

Nevermind, looking at latest build rather than this thread it is the correct content pack. Nothing to be concerned about.

@luzpaz
Copy link
Collaborator Author

luzpaz commented Aug 15, 2023

Thanks. I wish we had a way to keep the cmake build log less bloaty.

I did open #98

@luzpaz luzpaz changed the title cmake warnings in daily build Method to limit known cmake warnings in daily build less verbose ? Aug 15, 2023
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

2 participants