[MacPorts] #67808: graph-tool 2.46 build fails on Apple Silicon

MacPorts noreply at macports.org
Sat Jul 22 22:44:08 UTC 2023


#67808: graph-tool 2.46 build fails on Apple Silicon
-----------------------+---------------------------
 Reporter:  essandess  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:
 Keywords:  arm64      |       Port:  py-graph-tool
-----------------------+---------------------------
 I'm reposting this issue here in case someone knows how to fix this issue
 on the MacPorts side:

 https://git.skewed.de/count0/graph-tool/-/issues/761

 {{{graph-tool}}} builds fail for Apple Silicon {{{arm64}}}. I've tested
 separately on a Mac Studio with an M2 Ultra and a MBA with an M1, and see
 the same issue. The exact same build procedure works on macOS
 {{{x86_64}}}.

 The build errors are:

 {{{
 :info:build In file included from ./src/graph/graph.hh:42:
 :info:build ./src/graph/graph_properties.hh:466:19: error: no template
 named 'unary_function' in namespace 'std'; did you mean
 '__unary_function'?
 :info:build     : public std::unary_function<typename IndexMap::key_type,
 size_t>
 :info:build              ~~~~~^~~~~~~~~~~~~~
 :info:build                   __unary_function
 }}}

 A full log file is attached with ./configure and other outputs.

 Build environment:
 {{{
 macOS 13.4.1 22F770820d arm64
 Xcode 14.3.1 14E300c
 Python 3.10
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/67808>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list