osxfuse error fix

During osxfuse installation from ports I stumbled into the following error:

—> Building osxfuse
Error: Failed to build osxfuse: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_osxfuse/osxfuse/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug

The fix was the following:

cd /Applications/Xcode.app/Contents/Developer/Toolchains
sudo ln -s XcodeDefault.xctoolchain OSX10.13.xctoolchain
ls -l
lrwxr-xr-x 1 root wheel 24B Mar 17 17:53 OSX10.13.xctoolchain -> XcodeDefault.xctoolchain
drwxr-xr-x 5 root wheel 160B Dec 18 13:43 XcodeDefault.xctoolchain/

This is on the latest High Sierra, 10.13.3

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.