Opened 4 years ago

Closed 4 years ago

#61452 closed defect (worksforme)

Failed to build pinentry-mac@0.9.4 (command execution failed) after macOS-11 migration

Reported by: kylejb (Kyle J. Burda) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: Ionic (Mihai Moldovan)
Port: pinentry-mac

Description

I updated my macOS operating system to 11.0.1 yesterday and Xcode to version 12.2. Since then, I have not been able to install pinentry-mac.

I followed Macports' migration documentation. When the port failed to install, I followed the installation steps outlined in section 3.1.11 of the documentation (e.g., cleaning port before reattempting the install) to no avail.

I have attached the main.log file to provide you with more information; it seems to suggest it may be an issue with Xcode.

--->  Fetching archive for pinentry-mac
--->  Attempting to fetch pinentry-mac-0.9.4_0.darwin_20.x86_64.tbz2 from https://packages.macports.org/pinentry-mac
--->  Attempting to fetch pinentry-mac-0.9.4_0.darwin_20.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/pinentry-mac/pinentry-mac
--->  Attempting to fetch pinentry-mac-0.9.4_0.darwin_20.x86_64.tbz2 from https://mse.uk.packages.macports.org/pinentry-mac
--->  Fetching distfiles for pinentry-mac
--->  Verifying checksums for pinentry-mac
--->  Extracting pinentry-mac
Warning: The following existing file was hidden from the build system by trace mode:
  /private/var/select/sh
--->  Applying patches to pinentry-mac
Warning: The following existing file was hidden from the build system by trace mode:
  /private/var/select/sh
--->  Configuring pinentry-mac
--->  Building pinentry-mac
Warning: The following existing files were hidden from the build system by trace mode:
  /System/Volumes/Data/Applications/Xcode.app/Contents/Developer/usr/bin/ibtoold
  /private/var/select/sh
Error: Failed to build pinentry-mac: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_pinentry-mac/pinentry-mac/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port pinentry-mac failed

This is my first time creating a ticket. If there's any more information that you need to know, let me know how I can be of help.

Thank you,

Kyle

Attachments (1)

main.log (74.4 KB) - added by kylejb (Kyle J. Burda) 4 years ago.
main.log file - log generated while attempting to install port

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by kylejb (Kyle J. Burda)

Attachment: main.log added

main.log file - log generated while attempting to install port

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

Interesting, the log says:

2020-11-14 12:18:27.617 ibtoold[12007:1940285] [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/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/Versions/A/IDEInterfaceBuilderCocoaTouchIntegration
  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/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/Versions/A/IDEInterfaceBuilderCocoaTouchIntegration
  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/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/Versions/A/IDEInterfaceBuilderCocoaTouchIntegration
  Reason: image not found
2020-11-14 12:18:27.617 ibtoold[12007:1940285] [MT] DVTPlugInExtensionFaulting: Failed to fire fault for extension Xcode.InterfaceBuilderKit.iOSMacIntegration.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/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/Versions/A/IDEInterfaceBuilderCocoaTouchIntegration
  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=0x7fd0e4959fd0 {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/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/Versions/A/IDEInterfaceBuilderCocoaTouchIntegration
  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/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/Versions/A/IDEInterfaceBuilderCocoaTouchIntegration
  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.}}}
2020-11-14 12:18:27.620 ibtoold[12007:1940285] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error getting value for parameter key 'name' of extension 'Xcode.InterfaceBuilderKit.iOSMacIntegration.Singletons' in plug-in 'com.apple.dt.IDE.IDEInterfaceBuilderiOSMacIntegration''
*** First throw call stack:
(
    0   CoreFoundation                      0x00007fff204a26af __exceptionPreprocess + 242
    1   libobjc.A.dylib                     0x00007fff201da3c9 objc_exception_throw + 48
    2   DVTFoundation                       0x0000000107b93063 -[DVTExtensionParameter valueForKey:error:] + 0
    3   IDEInterfaceBuilderKit              0x0000000107258836 -[IBScopedSingletonRegistry init] + 698
    4   IDEInterfaceBuilderKit              0x0000000107258567 __43+[IBScopedSingletonRegistry sharedInstance]_block_invoke + 16
    5   libdispatch.dylib                   0x00007fff201857c7 _dispatch_client_callout + 8
    6   libdispatch.dylib                   0x00007fff2018696b _dispatch_once_callout + 20
    7   IDEInterfaceBuilderKit              0x0000000107258555 +[IBScopedSingletonRegistry sharedInstance] + 46
    8   IDEInterfaceBuilderKit              0x0000000107062cee -[IBInterfaceBuilderPlugin init] + 134
    9   IDEInterfaceBuilderKit              0x0000000107062c4e +[IBInterfaceBuilderPlugin ide_initializeWithOptions:error:] + 11
    10  IDEFoundation                       0x0000000108647ee9 _IDEInitializeOnePlugInAndPrerequisites + 2251
    11  IDEFoundation                       0x000000010864784b _IDEInitializeOnePlugInAndPrerequisites + 557
    12  IDEFoundation                       0x000000010864784b _IDEInitializeOnePlugInAndPrerequisites + 557
    13  IDEFoundation                       0x0000000108646713 _IDEInitializePlugIns + 1417
    14  IDEFoundation                       0x00000001086456a6 IDEInitialize + 9716
    15  ibtoold                             0x0000000106d21df5 IBIDEInitialize + 52
    16  ibtoold                             0x0000000106d20fef main + 1622
    17  libdyld.dylib                       0x00007fff2034b631 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Command CompileXIB failed with a nonzero exit code

comment:2 Changed 4 years ago by kylejb (Kyle J. Burda)

Update - I successfully installed the port.

Thank you to all the contributors. I can't imagine how hectic it must be after an OS update.

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

Resolution: worksforme
Status: newclosed

A crash in Apple's code was probably not fixed by anything we committed in our repository, but I'm glad you got it working.

Note: See TracTickets for help on using tickets.