Bug#997287: zeitgeist: FTBFS: where-clause.vala:219.35-219.63: error: The name `pdata' does not exist in the context of `GLib.PtrArray*'
Source: zeitgeist
Version: 1.0.3-6
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[3]: Entering directory '/<<PKGBUILDDIR>>/libzeitgeist'
> /usr/bin/valac \
> --target-glib=2.36 --pkg gio-2.0 --pkg gio-unix-2.0 --pkg sqlite3 ../config.vapi -C --vapi zeitgeist-datamodel-2.0.vapi -H zeitgeist-datamodel.h --library zeitgeist-2.0 \
> data-source.vala errors.vala mimetype.vala enumerations.vala event.vala subject.vala timerange.vala timestamp.vala ontology-uris.vala ontology.vala result-set.vala simple-result-set.vala utils.vala
> event.vala:250.24-250.56: warning: Access to possible `null'. Perform a check or use an unsafe cast.
> path = (info as DesktopAppInfo).filename;
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> timestamp.vala:77.32-77.46: warning: `GLib.TimeVal' has been deprecated since 2.62
> timestamp.vala:95.27-95.33: warning: `GLib.TimeVal' has been deprecated since 2.62
> timestamp.vala:95.17-95.23: warning: `GLib.TimeVal' has been deprecated since 2.62
> timestamp.vala:122.27-122.33: warning: `GLib.TimeVal' has been deprecated since 2.62
> timestamp.vala:122.17-122.23: warning: `GLib.TimeVal' has been deprecated since 2.62
> timestamp.vala:139.17-139.23: warning: `GLib.TimeVal' has been deprecated since 2.62
> timestamp.vala:185.17-185.23: warning: `GLib.TimeVal' has been deprecated since 2.62
> timestamp.vala:186.9-186.25: warning: `GLib.Date.set_time_val' has been deprecated since 2.62
> errors.vala:39.5-39.43: warning: Method `Zeitgeist.vala_bug_workaround' never used
> private static void vala_bug_workaround ()
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> event.vala:299.5-299.47: warning: Method `Zeitgeist.Event.optimize_variant_allocation' never used
> private Variant optimize_variant_allocation (Variant event_variant) {
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Compilation succeeded - 11 warning(s)
> touch libzeitgeist_datamodel_2_0_la_vala.stamp
> /usr/bin/valac \
> --target-glib=2.36 --pkg gio-2.0 --pkg gio-unix-2.0 --pkg sqlite3 ../config.vapi -C ./zeitgeist-datamodel-2.0.vapi --vapi zeitgeist-internal.vapi -H zeitgeist-internal.h \
> db-reader.vala sql.vala sql-schema.vala table-lookup.vala where-clause.vala
> sql.vala:456.13-457.55: warning: unhandled error `Zeitgeist.EngineError'
> where-clause.vala:219.35-219.63: error: The name `pdata' does not exist in the context of `GLib.PtrArray*'
> Memory.copy(pointers, ((PtrArray *) gptrarr)->pdata,
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Compilation failed: 1 error(s), 1 warning(s)
> make[3]: *** [Makefile:1298: libzeitgeist_internal_la_vala.stamp] Error 1
The full build log is available from:
http://qa-logs.debian.net/2021/10/23/zeitgeist_1.0.3-6_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
Reply to: