From nobody Mon Nov 18 10:11:08 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 4XsNgd0tTwz5cfMb for ; Mon, 18 Nov 2024 10:11:09 +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 4XsNgc6vK5z47PB for ; Mon, 18 Nov 2024 10:11:08 +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=1731924669; 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=Vh5SX00Lsi6ztQ+RZRM3sSLMZtJZILdsK3vVU3qOjlk=; b=XIoZFYALhHzGyYOF1xLXTD9ewq95rX/Y/qrFtPQnipoCimJukMyTkVJq2xt4y1GM4MI6Hw s/q8Z+hre5oePFvvbs7RLrxWLH4BYM/OHdAxmM1+7qmYrsgs6pmptSuOj5tZheUl9FRW8K 5XadKKI7iZo4Uj9K7DFRTrL60rcYReO4/8Hf5iX/jQnAYz8STnEm4Sljh+xMlI6sm+QADQ feyHB6tVq0HEqwdfybxsjyZu73jV/n1MQr1o1zH4k5FInQdZI7qPde1Uabbhz41rPIhXCD Bfv286Gv+Mj1JjbxtlqQWar8eHE1H4qNaHwluOB3BGqNrhz1fIE+gxNd8Rk0vA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731924669; a=rsa-sha256; cv=none; b=stYtCaZoYG5NZa44eQlSNEPwgeoSLuVKAJFJcGbaSQrwyqnVAxCQVl3jBHMaPHAQy7XBcS YuG4iTAcIWqOv2qm3hOPtl1V4GK1kO328O+mhUy1oSv9E2091muBDtjxFAe+RvX9CTJfPu IB+xhGR15y+9S8U+fQF4QxRkodM92yfpNpZvIEoKKq6A3QJGXAU3wQ/wNRhtzBpTi4NWpF WVUqzBiqz8a5nkUCRbUaQbEDNlo++XT2fWLsuE26g65DUxSJ+OIRhUxFkOYP2cayDIWFEK tUmfMx3BRZp+64LoxmIfdQ4fGtyvUVmPvlxbZduGqmlJIQ6W6zBpPuLmf+YAxw== 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 4XsNgc67tJzbn9 for ; Mon, 18 Nov 2024 10:11:08 +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 4AIAB8tB001315 for ; Mon, 18 Nov 2024 10:11:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4AIAB8i8001314 for ports-bugs@FreeBSD.org; Mon, 18 Nov 2024 10:11:08 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 282830] math/givaro: fix build with clang 19 Date: Mon, 18 Nov 2024 10:11:08 +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: pi@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=3D282830 Bug ID: 282830 Summary: math/givaro: fix build with clang 19 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: pi@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: pi@FreeBSD.org Flags: maintainer-feedback?(pi@FreeBSD.org) Clang 19 has become more strict about errors in member functions, which results in errors building math/givaro: ./givaro/givaro/givaro/random-integer.h:94:51: error: no viable overloaded '=3D' 94 | const_cast(_ring)=3DR._ring; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ./givaro/givaro/givaro/random-integer.h:94:51: note: type 'Integer_Domain' (aka 'ZRing') is incomplete 94 | const_cast(_ring)=3DR._ring; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from givintprime.C:19: In file included from ./givaro/givintprime.h:24: In file included from ./givaro/givaro/givinteger.h:25: ../../../src/kernel/ring/givaro/zring.h:123:13: warning: misleading indentation; statement is not part of the previous 'while' [-Wmisleading-indentation] 123 | return a; } | ^ ../../../src/kernel/ring/givaro/zring.h:121:11: note: previous statement = is here 121 | { while (isZero(init(a, g()))) | ^ The `const_cast` line has been removed by upstream as part of https://github.com/linbox-team/givaro/commit/b0cf33e1, but that commit is rather large. It is enough to only delete the line. Also fix a failure that occurs when running "make test": ../src/kernel/recint/rfiddling.h:170:29: error: no member named 'Low' in 'rint' This is because the expression `max.Low.Value` should actually be `max.Value.Low`. --=20 You are receiving this mail because: You are the assignee for the bug.=