<div dir="ltr"><div>Compiling AppStream 0.12.7 I get an error:</div><div><br></div><div>[20/69] Compiling C object 'src/appstream@sha/as-cache.c.o'.<br>FAILED: src/appstream@sha/as-cache.c.o <br>cc Â -Isrc/appstream@sha -Isrc/ -I../src -I/usr/include -Isrc/.. -I../src/.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/libxml2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O0 -g -Werror=implicit-function-declaration -Wno-unused-parameter -DAS_COMPILATION -fPIC -pthread -MD -MQ 'src/appstream@sha/as-cache.c.o' -MF 'src/appstream@sha/as-cache.c.o.d' -o 'src/appstream@sha/as-cache.c.o' -c ../src/as-cache.c<br>../src/as-cache.c: In function â€˜as_cache_get_components_by_categories’:<br>../src/as-cache.c:1913:29: error: implicit declaration of function â€˜g_ptr_array_steal_index_fast’; did you mean â€˜g_ptr_array_remove_index_fast’? [-Werror=implicit-function-declaration]<br>  Â  g_ptr_array_add (result, g_ptr_array_steal_index_fast (tmp_res, 0));<br>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â ^~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â g_ptr_array_remove_index_fast<br>../src/as-cache.c:1913:29: warning: passing argument 2 of â€˜g_ptr_array_add’ makes pointer from integer without a cast [-Wint-conversion]<br>In file included from /usr/include/glib-2.0/glib.h:31:0,<br>  Â  Â  Â  Â  Â  Â  Â  Â from /usr/include/glib-2.0/gobject/gbinding.h:28,<br>  Â  Â  Â  Â  Â  Â  Â  Â from /usr/include/glib-2.0/glib-object.h:23,<br>  Â  Â  Â  Â  Â  Â  Â  Â from ../src/as-cache.h:28,<br>  Â  Â  Â  Â  Â  Â  Â  Â from ../src/as-cache.c:33:<br>/usr/include/glib-2.0/glib/garray.h:168:12: note: expected â€˜gpointer {aka void *}’ but argument is of type â€˜int’<br> void Â  Â  Â  g_ptr_array_add Â  Â  Â  Â  Â  Â  Â  Â (GPtrArray Â  Â  Â  Â *array,<br>  Â  Â  Â  Â  Â  ^~~~~~~~~~~~~~~<br>cc1: some warnings being treated as errors<br>[25/69] Compiling C object 'src/appstream@sha/as-component.c.o'.<br>ninja: build stopped: subcommand failed.</div><div><br></div><div>This is with KDE neon which uses Ubuntu 18.04.  it has libglib2.0 2.56.4-0ubuntu0.18.04.3</div><div><br></div><div>Jonathan</div><div><br></div><div><br></div></div>