From nobody Sat Nov 30 15:29:13 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 4Y0v956dL8z5f9xM for ; Sat, 30 Nov 2024 15:29:13 +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 4Y0v953Ys0z4ZMf for ; Sat, 30 Nov 2024 15:29:13 +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=1732980553; 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=f8EtOrcwygv1lgBmU/2R87r8IOddcWRCb6itD4H3mI0=; b=hMmcEjy16XcaH8GChao/qg4zp5h2hyN7wjzLKJiBw6r2iibSIHzgoMibLsEhlhDBk0UmGm O3hIehDIf5fk+sKOYLbn/rLP8Fd5cEaVdTUgIFtEuz/4M/uGAk3fh51jxT9PWM5UaCrZzb NbHe2+t3I+rjlTqORMgrSTIeOaP4s7K6D9hR9Pe7RhEj07HhpxH39H3ujzu52Sy+bSRHqJ PZLLFDgFY3TiZr7iyUhoERAH1u4KwF0df5oC/Z6BNgcPsXvq0ixdY5h04bJoliEb56HS4N ZNszx8FENGJj7Sz4MTiK8gy7qPE6WfXXZoK+2DSPEGYiv/W8iSRZrO8usodzrA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732980553; a=rsa-sha256; cv=none; b=n3rX8GKrBbyRRPPRX+YfMBMmWOFv5YZ/ssrg4jiy5C38Ap03ykU3WmlxTz04O/5LRgIp9y RlT1O3H5wZutwXtVy/kz43kRkZVNoEbaEgTGcOrMdG/Tk3bwgrxrE/QDeK+2K3uoGI07Kr rfuLUOc+030kYvw6s6Dv1ToNC0nPD3+SEuA215vqsQ1tXTrywLW7SlJziq65RTRcsGyEhc Xk6rWsg5/xeED1K1kWXtbR+znORcqn2aTHXSA5Y+lV9gCXlHEkHraF5JMT8Clv1dJaIT2F VAWNU9m2Ppgf6bUyYsJpkLYdfyyP3EkP5QV/ssj5N1mlHMiiiWEg3Jb8u1hRow== 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 4Y0v9532n4z1CJW for ; Sat, 30 Nov 2024 15:29:13 +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 4AUFTDab095458 for ; Sat, 30 Nov 2024 15:29:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4AUFTDZk095457 for ports-bugs@FreeBSD.org; Sat, 30 Nov 2024 15:29:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 283051] lang/spidermonkey91: fix build with clang and libc++ 19 Date: Sat, 30 Nov 2024 15:29:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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 Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: nc@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: 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=3D283051 Bug ID: 283051 Summary: lang/spidermonkey91: fix build with clang and libc++ 19 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: nc@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: nc@FreeBSD.org Flags: maintainer-feedback?(nc@FreeBSD.org) Clang 19 now diagnoses incorrect member accesses, which causes lang/spidermonkey91 to fail with an error similar to: =20 /wrkdirs/usr/ports/lang/spidermonkey91/work/firefox-91.13.0/js/src/threadin= g/ExclusiveData.h:113:29: error: reference to non-static member function must be called 113 | : lock_(std::move(rhs.lock)), value_(std::move(rhs.value_))= { | ~~~~^~~~ Upstream fixed this for https://bugzilla.mozilla.org/1894423 in changeset 223087fdc29f18678f6174e9807b8780e439acf6 [2], so pull this in as a patch and apply it. Also, as noted in the libc++ 19 release notes [1], std::char_traits<> is now only provided for char, char8_t, char16_t, char32_t and wchar_t, and any instantiation for other types will fail. With lang/spidermonkey91 and clang/libc++ 19 this results in errors similar to: =20 /wrkdirs/usr/ports/lang/spidermonkey91/work/fireox-78.15.0/js/src/builtin/i= ntl/Locale.cpp:208:20: error: implicit instantiation of undefined template 'std::char_traits' 208 | iter_ =3D std::char_traits::find( | ^ =20 /wrkdirs/usr/ports/lang/spidermonkey91/work/fireox-78.15.0/js/src/builtin/i= ntl/Locale.cpp:769:21: note: in instantiation of member function 'SepKeywordIterator::next' requested here 769 | beginKey =3D iter.next(); | ^ =20 /wrkdirs/usr/ports/lang/spidermonkey91/work/fireox-78.15.0/js/src/builtin/i= ntl/Locale.cpp:808:16: note: in instantiation of function template specialization 'FindUnicodeExtensionType' requested here 808 | ? FindUnicodeExtensionType(unicodeExtension->latin1Chars(nogc), | ^ Upstream fixed this for https://bugzilla.mozilla.org/1849070 in changeset 68ff4d3f7338248b4d67cf03aade5a73f8d396b2 [3], so pull this in as a patch and apply it. See also bug 280730, for lang/spidermonkey102. [1] https://libcxx.llvm.org/ReleaseNotes/19.html#deprecations-and-removals [2] https://hg.mozilla.org/mozilla-central/rev/223087fdc29f18678f6174e9807b8780= e439acf6 [3] https://hg.mozilla.org/mozilla-central/rev/68ff4d3f7338248b4d67cf03aade5a73= f8d396b2 --=20 You are receiving this mail because: You are the assignee for the bug.=