freetype2 2.11.0-1.1 Update Breaks on OpenSUSE Tumbleweed

Luke Benes lukebenes at hotmail.com
Sat Aug 14 22:23:58 UTC 2021


After updating openSUSE Tumbleweed  20210726-0 -> 20210810-0,
I can not longer build LibreOffice. The issue is most likely the update of to freetype2-devel-2.10 -> 2.11

I filed a bug report at:
https://bugzilla.opensuse.org/show_bug.cgi?id=1189444

freetype2 2.11 is still in testing on arch:
https://archlinux.org/packages/extra/x86_64/freetype2/

The error from the build log is below. Anything else I should do here? Look like a freetype2 issue or do we just need to update to use the new name?

-Luke



[CXX] workdir/UnpackedTarball/skia/src/ports/SkFontHost_FreeType_common.cpp
/core/workdir/UnpackedTarball/skia/src/ports/SkFontHost_FreeType_common.cpp:668:14: error: use of undeclared identifier 'FT_COLR_PAINTFORMAT_TRANSFORMED'; did you mean 'FT_COLR_PAINTFORMAT_TRANSFORM'?
        case FT_COLR_PAINTFORMAT_TRANSFORMED: {
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             FT_COLR_PAINTFORMAT_TRANSFORM
/usr/include/freetype2/freetype/ftcolor.h:505:5: note: 'FT_COLR_PAINTFORMAT_TRANSFORM' declared here
    FT_COLR_PAINTFORMAT_TRANSFORM       = 12,
    ^
/core/workdir/UnpackedTarball/skia/src/ports/SkFontHost_FreeType_common.cpp:669:60: error: no member named 'transformed' in 'FT_COLR_Paint_::(unnamed union at /usr/include/freetype2/freetype/ftcolor.h:1327:5)'; did you mean 'transform'?
            SkMatrix transform = ToSkMatrix(colrv1_paint.u.transformed.affine);
                                                           ^~~~~~~~~~~
                                                           transform
/usr/include/freetype2/freetype/ftcolor.h:1335:31: note: 'transform' declared here
      FT_PaintTransform       transform;
                              ^
/core/workdir/UnpackedTarball/skia/src/ports/SkFontHost_FreeType_common.cpp:763:14: error: use of undeclared identifier 'FT_COLR_PAINTFORMAT_TRANSFORMED'; did you mean 'FT_COLR_PAINTFORMAT_TRANSFORM'?
        case FT_COLR_PAINTFORMAT_TRANSFORMED:
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             FT_COLR_PAINTFORMAT_TRANSFORM
/usr/include/freetype2/freetype/ftcolor.h:505:5: note: 'FT_COLR_PAINTFORMAT_TRANSFORM' declared here
    FT_COLR_PAINTFORMAT_TRANSFORM       = 12,
    ^
/core/workdir/UnpackedTarball/skia/src/ports/SkFontHost_FreeType_common.cpp:768:74: error: no member named 'transformed' in 'FT_COLR_Paint_::(unnamed union at /usr/include/freetype2/freetype/ftcolor.h:1327:5)'; did you mean 'transform'?
                    colrv1_traverse_paint(canvas, palette, face, paint.u.transformed.paint);
                                                                         ^~~~~~~~~~~
                                                                         transform
/usr/include/freetype2/freetype/ftcolor.h:1335:31: note: 'transform' declared here
      FT_PaintTransform       transform;
                              ^
[CXX] workdir/UnpackedTarball/skia/src/ports/SkFontMgr_fontconfig_factory.cpp
4 errors generated.
make[1]: *** [/core/solenv/gbuild/LinkTarget.mk:357: /core/workdir/GenCxxObject/UnpackedTarball/skia/src/ports/SkFontHost_FreeType_common.o] Error 1




More information about the LibreOffice mailing list