[MacPorts] #72061: macports-base 2.10.5: port install/upgrade terminated by signal SIGSEGV (Address boundary error)

MacPorts noreply at macports.org
Wed Feb 19 06:24:34 UTC 2025


#72061: macports-base 2.10.5: port install/upgrade terminated by signal SIGSEGV
(Address boundary error)
---------------------+---------------------------
  Reporter:  nasyxx  |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  base    |    Version:  2.10.5
Resolution:          |   Keywords:  sequoia arm64
      Port:          |
---------------------+---------------------------

Comment (by nasyxx):

 Replying to [comment:1 ryandesign]:
 > Sounds like a crash occurred. If so, macOS should have recorded a crash
 log in ~/Library/Logs/DiagnosticReports/. Could you attach it?

 Thanks! I found sudo crash logs in ~/Library/Logs/D/, but I'm still at a
 loss.

 I tried rebuilding macports from the master branch, and encountered the
 this problem:


 {{{
 ...
 Library:  callback.dylib
   (tcl 8.6)
   Stubs:
     critcl-3.3.1/critcl_c/tcl8.6/tclDecls.h:
       (tclStubsPtr     =>  const TclStubs *tclStubsPtr;)
     critcl-3.3.1/critcl_c/tcl8.6/tclPlatDecls.h:
       (tclPlatStubsPtr =>  const TclPlatStubs *tclPlatStubsPtr;)

 Package Placed Into: /Users/Nasy/src/macports-base/vendor/vendor-
 destroot/Users/Nasy/.macports/libexec/macports/lib/tmp/callback
 Platform: macosx-aarch64, macosx-arm, macosx-arm64 15.0 and later
 Headers Placed Into: /Users/Nasy/src/macports-base/vendor/vendor-
 destroot/Users/Nasy/.macports/libexec/macports/lib/tmp/critcl_callback
 Done

 Installed package:      /Users/Nasy/src/macports-base/vendor/vendor-
 destroot/Users/Nasy/.macports/libexec/macports/lib/critcl_callback_tcl8-1.1
 Installed headers:      /Users/Nasy/src/macports-base/vendor/vendor-
 destroot/Users/Nasy/.macports/libexec/macports/include/critcl_callback
 chmod: /Users/Nasy/src/macports-base/vendor/vendor-
 destroot/opt/local/libexec/macports/lib/critcl*: No such file or directory
 make[1]: *** [.stamp-critcl] Error 1
 make: *** [all] Error 1
 }}}


 Now, I think I've roughly guessed that the problem lies in the fact that
 my `/opt/local` is actually a soft link to `~/.macports.`  It's likely
 that there's an issue with prefixes, where some parts are expanding the
 soft link to `~/.macports`, while others are still retaining `/opt/local`.

 Maybe later, I should try not to soft link the whole macports but just
 handle the few confs.

 And for now, I install a released version from the pkg.

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


More information about the macports-tickets mailing list