From nobody Sat Nov 30 14:55:51 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 4Y0tQc4mbzz5f79s for ; Sat, 30 Nov 2024 14:55:52 +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 4Y0tQc1SBdz4Wtc for ; Sat, 30 Nov 2024 14:55:52 +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=1732978552; 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=9+gdNfi/wgnwzToAlY63OU5ZadxI7IqWKab2sdIhKeU=; b=BBhlRf08GqsC6SZ7qboUS65QwAPDtCZDsTU0FcQl4N6asOBiK8PxAlZE8KgovX8z/JQDzt 8rDMA/gIcCZ/C4rcAY+CODjl7JHgvNucOv2gh5uyUWv9+CjS4scUX/xmuJHj3CfgVJZwT3 GhhPg2W/2Bk25wwep+k6KGBfwfZdjXu80STk2XZAFRy59GqBqTCQZTmSDuDT9evDs+po9H Y0IfuZ55Rc9ZjqyfqFR9Paj5db/KD+kdbhZmDjABNCjwFCZFnJaiQF1Nl8Zx+Ur6ZrfduQ LNai8rqjhk+S/5Q2xz9TqfJt6PLn144U7Ee6B9S5UNludUnCveXXzSQXRn9TWw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732978552; a=rsa-sha256; cv=none; b=s4nq+/dpWbolfHQNAclcqS1uMFXrE33ss7vJAqF+S9knRte25gAjM878TNttFdzGwePazA RkVVJ4kB3f9rC4I58C78U2QlfD5X0xQg+QutbtvNB9ogIQxYWLg5QBwu4rSmjP+x2iDPye 298uP+u4H3RxXJhrp/BBFAMqQvq9VXdJ/YNBc/4Thrne4YfdepT2+l/kI9vHnwmAaB5UGY Hz13AAVw6jb3R/2cmLxj6q+khC8z6ak7rsQnscto2d9X+yolWCh9xNLu5TaEx0lJmTv0l+ iRYTNzVxH1MYJy/U0MC9ZiCSyTsbfxVREX3Ojib0BVZi0Ii/t0iFGsMRRYsZgQ== 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 4Y0tQc13cdz1CGy for ; Sat, 30 Nov 2024 14:55:52 +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 4AUEtqan039617 for ; Sat, 30 Nov 2024 14:55:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4AUEtqnF039616 for ports-bugs@FreeBSD.org; Sat, 30 Nov 2024 14:55:52 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 283050] lang/spidermonkey78: fix build with clang and libc++ 19 Date: Sat, 30 Nov 2024 14:55:51 +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: bofh@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=3D283050 Bug ID: 283050 Summary: lang/spidermonkey78: 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: bofh@freebsd.org Reporter: dim@FreeBSD.org Assignee: bofh@freebsd.org Flags: maintainer-feedback?(bofh@freebsd.org) Clang 19 now diagnoses incorrect member accesses, which causes lang/spidermonkey78 to fail with an error similar to: /wrkdirs/usr/ports/lang/spidermonkey78/work/firefox-78.15.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/spidermonkey78 and clang/libc++ 19 this results in errors similar to: =20=20=20 /wrkdirs/usr/ports/lang/spidermonkey78/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=20=20 /wrkdirs/usr/ports/lang/spidermonkey78/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=20=20 /wrkdirs/usr/ports/lang/spidermonkey78/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.=