[gtk-osx-users] Error building pango



Running on Snow Leopard and working with http://git.gnome.org/browse/gtk-osx/plain/modulesets-stable/gtk-osx.modules I get the following error

*** Checking out pango *** [9/9]
rm -rf /Users/pete/gtk/source/pango-1.28.4
bunzip2 -dc "/Users/pete/gtk/source/pkgs/pango-1.28.4.tar.bz2" | tar xf -
*** Applying patch http://git.gnome.org/browse/gtk-osx/plain/patches/0001-Make-ATSUI-backend-compile-again.patch *** [9/9]
patch -p1 < "/Users/pete/.cache/jhbuild/0001-Make-ATSUI-backend-compile-again.patch"
patching file pango/pangoatsui-fontmap.c
Hunk #1 succeeded at 73 with fuzz 2 (offset 3 lines).
Hunk #2 succeeded at 205 (offset 3 lines).
Hunk #3 FAILED at 226.
Hunk #4 succeeded at 372 with fuzz 2 (offset 33 lines).
1 out of 4 hunks FAILED -- saving rejects to file pango/pangoatsui-fontmap.c.rej
patching file pango/pangoatsui-private.h
*** Error during phase force_checkout of pango: ########## Error running patch -p1 < "/Users/pete/.cache/jhbuild/0001-Make-ATSUI-backend-compile-again.patch" *** [9/9]

If I go to the shell, run configure manually followed by make, the build fails with the following error
pangoatsui-fontmap.c:255: error: redefinition of ‘pango_atsui_family_get_type’
pangoatsui-fontmap.c:208: error: previous definition of ‘pango_atsui_family_get_type’ was here
make[4]: *** [libpangocairo_1_0_la-pangoatsui-fontmap.lo] Error 1

$ jhbuild info pango gives
Name: pango
Module Set: gtk-osx
Type: autogen
Install date: not installed
URL: http://ftp.gnome.org/pub/GNOME/sources/pango/1.28/pango-1.28.4.tar.bz2
Version: 1.28.4
Tree-ID: 1.28.4-75efa7f0868aa134a7a1dbc016e589f0
Sourcedir: /Users/pete/gtk/source/pango-1.28.4
Requires: cairo, fontconfig, glib, gobject-introspection
Required-by: moonshot-ui, meta-gtk-universal, gtk+, pangomm
After: meta-gtk-osx-bootstrap
Before: gdk-pixbuf

Any suggestions gratefully received!

Pete
--
Pete Fotheringham
Codethink Ltd
http://codethink.co.uk



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]