Discussion:
[MacPorts] #57716: graph-tool fails to build with latest CGAL
MacPorts
2018-12-03 19:14:38 UTC
Permalink
#57716: graph-tool fails to build with latest CGAL
-----------------------------+-----------------------------
Reporter: ssllmit | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Keywords: graph-tool cgal | Port: py36-graph-tool
-----------------------------+-----------------------------
{{{
$ 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 ~~~ ^ ~~~
}}}
--
Ticket URL: <https://trac.macports.org/ticket/57716>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-03 19:14:51 UTC
Permalink
#57716: graph-tool fails to build with latest CGAL
------------------------------+-----------------------------
Reporter: ssllmit | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords: graph-tool cgal
Port: py36-graph-tool |
------------------------------+-----------------------------
Changes (by ssllmit):

* Attachment "main.log" added.
--
Ticket URL: <https://trac.macports.org/ticket/57716>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-03 19:53:09 UTC
Permalink
#57716: graph-tool fails to build with latest CGAL
----------------------------+----------------------
Reporter: ssllmit | Owner: count0
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords:
Port: py-graph-tool |
----------------------------+----------------------
Changes (by mf2k):

* owner: (none) => count0
* keywords: graph-tool cgal =>
* status: new => assigned
* port: py36-graph-tool => py-graph-tool
* cc: tiago@
 (removed)
* cc: mamoll (added)
--
Ticket URL: <https://trac.macports.org/ticket/57716#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-03 19:59:51 UTC
Permalink
#57716: graph-tool fails to build with latest CGAL
----------------------------+----------------------
Reporter: ssllmit | Owner: count0
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords:
Port: py-graph-tool |
----------------------------+----------------------

Comment (by mf2k):

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

{{{
port installed boost cgal
}}}
--
Ticket URL: <https://trac.macports.org/ticket/57716#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-03 20:33:51 UTC
Permalink
#57716: graph-tool fails to build with latest CGAL
----------------------------+----------------------
Reporter: ssllmit | Owner: count0
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords:
Port: py-graph-tool |
----------------------------+----------------------

Comment (by mamoll):

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?
--
Ticket URL: <https://trac.macports.org/ticket/57716#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-03 20:36:42 UTC
Permalink
#57716: graph-tool fails to build with latest CGAL
----------------------------+----------------------
Reporter: ssllmit | Owner: count0
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords:
Port: py-graph-tool |
----------------------------+----------------------
Post by MacPorts
{{{port list}}} tells us nothing useful. What is the output of the
following?
Post by MacPorts
{{{
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)
}}}
--
Ticket URL: <https://trac.macports.org/ticket/57716#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
Loading...