Bug 2277316
| Summary: | Included CMake config file is broken | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michael Cullen <michael> |
| Component: | harfbuzz | Assignee: | Parag Nemade <pnemade> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 40 | CC: | cquike, i18n-bugs, klember, moceap, pnemade, russellgreene8, tom |
| Target Milestone: | --- | Flags: | petersen:
mirror+
|
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | harfbuzz-8.4.0-2.fc41 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-07-01 07:21:08 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2275243 | ||
|
Description
Michael Cullen
2024-04-26 09:15:03 UTC
A bit more reading suggests to me the CMake config file may only be generated correctly when using Meson or CMake as a build system for harfbuzz - the autoconf build (that upstream seems to want to move away from, but is used by Fedora) seems not to set the right variables for the upstream rewritten harfbuzz-config.cmake.in file *** Bug 2279802 has been marked as a duplicate of this bug. *** Here is my preliminary analysis -> I agree here what Michael Cullen has found. I tested these 2 builds harfbuzz-8.2.1-2 harfbuzz-8.4.0 by building them on F38, F39 and F40 releases. CMake config file is broken since harbufzz-8.3.0 release on any Fedora release system. Also, as per comment on one of the upstream issue -> The cmake build is “community maintained” as none of HarfBuzz current maintainers knows cmake or uses it, if you know how to fix this issue please submit a PR. Maybe something that can give some clue is that the build system for harfbuzz seems to be now meson. Probably autotools still works, but with potentially broken builds. I looked into the Debian package, which has a working cmake configuration and indeed they use meson to create the harfbuzz-config.cmake file. Opened https://src.fedoraproject.org/rpms/harfbuzz/pull-request/7 to switch the build to meson which does indeed appear to fix this. |