xrg build fails after OS X upgrade to 10.11.2 (15C50) and Xcode Version 7.2

Manfred Antar mantar at pozo.comcastbiz.net
Wed Dec 9 13:49:30 PST 2015


When trying to build xrg on OS X 10.11.2 I get this:

(/)747}port -v build xrg
--->  Building xrg
Build settings from command line:
    ARCHS = x86_64
    CLANG_CXX_LIBRARY = libc++
    GCC_VERSION = com.apple.compilers.llvm.clang.1_0
    MACOSX_DEPLOYMENT_TARGET = 10.11
    OBJROOT = build/
    SDKROOT = 
    SYMROOT = build/

Could not find service "com.apple.CoreSimulator.CoreSimulatorService" in domain for uid: 502
2015-12-09 13:39:45.231 xcodebuild[8831:128591] launchctl print returned an error code: 28928
2015-12-09 13:39:45.231 xcodebuild[8831:128591] Failed to locate a valid instance of CoreSimulatorService in the bootstrap.  Adding it now.
Could not find service "com.apple.CoreSimulator.CoreSimulatorService" in domain for uid: 502
2015-12-09 13:39:45.262 xcodebuild[8831:128591] launchctl print returned an error code: 28928
2015-12-09 13:39:45.262 xcodebuild[8831:128591] *** Assertion failure in -[SimServiceContext reloadServiceIfMovedOrAbortIfWeAreInvalid], /BuildRoot/Library/Caches/com.apple.xbs/Sources/CoreSimulator/CoreSimulator-201.3/CoreSimulator/SimServiceContext.m:451
** INTERNAL ERROR: Uncaught exception **
Exception: Unable to lookup com.apple.CoreSimulator.CoreSimulatorService in the bootstrap.  This can happen if running with a sandbox profile.  When running with a sandbox profile, make sure that com.apple.CoreSimulator.CoreSimulatorService.xpc is owned by root, not group writable, and not world writable.  See <rdar://problem/22142915>.
Stack:
  0  0x00007fff8da5caca __exceptionPreprocess (in CoreFoundation)
  1  0x00007fff917e873c objc_exception_throw (in libobjc.A.dylib)
  2  0x00007fff8da5c8ba +[NSException raise:format:arguments:] (in CoreFoundation)
  3  0x00007fff883a488c -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] (in Foundation)
  4  0x0000000112eb22e5 -[SimServiceContext reloadServiceIfMovedOrAbortIfWeAreInvalid] (in CoreSimulator)
  5  0x0000000112eb2c03 -[SimServiceContext connect] (in CoreSimulator)
  6  0x0000000112eb18bc -[SimServiceContext initWithConnectionType:] (in CoreSimulator)
  7  0x0000000112eb141a +[SimServiceContext simContextWithConnectionType:] (in CoreSimulator)
  8  0x0000000112eb13cb __41+[SimServiceContext sharedServiceContext]_block_invoke (in CoreSimulator)
  9  0x00007fff94ba033f _dispatch_client_callout (in libdispatch.dylib)
 10  0x00007fff94ba0237 dispatch_once_f (in libdispatch.dylib)
 11  0x0000000112eb13a9 +[SimServiceContext sharedServiceContext] (in CoreSimulator)
 12  0x0000000112ed141a +[SimDeviceSet setForSetPath:] (in CoreSimulator)
 13  0x0000000112ed13b6 +[SimDeviceSet defaultSet] (in CoreSimulator)
 14  0x000000011b0ddfe0 __42-[DVTiPhoneSimulatorLocator startLocating]_block_invoke (in IDEiOSSupportCore)
 15  0x000000010edfda58 __DVTDispatchAsync_block_invoke (in DVTFoundation)
 16  0x00007fff94bab871 _dispatch_call_block_and_release (in libdispatch.dylib)
 17  0x00007fff94ba033f _dispatch_client_callout (in libdispatch.dylib)
 18  0x00007fff94ba41cf _dispatch_root_queue_drain (in libdispatch.dylib)
 19  0x00007fff94ba3a34 _dispatch_worker_thread3 (in libdispatch.dylib)
 20  0x00007fff88e1368f _pthread_wqthread (in libsystem_pthread.dylib)
 21  0x00007fff88e11365 start_wqthread (in libsystem_pthread.dylib)

sh: line 1:  8831 Abort trap: 6           /usr/bin/xcodebuild -alltargets -configuration Release build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.11 ARCHS=x86_64 SDKROOT="" GCC_VERSION=com.apple.compilers.llvm.clang.1_0 CLANG_CXX_LIBRARY="libc++"
Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_aqua_xrg/xrg/work/XRG-2.0.0" && /usr/bin/xcodebuild  -alltargets -configuration Release build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.11 ARCHS=x86_64 SDKROOT="" GCC_VERSION=com.apple.compilers.llvm.clang.1_0 CLANG_CXX_LIBRARY="libc++" 
Exit code: 134
Error: org.macports.build for port xrg returned: command execution failed
Warning: targets not executed for xrg: org.macports.build
Please see the log file for port xrg for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_aqua_xrg/xrg/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port xrg failed
(/)748}uname -a
Darwin octo.pozo.com 15.2.0 Darwin Kernel Version 15.2.0: Fri Nov 13 19:56:56 PST 2015; root:xnu-3248.20.55~2/RELEASE_X86_64 x86_64

Not sure what the problem is. I uninstalled Xcode and did a fresh install , same results.
It built fine on 11.10

Thanks



More information about the macports-users mailing list