It looks as if pango-1.44.1 breaks pygtk :

in the build -

pango.c: In function '__PangoFontset_class_init':
pango.c:5526:5: error: unknown type name 'PangoFontsetClass'; did you mean 
'PangoContextClass'?
 5526 |     PangoFontsetClass *klass = PANGO_FONTSET_CLASS(gclass);
      |     ^~~~~~~~~~~~~~~~~
      |     PangoContextClass

Unfortunately, pygtk doesn't seem to have had a release since 2011
(even before this, the build spewed out a lot of messages) and it is
needed for e.g. gimp.

Yet again, we seem to be on the bleeding edge (Arch are using
pango-2.44.1, but they don't list pygtk among the packages depending
on it and they haven't updated pygtk recently).

On a whim, now that 2.44.2 is out I dropped that in over 2.44.1
(I've built many packages since then) but it fails differently:

pango.c: In function '_wrap_PangoFont__do_describe':
pango.c:3784:9: warning: implicit declaration of function 'PANGO_FONT_CLASS'; 
did you mean 'PANGO_LAYOUT_CLASS'? [-Wimplicit-function-declaration]
 3784 |     if (PANGO_FONT_CLASS(klass)->describe)
      |         ^~~~~~~~~~~~~~~~
      |         PANGO_LAYOUT_CLASS
pango.c:3784:32: error: invalid type argument of '->' (have 'int')
 3784 |     if (PANGO_FONT_CLASS(klass)->describe)
      |                                ^~

I'm abandonning this attempt to build current desktop packages.  A
shame, because the pango-1.44 changes sound beneficial.

ĸen
-- 
One pill makes you larger, And one pill makes you small.
And the ones that mother gives you, Don't do anything at all.
Go ask Alice, When she's ten feet tall.
               -- Jefferson Airplane, White Rabbit
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to