Opened 2 months ago

Closed 2 months ago

Last modified 8 weeks ago

#70788 closed defect (duplicate)

graphviz won't build on Sonoma

Reported by: dnaumann Owned by:
Priority: High Milestone:
Component: ports Version: 2.10.1
Keywords: Cc:
Port: graphviz

Description (last modified by jmroot (Joshua Root))

graphviz gets compiler errors. I'm running a clean installation of macports 2.10.1 on an M2 macbook running Sonoma 14.7. This is a disaster for me because emacs-app won't install without graphviz. I'm attaching the log file that's mentioned in the error trace.

~>sudo port install graphviz
--->  Computing dependencies for graphviz
--->  Fetching archive for graphviz
--->  Attempting to fetch graphviz-9.0.0_1+pangocairo+x11.darwin_23.arm64.tbz2 from https://packages.macports.org/graphviz
--->  Attempting to fetch graphviz-9.0.0_1+pangocairo+x11.darwin_23.arm64.tbz2 from http://bos.us.packages.macports.org/graphviz
--->  Attempting to fetch graphviz-9.0.0_1+pangocairo+x11.darwin_23.arm64.tbz2 from https://mirrors.mit.edu/macports/packages/graphviz
--->  Building graphviz
Error: Failed to build graphviz: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_graphviz/graphviz/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port graphviz failed

Attachments (1)

graphvizFail.log (706.5 KB) - added by dnaumann 2 months ago.
log file showing compiler errors building graphviz

Download all attachments as: .zip

Change History (4)

Changed 2 months ago by dnaumann

Attachment: graphvizFail.log added

log file showing compiler errors building graphviz

comment:1 Changed 2 months ago by jmroot (Joshua Root)

Description: modified (diff)
Resolution: duplicate
Status: newclosed

This is actually an issue with version 16.0 of the Xcode command line tools: #70750

comment:2 Changed 8 weeks ago by jmroot (Joshua Root)

Quick fix is: sudo rm -rf /Library/Developer/CommandLineTools/usr/include/c++

comment:3 Changed 8 weeks ago by dnaumann

You're right, many thanks for the quick fix which worked! Sorry I didn't find issue 70750 when I searched.

Note: See TracTickets for help on using tickets.