From nobody Sat Aug 10 13:47:40 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 4Wh2Cd3tY1z5Sw05 for ; Sat, 10 Aug 2024 13:47:41 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wh2Cd22H4z4CYY for ; Sat, 10 Aug 2024 13:47:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723297661; a=rsa-sha256; cv=none; b=igf3F8PfUWB72DH4o8eRoGjLWtMm5A+0cZdnDkYyAi72vVLocM3Nm54b8jp5yXMVX39duK vrEtZajNLHhQ02/f6R9BqvZhu9nr9qbsGvtocq7HOpviY/Hy1a6x0vevHUkr/fQ+HF4jeV Hv7TMuvz7tT3cPmF9nnu4v7RlydhK2Bi8KdKfXJ1V6WMyRW9Hw1JHIa7tC+BDtAYUe0Pe5 JKzXBP5KuoLYlBtMqzpI21mtuDBV94kg+3b9FDtKeMRJTtmjWF/37DsN9Fj9FlNZaI2rtA u3mknO+YqoP/DXWpRjhCQ19zglZ2XsHebWO23etOkkt+bsT3VL16ZIV1zqSDGw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723297661; 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=CKXq8n7h1V2mJDF97CcqWYHmUwYyBdDMODUUC4fEpHA=; b=bnsHBtey7XJC4pELbmtPh+JuCCyO6YXDQ/dRyywzU3thXaOf9alpzh+NA2Dcwjq0e5TCfB GrNPPJ6sL+BiMF2oh1r7Yjac2pxGS985pGoInBJUxrXxLjWaP8DkT/mkNsmrFCYiLPTb0T uw2RaKmxcFk/N7IbpJQiHiqqAebKM78gIhCTJo+FzhkMWI3A1Df+Zs+g3rIDdbta4cenke m3wRwPoEg9TQFyFlsmmGnygTjNL/T/LLWPMX0ic3eBCdCV4XHZLK+JZ5CAowP/ATKG0/+Z u9BoRpxYG/XEYGHM+ErtTkCDfTl/brHkQn/s9uyNrrj0bcuDizlRRj0OwqeXTQ== 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 4Wh2Cd1WrFz12mj for ; Sat, 10 Aug 2024 13:47:41 +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 47ADlfuH087133 for ; Sat, 10 Aug 2024 13:47:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47ADlfeK087132 for ports-bugs@FreeBSD.org; Sat, 10 Aug 2024 13:47:41 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 280730] lang/spidermonkey102: fix build with clang and libc++ 19 Date: Sat, 10 Aug 2024 13:47:40 +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=3D280730 Bug ID: 280730 Summary: lang/spidermonkey102: 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/spidermonkey102 to fail with an error similar to: =20=20=20 /wrkdirs/usr/ports/lang/spidermonkey102/work/firefox-102.9.0/js/src/threadi= ng/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/spidermonkey102 and clang/libc++ 19 this results in errors similar to: =20=20=20 /wrkdirs/usr/ports/lang/spidermonkey102/work/firefox-102.9.0/js/src/builtin= /intl/Locale.cpp:208:20: error: implicit instantiation of undefined template 'std::char_traits' 208 | iter_ =3D std::char_traits::find( | ^ =20=20=20 /wrkdirs/usr/ports/lang/spidermonkey102/work/firefox-102.9.0/js/src/builtin= /intl/Locale.cpp:769:21: note: in instantiation of member function 'SepKeywordIterator::next' requested here 769 | beginKey =3D iter.next(); | ^ =20=20=20 /wrkdirs/usr/ports/lang/spidermonkey102/work/firefox-102.9.0/js/src/builtin= /intl/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. [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.=