[MacPorts] #71414: port bind9 fails to build

MacPorts noreply at macports.org
Fri Nov 29 23:40:05 UTC 2024


#71414: port bind9 fails to build
--------------------------+------------------------
  Reporter:  rustydraper  |      Owner:  danielluke
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.10.99
Resolution:               |   Keywords:  sequoia
      Port:  bind9        |
--------------------------+------------------------

Comment (by ryandesign):

 Hmm, every line of the backtrace is in `dyld`, ending in the function
 `dyld3::MachOFile::isMachO`. That might suggest it's trying to verify that
 the file is a Mach-O file and is encountering a problem doing so,
 suggesting it might not be a valid Mach-O file. Maybe attach the cfg_test
 file and we can inspect it to see what's wrong with it? We might run
 `file` and `otool -L` on it for a start.

 Searching for this function, I found
 [https://github.com/Tencent/libpag/issues/1176 this bug report]. It's in
 Chinese but the translation said the reason for the problem in their case
 was an invalid signature and that re-signing it fixed it. We might run
 `codesign -v` on it to see what it says about the validity of the
 signature. If the signature is absent or not valid, then the question is
 why that's so, since the toolchain on Apple Silicon should be auto-signing
 everything it makes.

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


More information about the macports-tickets mailing list