[MacPorts] #66358: extract phase fails in trace-mode on macOS 13

MacPorts noreply at macports.org
Fri Feb 3 08:10:04 UTC 2023


#66358: extract phase fails in trace-mode on macOS 13
-------------------------+---------------------
  Reporter:  reneeotten  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  base        |    Version:
Resolution:              |   Keywords:  ventura
      Port:              |
-------------------------+---------------------

Comment (by linuxgemini):

 After looking at system console logs, I have noticed that SIP is kicking
 in to block sandbox-exec:

 {{{
 default 11:02:43.231827+0300    kernel  AMFI: Launch Constraint Violation
 (enforcing), error info: c[1]p[1]m[1]e[3], (Constraint not matched)
 launching proc[vc: 1 pid: 38987]: /opt/local/var/macports/sip-
 workaround/503/usr/bin/sandbox-exec, launch type 0, failure proc [vc: 1
 pid: 38987]: /opt/local/var/macports/sip-workaround/503/usr/bin/sandbox-
 exec
 default 11:02:43.231920+0300    kernel  ASP: Security policy would not
 allow process: 38987, /opt/local/var/macports/sip-workaround/503/usr/bin
 /sandbox-exec
 default 11:02:43.238965+0300    tccd    AUTHREQ_ATTRIBUTION:
 msgID=180.536, attribution={responsible={TCCDProcess:
 identifier=com.googlecode.iterm2, pid=38987, auid=502, euid=503,
 responsible_path=/Applications/iTerm.app/Contents/MacOS/iTerm2,
 binary_path=/opt/local/var/macports/sip-workaround/503/usr/bin/sandbox-
 exec}, accessing={TCCDProcess: identifier=com.apple.sandbox-exec,
 pid=38987, auid=502, euid=503, binary_path=/opt/local/var/macports/sip-
 workaround/503/usr/bin/sandbox-exec}, requesting={TCCDProcess:
 identifier=com.apple.syspolicyd, pid=180, auid=0, euid=0,
 binary_path=/usr/libexec/syspolicyd}, },
 default 11:02:43.261656+0300    kernel  sandbox-exec[38987] Corpse allowed
 1 of 5
 default 11:02:46.863394+0300    ReportCrash     Formulating fatal 309
 report for corpse[38987] sandbox-exec
 default 11:02:46.869412+0300    osanalyticshelper       creating type 309
 as /Users/ilteris.eroglu/Library/Logs/DiagnosticReports/.sandbox-
 exec-2023-02-03-110246.ips
 default 11:02:47.033565+0300    osanalyticshelper       Saved type
 '309(<private>)' report (10 of max 25) at
 /Users/ilteris.eroglu/Library/Logs/DiagnosticReports/sandbox-
 exec-2023-02-03-110246.ips
 default 11:02:47.033731+0300    osanalyticshelper       xpc log creation
 type 309 result success:
 /Users/ilteris.eroglu/Library/Logs/DiagnosticReports/sandbox-
 exec-2023-02-03-110246.ips
 default 11:02:47.033818+0300    ReportCrash     client log create type 309
 result success: /Users/ilteris.eroglu/Library/Logs/DiagnosticReports
 /sandbox-exec-2023-02-03-110246.ips
 default 11:02:47.033899+0300    ReportCrash     no MetricKit for process
 sandbox-exec type 309 bundleId (null)
 default 11:02:47.034039+0300    ReportCrash     Sending event:
 com.apple.stability.crash
 {"coalitionName":"com.googlecode.iterm2","exceptionCodes":"0x0000000000000000,
 0x0000000000000000(\n    0,\n    0\n)EXC_CRASHSIGKILL (Code Signature
 Invalid)","incidentID":"CDC1A1CF-829A-
 48C5-9BD2-6C8D471F2D6A","logwritten":1,"process":"sandbox-
 exec","terminationReasonExceptionCode":"0x4","terminationReasonNamespace":"CODESIGNING"}
 default 11:02:47.034143+0300    analyticsd      Received event:
 com.apple.stability.crash
 {"coalitionName":"com.googlecode.iterm2","exceptionCodes":"0x0000000000000000,
 0x0000000000000000(\n    0,\n    0\n)EXC_CRASHSIGKILL (Code Signature
 Invalid)","incidentID":"CDC1A1CF-829A-
 48C5-9BD2-6C8D471F2D6A","logwritten":1,"process":"sandbox-
 exec","terminationReasonExceptionCode":"0x4","terminationReasonNamespace":"CODESIGNING"}
 default 11:02:47.034575+0300    analyticsd      Aggregated. Transform:
 StabilityCrashNumerator3WithBundleVersion Dirty: 1 Event:
 com.apple.stability.crash
 {"coalitionName":"com.googlecode.iterm2","exceptionCodes":"0x0000000000000000,
 0x0000000000000000(\n    0,\n    0\n)EXC_CRASHSIGKILL (Code Signature
 Invalid)","incidentID":"CDC1A1CF-829A-
 48C5-9BD2-6C8D471F2D6A","logwritten":1,"process":"sandbox-
 exec","terminationReasonExceptionCode":"0x4","terminationReasonNamespace":"CODESIGNING","timestamp":1675411367033982}
 default 11:02:47.035773+0300    analyticsd      Aggregated. Transform:
 StabilityCrashNumerator3WithIncidentID Dirty: 1 Event:
 com.apple.stability.crash
 {"coalitionName":"com.googlecode.iterm2","exceptionCodes":"0x0000000000000000,
 0x0000000000000000(\n    0,\n    0\n)EXC_CRASHSIGKILL (Code Signature
 Invalid)","incidentID":"CDC1A1CF-829A-
 48C5-9BD2-6C8D471F2D6A","logwritten":1,"process":"sandbox-
 exec","terminationReasonExceptionCode":"0x4","terminationReasonNamespace":"CODESIGNING","timestamp":1675411367033982}
 default 11:02:47.035988+0300    analyticsd      Aggregated. Transform:
 StabilityCrashNumerator3 Dirty: 1 Event: com.apple.stability.crash
 {"coalitionName":"com.googlecode.iterm2","exceptionCodes":"0x0000000000000000,
 0x0000000000000000(\n    0,\n    0\n)EXC_CRASHSIGKILL (Code Signature
 Invalid)","incidentID":"CDC1A1CF-829A-
 48C5-9BD2-6C8D471F2D6A","logwritten":1,"process":"sandbox-
 exec","terminationReasonExceptionCode":"0x4","terminationReasonNamespace":"CODESIGNING","timestamp":1675411367033982}
 }}}

 Looks like there is an entitlement issue, not quite sure.

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


More information about the macports-tickets mailing list