bugThe FreeType Project - Bugs: bug #56073, [cmake] freetype2.pc cannot...


bug #56073: [cmake] freetype2.pc cannot request (Requires.private) bzip2

Submitted by:  None
Submitted on:  Thu 04 Apr 2019 11:17:17 AM UTC  
Severity:  3 - Normal Item Group:  Incorrect behaviour
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Planned Release:  None

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Tue 04 Jun 2019 09:26:24 PM UTC, comment #3: 

Probably it fixed in: https://savannah.nongnu.org/bugs/index.php?55235 Can you try it?

rim <rim>
Tue 09 Apr 2019 02:12:02 PM UTC, comment #2: 

Alexei, you are mixing up things, I believe: The issue at hand is that bzip2 upstream doesn't provide `bzip2.pc'; it's rather that some GNU/Linux distributions add this file.  This means that cmake's configuring test must be improved to actually check whether `bzip2.pc' does exist (i.e., whether `pkg-config' finds a `.pc' file for bzip2), falling back to a different solution otherwise.

Werner LEMBERG <wl>
Project Administrator
Thu 04 Apr 2019 03:31:54 PM UTC, comment #1: 

If you know how to fix cmake build of FreeType, please do it and provide a patch.

I suspect that instead of editing ftoption.h, you should conditionally do:

endif ()

Alexei Podtelezhnikov <podtelez>
Project Member
Thu 04 Apr 2019 11:17:17 AM UTC, original submission:  

Using cmake and freetype 2.10.0 generates the file:


Name: FreeType 2
URL: https://freetype.org
Description: A free, high-quality, and portable font engine.
Version: 2.10.0
Requires.private: zlib, bzip2, libpng, harfbuzz
Libs: -L${libdir} -lfreetype
Cflags: -I${includedir}/freetype2

Since libbzip2 does not install bzip2.pc, freetype2.pc cannot request that file.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rim (Posted a comment)
  • -email is unavailable- added by wl (Posted a comment)
  • -email is unavailable- added by podtelez (Posted a comment)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-04-14 wl Summaryfreetype2.pc cannot request (Requires.private) bzip2 => [cmake] freetype2.pc cannot request (Requires.private) bzip2

    Back to the top

    Powered by Savane 3.5