https://bugs.kde.org/show_bug.cgi?id=394518

            Bug ID: 394518
           Summary: gcompris compilation warnings (gcc7, and gcc8)
           Product: gcompris
           Version: git master
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: bruno.coud...@gcompris.net
          Reporter: br...@ioda-net.ch
  Target Milestone: ---

During compilation of gcompris-qt there's a number of warnings with differents
level of severity.

Full log of 0.9.1 build 
https://build.opensuse.org/build/Education/openSUSE_Tumbleweed/x86_64/gcompris-qt/_log

During configure

 + /usr/bin/cmake /home/abuild/rpmbuild/BUILD/gcompris-qt-0.91/. '-GUnix
Makefiles' -DCMAKE_INSTALL_PREFIX:PATH=/usr
-DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64
-DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share
-DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 -DCMAKE_BUILD_TYPE=RelWithDebInfo
'-DCMAKE_C_FLAGS=-fmessage-length=0 -grecord-gcc-switches -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables
-fasynchronous-unwind-tables -fstack-clash-protection -g -fPIE -pie
-fno-strict-aliasing -DNDEBUG -DNDEBUG' '-DCMAKE_CXX_FLAGS=-fmessage-length=0
-grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong
-funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -fPIE
-pie -fno-strict-aliasing -DNDEBUG -DNDEBUG'
'-DCMAKE_Fortran_FLAGS=-fmessage-length=0 -grecord-gcc-switches -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables
-fasynchronous-unwind-tables -fstack-clash-protection -g -DNDEBUG'
'-DCMAKE_EXE_LINKER_FLAGS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,now'
-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed
'-DCMAKE_SHARED_LINKER_FLAGS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,now'
-DLIB_SUFFIX=64 -DCMAKE_SKIP_RPATH:BOOL=ON -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
-DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF
-DCMAKE_COLOR_MAKEFILE:BOOL=OFF -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF
-DCMAKE_MODULES_INSTALL_DIR=/usr/share/cmake/Modules
 -- The C compiler identification is GNU 7.3.1
 -- The CXX compiler identification is GNU 7.3.1
 -- Check for working C compiler: /usr/bin/cc
 -- Check for working C compiler: /usr/bin/cc -- works
 -- Detecting C compiler ABI info
 -- Detecting C compiler ABI info - done
 -- Detecting C compile features
 -- Detecting C compile features - done
 -- Check for working CXX compiler: /usr/bin/c++
 -- Check for working CXX compiler: /usr/bin/c++ -- works
 -- Detecting CXX compiler ABI info
 -- Detecting CXX compiler ABI info - done
 -- Detecting CXX compile features
 -- Detecting CXX compile features - done
 -- Performing Test COMPILER_SUPPORTS_CXX11
 -- Performing Test COMPILER_SUPPORTS_CXX11 - Success
 -- Performing Test COMPILER_SUPPORTS_CXX0X
 -- Performing Test COMPILER_SUPPORTS_CXX0X - Success
 -- Could NOT find KF5DocTools: found neither KF5DocToolsConfig.cmake nor
kf5doctools-config.cmake 
 CMake Deprecation Warning at
/usr/share/ECM/kde-modules/KDEInstallDirs.cmake:343 (message):
   LIB_INSTALL_DIR is deprecated, use KDE_INSTALL_LIBDIR instead.
 Call Stack (most recent call first):
   /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:437 (_define_relative)
   CMakeLists.txt:96 (include)


 -- Installing in the same prefix as Qt, adopting their path scheme.
 CMake Deprecation Warning at
/usr/share/ECM/kde-modules/KDEInstallDirs.cmake:343 (message):
   INCLUDE_INSTALL_DIR is deprecated, use KDE_INSTALL_INCLUDEDIR instead.
 Call Stack (most recent call first):
   /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:398 (_define_relative)
   /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:513 (_define_absolute)
   CMakeLists.txt:96 (include)


 CMake Deprecation Warning at
/usr/share/ECM/kde-modules/KDEInstallDirs.cmake:343 (message):
   SHARE_INSTALL_PREFIX is deprecated, use KDE_INSTALL_DATAROOTDIR instead.
 Call Stack (most recent call first):
   /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:398 (_define_relative)
   /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:534 (_define_absolute)
   CMakeLists.txt:96 (include)


 CMake Deprecation Warning at
/usr/share/ECM/kde-modules/KDEInstallDirs.cmake:343 (message):
   SYSCONF_INSTALL_DIR is deprecated, use KDE_INSTALL_SYSCONFDIR instead.
 Call Stack (most recent call first):
   /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:398 (_define_relative)
   /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:639 (_define_absolute)
   CMakeLists.txt:96 (include)


 CMake Warning at /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:660
(message):
   KDE_INSTALL_BINDIR, KDE_INSTALL_LIBDIR and KDE_INSTALL_INCLUDEDIR should
   either all be absolute paths or all be relative paths.
 Call Stack (most recent call first):
   CMakeLists.txt:96 (include)


 -- Using system qml-box2d plugin at /usr/lib64/qt5/qml/Box2D.2.0/libBox2D.so
 -- Configuring done
 CMake Warning (dev) in src/core/CMakeLists.txt:
   Policy CMP0043 is not set: Ignore COMPILE_DEFINITIONS_<Config> properties.
   Run "cmake --help-policy CMP0043" for policy details.  Use the cmake_policy
   command to set the policy and suppress this warning.
 This warning is for project developers.  Use -Wno-dev to suppress it.

 CMake Warning (dev) in src/core/CMakeLists.txt:
   Policy CMP0043 is not set: Ignore COMPILE_DEFINITIONS_<Config> properties.
   Run "cmake --help-policy CMP0043" for policy details.  Use the cmake_policy
   command to set the policy and suppress this warning.
 This warning is for project developers.  Use -Wno-dev to suppress it.

 -- Generating done

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to