From nobody Sun Dec 25 17:54:38 2022 X-Original-To: dev-commits-ports-main@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 4Ng7pl0Pq1z1G6yV; Sun, 25 Dec 2022 17:54:39 +0000 (UTC) (envelope-from git@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 4Ng7pk6h5rz3Bx0; Sun, 25 Dec 2022 17:54:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671990879; 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; bh=fJdyKti6GN3nXQkJLJ9F8ICS0F+FaA55F9KH2/LpnfE=; b=vunBhQD4Px+Vn0NIHrr0llIPfUVtxsbvLxAzpaP2fG35qwfIDr9hcgW9lEre4w3r0S+u6a sDf6M9JF98X9gYgvEawS61LBnC1vQOAxeGsXDEPDUmgAEuVLMRYt2Rl737f6KaRvvFqp6M R42Vfvtv9vwJ/m8E5AfiXgf4VKPxL4W154d1PuYAsEGa3UHPy6SUHKxj77oQftRHuJv4Wg jNRp67m1UuVjGoqOw21uslOegNxnmaQEF9efCMGZG1oAwnEsdtxTByUQJLj07IGovOofqw /jEcH5czRtsb4Vo2DQWudswCt3lPPPZfbwwC7sB//f8V/4sH3Zoi52hzHneRJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671990879; 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; bh=fJdyKti6GN3nXQkJLJ9F8ICS0F+FaA55F9KH2/LpnfE=; b=kLsjaBVvPz+r0uoML0sDlSdBymuDYKKbz+nqRUd+Al4G35SPSnDsLoRGjtk5I/Us1VRwwe YwJl9JY8+oHo1V/BzGgcEXWvkt1VSyL6cwD5BDDKEHMSjquVaXUGCkDgw7+neqTMT2k8pL qwVeN/1gj2qpaSQhdcyVCtM9tx1Me6AYyj67rVWYV0D4hFqzsQ8HUH7pZLRcCLG5R+Wd7D 7xnL4h22h8AHAStUjKDh0Vhy66l+UHovT0Rg3Zh6qs7O1UQC1vo9R3dvqf18GUiS10Upr+ 9mfEpyGzclZXX6orLNIhWvjjjHXSNA2Gaz3PMaxkWWHo6G3xOXE5QGVItA+3JQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671990879; a=rsa-sha256; cv=none; b=r8bnc3clCGZ2gZUMJ0MxEmb9h3pLBXs4NkCAg3NtFUx9nLFg0IvQz2XeLQeyTo2pxKWbR8 t5S5eRLTVC7p2/0qcZINeJ2makj+Rzz1pwtRn5HocOiAjaZhFroKhVJts78Gn9gLFktKnJ Yyi5JFw/6/K1Y5l1ukesDNbw5sn5tkC8+HozzhFh3CGTPFWv88kcmegiKve0uLpyDsw0NB 8i3XGGy7u9s4cuu+R98VQUs+YBA75tYjzDlkc+OJohzM0vXu2pvMJlvva1nKircjf0g50V kFLSd0Yh96fiKxJ0KXMkZd3Du8Z1EHwZyohnipoio73tXc1M//0/0H7VSGy7dw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4Ng7pk5mcBz10km; Sun, 25 Dec 2022 17:54:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2BPHscwE042765; Sun, 25 Dec 2022 17:54:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BPHscIb042764; Sun, 25 Dec 2022 17:54:38 GMT (envelope-from git) Date: Sun, 25 Dec 2022 17:54:38 GMT Message-Id: <202212251754.2BPHscIb042764@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dimitry Andric Subject: git: df7a32d6fa9a - main - devel/py-llfuse: fix build with clang 15 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: df7a32d6fa9a8c5270a0f25990db09e25a02b3f1 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dim (src committer): URL: https://cgit.FreeBSD.org/ports/commit/?id=df7a32d6fa9a8c5270a0f25990db09e25a02b3f1 commit df7a32d6fa9a8c5270a0f25990db09e25a02b3f1 Author: Dimitry Andric AuthorDate: 2022-12-07 16:06:21 +0000 Commit: Dimitry Andric CommitDate: 2022-12-25 17:49:37 +0000 devel/py-llfuse: fix build with clang 15 During an exp-run for llvm 15 (see bug 265425), it turned out that devel/py-llfuse failed to build with clang 15: src/llfuse.c:41839:21: error: incompatible pointer to integer conversion assigning to 'uintptr_t' (aka 'unsigned int') from 'pthread_t' (aka 'struct pthread *') [-Wint-conversion] __pyx_v_tid = __pyx_t_7; ^ ~~~~~~~~~ src/llfuse.c:42467:3: warning: 'PyEval_InitThreads' is deprecated [-Wdeprecated-declarations] PyEval_InitThreads(); ^ /usr/local/include/python3.9/ceval.h:130:1: note: 'PyEval_InitThreads' has been explicitly marked deprecated here Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); ^ /usr/local/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ 1 warning and 1 error generated. The conversion from pthread_t to uintptr_t needs an explicit cast. PR: 268226 Approved by: maintainer timeout (2 weeks) MFH: 2022Q4 --- devel/py-llfuse/files/patch-src_llfuse.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/devel/py-llfuse/files/patch-src_llfuse.c b/devel/py-llfuse/files/patch-src_llfuse.c new file mode 100644 index 000000000000..c48298ee62fe --- /dev/null +++ b/devel/py-llfuse/files/patch-src_llfuse.c @@ -0,0 +1,11 @@ +--- src/llfuse.c.orig 2022-05-31 15:39:27 UTC ++++ src/llfuse.c +@@ -41836,7 +41836,7 @@ static void *__pyx_f_6llfuse_worker_start(void *__pyx_ + * 'aborting processing', tid) + */ + __pyx_t_7 = __pyx_v_wd->thread_id; +- __pyx_v_tid = __pyx_t_7; ++ __pyx_v_tid = (uintptr_t)__pyx_t_7; + + /* "src/fuse_api.pxi":391 + * fuse_session_exit(session)