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

            Bug ID: 405887
           Summary: FindFontconfig.cmake conflicts with the one bundled in
                    cmake 3.14
           Product: extra-cmake-modules
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: ecm-bugs-n...@kde.org
          Reporter: eugene.shalygin+bugzilla....@gmail.com
  Target Milestone: ---

SUMMARY

Fontconfig detection in plasma-desktop fails when compiling with cmake 3.14


STEPS TO REPRODUCE
1. >>> Configuring source in
/var/portage/tmp/portage/kde-plasma/plasma-desktop-9999/work/plasma-desktop-9999
...
>>> Working in BUILD_DIR: 
>>> "/var/portage/tmp/portage/kde-plasma/plasma-desktop-9999/work/plasma-desktop-9999_build"
cmake -C
/var/portage/tmp/portage/kde-plasma/plasma-desktop-9999/work/plasma-desktop-9999_build/gentoo_common_config.cmake
-G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DKDE_INSTALL_DOCBUNDLEDIR=/usr/share/help
-DCMAKE_DISABLE_FIND_PACKAGE_AppStreamQt=ON
-DCMAKE_DISABLE_FIND_PACKAGE_Fontconfig=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_IBus=ON -DCMAKE_DISABLE_FIND_PACKAGE_Evdev=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_XorgLibinput=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_SCIM=ON -DCMAKE_DISABLE_FIND_PACKAGE_KF5Baloo=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_Synaptics=OFF -DCMAKE_BUILD_TYPE=Gentoo
-DCMAKE_TOOLCHAIN_FILE=/var/portage/tmp/portage/kde-plasma/plasma-desktop-9999/work/plasma-desktop-9999_build/gentoo_toolchain.cmake

/var/portage/tmp/portage/kde-plasma/plasma-desktop-9999/work/plasma-desktop-9999
loading initial cache file
/var/portage/tmp/portage/kde-plasma/plasma-desktop-9999/work/plasma-desktop-9999_build/gentoo_common_config.cmake
CMake Warning (dev) at gentoo_common_config.cmake:8 (SET):


OBSERVED RESULT
-- Found Fontconfig: /usr/lib/libfontconfig.so (found version "2.13.1") 
-- Warning: Property DESCRIPTION for package Fontconfig already set to
"Fontconfig is a library for configuring and customizing font access",
overriding it with "Font access configuration library"
-- Warning: Property URL already set to "https://www.fontconfig.org/";,
overriding it with "https://www.freedesktop.org/wiki/Software/fontconfig";

and then

-- The following OPTIONAL packages have not been found:

 * Fontconfig, Font access configuration library,
<https://www.freedesktop.org/wiki/Software/fontconfig>
   Needed to build font configuration and installation tools

EXPECTED RESULT
Fontconfig is found

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: git master
(available in About System)
KDE Plasma Version: git master
KDE Frameworks Version: git master
Qt Version: 5.12.1
cmake version: 3.14.0

ADDITIONAL INFORMATION
Removing /usr/share/ECM/find-modules/FindFontconfig.cmake solves the problem

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

Reply via email to