FS#63789 - [pangox-compat] fails to build in clean chroot

Attached to Project: Arch Linux
Opened by Erich Eckner (deepthought) - Monday, 16 September 2019, 12:34 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 29 April 2020, 12:35 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

extra-x86_64-build fails with:

pangox.c: In function ‘pango_x_font_class_init’:
pangox.c:282:13: error: ‘PangoFontClass’ {aka ‘struct _PangoFontClass’} has no member named ‘find_shaper’
282 | font_class->find_shaper = pango_x_font_find_shaper;
| ^~
pangox.c: In function ‘itemize_string_foreach’:
pangox.c:758:4: warning: ‘pango_font_find_shaper’ is deprecated [-Wdeprecated-declarations]
758 | shaper = pango_font_find_shaper (font, language, wc);
| ^~~~~~
In file included from /usr/include/pango-1.0/pango/pango-attributes.h:25,
from /usr/include/pango-1.0/pango/pango.h:25,
from pango-impl-utils.h:28,
from pangox.c:29:
/usr/include/pango-1.0/pango/pango-font.h:625:23: note: declared here
625 | PangoEngineShape * pango_font_find_shaper (PangoFont *font,
| ^~~~~~~~~~~~~~~~~~~~~~
pangox.c: In function ‘pango_x_font_get_metrics’:
pangox.c:983:17: warning: implicit declaration of function ‘pango_font_metrics_new’; did you mean ‘pango_font_metrics_ref’? [-Wimplicit-function-declaration]
983 | metrics = pango_font_metrics_new ();
| ^~~~~~~~~~~~~~~~~~~~~~
| pango_font_metrics_ref
pangox.c:983:15: warning: assignment to ‘PangoFontMetrics *’ {aka ‘struct _PangoFontMetrics *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
983 | metrics = pango_font_metrics_new ();
| ^
pangox.c: In function ‘pango_x_get_shaper_map’:
pangox.c:1359:3: warning: ‘pango_find_map’ is deprecated [-Wdeprecated-declarations]
1359 | return pango_find_map (language, engine_type_id, render_type_id);
| ^~~~~~
In file included from pangox-private.h:26,
from pangox.c:30:
/usr/include/pango-1.0/pango/pango-modules.h:59:16: note: declared here
59 | PangoMap * pango_find_map (PangoLanguage *language,
| ^~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:32,
from /usr/include/glib-2.0/glib.h:32,
from pango-impl-utils.h:26,
from pangox.c:29:
pangox.c: In function ‘pango_x_font_find_shaper’:
/usr/include/glib-2.0/glib/gthread.h:257:29: warning: assignment to ‘PangoEngineShape *’ {aka ‘struct _PangoEngineShape *’} from incompatible pointer type ‘PangoEngine *’ {aka ‘struct _PangoEngine *’} [-Wincompatible-pointer-types]
257 | (void) (0 ? *(location) = (result) : 0); \
| ^
pangox.c:1378:5: note: in expansion of macro ‘g_once_init_leave’
1378 | g_once_init_leave (&shaper,
| ^~~~~~~~~~~~~~~~~
make: *** [Makefile:529: libpangox_1_0_la-pangox.lo] Error 1

Additional info:
* package version(s)
pangox-compat 0.0.2+2+gedb9e09-3 (git revision 6a171170ac9fb9e913472a40746a7abcf97e82a5)
* config and/or log files etc.
full log is attached

Steps to reproduce:
> git checkout 6a171170ac9fb9e913472a40746a7abcf97e82a5
> cd pangox-compat/repos/extra-x86_64
> extra-x86_64-build
This task depends upon

Closed by  Jan de Groot (JGC)
Wednesday, 29 April 2020, 12:35 GMT
Reason for closing:  Won't fix
Additional comments about closing:  pangox-compat will be dropped. Even if we manage to compile this with pango 1.44, it will not render any text.
Comment by Jan Tojnar (jtojnar) - Wednesday, 18 December 2019, 20:30 GMT

Loading...