From nobody Wed Aug 07 17:10:24 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 4WfGrw60YBz5Sr5T for ; Wed, 07 Aug 2024 17:10:24 +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 4WfGrw3c6Kz4BrR for ; Wed, 7 Aug 2024 17:10:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723050624; a=rsa-sha256; cv=none; b=C9NniyOx0gmMDMzoQ+B2VQFU1xp9Z/uh/YFgkdcZMt18C1OLhXph9mMjZEKzxfKoysAPDe pGgG6UfR6Uko6nqw82xkXIl7N3T1YKCUq6GMD1hVTfKFO0b6+quIK9f8hUWBw5wBFL8Ds6 Gfb3+zOS1eV7ZbrTO82zLHxc+ZhhY/pOwm41Yyueo3vFa2bDyFR449mOXxDK8yniMva674 6T132uQMqtfgAKLoq/RVP7aUgV4xf/yZXqdb6Kw3GssKksvMVXFtAr13xvr1Ln0Gmfel0n GgPaaLnHytzhdUJW5IgigHSB2Ez6BQUWN11YQSNj9oRNi4lORrLSqFXVRxiHmw== 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=1723050624; 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=Y3SkFEXG69jfoXfepqb0OhA0EDEEkfzhPmkQQB21MqU=; b=i3czWja+zMgiyP5GYnYC3hp4mvc+MpdhGFGHF8AsyOh4H7gfap3xbwQyMeDjBO/IWi3uNU k+YTNLpslMpbbPgHZFDcqnhaNfaIi40L5Yfr2cwce9s2OqAI5H9tJ8XcYfiiTXtwpnGqVb j4ROe2eFmSC+BvXbm5plmoj1k/f/bN0PdHExox2eyeLO9EEiSUvonuomoK40UhwZIZo+bw ZB4bO82F+f3DZbHlkCoZ2ZxJ0CbWobVZzUpPMTIa5kaGdA0mNGIj+ThJo9W87/I9IQkFli bJr+WoM4MDozqYCC4y9IMl2UNN8uWjzLfM7gweZuWd54jBZ7Zwah68MdbLAfJg== 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 4WfGrw36TFzyjR for ; Wed, 7 Aug 2024 17:10:24 +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 477HAOGM084664 for ; Wed, 7 Aug 2024 17:10:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 477HAOQt084663 for ports-bugs@FreeBSD.org; Wed, 7 Aug 2024 17:10:24 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 280673] www/node20: fix build with libc++ 19 Date: Wed, 07 Aug 2024 17:10:24 +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: sunpoet@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=3D280673 Bug ID: 280673 Summary: www/node20: fix build with libc++ 19 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Assignee: sunpoet@FreeBSD.org 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. This causes www/node20 to fail to compile with clang 19 and libc++ 19, resulting in errors similar to: /usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits' 820 | static_assert(is_same<_CharT, typename traits_type::char_type>::value, | ^ ../deps/v8/src/inspector/string-16.h:114:28: note: in instantiation of template class 'std::basic_string' requested here 114 | std::basic_string m_impl; | ^ /usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared he= re 23 | struct _LIBCPP_TEMPLATE_VIS char_traits; | ^ Upstream v8 has fixed this in commit 182d9c05e78 [2], so add it as a backported patch, until the next version of node is released. [1] https://libcxx.llvm.org/ReleaseNotes/19.html#deprecations-and-removals [2] https://chromium.googlesource.com/v8/v8.git/+/182d9c05e78 --=20 You are receiving this mail because: You are the assignee for the bug.=