** Also affects: cmake (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: cmake (Ubuntu)
     Assignee: (unassigned) => Rik Mills (rikmills)

** Changed in: cmake (Ubuntu)
       Status: New => Triaged

** Description changed:

+ 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 ---
+ 
  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:
+                  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>
-       |          ^~~~~~
+    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:
+                  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>
-       |          ^~~~~~
+    28 | #include <hb.h>
+       |          ^~~~~~
  compilation terminated.
- 
  
  These are from no change rebuilds needed for libgps25, but something
  else made them break.

** Description changed:

+ ## 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 ---
  
- --- 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.

** Summary changed:

- FTBFS in focal blocking gpsd transition for libgps25
+ Navit FTBFS - cmake fix needed to work with newer pango

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

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to