From nobody Sat Oct 05 22:58:58 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 4XLgnv2zjjz5XqHv for ; Sat, 05 Oct 2024 22:58:59 +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 4XLgnv1yhpz4nGb for ; Sat, 5 Oct 2024 22:58:59 +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=1728169139; 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=670qUF4Y2cT06M5buNwDbMnt+I39HFIWugJGBT74eOo=; b=u51L4rO8o6td94i07/NHTBzl0vUSh648Mle2DWQFJXRdV1jT25LKXhPJ3xeaDqUCkge0vm AvHUzg6IsUJVjd09MDNr/kwdKYykYRsI+pyviFk94lvkKNqU7LzGRQEB1QlkQSiHUQJrU5 xMty7J+vdokBr1an+LpGUW/Yd1ZgGK7vjjsS+xhnNRzJhE/UmK63awYy6DvFnv6kYLBX+4 G7h0cirtltZaiR9Je851iEhtjc9SpM3fqZCsNq15HH7B60xPbxXjmwfqGoksp2fir2+u7g 7ZP/HIyD8mBe7yz/QmjptfELwsz/EdBheZGLByJypCacR7msvn+sP5A+bGhaZA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728169139; a=rsa-sha256; cv=none; b=Et8tcYTkN2H8UzwZOKQ5UZ8Vqk1n3RZZF/QYT4OQlORS1QAtdzGOxrhAp5KVtRPiwo1Orj s0WeIbKNWnq8jIWOhq7ZmyoqxQ2B21s6kSZTFyFnUWvCyIoPQFu1U1QGse+2O28liyolW8 hUshBN+PX9JcN/W0RQ2DNZQuDy8RBynkDHu8AKlnCgQsqLdfsJUuhFTaenQ92dz+7sJdLK hLFYztI+RCvzaf4twXgo7NZSZ+VshXxC6OSC6OIPYmtCdleTVEvAK2x8KdXf9KScH5NP3u wU8rsngzea83iQJ4O+H4X9XNwV9yw4+fVm7M2Pi2a6+IwSjtAv37W6H7RsA47A== 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 4XLgnv16K9zcwQ for ; Sat, 5 Oct 2024 22:58:59 +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 495MwxIl089869 for ; Sat, 5 Oct 2024 22:58:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 495Mwxuu089868 for ports-bugs@FreeBSD.org; Sat, 5 Oct 2024 22:58:59 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 281880] math/cgal: fix headers for use with clang 19 Date: Sat, 05 Oct 2024 22:58:58 +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: wen@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=3D281880 Bug ID: 281880 Summary: math/cgal: fix headers for use with clang 19 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: wen@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: wen@FreeBSD.org Flags: maintainer-feedback?(wen@FreeBSD.org) Clang 19 has become more strict about errors in member functions, which results in errors building ports that use headers from math/cgal, such as cad/csxcad: In file included from /wrkdirs/usr/ports/cad/csxcad/work/CSXCAD-0.6.3/src/CSPrimPolyhedron.cpp:25: In file included from /wrkdirs/usr/ports/cad/csxcad/work/CSXCAD-0.6.3/src/CSPrimPolyhedron_p.h:6: In file included from /usr/local/include/CGAL/Polyhedron_3.h:25: In file included from /usr/local/include/CGAL/HalfedgeDS_default.h:23: In file included from /usr/local/include/CGAL/boost/graph/graph_traits_HalfedgeDS_default.h:15: In file included from /usr/local/include/CGAL/boost/graph/graph_traits_HalfedgeDS.h:29: /usr/local/include/CGAL/boost/graph/iterator.h:224:22: error: no member n= amed 'base' in 'Halfedge_around_source_iterator' 224 | return (! (this->base() =3D=3D nullptr)) ? | ~~~~ ^ /usr/local/include/CGAL/boost/graph/iterator.h:324:22: error: no member n= amed 'base' in 'Halfedge_around_target_iterator' 324 | return (! (this->base() =3D=3D nullptr)) ? | ~~~~ ^ /usr/local/include/CGAL/boost/graph/iterator.h:423:22: error: no member n= amed 'base' in 'Halfedge_around_face_iterator' 423 | return (! (this->base() =3D=3D nullptr)) ? | ~~~~ ^ The problem is that the `base()` member function is only available when an iterator is derived from `boost::iterator_adaptor`, but the three iterators mentioned above, `Halfedge_around_source_iterator`, `Halfedge_around_target_iterator` and `Halfedge_around_face_iterator` are not. Upstream CGAL has done a bit more refactoring in this particular area, but is enough to cherry-pick the changes that remove the `operator bool_type() const` member functions, which reference the non-existing `base()` member function. Bump PORTREVISION to ensure dependent ports build against the fixed headers. --=20 You are receiving this mail because: You are the assignee for the bug.=