Re: [gtk-osx-users] Error building pango



On Jan 31, 2012, at 12:15 AM, Pete Fotheringham wrote:

> 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!

Sorry, the patch isn't appropriate. I've removed it from the module, so try again. I thought I'd test-built after making those changes, but I must have forgotten to wipe the sources.

Note that you'll need to restart jhbuild to pick up the revised moduleset and remove the existing source directory so that it won't have the patch partially applied. You can do that manually or you can just wait for it to fail and select "wipe directory and start over".

Regards,
John Ralls


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