I am trying to build the sage 8.1 mac-app on macOS 10.13.2 with Xcode V9.2 
and Command Line Tools for Xcode V9.1.  I have been able to compile sage 
and run make ptests (all tests passed).

When I try to build the Mac-app in sage-8.1/src/mac-app it crashes with a 
failure to build MainMenu.nib, see below.

Hopefully there is an easy fix.

Mike

*CpResource* sage-document-cython.icns 
build/Debug/Sage.app/Contents/Resources/sage-document-cython.icns

    cd /Users/michael/sage-8.1/src/mac-app

    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude 
.git -exclude .hg -resolve-src-symlinks 
/Users/michael/sage-8.1/src/mac-app/sage-document-cython.icns 
/Users/michael/sage-8.1/src/mac-app/build/Debug/Sage.app/Contents/Resources


*StripNIB* English.lproj/MainMenu.nib

    cd /Users/michael/sage-8.1/src/mac-app

    export 
XCODE_DEVELOPER_USR_PATH=/Applications/Xcode.app/Contents/Developer/usr/bin/..

    /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --write 
/Users/michael/sage-8.1/src/mac-app/build/Debug/Sage.app/Contents/Resources/English.lproj/MainMenu.nib
 
--output-format human-readable-text 
/Users/michael/sage-8.1/src/mac-app/English.lproj/MainMenu.nib

2017-12-10 12:49:59.678 ibtoold[97811:5456402] [MT] DVTPlugInLoading: 
Failed to load code for plug-in 
com.apple.dt.IDE.IDEInterfaceBuilderCocoaTouchIntegration 
(/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework),
 
error = Error Domain=NSCocoaErrorDomain Code=3587 
"dlopen_preflight(/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration):
 
Library not loaded: 
/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator

  Referenced from: 
/Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/SimulatorKit.framework/Versions/A/SimulatorKit

  Reason: image not found" UserInfo={NSLocalizedFailureReason=The bundle is 
damaged or missing necessary resources., NSLocalizedRecoverySuggestion=Try 
reinstalling the bundle., 
NSFilePath=/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration,
 
NSDebugDescription=dlopen_preflight(/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration):
 
Library not loaded: 
/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator

  Referenced from: 
/Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/SimulatorKit.framework/Versions/A/SimulatorKit

  Reason: image not found, 
NSBundlePath=/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework,
 
NSLocalizedDescription=The bundle 
“IDEInterfaceBuilderCocoaTouchIntegration” couldn’t be loaded because it is 
damaged or missing necessary resources.}, dyldError = 
dlopen(/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration,
 
0): Library not loaded: 
/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator

  Referenced from: 
/Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/SimulatorKit.framework/Versions/A/SimulatorKit

  Reason: image not found

2017-12-10 12:49:59.678 ibtoold[97811:5456402] [MT] 
DVTPlugInExtensionFaulting: Failed to fire fault for extension 
Xcode.InterfaceBuilderKit.PepperIntegration.Singletons: Error 
Domain=DVTPlugInErrorDomain Code=2 "Loading a plug-in failed." 
UserInfo={DVTPlugInIdentifierErrorKey=com.apple.dt.IDE.IDEInterfaceBuilderCocoaTouchIntegration,
 
DVTPlugInExecutablePathErrorKey=/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration,
 
NSLocalizedRecoverySuggestion=The plug-in or one of its prerequisite 
plug-ins may be missing or damaged and may need to be reinstalled., 
DVTPlugInDYLDErrorMessageErrorKey=dlopen(/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration,
 
0): Library not loaded: 
/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator

  Referenced from: 
/Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/SimulatorKit.framework/Versions/A/SimulatorKit

  Reason: image not found, NSLocalizedDescription=Loading a plug-in 
failed., 
NSFilePath=/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework,
 
NSLocalizedFailureReason=The plug-in 
“com.apple.dt.IDE.IDEInterfaceBuilderCocoaTouchIntegration” at path 
“/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework”
 
could not be loaded.  The plug-in or one of its prerequisite plug-ins may 
be missing or damaged., NSUnderlyingError=0x7fd2c160a8d0 {Error 
Domain=NSCocoaErrorDomain Code=3587 
"dlopen_preflight(/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration):
 
Library not loaded: 
/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator

  Referenced from: 
/Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/SimulatorKit.framework/Versions/A/SimulatorKit

  Reason: image not found" UserInfo={NSLocalizedFailureReason=The bundle is 
damaged or missing necessary resources., NSLocalizedRecoverySuggestion=Try 
reinstalling the bundle., 
NSFilePath=/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration,
 
NSDebugDescription=dlopen_preflight(/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration):
 
Library not loaded: 
/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator

  Referenced from: 
/Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/SimulatorKit.framework/Versions/A/SimulatorKit

  Reason: image not found, 
NSBundlePath=/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework,
 
NSLocalizedDescription=The bundle 
“IDEInterfaceBuilderCocoaTouchIntegration” couldn’t be loaded because it is 
damaged or missing necessary resources.}}}

