From nobody Wed Dec 04 19:52:45 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 4Y3SqK34JKz5g6G0 for ; Wed, 04 Dec 2024 19:52:45 +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 4Y3SqK0J5Dz487t for ; Wed, 4 Dec 2024 19:52:45 +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=1733341965; 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=TUo57nDMvzN5eXBuu7w6/tM7LhRb7ylbOjffKcJBX50=; b=ddS9vEAlbxMVHo8efnt2hvrpnA1F3lyF9eYst5IOSFkmGtCLMlgH1em38R0d5+DQVIaoDA DWUuhkr13t6K1MuiTbqKltw0Qtdvi2LAThETbWdR7exXv3KJwmP9woQPHlnlyb7nROR7EL ihLUodkcXyu6lAE2lkyyqamQH+GPgJ2bVp/cYzM9MnNFJ2mBW8hvDmIThGj19awWlRFPgT kzatc+v22PHxkSpVHAIYVEahzV4lPg0TZM9/ZK6xk3ZXC7X7EIyoas7OJdj0CKGlLHxDBl cQmrQb0KzjwEt2Tjcwm6wQ8xi1azOkl7mbSRa0YkIp6SPGk4VdeX5kI0HX2NpQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733341965; a=rsa-sha256; cv=none; b=QiD44F3DFtDk51yfLGk+nUuCmFMepsoa55EQh3PhVLvjOTINz+qb/0+LNlpJRd0fBPcSTj FIEpWm9XYLTu7kPH6aAnzZn304Fkl+q8w055p2p++aE3nkI3XpFBwd5F4LwdsrDc4PiTbp WLbAO3YLCm0mvjt74No+ZzM5XDK3Mhwl2Evh9sSXuGf/zGgLhK3fYH2lUsSJxPlnCSebkp lLUAu6gB8vVhb+Q64l35JIBZxLBtRaVqIW4bkbCkBD+xVVxqMeYTksUCvg6Z/XGk41xT6i gctiCtEI8NZzNTTPg6oaIryGvdysju3LQl1sG+dyK6RiieP8PQMDiKhIxeUH3w== 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 4Y3SqJ6kjYzLbb for ; Wed, 4 Dec 2024 19:52:44 +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 4B4JqilS078618 for ; Wed, 4 Dec 2024 19:52:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4B4JqiXQ078617 for ports-bugs@FreeBSD.org; Wed, 4 Dec 2024 19:52:44 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:52:45 +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 #3 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3Dd76e4adce969f7a3da6e7398cca26dc= a70cec559 commit d76e4adce969f7a3da6e7398cca26dca70cec559 Author: Dimitry Andric AuthorDate: 2024-12-03 09:22:18 +0000 Commit: Dimitry Andric CommitDate: 2024-12-04 19:51:46 +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 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.=