Opened 9 years ago

Closed 9 years ago

#49968 closed defect (invalid)

graphviz-gui fails to build

Reported by: email@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: elcapitan Cc: ryandesign (Ryan Carsten Schmidt)
Port: graphviz-gui

Description

While trying to build graphviz-gui, I get:

version:1
:msg:main --->  Computing dependencies for graphviz-gui:info:main .:debug:main Checking for conflicts against graphviz-gui
:debug:main Searching for dependency: graphviz-gui-devel
:debug:main Didn't find receipt, going to depspec regex for: graphviz-gui-devel
:debug:main Searching for dependency: graphviz-oldgui
:debug:main Didn't find receipt, going to depspec regex for: graphviz-oldgui
:debug:main Searching for dependency: graphviz
:debug:main Didn't find receipt, going to depspec regex for: graphviz
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/graphics/graphviz
:debug:main OS darwin/15.2.0 (Mac OS X 10.11) arch i386
:debug:main Sourcing PortGroup xcodeversion 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/xcodeversion-1.0.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main adding the default universal variant
:debug:main Executing variant pangocairo provides pangocairo
:debug:main Executing variant x11 provides x11
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:info:main .:debug:main Checking for conflicts against graphviz
:debug:main Searching for dependency: graphviz-devel
:debug:main Didn't find receipt, going to depspec regex for: graphviz-devel
:debug:main Searching for dependency: pkgconfig
:debug:main Found Dependency: receipt exists for pkgconfig
:debug:main Searching for dependency: autoconf
:debug:main Found Dependency: receipt exists for autoconf
:debug:main Searching for dependency: automake
:debug:main Found Dependency: receipt exists for automake
:debug:main Searching for dependency: libtool
:debug:main Found Dependency: receipt exists for libtool
:debug:main Searching for dependency: jpeg
:debug:main Found Dependency: receipt exists for jpeg
:debug:main Searching for dependency: libpng
:debug:main Found Dependency: receipt exists for libpng
:debug:main Searching for dependency: webp
:debug:main Found Dependency: receipt exists for webp
:debug:main Searching for dependency: fontconfig
:debug:main Found Dependency: receipt exists for fontconfig
:debug:main Searching for dependency: freetype
:debug:main Found Dependency: receipt exists for freetype
:debug:main Searching for dependency: expat
:debug:main Found Dependency: receipt exists for expat
:debug:main Searching for dependency: gd2
:debug:main Found Dependency: receipt exists for gd2
:debug:main Searching for dependency: gts
:debug:main Found Dependency: receipt exists for gts
:debug:main Searching for dependency: zlib
:debug:main Found Dependency: receipt exists for zlib
:debug:main Searching for dependency: gettext
:debug:main Found Dependency: receipt exists for gettext
:debug:main Searching for dependency: pango
:debug:main Found Dependency: receipt exists for pango
:debug:main Searching for dependency: libLASi
:debug:main Found Dependency: receipt exists for libLASi
:debug:main Searching for dependency: xorg-libXaw
:debug:main Found Dependency: receipt exists for xorg-libXaw
:debug:main Searching for dependency: urw-fonts
:debug:main Found Dependency: receipt exists for urw-fonts
:msg:main 
:msg:main --->  Dependencies to be installed: graphviz
:debug:main Starting logging for graphviz
:debug:main Executing org.macports.main (graphviz-gui)
:debug:main Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphviz/graphviz-gui/work /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/graphics/graphviz/work
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 503
:debug:main Skipping completed org.macports.archivefetch (graphviz-gui)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (graphviz-gui)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (graphviz-gui)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (graphviz-gui)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (graphviz-gui)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (graphviz-gui)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Thu Dec 10 23:43:00 CET 2015
:notice:build --->  Building graphviz-gui
:debug:build Executing org.macports.build (graphviz-gui)
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphviz/graphviz-gui/work/graphviz-2.38.0/macosx" && /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++" PREFIX=/opt/local'
:info:build Build settings from command line:
:info:build     ARCHS = x86_64
:info:build     CLANG_CXX_LIBRARY = libc++
:info:build     GCC_VERSION = com.apple.compilers.llvm.clang.1_0
:info:build     MACOSX_DEPLOYMENT_TARGET = 10.11
:info:build     OBJROOT = build/
:info:build     PREFIX = /opt/local
:info:build     SDKROOT = 
:info:build     SYMROOT = build/
:info:build 
:info:build Could not find service "com.apple.CoreSimulator.CoreSimulatorService" in domain for uid: 503
:info:build 2015-12-10 23:43:01.238 xcodebuild[12096:2593275] launchctl print returned an error code: 28928
:info:build 2015-12-10 23:43:01.238 xcodebuild[12096:2593275] Failed to locate a valid instance of CoreSimulatorService in the bootstrap.  Adding it now.
:info:build Could not find service "com.apple.CoreSimulator.CoreSimulatorService" in domain for uid: 503
:info:build 2015-12-10 23:43:01.254 xcodebuild[12096:2593275] launchctl print returned an error code: 28928
:info:build 2015-12-10 23:43:01.254 xcodebuild[12096:2593275] *** Assertion failure in -[SimServiceContext reloadServiceIfMovedOrAbortIfWeAreInvalid], /BuildRoot/Library/Caches/com.apple.xbs/Sources/CoreSimulator/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 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>.
:info:build Stack:
:info:build   0  0x00007fff91cf6aca __exceptionPreprocess (in CoreFoundation)
:info:build   1  0x00007fff81f81f7e objc_exception_throw (in libobjc.A.dylib)
:info:build   2  0x00007fff91cf68ba +[NSException raise:format:arguments:] (in CoreFoundation)
:info:build   3  0x00007fff84cdc88c -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] (in Foundation)
:info:build   4  0x0000000112cc32e5 -[SimServiceContext reloadServiceIfMovedOrAbortIfWeAreInvalid] (in CoreSimulator)
:info:build   5  0x0000000112cc3c03 -[SimServiceContext connect] (in CoreSimulator)
:info:build   6  0x0000000112cc28bc -[SimServiceContext initWithConnectionType:] (in CoreSimulator)
:info:build   7  0x0000000112cc241a +[SimServiceContext simContextWithConnectionType:] (in CoreSimulator)
:info:build   8  0x0000000112cc23cb __41+[SimServiceContext sharedServiceContext]_block_invoke (in CoreSimulator)
:info:build   9  0x00007fff87a9033f _dispatch_client_callout (in libdispatch.dylib)
:info:build  10  0x00007fff87a90237 dispatch_once_f (in libdispatch.dylib)
:info:build  11  0x0000000112cc23a9 +[SimServiceContext sharedServiceContext] (in CoreSimulator)
:info:build  12  0x0000000112ce241a +[SimDeviceSet setForSetPath:] (in CoreSimulator)
:info:build  13  0x0000000112ce23b6 +[SimDeviceSet defaultSet] (in CoreSimulator)
:info:build  14  0x0000000118f7bfe0 __42-[DVTiPhoneSimulatorLocator startLocating]_block_invoke (in IDEiOSSupportCore)
:info:build  15  0x000000010ec0ba58 __DVTDispatchAsync_block_invoke (in DVTFoundation)
:info:build  16  0x00007fff87a9b871 _dispatch_call_block_and_release (in libdispatch.dylib)
:info:build  17  0x00007fff87a9033f _dispatch_client_callout (in libdispatch.dylib)
:info:build  18  0x00007fff87a941cf _dispatch_root_queue_drain (in libdispatch.dylib)
:info:build  19  0x00007fff87a93a34 _dispatch_worker_thread3 (in libdispatch.dylib)
:info:build  20  0x00007fff89fbb68f _pthread_wqthread (in libsystem_pthread.dylib)
:info:build  21  0x00007fff89fb9365 start_wqthread (in libsystem_pthread.dylib)
:info:build 
:info:build sh: line 1: 12096 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++" PREFIX=/opt/local
:info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphviz/graphviz-gui/work/graphviz-2.38.0/macosx" && /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++" PREFIX=/opt/local
:info:build Exit code: 134
:error:build org.macports.build for port graphviz-gui 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 graphviz-gui: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port graphviz-gui for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphviz/graphviz-gui/main.log

I looked at com.apple.CoreSimulator.CoreSimulatorService.xpc, it has the permissions: "drwxrwxr-x 3 root wheel com.apple.CoreSimulator.CoreSimulatorService.xpc"

Change History (2)

comment:1 Changed 9 years ago by email@…

sudo chmod g-w com.apple.CoreSimulator.CoreSimulatorService.xpc

did the trick....

Last edited 9 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

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

Cc: ryandesign@… added; ryandesign removed
Keywords: elcapitan added
Resolution: invalid
Status: newclosed

Yes, not a MacPorts bug. See ProblemHotlist#xcode7.2.

Note: See TracTickets for help on using tickets.