From nobody Sun Nov 03 11:47:23 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 4XhCWc4tzGz5bxFV for ; Sun, 03 Nov 2024 11:47: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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XhCWc1Bccz4gyj for ; Sun, 3 Nov 2024 11:47:24 +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=1730634444; 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=kuRxZbz4va/N20WBpMDpba/E6xU6V/5a3xeCNFQ9O3I=; b=GUGt5CqiGGuqlN7IHModO0jRseNehQb3uQXnMKxcyHz/86CdGa2vnZKpOYXsGdpLlgsmbn 7XIcikSkmti38D4lCggrYR+lepflebQ3hS8Fo8Zx1KKhBVp1N3rp+z+1oQjRHO2jnFf7Qm 8MmMHwN+ikQWe6bIpsPKr1KL6xH0VKvTsAPtTFgnImiaN/q42gOu9knbkbpTe6QssklGTj p3vWuPYm75sfu56TqhwJ491p+MmAxTx2CRYxZ2rotkUO70CZ1uP5xrpFC0z6tsrTI+VRzG mbY9A/fWfCZi4f5aZzEfmLbQ34BLwdbe9VjbTPgjxUkZWxPl+wWmJX7BiIp6VQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730634444; a=rsa-sha256; cv=none; b=jIKHR3ZSZWwJI83bEun21kUgZiK7Mu/f2VY5JiZgT3NioMWWPohIRmFNNryeczpk5GpgER /m1ACq95Ae8NhYhOPdAhVuv0frrBmJzZEJSKYY1JShOzREVg/Zwch13STvKHM8O2ZbDjkq 6Jl+jy8+0blwu3+OzPfXm5ej7bi3YdJOqSbYGuBaMFRFSYhvHFVuUNHwzaor2pk25tVdVm 9h4smL0xIpyITQ04xqjKumUjHPB9PMYgUMHloJC5GdImf1LBqIb1ZBUBsyFPtaoAZLDYxz TTLWSvszsIxIyMIAkOQfv/GExCzDEZhXVYRlEy0XIvWIZ6SuuMQC9FInQ5twWQ== 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 4XhCWc0N7XznbK for ; Sun, 3 Nov 2024 11:47: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 4A3BlNI4097178 for ; Sun, 3 Nov 2024 11:47:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4A3BlNG4097177 for ports-bugs@FreeBSD.org; Sun, 3 Nov 2024 11:47:23 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 282513] math/openfst-vosk: fix build with clang and libc++ 19 Date: Sun, 03 Nov 2024 11:47:23 +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: yuri@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=3D282513 Bug ID: 282513 Summary: math/openfst-vosk: 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: yuri@freebsd.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(yuri@freebsd.org) Assignee: yuri@freebsd.org With clang and libc++ 19 math/openfst-vosk fails to compile, with errors similar to: ./../include/fst/fst.h:704:15: error: no viable overloaded '=3D' 704 | isymbols_ =3D impl.isymbols_ ? impl.isymbols_->Copy() : nullp= tr; | ~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/v1/__memory/unique_ptr.h:231:67: note: candidate function not viable: no known conversion from 'SymbolTable *' to 'unique_ptr' for 1st argument 231 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 unique_ptr& operator=3D(unique_ptr&& __u) _NOEXCEPT { | = ^=20=20 ~~~~~~~~~~~~~~~~ /usr/include/c++/v1/__memory/unique_ptr.h:241:67: note: candidate template ignored: could not match 'unique_ptr<_Up, _Ep>' against 'SymbolTable *' 241 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 unique_ptr& operator=3D(unique_ptr<_Up, _Ep>&& __u) _NOEXCEPT { | = ^ /usr/include/c++/v1/__memory/unique_ptr.h:263:67: note: candidate function not viable: no known conversion from 'SymbolTable *' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 263 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 unique_ptr& operator=3D(nullptr_t) _NOEXCEPT { | = ^=20=20 ~~~~~~~~~ /usr/include/c++/v1/__memory/unique_ptr.h:138:59: note: candidate function (the implicit copy assignment operator) not viable: no known conversion from 'SymbolTable *' to 'const unique_ptr' for 1st argument 138 | class _LIBCPP_UNIQUE_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS unique_= ptr { | ^~~~~~~= ~~~ and: ./../include/fst/bi-table.h:330:25: error: no member named 's_' in 'VectorHashBiTable' 330 | : selector_(table.s_), | ~~~~~ ^ The first error can be fixed by using `std::unique_ptr<>::reset` instead of the assignment operator. The second error can be fixed by using the correct class member, `selector_`. --=20 You are receiving this mail because: You are the assignee for the bug.=