1.0.4: zeitgeist is not ready for gcc 14.x
Looks like last versiona build fails with latest gcc 14.x which is now used in fedora rawhise.
Build fails with
[tkloczko@pers-jacek zeitgeist-1.0.4]$ make -k
make all-recursive
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4'
Making all in libzeitgeist
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/libzeitgeist'
make all-am
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/libzeitgeist'
CC data-source-registry.lo
data-source-registry.c: In function '__lambda4_':
data-source-registry.c:1228:24: error: assignment to 'ZeitgeistRemoteRegistry *' {aka 'struct _ZeitgeistRemoteRegistry *'} from incompatible pointer type 'GObject *' {aka 'struct _GObject *'} [-Wincompatible-pointer-types]
1228 | _tmp1_ = g_async_result_get_source_object (res);
| ^
make[3]: *** [Makefile:782: data-source-registry.lo] Error 1
CC index.lo
index.c: In function '__lambda8_':
index.c:197:24: error: assignment to 'ZeitgeistRemoteSimpleIndexer *' {aka 'struct _ZeitgeistRemoteSimpleIndexer *'} from incompatible pointer type 'GObject *' {aka 'struct _GObject *'} [-Wincompatible-pointer-types]
197 | _tmp1_ = g_async_result_get_source_object (res);
| ^
make[3]: *** [Makefile:782: index.lo] Error 1
CC log.lo
log.c: In function '__lambda9_':
log.c:768:24: error: assignment to 'ZeitgeistRemoteLog *' {aka 'struct _ZeitgeistRemoteLog *'} from incompatible pointer type 'GObject *' {aka 'struct _GObject *'} [-Wincompatible-pointer-types]
768 | _tmp1_ = g_async_result_get_source_object (res);
| ^
make[3]: *** [Makefile:782: log.lo] Error 1
CC libzeitgeist_datamodel_2_0_la-event.lo
event.c: In function 'zeitgeist_event_to_variant':
event.c:970:101: error: passing argument 5 of 'g_variant_new_from_data' from incompatible pointer type [-Wincompatible-pointer-types]
970 | _tmp63_ = g_variant_new_from_data (_tmp58_, _tmp60_, (gint) _tmp60__length1, FALSE, g_byte_array_unref, _tmp62_);
| ^~~~~~~~~~~~~~~~~~
| |
| void (*)(GByteArray *) {aka void (*)(struct _GByteArray *)}
In file included from /usr/include/glib-2.0/glib/gmessages.h:38,
from /usr/include/glib-2.0/glib.h:64,
from event.c:29:
/usr/include/glib-2.0/glib/gvariant.h:267:96: note: expected 'GDestroyNotify' {aka 'void (*)(void *)'} but argument is of type 'void (*)(GByteArray *)' {aka 'void (*)(struct _GByteArray *)'}
267 | GDestroyNotify notify,
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
make[3]: *** [Makefile:817: libzeitgeist_datamodel_2_0_la-event.lo] Error 1
CC libzeitgeist_datamodel_2_0_la-subject.lo
subject.c: In function 'zeitgeist_subject_to_variant':
subject.c:429:39: error: passing argument 1 of 'g_variant_new_strv' from incompatible pointer type [-Wincompatible-pointer-types]
429 | _tmp33_ = g_variant_new_strv ((gchar**) ptr_arr, (9 * sizeof (gchar*)) / sizeof (gchar*));
| ^~~~~~~~~~~~~~~~~
| |
| gchar ** {aka char **}
In file included from /usr/include/glib-2.0/glib/gmessages.h:38,
from /usr/include/glib-2.0/glib.h:64,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:24,
from zeitgeist-datamodel.h:6,
from subject.c:29:
/usr/include/glib-2.0/glib/gvariant.h:120:96: note: expected 'const gchar * const*' {aka 'const char * const*'} but argument is of type 'gchar **' {aka 'char **'}
120 | GVariant * g_variant_new_strv (const gchar * const *strv,
| ~~~~~~~~~~~~~~~~~~~~~~^~~~
make[3]: *** [Makefile:824: libzeitgeist_datamodel_2_0_la-subject.lo] Error 1
CC libzeitgeist_internal_la-sql.lo
sql.c: In function 'zeitgeist_sq_lite_database_construct':
sql.c:197:38: error: passing argument 2 of 'sqlite3_update_hook' from incompatible pointer type [-Wincompatible-pointer-types]
197 | sqlite3_update_hook (_tmp0_, _zeitgeist_sq_lite_database_update_callback_sqlite_update_callback, self);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void (*)(void *, int, const gchar *, const gchar *, gint64) {aka void (*)(void *, int, const char *, const char *, long int)}
In file included from zeitgeist-internal.h:7,
from sql.c:28:
/usr/include/sqlite3.h:6888:3: note: expected 'void (*)(void *, int, const char *, const char *, sqlite3_int64)' {aka 'void (*)(void *, int, const char *, const char *, long long int)'} but argument is of type 'void (*)(void *, int, const gchar *, const gchar *, gint64)' {aka 'void (*)(void *, int, const char *, const char *, long int)'}
6888 | void(*)(void *,int ,char const *,char const *,sqlite3_int64),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sql.c: In function 'zeitgeist_sq_lite_database_construct_read_only':
sql.c:241:38: error: passing argument 2 of 'sqlite3_update_hook' from incompatible pointer type [-Wincompatible-pointer-types]
241 | sqlite3_update_hook (_tmp0_, _zeitgeist_sq_lite_database_update_callback_sqlite_update_callback, self);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void (*)(void *, int, const gchar *, const gchar *, gint64) {aka void (*)(void *, int, const char *, const char *, long int)}
/usr/include/sqlite3.h:6888:3: note: expected 'void (*)(void *, int, const char *, const char *, sqlite3_int64)' {aka 'void (*)(void *, int, const char *, const char *, long long int)'} but argument is of type 'void (*)(void *, int, const gchar *, const gchar *, gint64)' {aka 'void (*)(void *, int, const char *, const char *, long int)'}
6888 | void(*)(void *,int ,char const *,char const *,sqlite3_int64),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:887: libzeitgeist_internal_la-sql.lo] Error 1
CC libzeitgeist_internal_la-where-clause.lo
where-clause.c: In function 'zeitgeist_where_clause_get_sql_conditions':
where-clause.c:862:17: error: assignment to 'gchar **' {aka 'char **'} from incompatible pointer type 'void **' [-Wincompatible-pointer-types]
862 | _tmp19_ = _tmp18_;
| ^
make[3]: *** [Makefile:908: libzeitgeist_internal_la-where-clause.lo] Error 1
make[3]: Target 'all-am' not remade because of errors.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/libzeitgeist'
make[2]: *** [Makefile:635: all] Error 2
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/libzeitgeist'
Making all in src
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/src'
make all-am
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/src'
CC ext-fts.o
ext-fts.c: In function ‘zeitgeist_search_engine_proxy_acquired’:
ext-fts.c:1051:24: error: assignment to ‘ZeitgeistRemoteSimpleIndexer *’ {aka ‘struct _ZeitgeistRemoteSimpleIndexer *’} from incompatible pointer type ‘GObject *’ {aka ‘struct _GObject *’} [-Wincompatible-pointer-types]
1051 | _tmp2_ = g_async_result_get_source_object (res);
| ^
make[3]: *** [Makefile:615: ext-fts.o] Error 1
CC extension-collection.lo
extension-collection.c: In function 'zeitgeist_extension_collection_finalize':
extension-collection.c:918:38: error: passing argument 2 of 'g_ptr_array_foreach' from incompatible pointer type [-Wincompatible-pointer-types]
918 | g_ptr_array_foreach (_tmp0_, __zeitgeist_extension_collection___lambda4__gfunc, self);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| void (*)(const void *, void *)
In file included from /usr/include/glib-2.0/glib.h:33,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:24,
from ../libzeitgeist/zeitgeist-internal.h:6,
from zeitgeist-engine.h:6,
from extension-collection.c:23:
/usr/include/glib-2.0/glib/garray.h:254:62: note: expected 'GFunc' {aka 'void (*)(void *, void *)'} but argument is of type 'void (*)(const void *, void *)'
254 | GFunc func,
| ~~~~~~~~~~~~~~~~~~^~~~
make[3]: *** [Makefile:629: extension-collection.lo] Error 1
CC extension-store.lo
extension-store.c: In function 'zeitgeist_extension_store_retrieve':
extension-store.c:407:100: error: passing argument 5 of 'g_variant_new_from_data' from incompatible pointer type [-Wincompatible-pointer-types]
407 | _tmp23_ = g_variant_new_from_data (format, _tmp20_, (gint) _tmp20__length1, FALSE, g_byte_array_unref, _tmp22_);
| ^~~~~~~~~~~~~~~~~~
| |
| void (*)(GByteArray *) {aka void (*)(struct _GByteArray *)}
In file included from /usr/include/glib-2.0/glib/gmessages.h:38,
from /usr/include/glib-2.0/glib.h:64,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:24,
from ../libzeitgeist/zeitgeist-internal.h:6,
from zeitgeist-engine.h:6,
from extension-store.c:24:
/usr/include/glib-2.0/glib/gvariant.h:267:96: note: expected 'GDestroyNotify' {aka 'void (*)(void *)'} but argument is of type 'void (*)(GByteArray *)' {aka 'void (*)(struct _GByteArray *)'}
267 | GDestroyNotify notify,
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
make[3]: *** [Makefile:629: extension-store.lo] Error 1
CC notify.lo
notify.c: In function '__lambda6_':
notify.c:547:24: error: assignment to 'ZeitgeistRemoteMonitor *' {aka 'struct _ZeitgeistRemoteMonitor *'} from incompatible pointer type 'GObject *' {aka 'struct _GObject *'} [-Wincompatible-pointer-types]
547 | _tmp1_ = g_async_result_get_source_object (res);
| ^
make[3]: *** [Makefile:629: notify.lo] Error 1
make[3]: *** No rule to make target '../libzeitgeist/libzeitgeist-2.0.la', needed by 'zeitgeist-daemon'.
make[3]: Target 'all-am' not remade because of errors.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/src'
make[2]: *** [Makefile:483: all] Error 2
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/src'
Making all in extensions
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/extensions'
Making all in fts++
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/extensions/fts++'
make all-recursive
make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/extensions/fts++'
Making all in test
make[5]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/extensions/fts++/test'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/extensions/fts++/test'
make[5]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/extensions/fts++'
make[5]: *** No rule to make target '../../libzeitgeist/libzeitgeist-2.0.la', needed by 'zeitgeist-fts'.
make[5]: *** No rule to make target '../../libzeitgeist/libzeitgeist-internal.la', needed by 'zeitgeist-fts'.
make[5]: *** No rule to make target '../../src/libzeitgeist-engine.la', needed by 'zeitgeist-fts'.
make[5]: Target 'all-am' not remade because of errors.
make[5]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/extensions/fts++'
make[4]: *** [Makefile:758: all-recursive] Error 1
make[4]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/extensions/fts++'
make[3]: *** [Makefile:555: all] Error 2
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/extensions/fts++'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/extensions'
CCLD benchmark.la
libtool: error: cannot find the library '../libzeitgeist/libzeitgeist-2.0.la' or unhandled argument '../libzeitgeist/libzeitgeist-2.0.la'
make[3]: *** [Makefile:534: benchmark.la] Error 1
CCLD blacklist.la
libtool: error: cannot find the library '../libzeitgeist/libzeitgeist-2.0.la' or unhandled argument '../libzeitgeist/libzeitgeist-2.0.la'
make[3]: *** [Makefile:537: blacklist.la] Error 1
CCLD ds-registry.la
libtool: error: cannot find the library '../libzeitgeist/libzeitgeist-2.0.la' or unhandled argument '../libzeitgeist/libzeitgeist-2.0.la'
make[3]: *** [Makefile:540: ds-registry.la] Error 1
CC fts.lo
fts.c: In function 'zeitgeist_search_engine_proxy_acquired':
fts.c:1052:24: error: assignment to 'ZeitgeistRemoteSimpleIndexer *' {aka 'struct _ZeitgeistRemoteSimpleIndexer *'} from incompatible pointer type 'GObject *' {aka 'struct _GObject *'} [-Wincompatible-pointer-types]
1052 | _tmp2_ = g_async_result_get_source_object (res);
| ^
make[3]: *** [Makefile:589: fts.lo] Error 1
CCLD histogram.la
libtool: error: cannot find the library '../libzeitgeist/libzeitgeist-2.0.la' or unhandled argument '../libzeitgeist/libzeitgeist-2.0.la'
make[3]: *** [Makefile:546: histogram.la] Error 1
CCLD storage-monitor.la
libtool: error: cannot find the library '../libzeitgeist/libzeitgeist-2.0.la' or unhandled argument '../libzeitgeist/libzeitgeist-2.0.la'
make[3]: *** [Makefile:549: storage-monitor.la] Error 1
make[3]: Target 'all-am' not remade because of errors.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/extensions'
make[2]: *** [Makefile:670: all-recursive] Error 1
make[2]: Target 'all' not remade because of errors.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/extensions'
Making all in data
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/data'
Making all in ontology
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/data/ontology'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/data/ontology'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/data'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/data'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/data'
Making all in python
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/python'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/python'
Making all in test
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/test'
Making all in dbus
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/test/dbus'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/test/dbus'
Making all in direct
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/test/direct'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/test/direct'
Making all in c
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/test/c'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/test/c'
Making all in data
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/test/data'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/test/data'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/test'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/test'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/test'
Making all in examples
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/examples'
Making all in vala
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/examples/vala'
CCLD data-source-stuff
libtool: error: cannot find the library '../../libzeitgeist/libzeitgeist-2.0.la' or unhandled argument '../../libzeitgeist/libzeitgeist-2.0.la'
make[3]: *** [Makefile:472: data-source-stuff] Error 1
CCLD get-events-with-id
libtool: error: cannot find the library '../../libzeitgeist/libzeitgeist-2.0.la' or unhandled argument '../../libzeitgeist/libzeitgeist-2.0.la'
make[3]: *** [Makefile:476: get-events-with-id] Error 1
CCLD monitor-events
libtool: error: cannot find the library '../../libzeitgeist/libzeitgeist-2.0.la' or unhandled argument '../../libzeitgeist/libzeitgeist-2.0.la'
make[3]: *** [Makefile:484: monitor-events] Error 1
CCLD most-recent-events
libtool: error: cannot find the library '../../libzeitgeist/libzeitgeist-2.0.la' or unhandled argument '../../libzeitgeist/libzeitgeist-2.0.la'
make[3]: *** [Makefile:488: most-recent-events] Error 1
CCLD insert-events
libtool: error: cannot find the library '../../libzeitgeist/libzeitgeist-2.0.la' or unhandled argument '../../libzeitgeist/libzeitgeist-2.0.la'
make[3]: *** [Makefile:480: insert-events] Error 1
make[3]: Target 'all' not remade because of errors.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/examples/vala'
Making all in c
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/examples/c'
CCLD find-events
libtool: error: cannot find the library '../../libzeitgeist/libzeitgeist-2.0.la' or unhandled argument '../../libzeitgeist/libzeitgeist-2.0.la'
make[3]: *** [Makefile:439: find-events] Error 1
CCLD monitor-events
libtool: error: cannot find the library '../../libzeitgeist/libzeitgeist-2.0.la' or unhandled argument '../../libzeitgeist/libzeitgeist-2.0.la'
make[3]: *** [Makefile:443: monitor-events] Error 1
CCLD search-events
libtool: error: cannot find the library '../../libzeitgeist/libzeitgeist-2.0.la' or unhandled argument '../../libzeitgeist/libzeitgeist-2.0.la'
make[3]: *** [Makefile:447: search-events] Error 1
make[3]: Target 'all' not remade because of errors.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/examples/c'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/examples'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/examples'
make[2]: *** [Makefile:432: all-recursive] Error 1
make[2]: Target 'all' not remade because of errors.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/examples'
Making all in po
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/po'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/po'
Making all in doc
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/doc'
Making all in libzeitgeist
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/doc/libzeitgeist'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/doc/libzeitgeist'
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/doc'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/doc'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/doc'
Making all in datahub
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/datahub'
make all-am
make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/datahub'
CC utils.o
utils.c: In function ‘utils_get_file_contents’:
utils.c:137:60: error: passing argument 3 of ‘g_file_load_contents’ from incompatible pointer type [-Wincompatible-pointer-types]
137 | _tmp3_ = g_file_load_contents (file, NULL, &_tmp1_, &_tmp2_, NULL, &_inner_error0_);
| ^~~~~~~
| |
| guint8 ** {aka unsigned char **}
In file included from /usr/include/glib-2.0/gio/gio.h:81,
from utils.c:32:
/usr/include/glib-2.0/gio/gfile.h:1264:71: note: expected ‘char **’ but argument is of type ‘guint8 **’ {aka ‘unsigned char **’}
1264 | char **contents,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
utils.c: In function ‘utils_init_desktop_id’:
utils.c:259:27: error: assignment to ‘gchar **’ {aka ‘char **’} from incompatible pointer type ‘const gchar * const*’ {aka ‘const char * const*’} [-Wincompatible-pointer-types]
259 | _tmp12_ = _tmp11_ = g_get_system_data_dirs ();
| ^
utils.c: In function ‘utils_find_desktop_file_for_app’:
utils.c:714:27: error: assignment to ‘gchar **’ {aka ‘char **’} from incompatible pointer type ‘const gchar * const*’ {aka ‘const char * const*’} [-Wincompatible-pointer-types]
714 | _tmp11_ = _tmp10_ = g_get_system_data_dirs ();
| ^
make[3]: *** [Makefile:547: utils.o] Error 1
CC zeitgeist-datahub.o
zeitgeist-datahub.c: In function ‘data_hub_items_available’:
zeitgeist-datahub.c:1199:38: error: passing argument 2 of ‘g_ptr_array_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
1199 | g_ptr_array_foreach (events, ___lambda10__gfunc, self);
| ^~~~~~~~~~~~~~~~~~
| |
| void (*)(const void *, void *)
In file included from /usr/include/glib-2.0/glib.h:33,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:24,
from zeitgeist-datahub.c:26:
/usr/include/glib-2.0/glib/garray.h:254:62: note: expected ‘GFunc’ {aka ‘void (*)(void *, void *)’} but argument is of type ‘void (*)(const void *, void *)’
254 | GFunc func,
| ~~~~~~~~~~~~~~~~~~^~~~
zeitgeist-datahub.c: In function ‘data_hub_batch_insert_events_co’:
zeitgeist-datahub.c:1337:46: error: passing argument 2 of ‘g_ptr_array_foreach’ from incompatible pointer type [-Wincompatible-pointer-types]
1337 | g_ptr_array_foreach (_data_->_tmp1_, ___lambda12__gfunc, _data_->_data1_);
| ^~~~~~~~~~~~~~~~~~
| |
| void (*)(const void *, void *)
/usr/include/glib-2.0/glib/garray.h:254:62: note: expected ‘GFunc’ {aka ‘void (*)(void *, void *)’} but argument is of type ‘void (*)(const void *, void *)’
254 | GFunc func,
| ~~~~~~~~~~~~~~~~~~^~~~
make[3]: *** [Makefile:547: zeitgeist-datahub.o] Error 1
make[3]: *** No rule to make target '../libzeitgeist/libzeitgeist-2.0.la', needed by 'zeitgeist-datahub'.
make[3]: Target 'all-am' not remade because of errors.
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/datahub'
make[2]: *** [Makefile:434: all] Error 2
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4/datahub'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4'
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4'
make[1]: *** [Makefile:499: all-recursive] Error 1
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/zeitgeist-1.0.4'
make: *** [Makefile:431: all] Error 2