Description of problem: Package ftgl fails to build from source in Fedora Rawhide. Version-Release number of selected component (if applicable): 2.1.3-0.33.rc5.fc41 Steps to Reproduce: koji build --scratch f42 ftgl-2.1.3-0.33.rc5.fc41.src.rpm Additional info: This package is tracked by Koschei. See: https://koschei.fedoraproject.org/package/ftgl Reproducible: Always Steps to Reproduce: 1. Rebuild package in rawhide Actual Results: FTVectoriser.cpp: In member function ‘void FTVectoriser::ProcessContours()’: FTVectoriser.cpp:169:25: error: invalid conversion from ‘unsigned char*’ to ‘char*’ [-fpermissive] 169 | char* tagList = &outline.tags[startIndex]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char* Expected Results: Successful build.
Also fails in Fedora 41 now. Failure is due to a change in the freetype2/freetype/ftimage.h header in freetype 2.13.3. https://gitlab.freedesktop.org/freetype/freetype/-/commit/044d142be7b6a93b6940367a1bc5847451ff4775
Possible fix: https://github.com/frankheckenbach/ftgl/pull/20
Pull request in Dist GIT: https://src.fedoraproject.org/rpms/ftgl/pull-request/2
Fixed for f41: https://koji.fedoraproject.org/koji/buildinfo?buildID=2570734 Applied the patch conditionally for epel10 Thanks for the report.
FEDORA-2024-50a49393ce (ftgl-2.1.3-46.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2024-50a49393ce
FEDORA-2024-50a49393ce (ftgl-2.1.3-46.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report.