Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jun 2023 16:25:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 271968] sysutils/tracker3: fix build with clang 16
Message-ID:  <bug-271968-6497-4qcqnvC3JE@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-271968-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-271968-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271968

--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=3De78dc018f22d87c8a6e7b8b267e141b=
0161499d7

commit e78dc018f22d87c8a6e7b8b267e141b0161499d7
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2023-06-12 18:53:44 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2023-06-15 16:23:54 +0000

    sysutils/tracker3: fix build with clang 16

    Clang 16 has a new error about incompatible function types, which shows
    up when building sysutils/tracker3:

      ../src/libtracker-sparql/bus/tracker-bus.vala:20:56: error: incompati=
ble
function pointer types assigning to 'void (*)(TrackerSparqlConnection *,
GCancellable *, GAsyncReadyCallback, gpointer)' (aka 'void (*)(struct
_TrackerSparqlConnection *, struct _GCancellable *, void (*)(struct _GObjec=
t *,
struct _GAsyncResult *, void *), void *)') from 'void
(*)(TrackerSparqlConnection *, GAsyncReadyCallback, gpointer)' (aka 'void
(*)(struct _TrackerSparqlConnection *, void (*)(struct _GObject *, struct
_GAsyncResult *, void *), void *)') [-Wincompatible-function-pointer-types]
              ((TrackerSparqlConnectionClass *) klass)->close_async =3D (vo=
id (*)
(TrackerSparqlConnection*, GAsyncReadyCallback, gpointer))
tracker_bus_connection_real_close_async;
                                                                    ^
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Since the error occurs in vala-generated code, it does not make sense to
    patch the .c file. Suppress the warning instead.

    PR:             271968
    Approved by:    vishwin, fernape
    MFH:            2023Q2

 sysutils/tracker3/Makefile | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271968-6497-4qcqnvC3JE>