Heute erhielt ich folgende Fehlermeldung:
---> Computing dependencies for curlftpfs ---> Dependencies to be installed: osxfuse ---> 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. Error: Processing of port curlftpfs failed
In der angegebenen main.log las ich:
... :info:build Command /bin/sh failed with exit code 1 :info:build ** BUILD FAILED ** :info:build The following build commands failed: :info:build PhaseScriptExecution BridgeSupport\ Metadata build/OSXFUSE.build/Release/OSXFUSE.build/Script-28D525C40EA8076400B7CF7B.sh :info:build (1 failure) :info:build T:framework | [1;31mFailed to build target[0m :info:build Terminated: 15 :info:build [0;37mReceived signal: SIGTERM[0m :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_osxfuse/osxfuse/work/osxfuse-osxfuse-431bdc5" && ./build.sh -t packagemanager -a build -v 5 --build-directory="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_osxfuse/osxfuse/work" -- -a x86_64 --framework-prefix="/opt/local" --fsbundle-prefix="/opt/local" --library-prefix="/opt/local" :info:build Killed by signal: 15 :error:build Failed to build osxfuse: command execution failed :debug:build Error code: CHILDKILLED 1299 SIGTERM {software termination signal} :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "system {*}$notty {*}$nice $fullcmdstring" :debug:build invoked from within :debug:build "command_exec build" :debug:build (procedure "portbuild::build_main" line 8) :debug:build invoked from within :debug:build "$procedure $targetname" :debug:build invalid command name "::ui_init" :debug:build while executing :debug:build "::ui_init $priority $prefix $channels($priority) {*}$args" :debug:build ("uplevel" body line 2) :debug:build invoked from within :debug:build "uplevel 1 $body" :error:build 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.
Da ich keine Lösung für das Problem fand, eröffnete ich im MacPorts Trac einen Defect: osxfuse: build failed with SIGTERM
Die Antwort kam postwended — das Problem sei bekannt und bereits im Defect osxfuse @3.7.1: Library not loaded: @rpath/libclang.dylib (LoadError) beschrieben.
Als temporärer Workaround wird dort empfohlen:
$ cd /Applications/Xcode.app/Contents/Developer/Toolchains $ sudo ln -s XcodeDefault.xctoolchain OSX10.13.xctoolchain
Danach kompilierte die Sache problemlos.