Opened 6 years ago

Closed 6 years ago

#54946 closed defect (invalid)

iTerm2 fails to build on Sierra

Reported by: rxa254 (Rana Adhikari) Owned by: emer@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: iTerm2

Description

Fresh macports install on 2017 MacBook Pro running 10.12.6. Get this

sudo port install iTerm2
--->  Fetching archive for iTerm2
Warning: Your DNS servers incorrectly claim to know the address of nonexistent hosts. This may cause checksum mismatches for some ports. See this page for more information: <https://trac.macports.org/wiki/MisbehavingServers>
--->  Attempting to fetch iTerm2-3.1.2_0.darwin_16.x86_64.tbz2 from https://packages.macports.org/iTerm2
--->  Attempting to fetch iTerm2-3.1.2_0.darwin_16.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/iTerm2
--->  Attempting to fetch iTerm2-3.1.2_0.darwin_16.x86_64.tbz2 from http://kmq.jp.packages.macports.org/iTerm2
--->  Fetching distfiles for iTerm2
--->  Verifying checksums for iTerm2
--->  Extracting iTerm2
--->  Applying patches to iTerm2
--->  Configuring iTerm2
--->  Building iTerm2
Error: Failed to build iTerm2: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_iTerm2/iTerm2/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port iTerm2 failed

Attachments (1)

main.log (27.8 KB) - added by rxa254 (Rana Adhikari) 6 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_iTerm2/iTerm2/main.log

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by rxa254 (Rana Adhikari)

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_iTerm2/iTerm2/main.log

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

Keywords: build iterm2 sierra removed
Owner: set to emer@…
Priority: LowNormal
Status: newassigned

It builds fine for me on Sierra with Xcode 9.

Your log says:

:info:build Details:  Error: Error Domain=DVTPlugInErrorDomain Code=2 "Loading a plug-in failed." UserInfo={DVTPlugInIdentifierErrorKey=com.apple.dt.IDE.IDEModelFoundation, DVTPlugInExecutablePathErrorKey=/Applications/Xcode.app/Contents/PlugIns/IDEModelFoundation.ideplugin/Contents/MacOS/IDEModelFoundation, 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/IDEModelFoundation.ideplugin/Contents/MacOS/IDEModelFoundation, 0): Library not loaded: /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator
:info:build   Referenced from: /Applications/Xcode.app/Contents/PlugIns/IDEModelFoundation.ideplugin/Contents/MacOS/IDEModelFoundation
:info:build   Reason: image not found, NSLocalizedDescription=Loading a plug-in failed., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/IDEModelFoundation.ideplugin, NSLocalizedFailureReason=The plug-in “com.apple.dt.IDE.IDEModelFoundation” at path “/Applications/Xcode.app/Contents/PlugIns/IDEModelFoundation.ideplugin” could not be loaded.  The plug-in or one of its prerequisite plug-ins may be missing or damaged., NSUnderlyingError=0x7ff694479050 {Error Domain=NSCocoaErrorDomain Code=3587 "dlopen_preflight(/Applications/Xcode.app/Contents/PlugIns/IDEModelFoundation.ideplugin/Contents/MacOS/IDEModelFoundation): Library not loaded: /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator
:info:build   Referenced from: /Applications/Xcode.app/Contents/PlugIns/IDEModelFoundation.ideplugin/Contents/MacOS/IDEModelFoundation
:info:build   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/IDEModelFoundation.ideplugin/Contents/MacOS/IDEModelFoundation, NSDebugDescription=dlopen_preflight(/Applications/Xcode.app/Contents/PlugIns/IDEModelFoundation.ideplugin/Contents/MacOS/IDEModelFoundation): Library not loaded: /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator
:info:build   Referenced from: /Applications/Xcode.app/Contents/PlugIns/IDEModelFoundation.ideplugin/Contents/MacOS/IDEModelFoundation
:info:build   Reason: image not found, NSBundlePath=/Applications/Xcode.app/Contents/PlugIns/IDEModelFoundation.ideplugin, NSLocalizedDescription=The bundle “IDEModelFoundation” couldn’t be loaded because it is damaged or missing necessary resources.

Sounds like an Xcode problem. Make sure you have Xcode 9 and its version of the command line tools, and that you have launched Xcode once to perform the first-run installation.

comment:2 Changed 6 years ago by AlD (Daniel Albers)

Can confirm. Just hit this error, was resolved after starting the freshly installed Xcode.

The possible feature request here would be for port(1) to detect and flag this situation.

comment:3 Changed 6 years ago by rxa254 (Rana Adhikari)

thanks; works for me now. I had run 'xcode-select --install' from the terminal before. Running the GUI once seems to have done the trick.

comment:4 Changed 6 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: assignedclosed
Note: See TracTickets for help on using tickets.