2017-12-10 12:49:59.680 ibtoold[97811:5456402] *** Terminating app due to 
uncaught exception 'NSInternalInconsistencyException', reason: 'Error 
getting value for parameter key 'name' of extension 
'Xcode.InterfaceBuilderKit.PepperIntegration.Singletons' in plug-in 
'com.apple.dt.IDE.IDEInterfaceBuilderWatchKitIntegration''

*** First throw call stack:

(

0   CoreFoundation                      0x00007fff4162900b 
__exceptionPreprocess + 171

1   libobjc.A.dylib                     0x00007fff68203c76 
objc_exception_throw + 48

2   DVTFoundation                       0x000000010c8c352d 
-[DVTExtensionParameter valueForKey:error:] + 0

3   IDEInterfaceBuilderKit              0x000000010c051bed 
-[IBScopedSingletonRegistry init] + 722

4   IDEInterfaceBuilderKit              0x000000010c051901 
__43+[IBScopedSingletonRegistry sharedInstance]_block_invoke + 41

5   libdispatch.dylib                   0x00007fff68db9d50 
_dispatch_client_callout + 8

6   libdispatch.dylib                   0x00007fff68db9d03 dispatch_once_f 
+ 41

7   IDEInterfaceBuilderKit              0x000000010c0518d5 
+[IBScopedSingletonRegistry sharedInstance] + 45

8   IDEInterfaceBuilderKit              0x000000010be68d05 
-[IBInterfaceBuilderPlugin init] + 146

9   IDEInterfaceBuilderKit              0x000000010be68c59 
+[IBInterfaceBuilderPlugin ide_initializeWithOptions:error:] + 34

10  IDEFoundation                       0x000000010d1f1f42 
_IDEInitializeOnePlugInAndPrerequisites + 2324

11  IDEFoundation                       0x000000010d1f1849 
_IDEInitializeOnePlugInAndPrerequisites + 539

12  IDEFoundation                       0x000000010d1f1849 
_IDEInitializeOnePlugInAndPrerequisites + 539

13  IDEFoundation                       0x000000010d1eff3e 
_IDEInitializePlugIns + 1604

14  IDEFoundation                       0x000000010d1ef2f5 IDEInitialize + 
8547

15  ibtoold                             0x000000010bb60170 ibtoold + 74096

16  ibtoold                             0x000000010bb5f2eb ibtoold + 70379

17  libdyld.dylib                       0x00007fff68df3115 start + 1

18  ???                                 0x0000000000000009 0x0 + 9

)

libc++abi.dylib: terminating with uncaught exception of type NSException

Command /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool failed 
with exit code 6


*StripNIB* English.lproj/MyDocument.nib

    cd /Users/michael/sage-8.1/src/mac-app

    export 
XCODE_DEVELOPER_USR_PATH=/Applications/Xcode.app/Contents/Developer/usr/bin/..

    /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --write 
/Users/michael/sage-8.1/src/mac-app/build/Debug/Sage.app/Contents/Resources/English.lproj/MyDocument.nib
 
--output-format human-readable-text 
/Users/michael/sage-8.1/src/mac-app/English.lproj/MyDocument.nib


*** BUILD FAILED ***



The following build commands failed:

*StripNIB* English.lproj/MainMenu.nib

(1 failure)

make: *** [sage-8.1-OSX_10.13.2_x86_64/SageMath-8.1.app] Error 65

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to