[MacPorts] #72517: sshfs @3.7.3 [vanilla variant] update triggers compilation that stalls and hangs with clang processes at ~100%

MacPorts noreply at macports.org
Fri Jun 6 13:17:57 UTC 2025


#72517: sshfs @3.7.3 [vanilla variant] update triggers compilation that stalls and
hangs with clang processes at ~100%
---------------------+--------------------
  Reporter:  1dolla  |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.10.7
Resolution:          |   Keywords:
      Port:  sshfs   |
---------------------+--------------------

Comment (by detlevd):

 Same here with Ventura 13.7.6, XCode 15.2, MacPorts 2.10.5 on a MacBook
 Air M2, so it is not limited to Intel Macs.
 No difference after upgrading MacPorts to 2.10.7

 Calling `sudo port -d upgrade -u sshfs` gives as last lines before endeles
 loop:
 {{{
 Found ninja-1.12.1 at /opt/local/bin/ninja
 DEBUG: Executing portconfigure::configure_finish
 DEBUG: Privilege de-escalation not attempted as not running as root.
 DEBUG: build phase started at Fri Jun  6 15:01:59 CEST 2025
 --->  Building sshfs
 DEBUG: Executing org.macports.build (sshfs)
 DEBUG: Environment:
 CC_PRINT_OPTIONS='YES'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_sshfs/sshfs/work/.CC_PRINT_OPTIONS'
 CPATH='/opt/local/include'
 DEVELOPER_DIR='/Library/Developer/CommandLineTools'
 LIBRARY_PATH='/opt/local/lib'
 MACOSX_DEPLOYMENT_TARGET='13.0'
 SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk'
 SOURCE_DATE_EPOCH='1747488227'
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_sshfs/sshfs/work/build"
 && /opt/local/bin/ninja -j8 -v
 DEBUG: system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_sshfs/sshfs/work/build"
 && /opt/local/bin/ninja -j8 -v
 [1/8] /bin/cp -fPp ../sshfs-3.7.3/test/conftest.py
 ../sshfs-3.7.3/test/pytest.ini ../sshfs-3.7.3/test/test_sshfs.py
 ../sshfs-3.7.3/test/util.py
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_sshfs/sshfs/work/build/test
 [2/8] /usr/bin/clang -Itest/wrong_command.p -Itest -I../sshfs-3.7.3/test
 -I/opt/local/include/fuse -I/opt/local/include -fdiagnostics-color=always
 -Wall -Winvalid-pch -O2 -g -D_REENTRANT -DHAVE_CONFIG_H -Wall -Wextra
 -Wno-sign-compare -Wmissing-declarations -Wwrite-strings
 -DFUSE_DARWIN_ENABLE_EXTENSIONS=0 -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch arm64
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -MD -MQ
 test/wrong_command.p/wrong_command.c.o -MF
 test/wrong_command.p/wrong_command.c.o.d -o
 test/wrong_command.p/wrong_command.c.o -c
 ../sshfs-3.7.3/test/wrong_command.c
 [3/8] /usr/bin/clang -Isshfs.p -I. -I../sshfs-3.7.3
 -I../sshfs-3.7.3/compat -I/opt/local/include/fuse3
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/include/fuse -I/opt/local/include -fdiagnostics-color=always
 -Wall -Winvalid-pch -O2 -g -D_REENTRANT -DHAVE_CONFIG_H -Wall -Wextra
 -Wno-sign-compare -Wmissing-declarations -Wwrite-strings
 -DFUSE_DARWIN_ENABLE_EXTENSIONS=0 -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch arm64
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk
 -DFUSE_USE_VERSION=31 -MD -MQ sshfs.p/compat_darwin_compat.c.o -MF
 sshfs.p/compat_darwin_compat.c.o.d -o sshfs.p/compat_darwin_compat.c.o -c
 ../sshfs-3.7.3/compat/darwin_compat.c
 [4/8] /usr/bin/clang  -o test/wrong_command
 test/wrong_command.p/wrong_command.c.o -L/opt/local/lib
 -I/opt/local/include/fuse -I/opt/local/include -Wl,-dead_strip_dylibs
 -Wl,-headerpad_max_install_names -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk
 -arch arm64 -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch arm64
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk
 [5/8] /opt/local/bin/rst2man-3.13 ../sshfs-3.7.3/sshfs.rst sshfs.1
 ^Cninja: build stopped: interrupted by user.
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_fuse_sshfs/sshfs/work/build"
 && /opt/local/bin/ninja -j8 -v
 Exit code: 2
 }}}

 Two clang processes remained running before CTRL-C, one compiling
 `sshfs.c`, the other `cache.c`. Calling ninja with `-j1` in the build
 directory starts compiling `sshfs.c`, which never finishes.

-- 
Ticket URL: <https://trac.macports.org/ticket/72517#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list