Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#57716 closed defect (fixed)

graph-tool fails to build with latest CGAL

Reported by: ssllmit (ss) Owned by: count0 (Tiago de Paula Peixoto)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc: mamoll (Mark Moll)
Port: py-graph-tool

Description

$ port list boost cgal py36-graph-tool
boost                          @1.66.0         devel/boost
cgal                           @4.13           gis/cgal
py36-graph-tool                @2.27           python/py-graph-tool
sudo -E port -puN install py36-graph-tool
--->  Computing dependencies for py36-graph-tool
--->  Building py36-graph-tool
Error: Failed to build py36-graph-tool: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-graph-tool/py36-graph-tool/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port py36-graph-tool failed

Error:

:info:build /opt/local/libexec/llvm-6.0/include/c++/v1/functional:670:21: error: invalid operands to binary expression ('const CGAL::Triangulation_vertex_base_3<CGAL::Epick, CGAL::Triangulation_ds_vertex_base_3<CGAL::Triangulation_data_structure_3<CGAL::Triangulation_vertex_base_3<CGAL::Epick, CGAL::Triangulation_ds_vertex_base_3<void> >, CGAL::Delaunay_triangulation_cell_base_3<CGAL::Epick, CGAL::Triangulation_cell_base_3<CGAL::Epick, CGAL::Triangulation_ds_cell_base_3<void> > >, CGAL::Sequential_tag> > >' and 'const CGAL::Triangulation_vertex_base_3<CGAL::Epick, CGAL::Triangulation_ds_vertex_base_3<CGAL::Triangulation_data_structure_3<CGAL::Triangulation_vertex_base_3<CGAL::Epick, CGAL::Triangulation_ds_vertex_base_3<void> >, CGAL::Delaunay_triangulation_cell_base_3<CGAL::Epick, CGAL::Triangulation_cell_base_3<CGAL::Epick, CGAL::Triangulation_ds_cell_base_3<void> > >, CGAL::Sequential_tag> > >')
:info:build         {return __x == __y;}
:info:build                 ~~~ ^  ~~~

Attachments (1)

main.log (577.6 KB) - added by ssllmit (ss) 5 years ago.

Download all attachments as: .zip

Change History (7)

Changed 5 years ago by ssllmit (ss)

Attachment: main.log added

comment:1 Changed 5 years ago by mf2k (Frank Schima)

Cc: mamoll added; tiago@… removed
Keywords: graph-tool cgal removed
Owner: set to count0
Port: py-graph-tool added; py36-graph-tool removed
Status: newassigned

comment:2 Changed 5 years ago by mf2k (Frank Schima)

port list tells us nothing useful. What is the output of the following?

port installed boost cgal

comment:3 Changed 5 years ago by mamoll (Mark Moll)

I can reproduce this error with py37-graph-tool using clang-7.0 as the compiler, so it's probably not the python version or the compiler that's to blame. Most likely the API of CGAL changed slightly. @count0, do you have a fix upstream?

comment:4 in reply to:  2 Changed 5 years ago by ssllmit (ss)

Replying to mf2k:

port list tells us nothing useful. What is the output of the following?

port installed boost cgal
port installed boost cgal
The following ports are currently installed:
  boost @1.66.0_3+no_single+no_static+python36 (active)
  cgal @4.13_0 (active)

comment:5 Changed 5 years ago by mamoll (Mark Moll)

Resolution: fixed
Status: assignedclosed

In c75b9052a5a037daf3b6db060becd5649d77962d/macports-ports (master):

py-graph-tool: add upstream fix for latest CGAL. Closes #57716

comment:6 Changed 5 years ago by ssllmit (ss)

@count0 Thank you for fixing this issue. We're graph-tool and @count0 fans.

Note: See TracTickets for help on using tickets.