Opened 2 months ago

Last modified 2 weeks ago

#59235 assigned defect

MacVim fails to build on macOS 10.15 Catalina

Reported by: moyang (Moyang Wang) Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version: 2.6.1
Keywords: Cc: mliker, sitrucz1 (Curtis Matz), jmgoicolea (Jose Goicolea), rieder (Steven Rieder), mikealeonetti, vamsi765, pelzlpj (Paul Pelzl)
Port: MacVim

Description

The log file is attached.

Attachments (2)

main.log (102.4 KB) - added by moyang (Moyang Wang) 2 months ago.
main.2.log (20.8 KB) - added by mliker 7 weeks ago.

Download all attachments as: .zip

Change History (18)

Changed 2 months ago by moyang (Moyang Wang)

Attachment: main.log added

comment:1 Changed 2 months ago by jmroot (Joshua Root)

Owner: set to raimue
Status: newassigned

comment:2 Changed 2 months ago by mf2k (Frank Schima)

Keywords: Catalina 10.15 removed

It looks like a patch error.

comment:3 Changed 8 weeks ago by mliker

Cc: mliker added

comment:4 Changed 7 weeks ago by mliker

I believe the patch error only happens when there was already a previous unsuccessful build. The actual error is below. I don't get a patch error when I run port clean MacVim before running port upgrade MacVim

:info:patch --->  Running ibtool for Preferences.nib
:debug:patch system -W /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_editors_MacVim/MacVim/work/macvim-155: ibtool --compile src/MacVim/English.lproj/Preferences.nib/keyedobjects.nib src/MacVim/English.lproj/Preferences.nib
:info:patch xcode-select: error: tool 'ibtool' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
:info:patch Command failed: ibtool --compile src/MacVim/English.lproj/Preferences.nib/keyedobjects.nib src/MacVim/English.lproj/Preferences.nib

Changed 7 weeks ago by mliker

Attachment: main.2.log added

comment:5 Changed 7 weeks ago by sitrucz1 (Curtis Matz)

Cc: sitrucz1 added

comment:6 Changed 7 weeks ago by jmgoicolea (Jose Goicolea)

Cc: jmgoicolea added

comment:7 in reply to:  4 Changed 7 weeks ago by hexadecagram (Anthony Chavez)

Replying to mliker:

I believe the patch error only happens when there was already a previous unsuccessful build. The actual error is below. I don't get a patch error when I run port clean MacVim before running port upgrade MacVim

I get the exact same error even with port clean MacVim or port clean --all MacVim. I have also tried sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer and it still produces the same error.

comment:8 Changed 7 weeks ago by rieder (Steven Rieder)

Likewise, for me also port clean macvim before port install macvim doesn't help at all.

comment:9 Changed 7 weeks ago by rieder (Steven Rieder)

Cc: rieder added

comment:10 Changed 6 weeks ago by nblievers

The first issue is fixed by adding use_xcode yes to the Portfile. But then there is a compilation error, which seems kinda weird. It is easy enough to fix :

--- src/MacVim/PSMTabBarControl/source/PSMTabBarCell.h~	2019-10-25 15:01:08.000000000 +1100
+++ src/MacVim/PSMTabBarControl/source/PSMTabBarCell.h	2019-10-25 14:55:23.000000000 +1100
@@ -32,6 +32,7 @@
     BOOL                _hasIcon;
     int                 _count;
     NSString            *_toolTip;
+    PSMTabBarControl   *_controlView;
 }
 
 // creation/destruction

Unfortunately after that, I get a successful build, but the code signing fails.

Last edited 6 weeks ago by nblievers (previous) (diff)

comment:11 Changed 5 weeks ago by libsystem-ethan

Manually signing MacVim.app/Contents/MacOS/macvim-askpass, then rebuilding fixes the codesign error.

comment:12 Changed 4 weeks ago by mikealeonetti

Cc: mikealeonetti added

comment:13 Changed 4 weeks ago by vamsi765

Cc: vamsi765 added

comment:14 Changed 4 weeks ago by vamsi765

Is there any ETA on the fix to be delivered?

comment:15 Changed 3 weeks ago by dca58

Same question as above, any news on this ?

comment:16 Changed 2 weeks ago by pelzlpj (Paul Pelzl)

Cc: pelzlpj added
Note: See TracTickets for help on using tickets.