From nobody Wed Dec 04 19:53:46 2024 X-Original-To: ports-bugs@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 4Y3SrW0F52z5g6PK for ; Wed, 04 Dec 2024 19:53:47 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y3SrV3csQz48d7 for ; Wed, 4 Dec 2024 19:53:46 +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=1733342026; 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=eAvnwjc5mET6THA+8IlJWmvtiFkfuh6HHNFX5K0rpoo=; b=Rhv/JQcedsaiKTE2yfCcHcJ7pY0y3NuUu55xrfzHmNnXkW5aKe2/5OpDs4jtKy+qnBBMwe vgGK/pwWMM9Ykp2JudxQTmAKGtq9st6FVJyWL6oqEzzZyWEzjFzWXuZtvq6OdfKosdFN9Q BcvnTPHB9ppx8aVp7cbzbwk2FTbanRvVM3xOXpBDkP6MYo7p98o23JyGrZUPa4t6WapVWG wo5PtlfV/bDx42RYI98llGyQp8gKLEIv6Ri5MyjaavamixweSuY6UDah2JCykm+ZZpfqt+ sNAo9wwcbRa5LIuV4xhOU5KapVGWfzcIdMUFIv5Sm/0n7W8gc8yiICT2l3GxIg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733342026; a=rsa-sha256; cv=none; b=tEfCShMMxCa2V7EQEyp1awpvQxmTWSzBVoCUPaOVwgCeq/8X56QXvpgMkQXeE3ZT6L2P5t znnUPa2KS0UCZ5MXJA8GSPtfENb7F7oqgzDjeYRwjtj4VwWefOHVthpki1azcDy6vFyfKj q3fCYqkE1TrhaiyOo83jF8ndNt2g8Z9K3FXJ2WwOL6HKe/+flB/wMlAqy7Zn5oNKlLrV/Z ljBNFfi3efobjQDOky+FqQ8heVtLP0jTLxLOQDaW0nxx3vN6qoIu3YOTbI9jSM1XMEwjL9 hHIgXiKMf+gcYORaPuHNdXKfWoLoEDMv1P93uXvfrSMv5v6KRotL2LtQpRyDNg== 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 4Y3SrV32xyzLbd for ; Wed, 4 Dec 2024 19:53:46 +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 4B4Jrkq0079178 for ; Wed, 4 Dec 2024 19:53:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4B4Jrk1d079177 for ports-bugs@FreeBSD.org; Wed, 4 Dec 2024 19:53:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 283126] emulators/mame: fix build with clang 18 and 19 Date: Wed, 04 Dec 2024 19:53:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None 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: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283126 --- Comment #4 from commit-hook@FreeBSD.org --- A commit in branch 2024Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3Da001371cb49df4681ab9429e4d3e76f= 15a0e568a commit a001371cb49df4681ab9429e4d3e76f15a0e568a Author: Dimitry Andric AuthorDate: 2024-12-03 09:22:18 +0000 Commit: Dimitry Andric CommitDate: 2024-12-04 19:53:33 +0000 emulators/mame: fix build with clang 18 and 19 During the exp-run for bug 283013 ("update LLVM_DEFAULT to 18") it turned out that emulators/mame fails to compile, with an error similar to: ../../../../../3rdparty/sol2/sol/sol.hpp:19875:31: error: address of overloaded function 'call' does not match required type 'int (lua_State *)' 19875 | lua_CFunction freefunc =3D &function_detail::upvalue_this_member_variable::template call; |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~~~~~~~~~~~~~~~~~ Upstream fixed this with [1] and [2]. Similarly, compiling it with clang 19, we run into another error: ../../../../../3rdparty/sol2/sol/sol.hpp:6755:10: error: no member na= med 'construct' in 'optional' 2191 |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 this->construct(std::forward(args)...); | ~~~~ ^ Upstream fixed this with [3]. Apply these upstream fixes using PATCH_SITES and PATCHFILES. [1] https://github.com/mamedev/mame/commit/4da99a13f5c [2] https://github.com/mamedev/mame/commit/b7e0fa72b92 [3] https://github.com/mamedev/mame/commit/c75845b1ef0 PR: 283126 Approved by: agh@riseup.net (maintainer) MFH: 2024Q4 (cherry picked from commit d76e4adce969f7a3da6e7398cca26dca70cec559) emulators/mame/Makefile | 5 +++++ emulators/mame/distinfo | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=