Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-11265

[1.4-prime] [qt-kit] dev-qt/qtwebengine doesn't compile after the harfbuzz upgrade

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Severe (Ebuild) Severe (Ebuild)
    • None
    • None
    • Blocks dev-qt/qtwebengine and blocks or impacts other 31 packages that depend on it on 1.4 release.

      /common/common/subset_font.o
      ../../../../qtwebengine-5.15.5-lts/src/3rdparty/chromium/components/paint_preview/common/subset_font.cc: In function ‘sk_sp<SkData> paint_preview::SubsetFont(SkTypeface*, const paint_preview::GlyphUsage&)’:
      ../../../../qtwebengine-5.15.5-lts/src/3rdparty/chromium/components/paint_preview/common/subset_font.cc:74:3: error: ‘hb_subset_input_set_retain_gids’ was not declared in this scope; did you mean ‘hb_subset_input_set_flags’?
         74 |   hb_subset_input_set_retain_gids(input.get(), true);
            |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            |   hb_subset_input_set_flags
      ../../../../qtwebengine-5.15.5-lts/src/3rdparty/chromium/components/paint_preview/common/subset_font.cc:76:35: error: ‘hb_subset’ was not declared in this scope; did you mean ‘hb_set_set’?
         76 |   HbScoped<hb_face_t> subset_face(hb_subset(face.get(), input.get()));
            |                                   ^~~~~~~~~
            |                                   hb_set_set 

      After the upgrade of harfbuzz to release 7.1.0 it seems that we have the issue reported on https://bugreports.qt.io/browse/QTBUG-96911

      We need a new patch to get qtwebengine working with harfbuzz 7.1.0 or just pin the previous version. I'm not sure if it's better to upgrade harfbuzz on next release only.

            geaaru geaaru
            geaaru geaaru
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: