From nobody Sun Jan 19 18:33:52 2025 X-Original-To: dev-commits-ports-all@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 4Ybhv43QNBz5lZ1d; Sun, 19 Jan 2025 18:33:52 +0000 (UTC) (envelope-from git@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 4Ybhv42NzBz3w1R; Sun, 19 Jan 2025 18:33:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737311632; 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=Vl4JEoZDnBrJ2Ro5fzBz37udJCynH5ny+2bApigWX1k=; b=T7kIa0KFKlgw3JAifaZGFmQhX93ZpUfouI7DLh1czPz3wC8Y6Rl8CfVIKKLMhE1N5Y5EoL rgNY8EYzd4YyYmb209fIEbU6Sdvc+O2rNlAuS24LuCjmAofua9402B52odQjz0xPMyIlr1 Gf948pyj+8o3AsHRgAjMlsXUK6GHgLJFarcVML3i1e0h7/gOfvAbn4UFihGQ3YEW+aQKMn 7mSfzSmP9IAf0lEqcj1O5aR4aKnO7udBYc5wP4WCfgmfY2FiEmPhle6wAUzb4Dm2T6WXF1 wpj+O1khB8pcsfl7HH1YcmmiGzWULgHS2sFuQiLyh1QP+hgHFcBe9xJPk6+aNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737311632; 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=Vl4JEoZDnBrJ2Ro5fzBz37udJCynH5ny+2bApigWX1k=; b=Ldlgd2rXNA9TsFS8O5IvahK7Bvjj6QIJGd5d5erza/cSgZ0MZyhjCPi+BI7Y8929A/3Nqs +mdHpNe0ySKo7dEEnCTZinTPFF/whaOz9kFwFBppZoN791ONHBzj61hWxcyjOcoo6hrMoG q7+UAM7wnyMxcFjbTaFAle+YCBBsS7qwOGLI1AlC9bewpEmpGxFU6nk/4WiJy7hy1hp00E ZioDHXdfO2tyCWkugH+8gSyOCBjWrHj9c2kMhT6V7lkPpEoIoXZYiu3tbxOF7xuugGaa0H M4Xk7eaNxmQanFvvSYV8/ISAS4fuGBwb1hfT3QDVckLcSFJyW6U10jjIKWb8UQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737311632; a=rsa-sha256; cv=none; b=CpLSEBYRrNddbqw0QOFYOatoPZTuY2EKzEV11Gs5EEvirZnmjb8psuQSoT+EMjhFWPEyuf afzLfkG+3VasOnP3uEe5/RzVdgmRTbBqpal3CQG2kU/8rDVBNNU4a5/540TdXF9+TX+qSy v1IKSKGaQlFNK0NQWAlCNPfBWIh3xq3ymM9UYOomGhMzIXfBpopfOGk+I+Cxj8R2wnw9SS IZpSpRdN/YCZulib9BDnHEsx1Au8GOpohA1tMFMuXRtTFlBO9LFDRdIVZhgYSt+mhMoZR0 DEBX+gV5VUFhZcZ4n1xdu3RYyv9xu978xpevAbNzC20L7Qo0s6xQ+rNcXJyhYw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4Ybhv41z8yz123X; Sun, 19 Jan 2025 18:33:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 50JIXq2t065595; Sun, 19 Jan 2025 18:33:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50JIXqgi065592; Sun, 19 Jan 2025 18:33:52 GMT (envelope-from git) Date: Sun, 19 Jan 2025 18:33:52 GMT Message-Id: <202501191833.50JIXqgi065592@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Dimitry Andric Subject: git: 2a47978486c9 - 2025Q1 - math/linbox: fix build with clang 19 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: ports X-Git-Refname: refs/heads/2025Q1 X-Git-Reftype: branch X-Git-Commit: 2a47978486c99459386f37bec701543bf001d6b8 Auto-Submitted: auto-generated The branch 2025Q1 has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=2a47978486c99459386f37bec701543bf001d6b8 commit 2a47978486c99459386f37bec701543bf001d6b8 Author: Dimitry Andric AuthorDate: 2025-01-19 18:31:50 +0000 Commit: Dimitry Andric CommitDate: 2025-01-19 18:33:28 +0000 math/linbox: fix build with clang 19 Clang 19 has become more strict about errors in member functions, which results in errors building math/linbox: ../../linbox/vector/blas-subvector.h:121:20: error: no member named 'data' in 'BlasSubvector<_Vector>' 121 | _ptr(V.data()+beg), _size(dim), _inc(inc), _field(&V.field()) {} | ~ ^ ../../linbox/matrix/sparsematrix/sparse-ell-matrix.h:1216:16: error: cannot assign to non-static data member '_ld' with const-qualified type 'const size_t &' (aka 'const unsigned long &') 1216 | _ld = iter._ld ; | ~~~ ^ ../../linbox/matrix/sparsematrix/sparse-ellr-matrix.h:1108:12: error: no viable overloaded '=' 1108 | _rowid = iter._rowid; | ~~~~~~ ^ ~~~~~~~~~~~ In all these cases, the methods where the errors occur are not actually used, so until upstream sorts out their incorrect code, stub them out using #if 0/#endif pairs. PR: 284159 Approved by: thierry (maintainer) MFH: 2025Q1 (cherry picked from commit 6e2222799ebf6ff0a12bed3798fc0cc0e71e1e55) --- ...-linbox_matrix_sparsematrix_sparse-ell-matrix.h | 18 ++++++++++++ ...linbox_matrix_sparsematrix_sparse-ellr-matrix.h | 34 ++++++++++++++++++++++ .../files/patch-linbox_vector_blas-subvector.h | 13 +++++++++ 3 files changed, 65 insertions(+) diff --git a/math/linbox/files/patch-linbox_matrix_sparsematrix_sparse-ell-matrix.h b/math/linbox/files/patch-linbox_matrix_sparsematrix_sparse-ell-matrix.h new file mode 100644 index 000000000000..efde096e0e7e --- /dev/null +++ b/math/linbox/files/patch-linbox_matrix_sparsematrix_sparse-ell-matrix.h @@ -0,0 +1,18 @@ +--- linbox/matrix/sparsematrix/sparse-ell-matrix.h.orig 2021-12-14 10:16:03 UTC ++++ linbox/matrix/sparsematrix/sparse-ell-matrix.h +@@ -1205,6 +1205,7 @@ namespace LinBox + , _row(iter._row) + {} + ++#if 0 + _IndexedIterator &operator = (const _IndexedIterator &iter) + { + _colid_beg = iter._colid_beg ; +@@ -1218,6 +1219,7 @@ namespace LinBox + + return *this; + } ++#endif + + bool operator == (const _IndexedIterator &i) const + { diff --git a/math/linbox/files/patch-linbox_matrix_sparsematrix_sparse-ellr-matrix.h b/math/linbox/files/patch-linbox_matrix_sparsematrix_sparse-ellr-matrix.h new file mode 100644 index 000000000000..bd8b3eaf95c8 --- /dev/null +++ b/math/linbox/files/patch-linbox_matrix_sparsematrix_sparse-ellr-matrix.h @@ -0,0 +1,34 @@ +--- linbox/matrix/sparsematrix/sparse-ellr-matrix.h.orig 2021-12-14 10:16:03 UTC ++++ linbox/matrix/sparsematrix/sparse-ellr-matrix.h +@@ -1099,6 +1099,7 @@ namespace LinBox + + {} + ++#if 0 + _Iterator &operator = (const _Iterator &iter) + { + _data_it = iter._data_it ; +@@ -1111,6 +1112,7 @@ namespace LinBox + + return *this; + } ++#endif + + bool operator == (const _Iterator &i) const + { +@@ -1246,6 +1248,7 @@ namespace LinBox + , _row(iter._row) + {} + ++#if 0 + _IndexedIterator &operator = (const _IndexedIterator &iter) + { + _rowid_it = iter._rowid_it ; +@@ -1260,6 +1263,7 @@ namespace LinBox + + return *this; + } ++#endif + + bool operator == (const _IndexedIterator &i) const + { diff --git a/math/linbox/files/patch-linbox_vector_blas-subvector.h b/math/linbox/files/patch-linbox_vector_blas-subvector.h new file mode 100644 index 000000000000..00c6e129b8aa --- /dev/null +++ b/math/linbox/files/patch-linbox_vector_blas-subvector.h @@ -0,0 +1,13 @@ +--- linbox/vector/blas-subvector.h.orig 2021-12-14 10:16:03 UTC ++++ linbox/vector/blas-subvector.h +@@ -117,8 +117,10 @@ namespace LinBox { + * \param dim dimension + * \param inc distance between two element + */ ++#if 0 + BlasSubvector (Self_t &V, size_t beg, size_t inc, size_t dim) : + _ptr(V.data()+beg), _size(dim), _inc(inc), _field(&V.field()) {} ++#endif + + + /** Constructor from an existing @ref BlasVector