From nobody Mon Jun 19 19:24:49 2023 X-Original-To: gnome@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QlKTY3xXYz4dtPj for ; Mon, 19 Jun 2023 19:24:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QlKTY0J9wz3Nq0 for ; Mon, 19 Jun 2023 19:24:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687202689; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xl5Jlre5/F5SM0XM5LnnLuX9cXSCdGkgcB8VGst2zpE=; b=FAFI0pJrroe/7e51indZVlVj0PLvAWj6AU8TT9xKuy/+Q1MznKXF2CVQQRs/KG5DiLj0eb zBIKU7nXWrzbntPFPMQKszZXOmf10EBdH0MsfzsbFIIsNxSFxWYcxwDWfxf7v8+fnzyP5+ YmbCPrvP1zuqL0mj/10qEFZMc+1/N56bjT2nmNyl1iN8P3opaN7LNRWnDa47WhdURF+Qt4 SpsTEnBvtmeWBvMMpumGRhZHW1aRTMVKqfEJs1C05IBFQtruWzuBjjYFIaG04B2vRrlIKd rP5cpVX+nC95+6VearECIxaPh92DBrv27UTmwxaVchBz0YsVU4xFn/BZMmMIKA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687202689; a=rsa-sha256; cv=none; b=aYgIIE4ylkvd5JgWMIaN6n8mLc7FaVFh3l6aqVkpL99LcOZGRA8yl8xuql5Y4NoxpCSgq3 0TKQlRXGLIhevbIg01iKKtRkpwJOwtvl6b3UReewXwxlYNDwNNUfg5Z2jv1uTkizNeu5K7 BvUteV3RbiCezzixDjdoGeVoHHUJ/zAlSEgmLunNiwE7+5cwvRA2CPlS/187G9/XyC2DAT LVoBKNuy48sXAKthUZfrawMmWaHeNZWtPJW0KVzGWPOl4NFJUggoFnv2wxAslaUaSkC9fA a90L8ZkHjJUio9IIZKbv33kpn9zZ+H303fgRusQc+i6NuVqnkeSUCsyHO5OIUQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QlKTX6NkxzV8G for ; Mon, 19 Jun 2023 19:24:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 35JJOmgx032965 for ; Mon, 19 Jun 2023 19:24:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35JJOmWx032964 for gnome@FreeBSD.org; Mon, 19 Jun 2023 19:24:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: maintainer-feedback requested: [Bug 272079] net-im/telepathy-glib: fix build with clang 16 Date: Mon, 19 Jun 2023 19:24:49 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: GNOME for FreeBSD -- porting and maintaining List-Archive: https://lists.freebsd.org/archives/freebsd-gnome List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-gnome@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N Bugzilla Automation has asked freebsd-gnome (Nobody) for maintainer-feedback: Bug 272079: net-im/telepathy-glib: fix build with clang 16 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272079 --- Description --- Clang 16 has a new error about incompatible function types, which shows up when net-im/telepathy-glib: protocol.c:1794:42: error: incompatible function pointer types passing 'v= oid (GValueArray *)' (aka 'void (struct _GValueArray *)') to parameter of type 'GDestroyNotify' (aka 'void (*)(void *)') [-Wincompatible-function-pointer-types] param_specs =3D g_ptr_array_new_full (i, tp_value_array_free); ^~~~~~~~~~~~~~~~~~~ /usr/local/include/glib-2.0/glib/garray.h:175:27: note: passing argument = to parameter 'element_free_func' here GDestroyNotify=20=20=20 element_free_func); ^ It looks like telepathy-glib added this tp_value_array_free function to work around compatibility issues, and later on in the code they cast a similar instance of tp_value_array_free to GDestroyNotify, so use the same approach for this error.