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

            Bug ID: 496781
           Summary: 6.8.0 generates broken pkgconfig files with
                    "/usr/_EGPF_TARGET_INCLUDE_DIRS-NOTFOUND" in Cflags.
    Classification: Frameworks and Libraries
           Product: extra-cmake-modules
           Version: 6.8.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: ecm-bugs-n...@kde.org
          Reporter: nc...@alpinelinux.org
  Target Milestone: ---

STEPS TO REPRODUCE
1. build mkcal with extra-cmake-modules 6.8.0
2. 
3. 

OBSERVED RESULT
The generated libmkcal-qt5.pc has a "DIRS-NOTFOUND"

$ grep Cflags build/src/libmkcal-qt5.pc 
Cflags: -I${prefix}/_EGPF_TARGET_INCLUDE_DIRS-NOTFOUND
-I${prefix}/include/mkcal-qt5 

EXPECTED RESULT

Cflags:  -I${prefix}/include/mkcal-qt5 

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma:  
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: qt5

ADDITIONAL INFORMATION

This breaks build of anything using the broken mkcal .pc file:

For example nemo-qml-plugin-calendar:
...
-- Configuring done (0.4s)
CMake Error in src/CMakeLists.txt:
  Imported target "PkgConfig::MKCAL" includes non-existent path

    "/usr/_EGPF_TARGET_INCLUDE_DIRS-NOTFOUND"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.

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

Reply via email to