[MacPorts] #67534: port rev-upgrade --id-loadcmd-check fails on intel macports 2.8.1

MacPorts noreply at macports.org
Sun Oct 1 15:04:48 UTC 2023


#67534: port rev-upgrade --id-loadcmd-check fails on intel macports 2.8.1
--------------------------------+--------------------
  Reporter:  captainproton1971  |      Owner:  (none)
      Type:  defect             |     Status:  new
  Priority:  Normal             |  Milestone:
 Component:  base               |    Version:  2.8.1
Resolution:                     |   Keywords:
      Port:                     |
--------------------------------+--------------------

Comment (by captainproton1971):

 Same happens on Apple Silicon, MacPorts 2.8.1, macOS 14.0.

 This time, it does seem to pick up some ID load commands containing
 relative paths before crashing with the same issue.  So this may be
 associated with a single port.  I'm not sure how

 {{{
 DEBUG: Copying /Users/*****/Library/Preferences/com.apple.dt.Xcode.plist
 to /opt/local/var/macports/home/Library/Preferences
 --->  Scanning binaries for linking errors
 Warning: ID load command in /opt/local/lib/bash/accept, arch arm64
 (belonging to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/basename, arch arm64
 (belonging to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/csv, arch arm64 (belonging
 to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/cut, arch arm64 (belonging
 to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/dirname, arch arm64
 (belonging to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/dsv, arch arm64 (belonging
 to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/fdflags, arch arm64
 (belonging to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/finfo, arch arm64
 (belonging to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/getconf, arch arm64
 (belonging to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/head, arch arm64
 (belonging to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/id, arch arm64 (belonging
 to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/ln, arch arm64 (belonging
 to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/logname, arch arm64
 (belonging to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/mkdir, arch arm64
 (belonging to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/mkfifo, arch arm64
 (belonging to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/mktemp, arch arm64
 (belonging to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/mypid, arch arm64
 (belonging to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/pathchk, arch arm64
 (belonging to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/print, arch arm64
 (belonging to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/printenv, arch arm64
 (belonging to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/push, arch arm64
 (belonging to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/realpath, arch arm64
 (belonging to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/rm, arch arm64 (belonging
 to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/rmdir, arch arm64
 (belonging to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/seq, arch arm64 (belonging
 to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/setpgid, arch arm64
 (belonging to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/sleep, arch arm64
 (belonging to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/stat, arch arm64
 (belonging to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/strftime, arch arm64
 (belonging to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/sync, arch arm64
 (belonging to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/tee, arch arm64 (belonging
 to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/truefalse, arch arm64
 (belonging to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/tty, arch arm64 (belonging
 to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/uname, arch arm64
 (belonging to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/unlink, arch arm64
 (belonging to port bash) contains relative path
 Warning: ID load command in /opt/local/lib/bash/whoami, arch arm64
 (belonging to port bash) contains relative path
 Warning: ID load command in /opt/local/libexec/coreutils/libstdbuf.so,
 arch arm64 (belonging to port coreutils) contains relative path
 DEBUG: Ignoring loadcommand containing @rpath in
 /opt/local/lib/libgcc/libatomic.1.dylib
 DEBUG: rev-upgrade failed: @rpath in loadcommand
     while executing
 "error "@rpath in loadcommand""
     (procedure "revupgrade_handle_special_paths" line 18)
     invoked from within
 "revupgrade_handle_special_paths $bpath [$architecture cget
 -mat_install_name]"
     while executing
 "throw [dict get $eOptions -errorcode] [dict get $eOptions -errorinfo]"
     (procedure "revupgrade_scanandrebuild" line 221)
     invoked from within
 "revupgrade_scanandrebuild broken_port_counts $opts"
 Error: rev-upgrade failed: @rpath in loadcommand
     while executing
 "error "@rpath in loadcommand""
     (procedure "revupgrade_handle_special_paths" line 18)
     invoked from within
 "revupgrade_handle_special_paths $bpath [$architecture cget
 -mat_install_name]"
 }}}

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


More information about the macports-tickets mailing list