[Bug 1855993] Re: Navit FTBFS - cmake fix needed to work with newer pango

Launchpad Bug Tracker 1855993 at bugs.launchpad.net
Wed Dec 11 14:56:48 UTC 2019


This bug was fixed in the package navit - 0.5.3+dfsg.1-2ubuntu1

---------------
navit (0.5.3+dfsg.1-2ubuntu1) focal; urgency=medium

  * d/rules: until resolved in cmake append the harfbuzz include directory
    directly to fix FTBFS (LP: #1855993)

 -- Christian Ehrhardt <christian.ehrhardt at canonical.com>  Wed, 11 Dec
2019 12:03:05 +0100

** Changed in: navit (Ubuntu)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pango1.0 in Ubuntu.
https://bugs.launchpad.net/bugs/1855993

Title:
  Navit FTBFS - cmake fix needed to work with newer pango

Status in cmake package in Ubuntu:
  Triaged
Status in navit package in Ubuntu:
  Fix Released
Status in pango1.0 package in Ubuntu:
  Won't Fix

Bug description:
  ## Cmake ##

  A change in Pango [1] broke builds using GTK2 as the pango source will
  include hb.h but miss the proper include paths.

  A fix was brought up in [2] and should be added to cmake in Focal to
  allow things to build with the new pango.

  Focal currently is at cmake 3.15.4-1 and [3] is a backport of that
  change to the 3.15 series.

  Note: after that is resolved navit will need a no change rebuild to
  pick up libgpsd25 which got me initially to find this issue.

  [1]: https://gitlab.gnome.org/GNOME/pango/commit/a7b17aa2bad77c485943c860a20aedc2b2b115ff
  [2]: https://gitlab.kitware.com/cmake/cmake/issues/19531
  [3]: https://gitlab.kitware.com/cmake/cmake/commit/e4b1b79abb2b6e1ad07d36d4734554972c9ce4a9

  --- original report ---

  ## Navit ##

  In file included from /usr/include/pango-1.0/pango/pango-font.h:25,
                   from /usr/include/pango-1.0/pango/pango-attributes.h:25,
                   from /usr/include/pango-1.0/pango/pango.h:25,
                   from /usr/include/gtk-2.0/gdk/gdktypes.h:37,
                   from /usr/include/gtk-2.0/gdk/gdkscreen.h:32,
                   from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
                   from /usr/include/gtk-2.0/gdk/gdk.h:32,
                   from /usr/include/gtk-2.0/gtk/gtk.h:32,
                   from /<<BUILDDIR>>/navit-0.5.3+dfsg.1/navit/graphics/gtk_drawing_area/graphics_gtk_drawing_area.c:26:
  /usr/include/pango-1.0/pango/pango-coverage.h:28:10: fatal error: hb.h: No such file or directory
     28 | #include <hb.h>
        |          ^~~~~~
  compilation terminated.

  In file included from /usr/include/pango-1.0/pango/pango-font.h:25,
                   from /usr/include/pango-1.0/pango/pango-attributes.h:25,
                   from /usr/include/pango-1.0/pango/pango.h:25,
                   from /usr/include/gtk-2.0/gdk/gdktypes.h:37,
                   from /usr/include/gtk-2.0/gdk/gdkscreen.h:32,
                   from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
                   from /usr/include/gtk-2.0/gdk/gdk.h:32,
                   from /usr/include/gtk-2.0/gtk/gtk.h:32,
                   from /<<BUILDDIR>>/navit-0.5.3+dfsg.1/navit/gui/gtk/datawindow.c:24:
  /usr/include/pango-1.0/pango/pango-coverage.h:28:10: fatal error: hb.h: No such file or directory
     28 | #include <hb.h>
        |          ^~~~~~
  compilation terminated.

  These are from no change rebuilds needed for libgps25, but something
  else made them break.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1855993/+subscriptions



More information about the foundations-bugs mailing list