Opened 7 weeks ago
Last modified 2 days ago
#73166 assigned defect
cgal4: openscad and other ports depending on cgal4 fail to build
| Reported by: | tmladek (Tomáš Mládek) | Owned by: | veence |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | tahoe | Cc: | dstrubbe (David Strubbe), thomasrussellmurphy (Thomas Russell Murphy) |
| Port: | cgal4 openscad |
Description
I'm using the latest MacPorts version, I tried port cleaning the port and trying to reinstall, but it still fails to build. In the log I was pointed to (/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_openscad/openscad/main.log), I found at least the following errors (repeated a few times):
// ...snip... :info:build In file included from src/CGAL_Nef_polyhedron.h:4: :info:build In file included from src/cgal.h:15: :info:build In file included from /opt/local/include/CGAL/Nef_polyhedron_2.h:32: :info:build In file included from /opt/local/include/CGAL/HalfedgeDS_default.h:32: :info:build In file included from /opt/local/include/CGAL/boost/graph/graph_traits_HalfedgeDS_default.h:24: :info:build In file included from /opt/local/include/CGAL/boost/graph/graph_traits_HalfedgeDS.h:38: :info:build /opt/local/include/CGAL/boost/graph/iterator.h:233:22: error: no member named 'base' in 'Halfedge_around_source_iterator<Graph>' :info:build 233 | return (! (this->base() == NULL)) ? :info:build | ~~~~ ^ :info:build /opt/local/include/CGAL/boost/graph/iterator.h:333:22: error: no member named 'base' in 'Halfedge_around_target_iterator<Graph>' :info:build 333 | return (! (this->base() == NULL)) ? :info:build | ~~~~ ^ :info:build /opt/local/include/CGAL/boost/graph/iterator.h:432:22: error: no member named 'base' in 'Halfedge_around_face_iterator<Graph>' :info:build 432 | return (! (this->base() == NULL)) ? :info:build | ~~~~ ^
It looks like this issue could be related: https://github.com/CGAL/cgal/issues/8313 and so it could be an issue with cgal, but the health of the cgal4 port seems to be fine on Tahoe/arm64, whereas the openscad port seems to fail currently: https://build.macports.org/builders/ports-26_arm64-builder/builds/15492
I'm completely new to MacPorts and I don't have too much visibility into openscad's build process so some of this might be off, but this is as far as I got. Thanks in advance!
Change History (3)
comment:1 Changed 7 weeks ago by jmroot (Joshua Root)
| Owner: | set to dstrubbe |
|---|---|
| Port: | openscad added |
| Status: | new → assigned |
comment:2 Changed 7 weeks ago by ryandesign (Ryan Carsten Schmidt)
| Cc: | dstrubbe added |
|---|---|
| Keywords: | tahoe added |
| Owner: | changed from dstrubbe to veence |
| Port: | cgal4 added |
| Summary: | openscad 2021.01 fails to build on Tahoe (arm64) → cgal4: openscad and other ports depending on cgal4 fail to build |
comment:3 Changed 2 days ago by thomasrussellmurphy (Thomas Russell Murphy)
| Cc: | thomasrussellmurphy added |
|---|

Replying to tmladek:
I think you're exactly right. The fix for that issue needs to be added to our cgal4 port. (Upstream only fixed it for cgal 5.5 and later.)