Opened 8 years ago

Closed 8 years ago

Last modified 4 years ago

#52505 closed defect (wontfix)

MacVim @8.0.snapshot110_0+huge.darwin_10.x86_64: ibtool fails on Preferences.nib

Reported by: macportsraf Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: snowleopard Cc:
Port: MacVim

Description

port upgrade outdated didn't work so I tried cleaning then uninstalling and reinstalling. The error at the end of the logfile is:

:info:patch --->  Applying patch-remove-sparkle.diff
:debug:patch Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_editors_MacVim/MacVim/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_editors_MacVim/MacVim/work/macvim-110" && /usr/bin/patch -p0'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_editors_MacVim/MacVim/work/macvim-110" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/ports/editors/MacVim/files/patch-remove-sparkle.diff'
:info:patch patching file src/MacVim/English.lproj/Preferences.nib/designable.nib
:info:patch patching file src/MacVim/MacVim.xcodeproj/project.pbxproj
:info:patch patching file src/MacVim/English.lproj/MainMenu.nib/designable.nib
:debug:patch Executing proc-post-org.macports.patch-patch-0
:info:patch --->  Patching mvim: s|^# VIM_APP_DIR=/Applications$|VIM_APP_DIR=/Applications/MacPorts|
:debug:patch Executing reinplace: /usr/bin/sed {s|^# VIM_APP_DIR=/Applications$|VIM_APP_DIR=/Applications/MacPorts|} < /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_editors_MacVim/MacVim/work/macvim-110/src/MacVim/mvim >@ file11 2>@stderr
:info:patch --->  Running ibtool for Preferences.nib
:info:patch <?xml version="1.0" encoding="UTF-8"?>
:info:patch <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
:info:patch <plist version="1.0">
:info:patch <dict>
:info:patch 	<key>com.apple.ibtool.errors</key>
:info:patch 	<array>
:info:patch 		<dict>
:info:patch 			<key>description</key>
:info:patch 			<string>Interface Builder was unable to determine the type of "Preferences.nib".</string>
:info:patch 		</dict>
:info:patch 	</array>
:info:patch </dict>
:info:patch </plist>
:info:patch Command failed: ibtool --compile src/MacVim/English.lproj/Preferences.nib/keyedobjects.nib src/MacVim/English.lproj/Preferences.nib
:info:patch Exit code: 1
:error:patch org.macports.patch for port MacVim returned: command execution failed
:debug:patch Error code: NONE
:debug:patch Backtrace: command execution failed
    while executing
"proc-post-org.macports.patch-patch-0 org.macports.patch"
    ("eval" body line 1)
    invoked from within
"eval $post $targetname"
:info:patch Warning: targets not executed for MacVim: org.macports.activate org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install

Change History (4)

comment:1 Changed 8 years ago by larryv (Lawrence Velázquez)

Owner: changed from macports-tickets@… to raimue@…
Summary: MacVim @8.0.snapshot110_0+huge.darwin_10.x86_64 fails to compile/install/upgradeMacVim @8.0.snapshot110_0+huge.darwin_10.x86_64: ibtool fails on Preferences.nib

Thanks for the report. Please Cc port maintainers in future tickets.

$ port info --maintainers MacVim

comment:2 Changed 8 years ago by larryv (Lawrence Velázquez)

Keywords: snowleopard added

comment:3 Changed 8 years ago by raimue (Rainer Müller)

Resolution: wontfix
Status: newclosed

According to upstream MacVim targets OS X >= 10.8 now. I guess that means I have to mark these releases as unsupported, done in r153607.

As OS X 10.6 Snow Leopard is a legacy platform, I won't investigate further. If you find another solution, feel free to comment or attach a patch.

comment:4 Changed 8 years ago by macportsraf

The latest version that will install on macosx-10.6.8 is revision r144688

To install that, follow the instructions at:

wiki:howto/InstallingOlderPort

TLDR (if MacVim is completely uninstalled):

svn checkout -r 144688 https://svn.macports.org/repository/macports/trunk/dports/editors/MacVim
cd MacVim
sudo port install

Then, in future, when upgrading do:

sudo port upgrade outdated and not MacVim
Last edited 4 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)
Note: See TracTickets for help on using tickets.