Opened 2 years ago

Last modified 22 months ago

#50040 new defect

Aquaterm 1.1.1 El Capitan build failure

Reported by: daniel.stubbs2013@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: elcapitan Cc: g5pw (Aljaž Srebrnič), mojca (Mojca Miklavec), FoolishEwe@…, jam@…, caverac, cjohnson@…, mklein-de (Michael Klein)
Port: aquaterm gnuplot

Description

I just updated to El Capitan last night, and I can't seem to get gnuplot to build and install. I've submitted the bug specifically for aquaterm however, as the build failure is directly related to that. The error seems to be related to something called the CoreSimulatorService, but I don't know enough about it to troubleshoot any further. I've of course attached the entire log file to this report. The CoreServiceSimulator fails with the following error:

info:build 2015-12-15 10:36:59.610 xcodebuild[950:16869] *** Assertion failure in -[SimServiceConte
xt reloadServiceIfMovedOrAbortIfWeAreInvalid], /BuildRoot/Library/Caches/com.apple.xbs/Sources/CoreS
imulator/CoreSimulator-201.3/CoreSimulator/SimServiceContext.m:451
:info:build ** INTERNAL ERROR: Uncaught exception **
:info:build Exception: Unable to lookup com.apple.CoreSimulator.CoreSimulatorService in the bootstra
p.  This can happen if running with a sandbox profile.  When running with a sandbox profile, make su
re that com.apple.CoreSimulator.CoreSimulatorService.xpc is owned by root, not group writable, and n
ot world writable.  See <rdar://problem/22142915>.

This is on 10.11.2 with Xcode version 7.2. Here is the last bit of the log file.

:info:build Exit code: 134
:error:build org.macports.build for port aquaterm returned: command execution failed
:debug:build Error code: NONE
:debug:build Backtrace: command execution failed
    while executing
"proc-org.macports.build-build-0 org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for aquaterm: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install aquaterm
:debug:build Registry error: aquaterm not registered as installed & active.
    invoked from within
"registry_active $subport"
    invoked from within
"$workername eval registry_active \$subport"
:notice:build Please see the log file for port aquaterm for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_aquaterm/aquaterm/main.log

Attachments (1)

main.log (21.2 KB) - added by daniel.stubbs2013@… 2 years ago.

Download all attachments as: .zip

Change History (9)

Changed 2 years ago by daniel.stubbs2013@…

comment:1 in reply to: ↑ description Changed 2 years ago by FoolishEwe@…

Replying to daniel.stubbs2013@…: I also am seeing this behavior. In my case the steps are similar but on a pristine new machine. 1) I upgraded the OS, 2) installed the various xcode tools, 3) installed Oracles Java 8 JDK and 4) then copied my preferred macports installed software list to the new machine and ran the tcl migration script. Aquaterm's install failed.

I just updated to El Capitan last night, and I can't seem to get gnuplot to build and install. I've submitted the bug specifically for aquaterm however, as the build failure is directly related to that. The error seems to be related to something called the CoreSimulatorService, but I don't know enough about it to troubleshoot any further. I've of course attached the entire log file to this report. The CoreServiceSimulator fails with the following error:

info:build 2015-12-15 10:36:59.610 xcodebuild[950:16869] *** Assertion failure in -[SimServiceConte
xt reloadServiceIfMovedOrAbortIfWeAreInvalid], /BuildRoot/Library/Caches/com.apple.xbs/Sources/CoreS
imulator/CoreSimulator-201.3/CoreSimulator/SimServiceContext.m:451
:info:build ** INTERNAL ERROR: Uncaught exception **
:info:build Exception: Unable to lookup com.apple.CoreSimulator.CoreSimulatorService in the bootstra
p.  This can happen if running with a sandbox profile.  When running with a sandbox profile, make su
re that com.apple.CoreSimulator.CoreSimulatorService.xpc is owned by root, not group writable, and n
ot world writable.  See <rdar://problem/22142915>.

This is on 10.11.2 with Xcode version 7.2. Here is the last bit of the log file.

:info:build Exit code: 134
:error:build org.macports.build for port aquaterm returned: command execution failed
:debug:build Error code: NONE
:debug:build Backtrace: command execution failed
    while executing
"proc-org.macports.build-build-0 org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for aquaterm: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install aquaterm
:debug:build Registry error: aquaterm not registered as installed & active.
    invoked from within
"registry_active $subport"
    invoked from within
"$workername eval registry_active \$subport"
:notice:build Please see the log file for port aquaterm for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_aquaterm/aquaterm/main.log

comment:2 follow-up: Changed 2 years ago by ryandesign (Ryan Schmidt)

  • Cc FoolishEwe@… added; daniel.stubbs2013@… removed
  • Keywords elcapitan added; aquaterm build failure el capitan removed

This is a bug in Xcode 7.2. See ProblemHotlist#xcode7.2 for the solution.

comment:3 Changed 2 years ago by mojca (Mojca Miklavec)

  • Cc jam@… added
  • Port gnuplot added
  • Version 2.3.4 deleted

Duplicate: #50107.

Even if it's not exactly correct, I added gnuplot to the list of ports because most users hit this error when they compile gnuplot and might find it easier to find this bug rather than opening a new one.

Please follow Ryan's advice for now. For an even easier workaround you can install gnuplot with

sudo port install gnuplot -aquaterm

(you may add +qt or +qt5), but you might hit the same problem when installing other ports.

Theoretically this ticket could be closed as "invalid" as it's a bug in Apple's toolchain, but we should keep it open until the problem gets resolved upstream. Do we have any special keyword or any other field to mark something as "Apple's bug"? Do we have any "master ticket" for this problem?

comment:4 Changed 2 years ago by ryandesign (Ryan Schmidt)

Has probable duplicate #50251.

comment:5 in reply to: ↑ 2 Changed 2 years ago by Polyergic (Shad Sterling)

Replying to ryandesign@…:

This is a bug in Xcode 7.2. See ProblemHotlist#xcode7.2 for the solution.

The workaround on that page worked for me:

The workaround is to manually fix the permissions of the path mentioned in the error message. User should be 'root', group should be 'wheel', and write permissions only granted for the owner:

sudo chmod -R g-w $(xcode-select -p)/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple.CoreSimulator.CoreSimulatorService.xpc
sudo chown -R root:wheel $(xcode-select -p)/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple.CoreSimulator.CoreSimulatorService.xpc
Last edited 2 years ago by ryandesign (Ryan Schmidt) (previous) (diff)

comment:6 Changed 2 years ago by ryandesign (Ryan Schmidt)

  • Cc caverac@… added

Has duplicate #50408.

comment:7 Changed 23 months ago by ryandesign (Ryan Schmidt)

  • Cc cjohnson@… added

Has duplicate #50423.

comment:8 Changed 22 months ago by mklein-de (Michael Klein)

  • Cc michael.klein@… added

Cc Me!

Note: See TracTickets for help on using tickets.