Homebrew / homebrew-core

๐Ÿป Default formulae for the missing package manager for macOS (or Linux)
https://brew.sh
BSD 2-Clause "Simplified" License
13.59k stars 12.34k forks source link

`vim` fails to build from source with option `--with-client-server` when python is installed with `--with-tcl-tk` #30949

Closed RandomDSdevel closed 5 years ago

RandomDSdevel commented 6 years ago

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

Please always confirm that you:

To help us debug your issue please explain:

First reported upstream as https://github.com/vim/vim/commit/d2a0549#commitcomment-30012833 since I (possibly mistakenly) presumed it was independent of Homebrew, but this may not be the case (build sandbox hijinks, anyoneโ€ฆ?)

CC @brammool, @nuko8

Addendum: Also reproduced with vim v8.1.0300, per a comment [below]().

javian commented 6 years ago

I asked around a little amongst the maintainers and they referred me to this which could potentially be the cause of the issue https://github.com/Homebrew/brew/blob/a985f0a5d0cd7e73ea6cafe842a08aba82cee4b5/Library/Homebrew/shims/super/cc#L240-L241

RandomDSdevel commented 6 years ago

     I've taken an initial, tentative stab at this in Homebrew/brew#4675, but, per its sole commit's message and the related PR title, it's still a WIP.

MikeMcQuaid commented 6 years ago

@javian @RandomDSdevel That doesn't seem like the right fix, I'm afraid. That line has been present for a long time and we have plenty of depends_on :x11 formulae that are able to find the header files. CC @DomT4 for thoughts here.

maxim-belkin commented 6 years ago

Hmmm, superenv added X11 include path back

superenv added:    -pipe -Os -march=core2 -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/opt/X11/include

@RandomDSdevel, what's the output of ls /opt/X11/include/X11 ?

RandomDSdevel commented 6 years ago

@maxim-belkin:

     Here you go:

Bryces-HD-1-TB:~ zadmin$ ls -@aHhlO /opt/X11/include/X11/
total 2072
drwxr-xr-x   90 root  wheel  -  3.0K Oct 29  2016 .
drwxr-xr-x   19 root  wheel  -  646B Nov 14  2016 ..
-rw-r--r--    1 root  wheel  -  3.9K Oct 29  2016 CallbackI.h
-rw-r--r--    1 root  wheel  -  3.4K Oct 29  2016 Composite.h
-rw-r--r--    1 root  wheel  -  4.6K Oct 29  2016 CompositeP.h
-rw-r--r--    1 root  wheel  -  3.9K Oct 29  2016 ConstrainP.h
-rw-r--r--    1 root  wheel  -  2.5K Oct 29  2016 Constraint.h
-rw-r--r--    1 root  wheel  -  3.3K Oct 29  2016 ConvertI.h
-rw-r--r--    1 root  wheel  -  2.5K Oct 29  2016 Core.h
-rw-r--r--    1 root  wheel  -  8.4K Oct 29  2016 CoreP.h
-rw-r--r--    1 root  wheel  -  1.3K Oct 29  2016 CreateI.h
-rw-r--r--    1 root  wheel  -  2.8K Oct 26  2016 DECkeysym.h
-rw-r--r--    1 root  wheel  -  4.1K Oct 29  2016 EventI.h
-rw-r--r--    1 root  wheel  -  5.9K Oct 26  2016 HPkeysym.h
-rw-r--r--    1 root  wheel  -  2.1K Oct 29  2016 HookObjI.h
drwxr-xr-x    8 root  wheel  -  272B Oct 29  2016 ICE
-rw-r--r--    1 root  wheel  -  459B Oct 29  2016 ImUtil.h
-rw-r--r--    1 root  wheel  -   12K Oct 29  2016 InitialI.h
-rw-r--r--    1 root  wheel  -   62K Oct 29  2016 Intrinsic.h
-rw-r--r--    1 root  wheel  -  6.4K Oct 29  2016 IntrinsicI.h
-rw-r--r--    1 root  wheel  -  9.4K Oct 29  2016 IntrinsicP.h
-rw-r--r--    1 root  wheel  -  2.5K Oct 29  2016 Object.h
-rw-r--r--    1 root  wheel  -  6.8K Oct 29  2016 ObjectP.h
drwxr-xr-x    4 root  wheel  -  136B Oct 26  2016 PM
-rw-r--r--    1 root  wheel  -  5.4K Oct 29  2016 PassivGraI.h
-rw-r--r--    1 root  wheel  -  2.5K Oct 29  2016 RectObj.h
-rw-r--r--    1 root  wheel  -  6.3K Oct 29  2016 RectObjP.h
-rw-r--r--    1 root  wheel  -  2.9K Oct 29  2016 ResConfigP.h
-rw-r--r--    1 root  wheel  -  3.6K Oct 29  2016 ResourceI.h
drwxr-xr-x    5 root  wheel  -  170B Oct 29  2016 SM
-rw-r--r--    1 root  wheel  -  5.1K Oct 29  2016 SelectionI.h
-rw-r--r--    1 root  wheel  -   17K Oct 29  2016 Shell.h
-rw-r--r--    1 root  wheel  -  212B Oct 29  2016 ShellI.h
-rw-r--r--    1 root  wheel  -   12K Oct 29  2016 ShellP.h
-rw-r--r--    1 root  wheel  -   30K Oct 29  2016 StringDefs.h
-rw-r--r--    1 root  wheel  -  3.9K Oct 26  2016 Sunkeysym.h
-rw-r--r--    1 root  wheel  -  4.2K Oct 29  2016 ThreadsI.h
-rw-r--r--    1 root  wheel  -   17K Oct 29  2016 TranslateI.h
-rw-r--r--    1 root  wheel  -  2.3K Oct 29  2016 VarargsI.h
-rw-r--r--    1 root  wheel  -  2.7K Oct 29  2016 Vendor.h
-rw-r--r--    1 root  wheel  -  3.5K Oct 29  2016 VendorP.h
-rw-r--r--    1 root  wheel  -   20K Oct 26  2016 X.h
-rw-r--r--    1 root  wheel  -   13K Oct 26  2016 XF86keysym.h
-rw-r--r--    1 root  wheel  -   30K Oct 29  2016 XKBlib.h
-rw-r--r--    1 root  wheel  -  3.9K Oct 26  2016 XWDFile.h
-rw-r--r--    1 root  wheel  -  4.5K Oct 26  2016 Xalloca.h
-rw-r--r--    1 root  wheel  -  2.9K Oct 26  2016 Xarch.h
-rw-r--r--    1 root  wheel  -  2.5K Oct 26  2016 Xatom.h
-rw-r--r--    1 root  wheel  -  3.7K Oct 29  2016 Xauth.h
drwxr-xr-x   73 root  wheel  -  2.4K Oct 29  2016 Xaw
drwxr-xr-x   77 root  wheel  -  2.6K Oct 29  2016 Xaw3d
-rw-r--r--    1 root  wheel  -   21K Oct 29  2016 Xcms.h
drwxr-xr-x    3 root  wheel  -  102B Oct 29  2016 Xcursor
-rw-r--r--    1 root  wheel  -  2.3K Oct 26  2016 Xdefs.h
-rw-r--r--    1 root  wheel  -  6.2K Oct 29  2016 Xdmcp.h
drwxr-xr-x    4 root  wheel  -  136B Oct 29  2016 Xft
-rw-r--r--    1 root  wheel  -  7.6K Oct 26  2016 Xfuncproto.h
-rw-r--r--    1 root  wheel  -  2.2K Oct 26  2016 Xfuncs.h
-rw-r--r--    1 root  wheel  -  506B Oct 29  2016 Xlib-xcb.h
-rw-r--r--    1 root  wheel  -   97K Oct 29  2016 Xlib.h
-rw-r--r--    1 root  wheel  -  1.5K Oct 29  2016 XlibConf.h
-rw-r--r--    1 root  wheel  -   40K Oct 29  2016 Xlibint.h
-rw-r--r--    1 root  wheel  -  1.3K Oct 29  2016 Xlocale.h
-rw-r--r--    1 root  wheel  -  5.0K Oct 26  2016 Xmd.h
drwxr-xr-x   25 root  wheel  -  850B Oct 29  2016 Xmu
-rw-r--r--    1 root  wheel  -  4.3K Oct 26  2016 Xos.h
-rw-r--r--    1 root  wheel  -   33K Oct 26  2016 Xos_r.h
-rw-r--r--    1 root  wheel  -  3.0K Oct 26  2016 Xosdefs.h
-rw-r--r--    1 root  wheel  -  7.6K Oct 26  2016 Xpoll.h
-rw-r--r--    1 root  wheel  -   56K Oct 26  2016 Xproto.h
-rw-r--r--    1 root  wheel  -  2.7K Oct 26  2016 Xprotostr.h
-rw-r--r--    1 root  wheel  -  5.8K Oct 29  2016 Xregion.h
-rw-r--r--    1 root  wheel  -   10K Oct 29  2016 Xresource.h
-rw-r--r--    1 root  wheel  -   12K Oct 26  2016 Xthreads.h
-rw-r--r--    1 root  wheel  -  2.9K Oct 29  2016 Xtos.h
drwxr-xr-x    9 root  wheel  -  306B Oct 29  2016 Xtrans
-rw-r--r--    1 root  wheel  -   21K Oct 29  2016 Xutil.h
-rw-r--r--    1 root  wheel  -  1.9K Oct 26  2016 Xw32defs.h
-rw-r--r--    1 root  wheel  -  3.2K Oct 26  2016 Xwindows.h
-rw-r--r--    1 root  wheel  -  2.2K Oct 26  2016 Xwinsock.h
-rw-r--r--    1 root  wheel  -  2.2K Oct 26  2016 ap_keysym.h
drwxr-xr-x   87 root  wheel  -  2.9K Oct  7  2016 bitmaps
-rw-r--r--    1 root  wheel  -  3.0K Oct 29  2016 cursorfont.h
drwxr-xr-x    5 root  wheel  -  170B Oct 26  2016 dri
drwxr-xr-x  153 root  wheel  -  5.1K Oct 29  2016 extensions
drwxr-xr-x   26 root  wheel  -  884B Oct 29  2016 fonts
-rw-r--r--    1 root  wheel  -  2.7K Oct 26  2016 keysym.h
-rw-r--r--    1 root  wheel  -  171K Oct 26  2016 keysymdef.h
-rw-r--r--    1 root  wheel  -   16K Oct 29  2016 xpm.h
-rw-r--r--    1 root  wheel  -  1.7K Oct 29  2016 xshmfence.h

And, for good measure:

Bryces-HD-1-TB:~ zadmin$ tree -al /opt/X11/include/X11/
/opt/X11/include/X11/
โ”œโ”€โ”€ CallbackI.h
โ”œโ”€โ”€ Composite.h
โ”œโ”€โ”€ CompositeP.h
โ”œโ”€โ”€ ConstrainP.h
โ”œโ”€โ”€ Constraint.h
โ”œโ”€โ”€ ConvertI.h
โ”œโ”€โ”€ Core.h
โ”œโ”€โ”€ CoreP.h
โ”œโ”€โ”€ CreateI.h
โ”œโ”€โ”€ DECkeysym.h
โ”œโ”€โ”€ EventI.h
โ”œโ”€โ”€ HPkeysym.h
โ”œโ”€โ”€ HookObjI.h
โ”œโ”€โ”€ ICE
โ”‚ย ย  โ”œโ”€โ”€ ICE.h
โ”‚ย ย  โ”œโ”€โ”€ ICEconn.h
โ”‚ย ย  โ”œโ”€โ”€ ICElib.h
โ”‚ย ย  โ”œโ”€โ”€ ICEmsg.h
โ”‚ย ย  โ”œโ”€โ”€ ICEproto.h
โ”‚ย ย  โ””โ”€โ”€ ICEutil.h
โ”œโ”€โ”€ ImUtil.h
โ”œโ”€โ”€ InitialI.h
โ”œโ”€โ”€ Intrinsic.h
โ”œโ”€โ”€ IntrinsicI.h
โ”œโ”€โ”€ IntrinsicP.h
โ”œโ”€โ”€ Object.h
โ”œโ”€โ”€ ObjectP.h
โ”œโ”€โ”€ PM
โ”‚ย ย  โ”œโ”€โ”€ PM.h
โ”‚ย ย  โ””โ”€โ”€ PMproto.h
โ”œโ”€โ”€ PassivGraI.h
โ”œโ”€โ”€ RectObj.h
โ”œโ”€โ”€ RectObjP.h
โ”œโ”€โ”€ ResConfigP.h
โ”œโ”€โ”€ ResourceI.h
โ”œโ”€โ”€ SM
โ”‚ย ย  โ”œโ”€โ”€ SM.h
โ”‚ย ย  โ”œโ”€โ”€ SMlib.h
โ”‚ย ย  โ””โ”€โ”€ SMproto.h
โ”œโ”€โ”€ SelectionI.h
โ”œโ”€โ”€ Shell.h
โ”œโ”€โ”€ ShellI.h
โ”œโ”€โ”€ ShellP.h
โ”œโ”€โ”€ StringDefs.h
โ”œโ”€โ”€ Sunkeysym.h
โ”œโ”€โ”€ ThreadsI.h
โ”œโ”€โ”€ TranslateI.h
โ”œโ”€โ”€ VarargsI.h
โ”œโ”€โ”€ Vendor.h
โ”œโ”€โ”€ VendorP.h
โ”œโ”€โ”€ X.h
โ”œโ”€โ”€ XF86keysym.h
โ”œโ”€โ”€ XKBlib.h
โ”œโ”€โ”€ XWDFile.h
โ”œโ”€โ”€ Xalloca.h
โ”œโ”€โ”€ Xarch.h
โ”œโ”€โ”€ Xatom.h
โ”œโ”€โ”€ Xauth.h
โ”œโ”€โ”€ Xaw
โ”‚ย ย  โ”œโ”€โ”€ AllWidgets.h
โ”‚ย ย  โ”œโ”€โ”€ AsciiSink.h
โ”‚ย ย  โ”œโ”€โ”€ AsciiSinkP.h
โ”‚ย ย  โ”œโ”€โ”€ AsciiSrc.h
โ”‚ย ย  โ”œโ”€โ”€ AsciiSrcP.h
โ”‚ย ย  โ”œโ”€โ”€ AsciiText.h
โ”‚ย ย  โ”œโ”€โ”€ AsciiTextP.h
โ”‚ย ย  โ”œโ”€โ”€ Box.h
โ”‚ย ย  โ”œโ”€โ”€ BoxP.h
โ”‚ย ย  โ”œโ”€โ”€ Cardinals.h
โ”‚ย ย  โ”œโ”€โ”€ Command.h
โ”‚ย ย  โ”œโ”€โ”€ CommandP.h
โ”‚ย ย  โ”œโ”€โ”€ Dialog.h
โ”‚ย ย  โ”œโ”€โ”€ DialogP.h
โ”‚ย ย  โ”œโ”€โ”€ Form.h
โ”‚ย ย  โ”œโ”€โ”€ FormP.h
โ”‚ย ย  โ”œโ”€โ”€ Grip.h
โ”‚ย ย  โ”œโ”€โ”€ GripP.h
โ”‚ย ย  โ”œโ”€โ”€ Label.h
โ”‚ย ย  โ”œโ”€โ”€ LabelP.h
โ”‚ย ย  โ”œโ”€โ”€ List.h
โ”‚ย ย  โ”œโ”€โ”€ ListP.h
โ”‚ย ย  โ”œโ”€โ”€ MenuButtoP.h
โ”‚ย ย  โ”œโ”€โ”€ MenuButton.h
โ”‚ย ย  โ”œโ”€โ”€ MultiSink.h
โ”‚ย ย  โ”œโ”€โ”€ MultiSinkP.h
โ”‚ย ย  โ”œโ”€โ”€ MultiSrc.h
โ”‚ย ย  โ”œโ”€โ”€ MultiSrcP.h
โ”‚ย ย  โ”œโ”€โ”€ Paned.h
โ”‚ย ย  โ”œโ”€โ”€ PanedP.h
โ”‚ย ย  โ”œโ”€โ”€ Panner.h
โ”‚ย ย  โ”œโ”€โ”€ PannerP.h
โ”‚ย ย  โ”œโ”€โ”€ Porthole.h
โ”‚ย ย  โ”œโ”€โ”€ PortholeP.h
โ”‚ย ย  โ”œโ”€โ”€ Repeater.h
โ”‚ย ย  โ”œโ”€โ”€ RepeaterP.h
โ”‚ย ย  โ”œโ”€โ”€ Reports.h
โ”‚ย ย  โ”œโ”€โ”€ Scrollbar.h
โ”‚ย ย  โ”œโ”€โ”€ ScrollbarP.h
โ”‚ย ย  โ”œโ”€โ”€ Simple.h
โ”‚ย ย  โ”œโ”€โ”€ SimpleMenP.h
โ”‚ย ย  โ”œโ”€โ”€ SimpleMenu.h
โ”‚ย ย  โ”œโ”€โ”€ SimpleP.h
โ”‚ย ย  โ”œโ”€โ”€ Sme.h
โ”‚ย ย  โ”œโ”€โ”€ SmeBSB.h
โ”‚ย ย  โ”œโ”€โ”€ SmeBSBP.h
โ”‚ย ย  โ”œโ”€โ”€ SmeLine.h
โ”‚ย ย  โ”œโ”€โ”€ SmeLineP.h
โ”‚ย ย  โ”œโ”€โ”€ SmeP.h
โ”‚ย ย  โ”œโ”€โ”€ StripCharP.h
โ”‚ย ย  โ”œโ”€โ”€ StripChart.h
โ”‚ย ย  โ”œโ”€โ”€ Template.c
โ”‚ย ย  โ”œโ”€โ”€ Template.h
โ”‚ย ย  โ”œโ”€โ”€ TemplateP.h
โ”‚ย ย  โ”œโ”€โ”€ Text.h
โ”‚ย ย  โ”œโ”€โ”€ TextP.h
โ”‚ย ย  โ”œโ”€โ”€ TextSink.h
โ”‚ย ย  โ”œโ”€โ”€ TextSinkP.h
โ”‚ย ย  โ”œโ”€โ”€ TextSrc.h
โ”‚ย ย  โ”œโ”€โ”€ TextSrcP.h
โ”‚ย ย  โ”œโ”€โ”€ Tip.h
โ”‚ย ย  โ”œโ”€โ”€ TipP.h
โ”‚ย ย  โ”œโ”€โ”€ Toggle.h
โ”‚ย ย  โ”œโ”€โ”€ ToggleP.h
โ”‚ย ย  โ”œโ”€โ”€ Tree.h
โ”‚ย ย  โ”œโ”€โ”€ TreeP.h
โ”‚ย ย  โ”œโ”€โ”€ VendorEP.h
โ”‚ย ย  โ”œโ”€โ”€ Viewport.h
โ”‚ย ย  โ”œโ”€โ”€ ViewportP.h
โ”‚ย ย  โ”œโ”€โ”€ XawImP.h
โ”‚ย ย  โ””โ”€โ”€ XawInit.h
โ”œโ”€โ”€ Xaw3d
โ”‚ย ย  โ”œโ”€โ”€ AllWidgets.h
โ”‚ย ย  โ”œโ”€โ”€ AsciiSink.h
โ”‚ย ย  โ”œโ”€โ”€ AsciiSinkP.h
โ”‚ย ย  โ”œโ”€โ”€ AsciiSrc.h
โ”‚ย ย  โ”œโ”€โ”€ AsciiSrcP.h
โ”‚ย ย  โ”œโ”€โ”€ AsciiText.h
โ”‚ย ย  โ”œโ”€โ”€ AsciiTextP.h
โ”‚ย ย  โ”œโ”€โ”€ Box.h
โ”‚ย ย  โ”œโ”€โ”€ BoxP.h
โ”‚ย ย  โ”œโ”€โ”€ Cardinals.h
โ”‚ย ย  โ”œโ”€โ”€ Command.h
โ”‚ย ย  โ”œโ”€โ”€ CommandP.h
โ”‚ย ย  โ”œโ”€โ”€ Dialog.h
โ”‚ย ย  โ”œโ”€โ”€ DialogP.h
โ”‚ย ย  โ”œโ”€โ”€ Form.h
โ”‚ย ย  โ”œโ”€โ”€ FormP.h
โ”‚ย ย  โ”œโ”€โ”€ Grip.h
โ”‚ย ย  โ”œโ”€โ”€ GripP.h
โ”‚ย ย  โ”œโ”€โ”€ Label.h
โ”‚ย ย  โ”œโ”€โ”€ LabelP.h
โ”‚ย ย  โ”œโ”€โ”€ Layout.h
โ”‚ย ย  โ”œโ”€โ”€ LayoutP.h
โ”‚ย ย  โ”œโ”€โ”€ List.h
โ”‚ย ย  โ”œโ”€โ”€ ListP.h
โ”‚ย ย  โ”œโ”€โ”€ MenuButtoP.h
โ”‚ย ย  โ”œโ”€โ”€ MenuButton.h
โ”‚ย ย  โ”œโ”€โ”€ MultiSink.h
โ”‚ย ย  โ”œโ”€โ”€ MultiSinkP.h
โ”‚ย ย  โ”œโ”€โ”€ MultiSrc.h
โ”‚ย ย  โ”œโ”€โ”€ MultiSrcP.h
โ”‚ย ย  โ”œโ”€โ”€ Paned.h
โ”‚ย ย  โ”œโ”€โ”€ PanedP.h
โ”‚ย ย  โ”œโ”€โ”€ Panner.h
โ”‚ย ย  โ”œโ”€โ”€ PannerP.h
โ”‚ย ย  โ”œโ”€โ”€ Porthole.h
โ”‚ย ย  โ”œโ”€โ”€ PortholeP.h
โ”‚ย ย  โ”œโ”€โ”€ Repeater.h
โ”‚ย ย  โ”œโ”€โ”€ RepeaterP.h
โ”‚ย ย  โ”œโ”€โ”€ Reports.h
โ”‚ย ย  โ”œโ”€โ”€ Scrollbar.h
โ”‚ย ย  โ”œโ”€โ”€ ScrollbarP.h
โ”‚ย ย  โ”œโ”€โ”€ Simple.h
โ”‚ย ย  โ”œโ”€โ”€ SimpleMenP.h
โ”‚ย ย  โ”œโ”€โ”€ SimpleMenu.h
โ”‚ย ย  โ”œโ”€โ”€ SimpleP.h
โ”‚ย ย  โ”œโ”€โ”€ Sme.h
โ”‚ย ย  โ”œโ”€โ”€ SmeBSB.h
โ”‚ย ย  โ”œโ”€โ”€ SmeBSBP.h
โ”‚ย ย  โ”œโ”€โ”€ SmeLine.h
โ”‚ย ย  โ”œโ”€โ”€ SmeLineP.h
โ”‚ย ย  โ”œโ”€โ”€ SmeP.h
โ”‚ย ย  โ”œโ”€โ”€ SmeThreeD.h
โ”‚ย ย  โ”œโ”€โ”€ SmeThreeDP.h
โ”‚ย ย  โ”œโ”€โ”€ StripCharP.h
โ”‚ย ย  โ”œโ”€โ”€ StripChart.h
โ”‚ย ย  โ”œโ”€โ”€ Text.h
โ”‚ย ย  โ”œโ”€โ”€ TextP.h
โ”‚ย ย  โ”œโ”€โ”€ TextSink.h
โ”‚ย ย  โ”œโ”€โ”€ TextSinkP.h
โ”‚ย ย  โ”œโ”€โ”€ TextSrc.h
โ”‚ย ย  โ”œโ”€โ”€ TextSrcP.h
โ”‚ย ย  โ”œโ”€โ”€ ThreeD.h
โ”‚ย ย  โ”œโ”€โ”€ ThreeDP.h
โ”‚ย ย  โ”œโ”€โ”€ Tip.h
โ”‚ย ย  โ”œโ”€โ”€ TipP.h
โ”‚ย ย  โ”œโ”€โ”€ Toggle.h
โ”‚ย ย  โ”œโ”€โ”€ ToggleP.h
โ”‚ย ย  โ”œโ”€โ”€ Tree.h
โ”‚ย ย  โ”œโ”€โ”€ TreeP.h
โ”‚ย ย  โ”œโ”€โ”€ VendorEP.h
โ”‚ย ย  โ”œโ”€โ”€ Viewport.h
โ”‚ย ย  โ”œโ”€โ”€ ViewportP.h
โ”‚ย ย  โ”œโ”€โ”€ Xaw3dP.h
โ”‚ย ย  โ”œโ”€โ”€ XawImP.h
โ”‚ย ย  โ””โ”€โ”€ XawInit.h
โ”œโ”€โ”€ Xcms.h
โ”œโ”€โ”€ Xcursor
โ”‚ย ย  โ””โ”€โ”€ Xcursor.h
โ”œโ”€โ”€ Xdefs.h
โ”œโ”€โ”€ Xdmcp.h
โ”œโ”€โ”€ Xft
โ”‚ย ย  โ”œโ”€โ”€ Xft.h
โ”‚ย ย  โ””โ”€โ”€ XftCompat.h
โ”œโ”€โ”€ Xfuncproto.h
โ”œโ”€โ”€ Xfuncs.h
โ”œโ”€โ”€ Xlib-xcb.h
โ”œโ”€โ”€ Xlib.h
โ”œโ”€โ”€ XlibConf.h
โ”œโ”€โ”€ Xlibint.h
โ”œโ”€โ”€ Xlocale.h
โ”œโ”€โ”€ Xmd.h
โ”œโ”€โ”€ Xmu
โ”‚ย ย  โ”œโ”€โ”€ Atoms.h
โ”‚ย ย  โ”œโ”€โ”€ CharSet.h
โ”‚ย ย  โ”œโ”€โ”€ CloseHook.h
โ”‚ย ย  โ”œโ”€โ”€ Converters.h
โ”‚ย ย  โ”œโ”€โ”€ CurUtil.h
โ”‚ย ย  โ”œโ”€โ”€ CvtCache.h
โ”‚ย ย  โ”œโ”€โ”€ DisplayQue.h
โ”‚ย ย  โ”œโ”€โ”€ Drawing.h
โ”‚ย ย  โ”œโ”€โ”€ Editres.h
โ”‚ย ย  โ”œโ”€โ”€ EditresP.h
โ”‚ย ย  โ”œโ”€โ”€ Error.h
โ”‚ย ย  โ”œโ”€โ”€ ExtAgent.h
โ”‚ย ย  โ”œโ”€โ”€ Initer.h
โ”‚ย ย  โ”œโ”€โ”€ Lookup.h
โ”‚ย ย  โ”œโ”€โ”€ Misc.h
โ”‚ย ย  โ”œโ”€โ”€ StdCmap.h
โ”‚ย ย  โ”œโ”€โ”€ StdSel.h
โ”‚ย ย  โ”œโ”€โ”€ SysUtil.h
โ”‚ย ย  โ”œโ”€โ”€ WhitePoint.h
โ”‚ย ย  โ”œโ”€โ”€ WidgetNode.h
โ”‚ย ย  โ”œโ”€โ”€ WinUtil.h
โ”‚ย ย  โ”œโ”€โ”€ Xct.h
โ”‚ย ย  โ””โ”€โ”€ Xmu.h
โ”œโ”€โ”€ Xos.h
โ”œโ”€โ”€ Xos_r.h
โ”œโ”€โ”€ Xosdefs.h
โ”œโ”€โ”€ Xpoll.h
โ”œโ”€โ”€ Xproto.h
โ”œโ”€โ”€ Xprotostr.h
โ”œโ”€โ”€ Xregion.h
โ”œโ”€โ”€ Xresource.h
โ”œโ”€โ”€ Xthreads.h
โ”œโ”€โ”€ Xtos.h
โ”œโ”€โ”€ Xtrans
โ”‚ย ย  โ”œโ”€โ”€ Xtrans.c
โ”‚ย ย  โ”œโ”€โ”€ Xtrans.h
โ”‚ย ย  โ”œโ”€โ”€ Xtransint.h
โ”‚ย ย  โ”œโ”€โ”€ Xtranslcl.c
โ”‚ย ย  โ”œโ”€โ”€ Xtranssock.c
โ”‚ย ย  โ”œโ”€โ”€ Xtransutil.c
โ”‚ย ย  โ””โ”€โ”€ transport.c
โ”œโ”€โ”€ Xutil.h
โ”œโ”€โ”€ Xw32defs.h
โ”œโ”€โ”€ Xwindows.h
โ”œโ”€โ”€ Xwinsock.h
โ”œโ”€โ”€ ap_keysym.h
โ”œโ”€โ”€ bitmaps
โ”‚ย ย  โ”œโ”€โ”€ 1x1
โ”‚ย ย  โ”œโ”€โ”€ 2x2
โ”‚ย ย  โ”œโ”€โ”€ Dashes
โ”‚ย ย  โ”œโ”€โ”€ Down
โ”‚ย ย  โ”œโ”€โ”€ Excl
โ”‚ย ย  โ”œโ”€โ”€ FlipHoriz
โ”‚ย ย  โ”œโ”€โ”€ FlipVert
โ”‚ย ย  โ”œโ”€โ”€ Fold
โ”‚ย ย  โ”œโ”€โ”€ Left
โ”‚ย ย  โ”œโ”€โ”€ Right
โ”‚ย ย  โ”œโ”€โ”€ RotateLeft
โ”‚ย ย  โ”œโ”€โ”€ RotateRight
โ”‚ย ย  โ”œโ”€โ”€ Term
โ”‚ย ย  โ”œโ”€โ”€ Up
โ”‚ย ย  โ”œโ”€โ”€ black
โ”‚ย ย  โ”œโ”€โ”€ black6
โ”‚ย ย  โ”œโ”€โ”€ box6
โ”‚ย ย  โ”œโ”€โ”€ boxes
โ”‚ย ย  โ”œโ”€โ”€ calculator
โ”‚ย ย  โ”œโ”€โ”€ cntr_ptr
โ”‚ย ย  โ”œโ”€โ”€ cntr_ptrmsk
โ”‚ย ย  โ”œโ”€โ”€ cross_weave
โ”‚ย ย  โ”œโ”€โ”€ dimple1
โ”‚ย ย  โ”œโ”€โ”€ dimple3
โ”‚ย ย  โ”œโ”€โ”€ dot
โ”‚ย ย  โ”œโ”€โ”€ dropbar7
โ”‚ย ย  โ”œโ”€โ”€ dropbar8
โ”‚ย ย  โ”œโ”€โ”€ escherknot
โ”‚ย ย  โ”œโ”€โ”€ flagdown
โ”‚ย ย  โ”œโ”€โ”€ flagup
โ”‚ย ย  โ”œโ”€โ”€ flipped_gray
โ”‚ย ย  โ”œโ”€โ”€ gray
โ”‚ย ย  โ”œโ”€โ”€ gray1
โ”‚ย ย  โ”œโ”€โ”€ gray3
โ”‚ย ย  โ”œโ”€โ”€ grid16
โ”‚ย ย  โ”œโ”€โ”€ grid2
โ”‚ย ย  โ”œโ”€โ”€ grid4
โ”‚ย ย  โ”œโ”€โ”€ grid8
โ”‚ย ย  โ”œโ”€โ”€ hlines2
โ”‚ย ย  โ”œโ”€โ”€ hlines3
โ”‚ย ย  โ”œโ”€โ”€ icon
โ”‚ย ย  โ”œโ”€โ”€ keyboard16
โ”‚ย ย  โ”œโ”€โ”€ ldblarrow
โ”‚ย ย  โ”œโ”€โ”€ left_ptr
โ”‚ย ย  โ”œโ”€โ”€ left_ptrmsk
โ”‚ย ย  โ”œโ”€โ”€ letters
โ”‚ย ย  โ”œโ”€โ”€ light_gray
โ”‚ย ย  โ”œโ”€โ”€ mailempty
โ”‚ย ย  โ”œโ”€โ”€ mailemptymsk
โ”‚ย ย  โ”œโ”€โ”€ mailfull
โ”‚ย ย  โ”œโ”€โ”€ mailfullmsk
โ”‚ย ย  โ”œโ”€โ”€ mensetmanus
โ”‚ย ย  โ”œโ”€โ”€ menu10
โ”‚ย ย  โ”œโ”€โ”€ menu12
โ”‚ย ย  โ”œโ”€โ”€ menu16
โ”‚ย ย  โ”œโ”€โ”€ menu6
โ”‚ย ย  โ”œโ”€โ”€ menu8
โ”‚ย ย  โ”œโ”€โ”€ noletters
โ”‚ย ย  โ”œโ”€โ”€ opendot
โ”‚ย ย  โ”œโ”€โ”€ opendotMask
โ”‚ย ย  โ”œโ”€โ”€ plaid
โ”‚ย ย  โ”œโ”€โ”€ rdblarrow
โ”‚ย ย  โ”œโ”€โ”€ right_ptr
โ”‚ย ย  โ”œโ”€โ”€ right_ptrmsk
โ”‚ย ย  โ”œโ”€โ”€ root_weave
โ”‚ย ย  โ”œโ”€โ”€ scales
โ”‚ย ย  โ”œโ”€โ”€ sipb
โ”‚ย ย  โ”œโ”€โ”€ star
โ”‚ย ย  โ”œโ”€โ”€ starMask
โ”‚ย ย  โ”œโ”€โ”€ stipple
โ”‚ย ย  โ”œโ”€โ”€ target
โ”‚ย ย  โ”œโ”€โ”€ terminal
โ”‚ย ย  โ”œโ”€โ”€ tie_fighter
โ”‚ย ย  โ”œโ”€โ”€ vlines2
โ”‚ย ย  โ”œโ”€โ”€ vlines3
โ”‚ย ย  โ”œโ”€โ”€ weird_size
โ”‚ย ย  โ”œโ”€โ”€ wide_weave
โ”‚ย ย  โ”œโ”€โ”€ wingdogs
โ”‚ย ย  โ”œโ”€โ”€ woman
โ”‚ย ย  โ”œโ”€โ”€ xfd_icon
โ”‚ย ย  โ”œโ”€โ”€ xlogo11
โ”‚ย ย  โ”œโ”€โ”€ xlogo16
โ”‚ย ย  โ”œโ”€โ”€ xlogo32
โ”‚ย ย  โ”œโ”€โ”€ xlogo64
โ”‚ย ย  โ””โ”€โ”€ xsnow
โ”œโ”€โ”€ cursorfont.h
โ”œโ”€โ”€ dri
โ”‚ย ย  โ”œโ”€โ”€ xf86dri.h
โ”‚ย ย  โ”œโ”€โ”€ xf86driproto.h
โ”‚ย ย  โ””โ”€โ”€ xf86dristr.h
โ”œโ”€โ”€ extensions
โ”‚ย ย  โ”œโ”€โ”€ EVI.h
โ”‚ย ย  โ”œโ”€โ”€ EVIproto.h
โ”‚ย ย  โ”œโ”€โ”€ MITMisc.h
โ”‚ย ย  โ”œโ”€โ”€ Print.h
โ”‚ย ย  โ”œโ”€โ”€ Printstr.h
โ”‚ย ย  โ”œโ”€โ”€ XEVI.h
โ”‚ย ย  โ”œโ”€โ”€ XI.h
โ”‚ย ย  โ”œโ”€โ”€ XI2.h
โ”‚ย ย  โ”œโ”€โ”€ XI2proto.h
โ”‚ย ย  โ”œโ”€โ”€ XInput.h
โ”‚ย ย  โ”œโ”€โ”€ XInput2.h
โ”‚ย ย  โ”œโ”€โ”€ XIproto.h
โ”‚ย ย  โ”œโ”€โ”€ XKB.h
โ”‚ย ย  โ”œโ”€โ”€ XKBbells.h
โ”‚ย ย  โ”œโ”€โ”€ XKBconfig.h
โ”‚ย ย  โ”œโ”€โ”€ XKBfile.h
โ”‚ย ย  โ”œโ”€โ”€ XKBgeom.h
โ”‚ย ย  โ”œโ”€โ”€ XKBproto.h
โ”‚ย ย  โ”œโ”€โ”€ XKBrules.h
โ”‚ย ย  โ”œโ”€โ”€ XKBsrv.h
โ”‚ย ย  โ”œโ”€โ”€ XKBstr.h
โ”‚ย ย  โ”œโ”€โ”€ XKBui.h
โ”‚ย ย  โ”œโ”€โ”€ XKM.h
โ”‚ย ย  โ”œโ”€โ”€ XKMformat.h
โ”‚ย ย  โ”œโ”€โ”€ XLbx.h
โ”‚ย ย  โ”œโ”€โ”€ XRes.h
โ”‚ย ย  โ”œโ”€โ”€ XResproto.h
โ”‚ย ย  โ”œโ”€โ”€ XShm.h
โ”‚ย ย  โ”œโ”€โ”€ XTest.h
โ”‚ย ย  โ”œโ”€โ”€ Xag.h
โ”‚ย ย  โ”œโ”€โ”€ Xcomposite.h
โ”‚ย ย  โ”œโ”€โ”€ Xcup.h
โ”‚ย ย  โ”œโ”€โ”€ Xdamage.h
โ”‚ย ย  โ”œโ”€โ”€ Xdbe.h
โ”‚ย ย  โ”œโ”€โ”€ Xevie.h
โ”‚ย ย  โ”œโ”€โ”€ Xeviestr.h
โ”‚ย ย  โ”œโ”€โ”€ Xext.h
โ”‚ย ย  โ”œโ”€โ”€ Xfixes.h
โ”‚ย ย  โ”œโ”€โ”€ Xge.h
โ”‚ย ย  โ”œโ”€โ”€ Xinerama.h
โ”‚ย ย  โ”œโ”€โ”€ Xpresent.h
โ”‚ย ย  โ”œโ”€โ”€ Xrandr.h
โ”‚ย ย  โ”œโ”€โ”€ Xrender.h
โ”‚ย ย  โ”œโ”€โ”€ Xv.h
โ”‚ย ย  โ”œโ”€โ”€ XvMC.h
โ”‚ย ย  โ”œโ”€โ”€ XvMClib.h
โ”‚ย ย  โ”œโ”€โ”€ XvMCproto.h
โ”‚ย ย  โ”œโ”€โ”€ Xvlib.h
โ”‚ย ย  โ”œโ”€โ”€ Xvproto.h
โ”‚ย ย  โ”œโ”€โ”€ ag.h
โ”‚ย ย  โ”œโ”€โ”€ agproto.h
โ”‚ย ย  โ”œโ”€โ”€ applewm.h
โ”‚ย ย  โ”œโ”€โ”€ applewmconst.h
โ”‚ย ย  โ”œโ”€โ”€ applewmproto.h
โ”‚ย ย  โ”œโ”€โ”€ bigreqsproto.h
โ”‚ย ย  โ”œโ”€โ”€ bigreqstr.h
โ”‚ย ย  โ”œโ”€โ”€ composite.h
โ”‚ย ย  โ”œโ”€โ”€ compositeproto.h
โ”‚ย ย  โ”œโ”€โ”€ cup.h
โ”‚ย ย  โ”œโ”€โ”€ cupproto.h
โ”‚ย ย  โ”œโ”€โ”€ damageproto.h
โ”‚ย ย  โ”œโ”€โ”€ damagewire.h
โ”‚ย ย  โ”œโ”€โ”€ dbe.h
โ”‚ย ย  โ”œโ”€โ”€ dbeproto.h
โ”‚ย ย  โ”œโ”€โ”€ dmx.h
โ”‚ย ย  โ”œโ”€โ”€ dmxext.h
โ”‚ย ย  โ”œโ”€โ”€ dmxproto.h
โ”‚ย ย  โ”œโ”€โ”€ dpms.h
โ”‚ย ย  โ”œโ”€โ”€ dpmsconst.h
โ”‚ย ย  โ”œโ”€โ”€ dpmsproto.h
โ”‚ย ย  โ”œโ”€โ”€ dri2proto.h
โ”‚ย ย  โ”œโ”€โ”€ dri2tokens.h
โ”‚ย ย  โ”œโ”€โ”€ dri3proto.h
โ”‚ย ย  โ”œโ”€โ”€ evieproto.h
โ”‚ย ย  โ”œโ”€โ”€ extutil.h
โ”‚ย ย  โ”œโ”€โ”€ fontcache.h
โ”‚ย ย  โ”œโ”€โ”€ fontcacheP.h
โ”‚ย ย  โ”œโ”€โ”€ fontcachstr.h
โ”‚ย ย  โ”œโ”€โ”€ ge.h
โ”‚ย ย  โ”œโ”€โ”€ geproto.h
โ”‚ย ย  โ”œโ”€โ”€ lbx.h
โ”‚ย ย  โ”œโ”€โ”€ lbxproto.h
โ”‚ย ย  โ”œโ”€โ”€ mitmiscconst.h
โ”‚ย ย  โ”œโ”€โ”€ mitmiscproto.h
โ”‚ย ย  โ”œโ”€โ”€ multibuf.h
โ”‚ย ย  โ”œโ”€โ”€ multibufconst.h
โ”‚ย ย  โ”œโ”€โ”€ multibufproto.h
โ”‚ย ย  โ”œโ”€โ”€ panoramiXext.h
โ”‚ย ย  โ”œโ”€โ”€ panoramiXproto.h
โ”‚ย ย  โ”œโ”€โ”€ presentproto.h
โ”‚ย ย  โ”œโ”€โ”€ presenttokens.h
โ”‚ย ย  โ”œโ”€โ”€ randr.h
โ”‚ย ย  โ”œโ”€โ”€ randrproto.h
โ”‚ย ย  โ”œโ”€โ”€ record.h
โ”‚ย ย  โ”œโ”€โ”€ recordconst.h
โ”‚ย ย  โ”œโ”€โ”€ recordproto.h
โ”‚ย ย  โ”œโ”€โ”€ recordstr.h
โ”‚ย ย  โ”œโ”€โ”€ render.h
โ”‚ย ย  โ”œโ”€โ”€ renderproto.h
โ”‚ย ย  โ”œโ”€โ”€ saver.h
โ”‚ย ย  โ”œโ”€โ”€ saverproto.h
โ”‚ย ย  โ”œโ”€โ”€ scrnsaver.h
โ”‚ย ย  โ”œโ”€โ”€ secur.h
โ”‚ย ย  โ”œโ”€โ”€ security.h
โ”‚ย ย  โ”œโ”€โ”€ securproto.h
โ”‚ย ย  โ”œโ”€โ”€ shape.h
โ”‚ย ย  โ”œโ”€โ”€ shapeconst.h
โ”‚ย ย  โ”œโ”€โ”€ shapeproto.h
โ”‚ย ย  โ”œโ”€โ”€ shapestr.h
โ”‚ย ย  โ”œโ”€โ”€ shm.h
โ”‚ย ย  โ”œโ”€โ”€ shmproto.h
โ”‚ย ย  โ”œโ”€โ”€ shmstr.h
โ”‚ย ย  โ”œโ”€โ”€ sync.h
โ”‚ย ย  โ”œโ”€โ”€ syncconst.h
โ”‚ย ย  โ”œโ”€โ”€ syncproto.h
โ”‚ย ย  โ”œโ”€โ”€ syncstr.h
โ”‚ย ย  โ”œโ”€โ”€ vldXvMC.h
โ”‚ย ย  โ”œโ”€โ”€ xcmiscproto.h
โ”‚ย ย  โ”œโ”€โ”€ xcmiscstr.h
โ”‚ย ย  โ”œโ”€โ”€ xf86bigfont.h
โ”‚ย ย  โ”œโ”€โ”€ xf86bigfproto.h
โ”‚ย ย  โ”œโ”€โ”€ xf86bigfstr.h
โ”‚ย ย  โ”œโ”€โ”€ xf86dga.h
โ”‚ย ย  โ”œโ”€โ”€ xf86dga1const.h
โ”‚ย ย  โ”œโ”€โ”€ xf86dga1proto.h
โ”‚ย ย  โ”œโ”€โ”€ xf86dga1str.h
โ”‚ย ย  โ”œโ”€โ”€ xf86dgaconst.h
โ”‚ย ย  โ”œโ”€โ”€ xf86dgaproto.h
โ”‚ย ย  โ”œโ”€โ”€ xf86dgastr.h
โ”‚ย ย  โ”œโ”€โ”€ xf86misc.h
โ”‚ย ย  โ”œโ”€โ”€ xf86mscstr.h
โ”‚ย ย  โ”œโ”€โ”€ xf86rush.h
โ”‚ย ย  โ”œโ”€โ”€ xf86rushstr.h
โ”‚ย ย  โ”œโ”€โ”€ xf86vm.h
โ”‚ย ย  โ”œโ”€โ”€ xf86vmode.h
โ”‚ย ย  โ”œโ”€โ”€ xf86vmproto.h
โ”‚ย ย  โ”œโ”€โ”€ xf86vmstr.h
โ”‚ย ย  โ”œโ”€โ”€ xfixesproto.h
โ”‚ย ย  โ”œโ”€โ”€ xfixeswire.h
โ”‚ย ย  โ”œโ”€โ”€ xtestconst.h
โ”‚ย ย  โ”œโ”€โ”€ xtestext1.h
โ”‚ย ย  โ”œโ”€โ”€ xtestext1const.h
โ”‚ย ย  โ”œโ”€โ”€ xtestext1proto.h
โ”‚ย ย  โ”œโ”€โ”€ xtestproto.h
โ”‚ย ย  โ”œโ”€โ”€ xtrapbits.h
โ”‚ย ย  โ”œโ”€โ”€ xtrapddmi.h
โ”‚ย ย  โ”œโ”€โ”€ xtrapdi.h
โ”‚ย ย  โ”œโ”€โ”€ xtrapemacros.h
โ”‚ย ย  โ”œโ”€โ”€ xtraplib.h
โ”‚ย ย  โ”œโ”€โ”€ xtraplibp.h
โ”‚ย ย  โ””โ”€โ”€ xtrapproto.h
โ”œโ”€โ”€ fonts
โ”‚ย ย  โ”œโ”€โ”€ FS.h
โ”‚ย ย  โ”œโ”€โ”€ FSlib.h
โ”‚ย ย  โ”œโ”€โ”€ FSproto.h
โ”‚ย ย  โ”œโ”€โ”€ bdfint.h
โ”‚ย ย  โ”œโ”€โ”€ bitmap.h
โ”‚ย ย  โ”œโ”€โ”€ bufio.h
โ”‚ย ย  โ”œโ”€โ”€ fntfil.h
โ”‚ย ย  โ”œโ”€โ”€ fntfilio.h
โ”‚ย ย  โ”œโ”€โ”€ fntfilst.h
โ”‚ย ย  โ”œโ”€โ”€ font.h
โ”‚ย ย  โ”œโ”€โ”€ fontconf.h
โ”‚ย ย  โ”œโ”€โ”€ fontenc.h
โ”‚ย ย  โ”œโ”€โ”€ fontencc.h
โ”‚ย ย  โ”œโ”€โ”€ fontmisc.h
โ”‚ย ย  โ”œโ”€โ”€ fontproto.h
โ”‚ย ย  โ”œโ”€โ”€ fontshow.h
โ”‚ย ย  โ”œโ”€โ”€ fontstruct.h
โ”‚ย ย  โ”œโ”€โ”€ fontutil.h
โ”‚ย ย  โ”œโ”€โ”€ fontxlfd.h
โ”‚ย ย  โ”œโ”€โ”€ fsmasks.h
โ”‚ย ย  โ”œโ”€โ”€ ft.h
โ”‚ย ย  โ”œโ”€โ”€ ftfuncs.h
โ”‚ย ย  โ”œโ”€โ”€ libxfont2.h
โ”‚ย ย  โ””โ”€โ”€ pcf.h
โ”œโ”€โ”€ keysym.h
โ”œโ”€โ”€ keysymdef.h
โ”œโ”€โ”€ xpm.h
โ””โ”€โ”€ xshmfence.h

13 directories, 528 files

Anything else?

RandomDSdevel commented 6 years ago

@MikeMcQuaid:

@javian @RandomDSdevel That doesn't seem like the right fix, I'm afraid. That line has been present for a long time and we have plenty of depends_on :x11 formulae that are able to find the header files. โ€ฆ

     Fair enough. I'll close my PR, then?

DomT4 commented 6 years ago

I assume this is some kind of localised issue (whether to @RandomDSdevel or vim itself) rather than a global problem based off of x11-using stuff going through CI lately and not blowing up. Potentially worth you stepping back through the git history @RandomDSdevel and re-checking recent previous versions to see if those compile as you expect.

DomT4 commented 6 years ago

(You're also welcome to put a PR in that turns x11 support on by default to see what happens, which is probably what I'll do later to double check my assumption here. Obviously won't be merging that PR but it may help work out what's going on more thoroughly than running against any one version of macOS or any one localised environment).

MikeMcQuaid commented 6 years ago

Fair enough. I'll close my PR, then?

@RandomDSdevel Yes, please.

maxim-belkin commented 6 years ago

@RandomDSdevel it looks like all the files are there, so I would agree with @DomT4 that this is not a Homebrew/brew bug. I was able to build vim with the options you used:

https://gist.github.com/554a000f526c816a33eb70d0fb892775

DomT4 commented 6 years ago

https://github.com/Homebrew/homebrew-core/pull/31137 also came back green on CI.

RandomDSdevel commented 6 years ago

@MikeMcQuaid: Done.

RandomDSdevel commented 6 years ago

@maxim-belkin, @DomT4:

     Hmm, odd. I don't think my XQuartz installation is corrupted, but I can try reinstalling it and testing a vim build after that.

RandomDSdevel commented 6 years ago

@DomT4:

I assume this is some kind of localised issue (whether to @RandomDSdevel or vim itself) rather than a global problem based off of x11-using stuff going through CI lately and not blowing up. Potentially worth you stepping back through the git history @RandomDSdevel and re-checking recent previous versions to see if those compile as you expect.

     Good idea. I already know vim versions up through v8.1.0202, the last version offered through Homebrew before v8.1.0250, worked, though.

DomT4 commented 6 years ago

I'm happy for us to keep walking this through with you but since nobody can reproduce the issue I'm going to consider this not a brew or core bug and close the issue out. Happy for people to keep talking as necessary/desired here though.

RandomDSdevel commented 6 years ago

@DomT4:

     Right. To continue, reinstalling XQuartz via Homebrew Cask by running brew cask reinstall -vd xquartz didn't fix building vim. I'll do a bit more code spelunking to see if there's anything obvious I can uncoverโ€ฆ (Maybe @brammool and/or @nuko8, with whom I was discussing this upstream here, might have some ideas if I don't see anything noteworthyโ€ฆ)

javian commented 6 years ago

Could you test to download a vim source tarball, run ./configure --with-x and see if you get the same result ?

RandomDSdevel commented 6 years ago

@javian:

     Nope, configure runs just fine outside Homebrew, puzzlingly enough. Here's the output:

Bryces-HD-1-TB:src zadmin$ ./configure --with-x
configure: creating cache auto/config.cache
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gcc option to accept ISO C99... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/local/bin/grep
checking for egrep... /usr/local/bin/grep -E
checking for fgrep... /usr/local/bin/grep -F
checking for library containing strerror... none required
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for strip... strip
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking if the compiler supports trailing commas... yes
checking if the compiler supports C++ comments... yes
checking --enable-fail-if-missing argument... no
checking for clang version... 800000042
checking if clang supports -fno-strength-reduce... no
configure: checking for buggy tools...
- sh is 'GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin15)
Copyright (C) 2007 Free Software Foundation, Inc.' - probably OK.
checking for BeOS... no
checking for QNX... no
checking for Darwin (Mac OS X)... yes
checking --disable-darwin argument... no
checking if Darwin files are there... yes
checking --with-mac-arch argument... defaulting to current
checking --with-developer-dir argument... not present
checking for xcode-select... /usr/bin/xcode-select
checking for developer dir using xcode-select... /Applications/Xcode.app/Contents/Developer
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking Carbon/Carbon.h usability... yes
checking Carbon/Carbon.h presence... yes
checking for Carbon/Carbon.h... yes
checking AvailabilityMacros.h usability... yes
checking AvailabilityMacros.h presence... yes
checking for AvailabilityMacros.h... yes
checking --with-local-dir argument... Defaulting to /usr/local
checking --with-vim-name argument... Defaulting to vim
checking --with-ex-name argument... Defaulting to ex
checking --with-view-name argument... Defaulting to view
checking --with-global-runtime argument... no
checking --with-modified-by argument... no
checking if character set is EBCDIC... no
checking --disable-smack argument... no
checking linux/xattr.h usability... no
checking linux/xattr.h presence... no
checking for linux/xattr.h... no
checking --disable-selinux argument... no
checking for is_selinux_enabled in -lselinux... no
checking --with-features argument... Defaulting to huge
checking --with-compiledby argument... no
checking --disable-xsmp argument... no
checking --disable-xsmp-interact argument... no
checking --enable-luainterp argument... no
checking --enable-mzschemeinterp argument... no
checking --enable-perlinterp argument... no
checking --enable-pythoninterp argument... no
checking --enable-python3interp argument... no
checking --enable-tclinterp argument... no
checking --enable-rubyinterp argument... no
checking --enable-cscope argument... no
checking --enable-workshop argument... no
checking --disable-netbeans argument... no
checking --disable-channel argument... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking whether compiling with process communication is possible... yes
checking --enable-terminal argument... defaulting to yes
checking --enable-autoservername argument... no
checking --enable-multibyte argument... no
checking --enable-hangulinput argument... no
checking --enable-xim argument... defaulting to auto
checking --enable-fontset argument... no
checking for xmkmf... no
checking for X... libraries /usr/X11/lib, headers /usr/X11/include
checking whether -R must be followed by a space... neither works
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking if X11 header files can be found... yes
checking for _XdmcpAuthDoIt in -lXdmcp... yes
checking for IceOpenConnection in -lICE... yes
checking for XpmCreatePixmapFromData in -lXpm... yes
checking if X11 header files implicitly declare return values... no
checking size of wchar_t is 2 bytes... yes
checking --enable-gui argument... yes/auto - automatic GUI support
checking whether or not to look for GTK+ 2... yes
checking whether or not to look for GNOME... no
checking whether or not to look for Motif... yes
checking whether or not to look for Athena... yes
checking whether or not to look for neXtaw... yes
checking whether or not to look for Carbon... yes
checking for Carbon GUI... yes
checking X11/SM/SMlib.h usability... yes
checking X11/SM/SMlib.h presence... yes
checking for X11/SM/SMlib.h... yes
checking for /proc link to executable... no
checking for CYGWIN or MSYS environment... no
checking whether toupper is broken... no
checking whether __DATE__ and __TIME__ work... yes
checking whether __attribute__((unused)) is allowed... yes
checking elf.h usability... no
checking elf.h presence... no
checking for elf.h... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking termcap.h usability... yes
checking termcap.h presence... yes
checking for termcap.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sgtty.h usability... yes
checking sgtty.h presence... yes
checking for sgtty.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking termio.h usability... no
checking termio.h presence... no
checking for termio.h... no
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for inttypes.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking for unistd.h... (cached) yes
checking stropts.h usability... no
checking stropts.h presence... no
checking for stropts.h... no
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/systeminfo.h usability... no
checking sys/systeminfo.h presence... no
checking for sys/systeminfo.h... no
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/stream.h usability... no
checking sys/stream.h presence... no
checking for sys/stream.h... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking libc.h usability... yes
checking libc.h presence... yes
checking for libc.h... yes
checking sys/statfs.h usability... no
checking sys/statfs.h presence... no
checking for sys/statfs.h... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking libintl.h usability... no
checking libintl.h presence... no
checking for libintl.h... no
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking util/debug.h usability... no
checking util/debug.h presence... no
checking for util/debug.h... no
checking util/msg18n.h usability... no
checking util/msg18n.h presence... no
checking for util/msg18n.h... no
checking frame.h usability... no
checking frame.h presence... no
checking for frame.h... no
checking sys/acl.h usability... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
checking sys/access.h usability... no
checking sys/access.h presence... no
checking for sys/access.h... no
checking sys/sysinfo.h usability... no
checking sys/sysinfo.h presence... no
checking for sys/sysinfo.h... no
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for sys/ptem.h... no
checking for sys/sysctl.h... yes
checking for pthread_np.h... no
checking for strings.h... (cached) yes
checking whether gcc needs -traditional... no
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for uint32_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for ino_t... yes
checking for dev_t... yes
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for rlim_t... yes
checking for stack_t... yes
checking whether stack_t has an ss_base field... no
checking --with-tlib argument... empty: automatic terminal library selection
checking for tgetent in -ltinfo... no
checking for tgetent in -lncurses... yes
checking whether we talk terminfo... yes
checking what tgetent() returns for an unknown terminal... non-zero
checking whether termcap.h contains ospeed... yes
checking whether termcap.h contains UP, BC and PC... yes
checking whether tputs() uses outfuntype... no
checking whether sys/select.h and sys/time.h may both be included... yes
checking for /dev/ptc... no
checking for SVR4 ptys... yes
checking for ptyranges... pqrstuvw / 0123456789abcdef
checking default tty permissions/group... can't determine - assume ptys are world accessible
world
checking return type of signal handlers... void
checking for struct sigcontext... yes
checking getcwd implementation is broken... no
checking for fchdir... yes
checking for fchown... yes
checking for fchmod... yes
checking for fsync... yes
checking for getcwd... yes
checking for getpseudotty... no
checking for getpwent... yes
checking for getpwnam... yes
checking for getpwuid... yes
checking for getrlimit... yes
checking for gettimeofday... yes
checking for getwd... yes
checking for lstat... yes
checking for memset... yes
checking for mkdtemp... yes
checking for nanosleep... yes
checking for opendir... yes
checking for putenv... yes
checking for qsort... yes
checking for readlink... yes
checking for select... yes
checking for setenv... yes
checking for getpgid... yes
checking for setpgid... yes
checking for setsid... yes
checking for sigaltstack... yes
checking for sigstack... no
checking for sigset... yes
checking for sigsetjmp... yes
checking for sigaction... yes
checking for sigprocmask... yes
checking for sigvec... yes
checking for strcasecmp... yes
checking for strerror... yes
checking for strftime... yes
checking for stricmp... no
checking for strncasecmp... yes
checking for strnicmp... no
checking for strpbrk... yes
checking for strtol... yes
checking for tgetent... yes
checking for towlower... yes
checking for towupper... yes
checking for iswupper... yes
checking for usleep... yes
checking for utime... yes
checking for utimes... yes
checking for mblen... yes
checking for ftruncate... yes
checking for unsetenv... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for st_blksize... yes
checking whether stat() ignores a trailing slash... no
checking for iconv_open()... yes; with -liconv
checking for nl_langinfo(CODESET)... yes
checking for strtod in -lm... yes
checking for strtod() and other floating point functions... yes
checking for isinf()... yes
checking for isnan()... yes
checking --disable-acl argument... no
checking for acl_get_file in -lposix1e... no
checking for acl_get_file in -lacl... no
checking for POSIX ACL support... yes
checking for acl_get in -lsec... no
checking for Solaris ACL support... no
checking for AIX ACL support... no
checking --disable-gpm argument... no
checking for gpm... no
checking --disable-sysmouse argument... no
checking for sysmouse... no
checking for FD_CLOEXEC... yes
checking for rename... yes
checking for sysctl... yes
checking for sysinfo... not usable
checking for sysinfo.mem_unit... no
checking for sysconf... yes
checking size of int... 4
checking size of long... 8
checking size of time_t... 8
checking size of off_t... 8
checking uint32_t is 32 bits... ok
checking whether memmove handles overlaps... yes
checking whether X_LOCALE needed... yes
checking whether Xutf8SetWMProperties() can be used... yes
checking for _xpg4_setrunelocale in -lxpg4... no
checking how to create tags... ctags -t
checking how to run man with a section nr... man -s
checking --disable-nls argument... no
checking for msgfmt... no
checking for NLS... msgfmt not found - disabled
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen()... yes
checking for dlsym()... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking whether we need macOS frameworks... yes, we need Carbon
checking for GCC 3 or later... yes
checking whether we need -D_FORTIFY_SOURCE=1... yes
checking whether we need to force -D_FILE_OFFSET_BITS=64... no
checking linker --as-needed support... no
configure: updating cache auto/config.cache
configure: creating auto/config.status
config.status: creating auto/config.mk
config.status: creating auto/config.h

Granted, that's not with any of the other options Homebrew adds for me given the ones I give it, but one would hope that there aren't any spooky, cross-option dependencies at play here. (Note that I made sure that this is with the same version of Vim, v8.1.0250, as the one under which I initially encountered this issue even though Homebrew has pulled v8.1.0300 down in the meantime. I'll update this thread when I reproduce the issue with the new release, though I doubt tha'll be a problem โ€” reading through release notes or coarse-grain changelogs like I usually do before running any updates anyway didn't reveal any changes that would affect Vim's configure-time X11 detection logic, AFAICR.) I'll compare copies of src/auto/config.log next.

P. S.: Apologies for the delay.

RandomDSdevel commented 6 years ago

@javian:

     Yup, the build still fails identically inside Homebrew on my end. Anyway, here're those config.logs I promised. From that earlier out-of-Homebrew test configure of vim v8.1.0250, we have this. On the other hand, from the in-Homebrew test-upgrade attempt for v8.1.0300, I get this. Nothing beyond the expected obvious, but maybe I'm missing something after just a rough skim.

RandomDSdevel commented 6 years ago

     In all honesty, I admit this one's quite the head-scratcher. Thinking out loud, to review, given, in no particular order, that:

This issue has me rather flummoxed. (And that's if I haven't forgotten something either, too.) What other build logs and/or artifacts could/should I root around in for clues?

javian commented 6 years ago

@maxim-belkin used High Sierra so its not comparable since you are on El Cap. Jenkins did manage to build it without any issues so that would conclude its not totally broken. If you wanted to try and isolate it even more then you could make a copy of the Formula and just use the --with-x option to see if you get the same result still.

RandomDSdevel commented 6 years ago

     Heh, I knew I'd forget something; added to that summary post I made. Anyway, I'll try your suggestion after I do a test Homebrew build using only the vim formula's --with-client-server option and nothing else that's not on by default.

sirgatez commented 6 years ago

I'm also having this problem on High Sierra (all updates installed), no issues building an earlier version weeks ago. XQuarts installed and headers and libs /opt/X11/lib/X11 /opt/X11/include/X11, and double checked XCode had all command line updates installed.

Original options used on last successful build: /usr/local/Cellar/vim/8.1.0202 Built from source on 2018-07-24 at 16:58:56 with: --with-client-server --with-gettext --with-lua --with-luajit --with-python@2 --with-tcl

brew upgrade Updating Homebrew... ==> Auto-updated Homebrew! Updated 1 tap (homebrew/cask). No changes to formulae.

==> Upgrading 1 outdated package, with result: vim 8.1.0202 -> 8.1.0300 ==> Upgrading vim --with-gettext --with-client-server --with-python@2 ==> Downloading https://github.com/vim/vim/archive/v8.1.0300.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0300.tar.gz Error: Vim will not link against both Luajit & Lua simultaneously. Proceeding with Lua. ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0300/shar Last 15 lines from /Users/jbriefma/Library/Logs/Homebrew/vim/01.configure: checking --enable-terminal argument... yes checking --enable-autoservername argument... no checking --enable-multibyte argument... yes checking --enable-hangulinput argument... no checking --enable-xim argument... defaulting to auto checking --enable-fontset argument... no checking for xmkmf... no checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking if X11 header files can be found... no configure: error: could not configure X

READ THIS: https://docs.brew.sh/Troubleshooting

sirgatez commented 6 years ago

Attempting to brew against --HEAD also fails with the same error.

brew reinstall vim --with-gettext --with-lua --with-python@2 --with-tcl --HEAD ==> Reinstalling vim --with-gettext --with-client-server --with-python ==> Cloning https://github.com/vim/vim.git Cloning into '/Users/jbriefma/Library/Caches/Homebrew/vim--git'... ==> Checking out branch master Already on 'master' Your branch is up to date with 'origin/master'. Error: Vim will not link against both Luajit & Lua simultaneously. Proceeding with Lua. ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/HEAD-0529583/ Last 15 lines from /Users/jbriefma/Library/Logs/Homebrew/vim/01.configure: checking --enable-terminal argument... yes checking --enable-autoservername argument... no checking --enable-multibyte argument... yes checking --enable-hangulinput argument... no checking --enable-xim argument... defaulting to auto checking --enable-fontset argument... no checking for xmkmf... no checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking if X11 header files can be found... no configure: error: could not configure X

READ THIS: https://docs.brew.sh/Troubleshooting

RandomDSdevel commented 6 years ago

@javian:

     I've gone and done both of those experiments we discussed earlier, and now the results are in:

So this confirms that the issue is with Homebrew, or at least with a recent change to the vim formula. To be honest, I hadn't considered that there might have been any commits touching that file between package releases pulled down by Homebrew. I don't remember there being any, but it's something to look for, anyway. (Barring that, I could start looking through Homebrew/brew for bad commits either manually or using git bisect or something similar. I've never used the latter before, but this seems as good a time to get my hands dirty with it as any.)

P. S.: Also: blargh, weird edge cases like this sure are annoyingโ€ฆ

RandomDSdevel commented 6 years ago

@sirgatez:

     Oh, sorry; didn't see you there, as I was typing a new reply while you were posting. Another pair of eyes is always good to have.

sirgatez commented 6 years ago

Rolled back vim.rb to last working version. cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula git log --follow -- vim.rb | grep -B 5 'vim.*8.1.0250' git checkout e30be00671b8c1b43e70573ed9ca8bffa9b3105f vim.rb

Builds without issue brew install vim --with-gettext --with-lua --with-python@2 --with-tcl ==> Downloading https://github.com/vim/vim/archive/v8.1.0250.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0250.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0250/shar ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0250 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0250: 1,832 files, 30.6MB, built in 1 minute 14 seconds

Re-attempted with -s to ensure built from source.

Interestingly, attempting to rebuild the older version with --with-client-server now also fails with the same error as the new version.

brew install vim --with-client-server --with-gettext --with-lua --with-python@2 --with-tcl -s ==> Downloading https://github.com/vim/vim/archive/v8.1.0250.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0250.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0250/shar Last 15 lines from /Users/jbriefma/Library/Logs/Homebrew/vim/01.configure: checking --enable-terminal argument... yes checking --enable-autoservername argument... no checking --enable-multibyte argument... yes checking --enable-hangulinput argument... no checking --enable-xim argument... defaulting to auto checking --enable-fontset argument... no checking for xmkmf... no checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking if X11 header files can be found... no configure: error: could not configure X

READ THIS: https://docs.brew.sh/Troubleshooting

Followed up with another build without --with-client-server brew install vim --with-gettext --with-lua --with-python@2 --with-tcl -s ==> Downloading https://github.com/vim/vim/archive/v8.1.0250.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0250.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0250/shar ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0250 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0250: 1,832 files, 30.6MB, built in 1 minute 11 seconds

Reverted back to new version git checkout 4ac852b29531ff43869eefdfd98fe819d8624cd8 vim.rb

brew install vim --with-gettext --with-lua --with-python@2 --with-tcl -s Updating Homebrew... ==> Auto-updated Homebrew! Updated 1 tap (homebrew/core). ==> Updated Formulae mkcert

==> Downloading https://github.com/vim/vim/archive/v8.1.0300.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0300.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0300/shar ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0300 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0300: 1,832 files, 30.6MB, built in 1 minute 10 seconds

No issues without --with-client-server

brew install vim --with-gettext --with-lua --with-python@2 --with-tcl --with-client-server -s ==> Downloading https://github.com/vim/vim/archive/v8.1.0300.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0300.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0300/shar Last 15 lines from /Users/jbriefma/Library/Logs/Homebrew/vim/01.configure: checking --enable-terminal argument... yes checking --enable-autoservername argument... no checking --enable-multibyte argument... yes checking --enable-hangulinput argument... no checking --enable-xim argument... defaulting to auto checking --enable-fontset argument... no checking for xmkmf... no checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking if X11 header files can be found... no configure: error: could not configure X

READ THIS: https://docs.brew.sh/Troubleshooting

sirgatez commented 6 years ago

Looks like this has been a reoccurring issue for sometime. https://github.com/Homebrew/legacy-homebrew/issues/41029 https://github.com/Homebrew/homebrew-core/issues/14535

RandomDSdevel commented 6 years ago

     I'm ashamed I hadn't thought to look for less recent issues yet; nice detective work, @sirgatez!

javian commented 6 years ago

@sirgatez could you try rolling back to the .200 version as well ? Op indicated that it changed between .200 and .250.

RandomDSdevel commented 6 years ago

@javian:

     He already did in this comment from earlier:

โ‹ฎ

Interestingly, attempting to rebuild the older version with --with-client-server now also fails with the same error as the new version.

โ‹ฎ

I looked back to check, and there were, as I had recalled earlier, no changes to the vim formula between the Homebrew package version bumps relevant to this issue, so this confirms (or at least strongly hints) that the issue is with a recent Homebrew release. To continue from a train of thought I laid down earlier, I'll post again when I've tracked down which commit is to blame.

RandomDSdevel commented 6 years ago

@javian:

     git bisect keeps pointing towards Homebrew/brew#4487, though that doesn't seem right, so I must be doing something wrong. (Here's roughly what I ran:

Bryces-HD-1-TB:~ zadmin$ pushd ./Documents/Development/tmp/Homebrew/Package\ Installation\ Backups/vim/
~/Documents/Development/tmp/Homebrew/Package Installation Backups/vim ~
Bryces-HD-1-TB:vim zadmin$ mv -v "$(brew --cellar vim)/8.1.0202" ./
/usr/local/Cellar/vim/8.1.0202 -> ./8.1.0202
Bryces-HD-1-TB:vim zadmin$ pushd ../../
~/Documents/Development/tmp/Homebrew ~/Documents/Development/tmp/Homebrew/Package Installation Backups/vim ~
Bryces-HD-1-TB:Homebrew zadmin$ mkdir -v ./Troubleshooting
mkdir: created directory './Troubleshooting'
Bryces-HD-1-TB:Homebrew zadmin$ cd ./Troubleshooting/
Bryces-HD-1-TB:Troubleshooting zadmin$ mkdir -v ./Scripts
mkdir: created directory './Scripts'
Bryces-HD-1-TB:Troubleshooting zadmin$ cd ./Scripts/
Bryces-HD-1-TB:Scripts zadmin$ nano --noread ./bisection_script.bash
Bryces-HD-1-TB:Scripts zadmin$ cat ./bisection_script.bash
#!/usr/bin/env bash

HOMEBREW_BUILD_FROM_SOURCE=1 brew install -v --build-from-source vim --with-client-server --with-gettext --with-lua --with-luajit --with-override-system-vi --with-tcl
test_installation_attempt_exit_code="$?"
if [[ -d "$(brew --cellar vim)" ]] && find "$(brew --cellar vim)/" -type d -depth 1; then
  brew uninstall -vd vim
fi
exit "$test_installation_attempt_exit_code"
Bryces-HD-1-TB:Scripts zadmin$ pushd "$(brew --repository)"
/usr/local/Homebrew ~/Documents/Development/tmp/Homebrew/Troubleshooting/Scripts ~/Documents/Development/tmp/Homebrew/Package Installation Backups/vim ~
Bryces-HD-1-TB:Homebrew zadmin$ git bisect start 1.7.2 1.7.0
Bisecting: 203 revisions left to test after this (roughly 8 steps)
[d58607a4499dbdb1e5b0012eb4a38551abb56606] Merge pull request #4590 from reitermarkus/homebrew-color
Bryces-HD-1-TB:Homebrew zadmin$ git bisect run ~/Documents/Development/tmp/Homebrew/Troubleshooting/Scripts/bisection_script.bash
running /Users/zadmin/Documents/Development/tmp/Homebrew/Troubleshooting/Scripts/bisection_script.bash
/usr/bin/sandbox-exec -f /private/tmp/homebrew20180826-10043-igsll8.sb nice /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby -W0 -I /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby/2.3.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby/2.3.0/x86_64-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby/2.3.0/universal-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby/2.3.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby/2.3.0/x86_64-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby/2.3.0/universal-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/x86_64-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/universal-darwin9.0:/usr/local/Homebrew/Library/Homebrew/cask/lib:/usr/local/Homebrew/Library/Homebrew -- /usr/local/Homebrew/Library/Homebrew/build.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/vim.rb --verbose --with-client-server --with-gettext --with-lua --with-luajit --with-override-system-vi --with-tcl
==> Downloading https://github.com/vim/vim/archive/v8.1.0300.tar.gz
Already downloaded: /Users/zadmin/Library/Caches/Homebrew/vim-8.1.0300.tar.gz
==> Verifying vim-8.1.0300.tar.gz checksum
tar xf /Users/zadmin/Library/Caches/Homebrew/vim-8.1.0300.tar.gz -C /private/tmp/d20180826-10045-su5t9e
Error: Vim will not link against both Luajit & Lua simultaneously.
Proceeding with Lua.
==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0300/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-luainterp --enable-tclinterp --enable-python3interp --enable-gui=no --with-x --enable-luainterp --with-lua-prefix=/usr/local/opt/luajit
configure: creating cache auto/config.cache
checking whether make sets $(MAKE)... yes
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking for clang option to accept ISO C99... none needed
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for library containing strerror... none required
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for strip... strip
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking if the compiler supports trailing commas... yes
checking if the compiler supports C++ comments... yes
checking --enable-fail-if-missing argument... no
checking for clang version... 800000042
checking if clang supports -fno-strength-reduce... no
configure: checking for buggy tools...
- sh is 'GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin15)
Copyright (C) 2007 Free Software Foundation, Inc.' - probably OK.
checking for BeOS... no
checking for QNX... no
checking for Darwin (Mac OS X)... yes
checking --disable-darwin argument... no
checking if Darwin files are there... yes
checking --with-mac-arch argument... defaulting to current
checking --with-developer-dir argument... not present
checking for xcode-select... /usr/bin/xcode-select
checking for developer dir using xcode-select... /Applications/Xcode.app/Contents/Developer
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking Carbon/Carbon.h usability... yes
checking Carbon/Carbon.h presence... yes
checking for Carbon/Carbon.h... yes
checking AvailabilityMacros.h usability... yes
checking AvailabilityMacros.h presence... yes
checking for AvailabilityMacros.h... yes
checking --with-local-dir argument... Defaulting to /usr/local
checking --with-vim-name argument... Defaulting to vim
checking --with-ex-name argument... Defaulting to ex
checking --with-view-name argument... Defaulting to view
checking --with-global-runtime argument... no
checking --with-modified-by argument... no
checking if character set is EBCDIC... no
checking --disable-smack argument... no
checking linux/xattr.h usability... no
checking linux/xattr.h presence... no
checking for linux/xattr.h... no
checking --disable-selinux argument... no
checking for is_selinux_enabled in -lselinux... no
checking --with-features argument... Defaulting to huge
checking --with-compiledby argument... Homebrew
checking --disable-xsmp argument... no
checking --disable-xsmp-interact argument... no
checking --enable-luainterp argument... yes
checking --with-lua-prefix argument... /usr/local/opt/luajit
checking --with-luajit... no
checking for lua... /usr/local/opt/lua/bin/lua
checking Lua version... 5.3
checking if lua.h can be found in /usr/local/opt/luajit/include... no
checking if lua.h can be found in /usr/local/opt/luajit/include/lua5.3... no
checking --enable-mzschemeinterp argument... no
checking --enable-perlinterp argument... yes
checking for perl... /usr/local/opt/perl/bin/perl
checking Perl version... OK
checking if compile and link flags for Perl are sane... yes
checking --enable-pythoninterp argument... no
checking --enable-python3interp argument... yes
checking --with-python3-command argument... no
checking for python3... /usr/local/opt/python/bin/python3
checking Python version... 3.7
checking Python is 3.0 or better... yep
checking Python's abiflags... m
checking Python's install prefix... /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7
checking Python's execution prefix... /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7
checking Python's configuration directory... /usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/config-3.7m-darwin
checking Python3's dll name... Python.framework/Versions/3.7/Python
checking if -pthread should be used... no
checking if compile and link flags for Python 3 are sane... yes
checking if -fPIE can be added for Python3... yes
checking --enable-tclinterp argument... yes
checking --with-tclsh argument... no
checking for tclsh8.5... /usr/bin/tclsh8.5
checking Tcl version... 8.5 - OK
checking for location of Tcl include... /System/Library/Frameworks/Tcl.framework/Headers/tcl.h
checking for location of tclConfig.sh script... /System/Library/Frameworks/Tcl.framework/tclConfig.sh
checking --enable-rubyinterp argument... yes
checking --with-ruby-command argument... defaulting to ruby
checking for ruby... /usr/local/opt/ruby/bin/ruby
checking Ruby version... OK
checking Ruby rbconfig... RbConfig
checking Ruby header files... /usr/local/Cellar/ruby/2.5.1/include/ruby-2.5.0
checking --enable-cscope argument... yes
checking --enable-workshop argument... no
checking --disable-netbeans argument... no
checking --disable-channel argument... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking whether compiling with process communication is possible... yes
checking --enable-terminal argument... yes
checking --enable-autoservername argument... no
checking --enable-multibyte argument... yes
checking --enable-hangulinput argument... no
checking --enable-xim argument... defaulting to auto
checking --enable-fontset argument... no
checking for xmkmf... no
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking if X11 header files can be found... no
configure: error: could not configure X

==> Formula
Path: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/vim.rb
==> Configuration
HOMEBREW_VERSION: 1.7.1-106-gd58607a
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: d58607a4499dbdb1e5b0012eb4a38551abb56606
Last commit: 3 weeks ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: ff315fb574cbdfd76606581b89073eef0e9b3474
Core tap last commit: 3 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_BUILD_FROM_SOURCE: 1
HOMEBREW_CASK_OPTS: --appdir=/Applications --prefpanedir=/Library/PreferencePanes --colorpickerdir=/Library/ColorPickers --dictionarydir=/Library/Dictionaries --servicedir=/Library/Services --qlplugindir=/Library/QuickLook --fontdir=/Library/Fonts --input_methoddir=/Library/Input\ Methods --screen_saverdir=/Library/Screen\ Savers --internet_plugindir=/Library/Internet\ Plug\-Ins
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_FORCE_BREWED_CURL: 1
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_UPDATE_TO_TAG: 1
CPU: dual-core 64-bit core2
Homebrew Ruby: 2.3.7 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby
Clang: 8.0 build 800
Git: 2.17.0 => /usr/local/bin/git
Curl: 7.60.0 => /usr/local/opt/curl/bin/curl
Java: 10.0.2
macOS: 10.11.6-x86_64
CLT: 8.2.0.0.1.1480973914
Xcode: 8.2.1
XQuartz: 2.7.11 => /opt/X11
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j2
CMAKE_PREFIX_PATH: /usr/local/opt/openssl:/usr/local/opt/readline:/usr/local/opt/icu4c:/usr/local/opt/sqlite:/usr/local/opt/tcl-tk:/usr/local/opt/gettext:/usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/opt/X11/include:/opt/X11/include/freetype2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /opt/X11/lib:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
CMAKE_FRAMEWORK_PATH: /usr/local/opt/python/Frameworks
PKG_CONFIG_PATH: /usr/local/opt/libyaml/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/ruby/lib/pkgconfig:/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/sqlite/lib/pkgconfig:/usr/local/opt/xz/lib/pkgconfig:/usr/local/opt/tcl-tk/lib/pkgconfig:/usr/local/opt/python/lib/pkgconfig:/usr/local/opt/lua/lib/pkgconfig:/usr/local/opt/luajit/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.11:/opt/X11/lib/pkgconfig:/opt/X11/share/pkgconfig
HOMEBREW_BUILD_FROM_SOURCE: 1
ACLOCAL_PATH: /usr/local/opt/gettext/share/aclocal:/usr/local/share/aclocal:/opt/X11/share/aclocal
PATH: /usr/local/opt/python/libexec/bin:/usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/local/opt/perl/bin:/usr/local/opt/openssl/bin:/usr/local/opt/ruby/bin:/usr/local/opt/gdbm/bin:/usr/local/opt/icu4c/bin:/usr/local/opt/sqlite/bin:/usr/local/opt/xz/bin:/usr/local/opt/tcl-tk/bin:/usr/local/opt/python/bin:/usr/local/opt/gettext/bin:/usr/local/opt/lua/bin:/usr/local/opt/luajit/bin:/opt/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: vim 8.1.0300 did not build
Logs:
     /Users/zadmin/Library/Logs/Homebrew/vim/00.options.out
     /Users/zadmin/Library/Logs/Homebrew/vim/01.configure
     /Users/zadmin/Library/Logs/Homebrew/vim/01.configure.cc
READ THIS: https://docs.brew.sh/Troubleshooting

Bisecting: 100 revisions left to test after this (roughly 7 steps)
[b6e54a06e03ab2affc60b6c70f991e335a84ecbc] Refactor unpack strategies into separate files.
running /Users/zadmin/Documents/Development/tmp/Homebrew/Troubleshooting/Scripts/bisection_script.bash
/usr/bin/sandbox-exec -f /private/tmp/homebrew20180826-11568-1dj709h.sb nice /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby -W0 -I /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby/2.3.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby/2.3.0/x86_64-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby/2.3.0/universal-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby/2.3.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby/2.3.0/x86_64-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby/2.3.0/universal-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/x86_64-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/universal-darwin9.0:/usr/local/Homebrew/Library/Homebrew/cask/lib:/usr/local/Homebrew/Library/Homebrew -- /usr/local/Homebrew/Library/Homebrew/build.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/vim.rb --verbose --with-client-server --with-gettext --with-lua --with-luajit --with-override-system-vi --with-tcl
==> Downloading https://github.com/vim/vim/archive/v8.1.0300.tar.gz
Already downloaded: /Users/zadmin/Library/Caches/Homebrew/vim-8.1.0300.tar.gz
==> Verifying vim-8.1.0300.tar.gz checksum
tar xf /Users/zadmin/Library/Caches/Homebrew/vim-8.1.0300.tar.gz -C /private/tmp/d20180826-11570-4ptmne
Error: Vim will not link against both Luajit & Lua simultaneously.
Proceeding with Lua.
==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0300/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-luainterp --enable-tclinterp --enable-python3interp --enable-gui=no --with-x --enable-luainterp --with-lua-prefix=/usr/local/opt/luajit
configure: creating cache auto/config.cache
checking whether make sets $(MAKE)... yes
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking for clang option to accept ISO C99... none needed
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for library containing strerror... none required
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for strip... strip
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking if the compiler supports trailing commas... yes
checking if the compiler supports C++ comments... yes
checking --enable-fail-if-missing argument... no
checking for clang version... 800000042
checking if clang supports -fno-strength-reduce... no
configure: checking for buggy tools...
- sh is 'GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin15)
Copyright (C) 2007 Free Software Foundation, Inc.' - probably OK.
checking for BeOS... no
checking for QNX... no
checking for Darwin (Mac OS X)... yes
checking --disable-darwin argument... no
checking if Darwin files are there... yes
checking --with-mac-arch argument... defaulting to current
checking --with-developer-dir argument... not present
checking for xcode-select... /usr/bin/xcode-select
checking for developer dir using xcode-select... /Applications/Xcode.app/Contents/Developer
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking Carbon/Carbon.h usability... yes
checking Carbon/Carbon.h presence... yes
checking for Carbon/Carbon.h... yes
checking AvailabilityMacros.h usability... yes
checking AvailabilityMacros.h presence... yes
checking for AvailabilityMacros.h... yes
checking --with-local-dir argument... Defaulting to /usr/local
checking --with-vim-name argument... Defaulting to vim
checking --with-ex-name argument... Defaulting to ex
checking --with-view-name argument... Defaulting to view
checking --with-global-runtime argument... no
checking --with-modified-by argument... no
checking if character set is EBCDIC... no
checking --disable-smack argument... no
checking linux/xattr.h usability... no
checking linux/xattr.h presence... no
checking for linux/xattr.h... no
checking --disable-selinux argument... no
checking for is_selinux_enabled in -lselinux... no
checking --with-features argument... Defaulting to huge
checking --with-compiledby argument... Homebrew
checking --disable-xsmp argument... no
checking --disable-xsmp-interact argument... no
checking --enable-luainterp argument... yes
checking --with-lua-prefix argument... /usr/local/opt/luajit
checking --with-luajit... no
checking for lua... /usr/local/opt/lua/bin/lua
checking Lua version... 5.3
checking if lua.h can be found in /usr/local/opt/luajit/include... no
checking if lua.h can be found in /usr/local/opt/luajit/include/lua5.3... no
checking --enable-mzschemeinterp argument... no
checking --enable-perlinterp argument... yes
checking for perl... /usr/local/opt/perl/bin/perl
checking Perl version... OK
checking if compile and link flags for Perl are sane... yes
checking --enable-pythoninterp argument... no
checking --enable-python3interp argument... yes
checking --with-python3-command argument... no
checking for python3... /usr/local/opt/python/bin/python3
checking Python version... 3.7
checking Python is 3.0 or better... yep
checking Python's abiflags... m
checking Python's install prefix... /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7
checking Python's execution prefix... /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7
checking Python's configuration directory... /usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/config-3.7m-darwin
checking Python3's dll name... Python.framework/Versions/3.7/Python
checking if -pthread should be used... no
checking if compile and link flags for Python 3 are sane... yes
checking if -fPIE can be added for Python3... yes
checking --enable-tclinterp argument... yes
checking --with-tclsh argument... no
checking for tclsh8.5... /usr/bin/tclsh8.5
checking Tcl version... 8.5 - OK
checking for location of Tcl include... /System/Library/Frameworks/Tcl.framework/Headers/tcl.h
checking for location of tclConfig.sh script... /System/Library/Frameworks/Tcl.framework/tclConfig.sh
checking --enable-rubyinterp argument... yes
checking --with-ruby-command argument... defaulting to ruby
checking for ruby... /usr/local/opt/ruby/bin/ruby
checking Ruby version... OK
checking Ruby rbconfig... RbConfig
checking Ruby header files... /usr/local/Cellar/ruby/2.5.1/include/ruby-2.5.0
checking --enable-cscope argument... yes
checking --enable-workshop argument... no
checking --disable-netbeans argument... no
checking --disable-channel argument... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking whether compiling with process communication is possible... yes
checking --enable-terminal argument... yes
checking --enable-autoservername argument... no
checking --enable-multibyte argument... yes
checking --enable-hangulinput argument... no
checking --enable-xim argument... defaulting to auto
checking --enable-fontset argument... no
checking for xmkmf... no
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking if X11 header files can be found... no
configure: error: could not configure X

==> Formula
Path: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/vim.rb
==> Configuration
HOMEBREW_VERSION: 1.7.1-5-gb6e54a0
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: b6e54a06e03ab2affc60b6c70f991e335a84ecbc
Last commit: 5 weeks ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: ff315fb574cbdfd76606581b89073eef0e9b3474
Core tap last commit: 3 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_BUILD_FROM_SOURCE: 1
HOMEBREW_CASK_OPTS: --appdir=/Applications --prefpanedir=/Library/PreferencePanes --colorpickerdir=/Library/ColorPickers --dictionarydir=/Library/Dictionaries --servicedir=/Library/Services --qlplugindir=/Library/QuickLook --fontdir=/Library/Fonts --input_methoddir=/Library/Input\ Methods --screen_saverdir=/Library/Screen\ Savers --internet_plugindir=/Library/Internet\ Plug\-Ins
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_FORCE_BREWED_CURL: 1
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_UPDATE_TO_TAG: 1
CPU: dual-core 64-bit core2
Homebrew Ruby: 2.3.7 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby
Clang: 8.0 build 800
Git: 2.17.0 => /usr/local/bin/git
Curl: 7.60.0 => /usr/local/opt/curl/bin/curl
Java: 10.0.2
macOS: 10.11.6-x86_64
CLT: 8.2.0.0.1.1480973914
Xcode: 8.2.1
XQuartz: 2.7.11 => /opt/X11
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j2
CMAKE_PREFIX_PATH: /usr/local/opt/openssl:/usr/local/opt/readline:/usr/local/opt/icu4c:/usr/local/opt/sqlite:/usr/local/opt/tcl-tk:/usr/local/opt/gettext:/usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/opt/X11/include:/opt/X11/include/freetype2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /opt/X11/lib:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
CMAKE_FRAMEWORK_PATH: /usr/local/opt/python/Frameworks
PKG_CONFIG_PATH: /usr/local/opt/libyaml/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/ruby/lib/pkgconfig:/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/sqlite/lib/pkgconfig:/usr/local/opt/xz/lib/pkgconfig:/usr/local/opt/tcl-tk/lib/pkgconfig:/usr/local/opt/python/lib/pkgconfig:/usr/local/opt/lua/lib/pkgconfig:/usr/local/opt/luajit/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.11:/opt/X11/lib/pkgconfig:/opt/X11/share/pkgconfig
HOMEBREW_BUILD_FROM_SOURCE: 1
ACLOCAL_PATH: /usr/local/opt/gettext/share/aclocal:/usr/local/share/aclocal:/opt/X11/share/aclocal
PATH: /usr/local/opt/python/libexec/bin:/usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/local/opt/perl/bin:/usr/local/opt/openssl/bin:/usr/local/opt/ruby/bin:/usr/local/opt/gdbm/bin:/usr/local/opt/icu4c/bin:/usr/local/opt/sqlite/bin:/usr/local/opt/xz/bin:/usr/local/opt/tcl-tk/bin:/usr/local/opt/python/bin:/usr/local/opt/gettext/bin:/usr/local/opt/lua/bin:/usr/local/opt/luajit/bin:/opt/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: vim 8.1.0300 did not build
Logs:
     /Users/zadmin/Library/Logs/Homebrew/vim/00.options.out
     /Users/zadmin/Library/Logs/Homebrew/vim/01.configure
     /Users/zadmin/Library/Logs/Homebrew/vim/01.configure.cc
READ THIS: https://docs.brew.sh/Troubleshooting

Bisecting: 50 revisions left to test after this (roughly 6 steps)
[679eda3155574ddc963d7a551265013ea6f83488] Merge pull request #4516 from reitermarkus/zsh-completion
running /Users/zadmin/Documents/Development/tmp/Homebrew/Troubleshooting/Scripts/bisection_script.bash
/usr/bin/sandbox-exec -f /private/tmp/homebrew20180826-13092-1casq6w.sb nice /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby -W0 -I /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby/2.3.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby/2.3.0/x86_64-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby/2.3.0/universal-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/site_ruby:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby/2.3.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby/2.3.0/x86_64-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby/2.3.0/universal-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/vendor_ruby:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/x86_64-darwin9.0:/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/universal-darwin9.0:/usr/local/Homebrew/Library/Homebrew/cask/lib:/usr/local/Homebrew/Library/Homebrew -- /usr/local/Homebrew/Library/Homebrew/build.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/vim.rb --verbose --with-client-server --with-gettext --with-lua --with-luajit --with-override-system-vi --with-tcl
==> Downloading https://github.com/vim/vim/archive/v8.1.0300.tar.gz
Already downloaded: /Users/zadmin/Library/Caches/Homebrew/vim-8.1.0300.tar.gz
==> Verifying vim-8.1.0300.tar.gz checksum
tar xf /Users/zadmin/Library/Caches/Homebrew/vim-8.1.0300.tar.gz -C /private/tmp/d20180826-13094-10klme6
Error: Vim will not link against both Luajit & Lua simultaneously.
Proceeding with Lua.
==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0300/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-luainterp --enable-tclinterp --enable-python3interp --enable-gui=no --with-x --enable-luainterp --with-lua-prefix=/usr/local/opt/luajit
configure: creating cache auto/config.cache
checking whether make sets $(MAKE)... yes
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking for clang option to accept ISO C99... none needed
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for library containing strerror... none required
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for strip... strip
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking if the compiler supports trailing commas... yes
checking if the compiler supports C++ comments... yes
checking --enable-fail-if-missing argument... no
checking for clang version... 800000042
checking if clang supports -fno-strength-reduce... no
configure: checking for buggy tools...
- sh is 'GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin15)
Copyright (C) 2007 Free Software Foundation, Inc.' - probably OK.
checking for BeOS... no
checking for QNX... no
checking for Darwin (Mac OS X)... yes
checking --disable-darwin argument... no
checking if Darwin files are there... yes
checking --with-mac-arch argument... defaulting to current
checking --with-developer-dir argument... not present
checking for xcode-select... /usr/bin/xcode-select
checking for developer dir using xcode-select... /Applications/Xcode.app/Contents/Developer
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking Carbon/Carbon.h usability... yes
checking Carbon/Carbon.h presence... yes
checking for Carbon/Carbon.h... yes
checking AvailabilityMacros.h usability... yes
checking AvailabilityMacros.h presence... yes
checking for AvailabilityMacros.h... yes
checking --with-local-dir argument... Defaulting to /usr/local
checking --with-vim-name argument... Defaulting to vim
checking --with-ex-name argument... Defaulting to ex
checking --with-view-name argument... Defaulting to view
checking --with-global-runtime argument... no
checking --with-modified-by argument... no
checking if character set is EBCDIC... no
checking --disable-smack argument... no
checking linux/xattr.h usability... no
checking linux/xattr.h presence... no
checking for linux/xattr.h... no
checking --disable-selinux argument... no
checking for is_selinux_enabled in -lselinux... no
checking --with-features argument... Defaulting to huge
checking --with-compiledby argument... Homebrew
checking --disable-xsmp argument... no
checking --disable-xsmp-interact argument... no
checking --enable-luainterp argument... yes
checking --with-lua-prefix argument... /usr/local/opt/luajit
checking --with-luajit... no
checking for lua... /usr/local/opt/lua/bin/lua
checking Lua version... 5.3
checking if lua.h can be found in /usr/local/opt/luajit/include... no
checking if lua.h can be found in /usr/local/opt/luajit/include/lua5.3... no
checking --enable-mzschemeinterp argument... no
checking --enable-perlinterp argument... yes
checking for perl... /usr/local/opt/perl/bin/perl
checking Perl version... OK
checking if compile and link flags for Perl are sane... yes
checking --enable-pythoninterp argument... no
checking --enable-python3interp argument... yes
checking --with-python3-command argument... no
checking for python3... /usr/local/opt/python/bin/python3
checking Python version... 3.7
checking Python is 3.0 or better... yep
checking Python's abiflags... m
checking Python's install prefix... /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7
checking Python's execution prefix... /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7
checking Python's configuration directory... /usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/config-3.7m-darwin
checking Python3's dll name... Python.framework/Versions/3.7/Python
checking if -pthread should be used... no
checking if compile and link flags for Python 3 are sane... yes
checking if -fPIE can be added for Python3... yes
checking --enable-tclinterp argument... yes
checking --with-tclsh argument... no
checking for tclsh8.5... /usr/bin/tclsh8.5
checking Tcl version... 8.5 - OK
checking for location of Tcl include... /System/Library/Frameworks/Tcl.framework/Headers/tcl.h
checking for location of tclConfig.sh script... /System/Library/Frameworks/Tcl.framework/tclConfig.sh
checking --enable-rubyinterp argument... yes
checking --with-ruby-command argument... defaulting to ruby
checking for ruby... /usr/local/opt/ruby/bin/ruby
checking Ruby version... OK
checking Ruby rbconfig... RbConfig
checking Ruby header files... /usr/local/Cellar/ruby/2.5.1/include/ruby-2.5.0
checking --enable-cscope argument... yes
checking --enable-workshop argument... no
checking --disable-netbeans argument... no
checking --disable-channel argument... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking whether compiling with process communication is possible... yes
checking --enable-terminal argument... yes
checking --enable-autoservername argument... no
checking --enable-multibyte argument... yes
checking --enable-hangulinput argument... no
checking --enable-xim argument... defaulting to auto
checking --enable-fontset argument... no
checking for xmkmf... no
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking if X11 header files can be found... no
configure: error: could not configure X

==> Formula
Path: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/vim.rb
==> Configuration
HOMEBREW_VERSION: 1.7.0-50-g679eda3
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 679eda3155574ddc963d7a551265013ea6f83488
Last commit: 5 weeks ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: ff315fb574cbdfd76606581b89073eef0e9b3474
Core tap last commit: 3 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_BUILD_FROM_SOURCE: 1
HOMEBREW_CASK_OPTS: --appdir=/Applications --prefpanedir=/Library/PreferencePanes --colorpickerdir=/Library/ColorPickers --dictionarydir=/Library/Dictionaries --servicedir=/Library/Services --qlplugindir=/Library/QuickLook --fontdir=/Library/Fonts --input_methoddir=/Library/Input\ Methods --screen_saverdir=/Library/Screen\ Savers --internet_plugindir=/Library/Internet\ Plug\-Ins
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_FORCE_BREWED_CURL: 1
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_UPDATE_TO_TAG: 1
CPU: dual-core 64-bit core2
Homebrew Ruby: 2.3.7 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby
Clang: 8.0 build 800
Git: 2.17.0 => /usr/local/bin/git
Curl: 7.60.0 => /usr/local/opt/curl/bin/curl
Java: 10.0.2
macOS: 10.11.6-x86_64
CLT: 8.2.0.0.1.1480973914
Xcode: 8.2.1
XQuartz: 2.7.11 => /opt/X11
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j2
CMAKE_PREFIX_PATH: /usr/local/opt/openssl:/usr/local/opt/readline:/usr/local/opt/icu4c:/usr/local/opt/sqlite:/usr/local/opt/tcl-tk:/usr/local/opt/gettext:/usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/opt/X11/include:/opt/X11/include/freetype2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /opt/X11/lib:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
CMAKE_FRAMEWORK_PATH: /usr/local/opt/python/Frameworks
PKG_CONFIG_PATH: /usr/local/opt/libyaml/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/ruby/lib/pkgconfig:/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/sqlite/lib/pkgconfig:/usr/local/opt/xz/lib/pkgconfig:/usr/local/opt/tcl-tk/lib/pkgconfig:/usr/local/opt/python/lib/pkgconfig:/usr/local/opt/lua/lib/pkgconfig:/usr/local/opt/luajit/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.11:/opt/X11/lib/pkgconfig:/opt/X11/share/pkgconfig
HOMEBREW_BUILD_FROM_SOURCE: 1
ACLOCAL_PATH: /usr/local/opt/gettext/share/aclocal:/usr/local/share/aclocal:/opt/X11/share/aclocal
PATH: /usr/local/opt/python/libexec/bin:/usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/local/opt/perl/bin:/usr/local/opt/openssl/bin:/usr/local/opt/ruby/bin:/usr/local/opt/gdbm/bin:/usr/local/opt/icu4c/bin:/usr/local/opt/sqlite/bin:/usr/local/opt/xz/bin:/usr/local/opt/tcl-tk/bin:/usr/local/opt/python/bin:/usr/local/opt/gettext/bin:/usr/local/opt/lua/bin:/usr/local/opt/luajit/bin:/opt/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: vim 8.1.0300 did not build
Logs:
     /Users/zadmin/Library/Logs/Homebrew/vim/00.options.out
     /Users/zadmin/Library/Logs/Homebrew/vim/01.configure
     /Users/zadmin/Library/Logs/Homebrew/vim/01.configure.cc
READ THIS: https://docs.brew.sh/Troubleshooting

Bisecting: 27 revisions left to test after this (roughly 5 steps)
[f2d823445ec979dd911ce936b4bb96258844057c] ruby.sh: remove linkage cache on upgrade.
running /Users/zadmin/Documents/Development/tmp/Homebrew/Troubleshooting/Scripts/bisection_script.bash
/usr/bin/sandbox-exec -f /private/tmp/homebrew20180826-14617-j7m55f.sb nice /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby -W0 -I /usr/local/Homebrew/Library/Homebrew:/usr/local/Homebrew/Library/Homebrew/cask/lib -- /usr/local/Homebrew/Library/Homebrew/build.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/vim.rb --verbose --with-client-server --with-gettext --with-lua --with-luajit --with-override-system-vi --with-tcl
==> Downloading https://github.com/vim/vim/archive/v8.1.0300.tar.gz
Already downloaded: /Users/zadmin/Library/Caches/Homebrew/vim-8.1.0300.tar.gz
==> Verifying vim-8.1.0300.tar.gz checksum
tar xf /Users/zadmin/Library/Caches/Homebrew/vim-8.1.0300.tar.gz -C /private/tmp/d20180826-14619-twzg4g
Error: Vim will not link against both Luajit & Lua simultaneously.
Proceeding with Lua.
==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0300/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-luainterp --enable-tclinterp --enable-python3interp --enable-gui=no --with-x --enable-luainterp --with-lua-prefix=/usr/local/opt/luajit
configure: creating cache auto/config.cache
checking whether make sets $(MAKE)... yes
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking for clang option to accept ISO C99... none needed
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for library containing strerror... none required
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for strip... strip
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking if the compiler supports trailing commas... yes
checking if the compiler supports C++ comments... yes
checking --enable-fail-if-missing argument... no
checking for clang version... 800000042
checking if clang supports -fno-strength-reduce... no
configure: checking for buggy tools...
- sh is 'GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin15)
Copyright (C) 2007 Free Software Foundation, Inc.' - probably OK.
checking for BeOS... no
checking for QNX... no
checking for Darwin (Mac OS X)... yes
checking --disable-darwin argument... no
checking if Darwin files are there... yes
checking --with-mac-arch argument... defaulting to current
checking --with-developer-dir argument... not present
checking for xcode-select... /usr/bin/xcode-select
checking for developer dir using xcode-select... /Applications/Xcode.app/Contents/Developer
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking Carbon/Carbon.h usability... yes
checking Carbon/Carbon.h presence... yes
checking for Carbon/Carbon.h... yes
checking AvailabilityMacros.h usability... yes
checking AvailabilityMacros.h presence... yes
checking for AvailabilityMacros.h... yes
checking --with-local-dir argument... Defaulting to /usr/local
checking --with-vim-name argument... Defaulting to vim
checking --with-ex-name argument... Defaulting to ex
checking --with-view-name argument... Defaulting to view
checking --with-global-runtime argument... no
checking --with-modified-by argument... no
checking if character set is EBCDIC... no
checking --disable-smack argument... no
checking linux/xattr.h usability... no
checking linux/xattr.h presence... no
checking for linux/xattr.h... no
checking --disable-selinux argument... no
checking for is_selinux_enabled in -lselinux... no
checking --with-features argument... Defaulting to huge
checking --with-compiledby argument... Homebrew
checking --disable-xsmp argument... no
checking --disable-xsmp-interact argument... no
checking --enable-luainterp argument... yes
checking --with-lua-prefix argument... /usr/local/opt/luajit
checking --with-luajit... no
checking for lua... /usr/local/opt/lua/bin/lua
checking Lua version... 5.3
checking if lua.h can be found in /usr/local/opt/luajit/include... no
checking if lua.h can be found in /usr/local/opt/luajit/include/lua5.3... no
checking --enable-mzschemeinterp argument... no
checking --enable-perlinterp argument... yes
checking for perl... /usr/local/opt/perl/bin/perl
checking Perl version... OK
checking if compile and link flags for Perl are sane... yes
checking --enable-pythoninterp argument... no
checking --enable-python3interp argument... yes
checking --with-python3-command argument... no
checking for python3... /usr/local/opt/python/bin/python3
checking Python version... 3.7
checking Python is 3.0 or better... yep
checking Python's abiflags... m
checking Python's install prefix... /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7
checking Python's execution prefix... /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7
checking Python's configuration directory... /usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/config-3.7m-darwin
checking Python3's dll name... Python.framework/Versions/3.7/Python
checking if -pthread should be used... no
checking if compile and link flags for Python 3 are sane... yes
checking if -fPIE can be added for Python3... yes
checking --enable-tclinterp argument... yes
checking --with-tclsh argument... no
checking for tclsh8.5... /usr/bin/tclsh8.5
checking Tcl version... 8.5 - OK
checking for location of Tcl include... /System/Library/Frameworks/Tcl.framework/Headers/tcl.h
checking for location of tclConfig.sh script... /System/Library/Frameworks/Tcl.framework/tclConfig.sh
checking --enable-rubyinterp argument... yes
checking --with-ruby-command argument... defaulting to ruby
checking for ruby... /usr/local/opt/ruby/bin/ruby
checking Ruby version... OK
checking Ruby rbconfig... RbConfig
checking Ruby header files... /usr/local/Cellar/ruby/2.5.1/include/ruby-2.5.0
checking --enable-cscope argument... yes
checking --enable-workshop argument... no
checking --disable-netbeans argument... no
checking --disable-channel argument... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking whether compiling with process communication is possible... yes
checking --enable-terminal argument... yes
checking --enable-autoservername argument... no
checking --enable-multibyte argument... yes
checking --enable-hangulinput argument... no
checking --enable-xim argument... defaulting to auto
checking --enable-fontset argument... no
checking for xmkmf... no
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking if X11 header files can be found... no
configure: error: could not configure X

==> Formula
Path: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/vim.rb
==> Configuration
HOMEBREW_VERSION: 1.7.0-22-gf2d8234
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: f2d823445ec979dd911ce936b4bb96258844057c
Last commit: 6 weeks ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: ff315fb574cbdfd76606581b89073eef0e9b3474
Core tap last commit: 3 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_BUILD_FROM_SOURCE: 1
HOMEBREW_CASK_OPTS: --appdir=/Applications --prefpanedir=/Library/PreferencePanes --colorpickerdir=/Library/ColorPickers --dictionarydir=/Library/Dictionaries --servicedir=/Library/Services --qlplugindir=/Library/QuickLook --fontdir=/Library/Fonts --input_methoddir=/Library/Input\ Methods --screen_saverdir=/Library/Screen\ Savers --internet_plugindir=/Library/Internet\ Plug\-Ins
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_FORCE_BREWED_CURL: 1
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_UPDATE_TO_TAG: 1
CPU: dual-core 64-bit core2
Homebrew Ruby: 2.3.7 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby
Clang: 8.0 build 800
Git: 2.17.0 => /usr/local/bin/git
Curl: 7.60.0 => /usr/local/opt/curl/bin/curl
Java: 10.0.2
macOS: 10.11.6-x86_64
CLT: 8.2.0.0.1.1480973914
Xcode: 8.2.1
XQuartz: 2.7.11 => /opt/X11
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j2
CMAKE_PREFIX_PATH: /usr/local/opt/openssl:/usr/local/opt/readline:/usr/local/opt/icu4c:/usr/local/opt/sqlite:/usr/local/opt/tcl-tk:/usr/local/opt/gettext:/usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/opt/X11/include:/opt/X11/include/freetype2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /opt/X11/lib:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
CMAKE_FRAMEWORK_PATH: /usr/local/opt/python/Frameworks
PKG_CONFIG_PATH: /usr/local/opt/libyaml/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/ruby/lib/pkgconfig:/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/sqlite/lib/pkgconfig:/usr/local/opt/xz/lib/pkgconfig:/usr/local/opt/tcl-tk/lib/pkgconfig:/usr/local/opt/python/lib/pkgconfig:/usr/local/opt/lua/lib/pkgconfig:/usr/local/opt/luajit/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.11:/opt/X11/lib/pkgconfig:/opt/X11/share/pkgconfig
HOMEBREW_BUILD_FROM_SOURCE: 1
ACLOCAL_PATH: /usr/local/opt/gettext/share/aclocal:/usr/local/share/aclocal:/opt/X11/share/aclocal
PATH: /usr/local/opt/python/libexec/bin:/usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/local/opt/perl/bin:/usr/local/opt/openssl/bin:/usr/local/opt/ruby/bin:/usr/local/opt/gdbm/bin:/usr/local/opt/icu4c/bin:/usr/local/opt/sqlite/bin:/usr/local/opt/xz/bin:/usr/local/opt/tcl-tk/bin:/usr/local/opt/python/bin:/usr/local/opt/gettext/bin:/usr/local/opt/lua/bin:/usr/local/opt/luajit/bin:/opt/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: vim 8.1.0300 did not build
Logs:
     /Users/zadmin/Library/Logs/Homebrew/vim/00.options.out
     /Users/zadmin/Library/Logs/Homebrew/vim/01.configure
     /Users/zadmin/Library/Logs/Homebrew/vim/01.configure.cc
READ THIS: https://docs.brew.sh/Troubleshooting

Bisecting: 10 revisions left to test after this (roughly 4 steps)
[c8a066260305b28ace3d4a1b2bffef672e463bac] Merge pull request #4489 from reitermarkus/unpack-error
running /Users/zadmin/Documents/Development/tmp/Homebrew/Troubleshooting/Scripts/bisection_script.bash
/usr/bin/sandbox-exec -f /private/tmp/homebrew20180826-16143-qmdsv3.sb nice /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby -W0 -I /usr/local/Homebrew/Library/Homebrew:/usr/local/Homebrew/Library/Homebrew/cask/lib -- /usr/local/Homebrew/Library/Homebrew/build.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/vim.rb --verbose --with-client-server --with-gettext --with-lua --with-luajit --with-override-system-vi --with-tcl
==> Downloading https://github.com/vim/vim/archive/v8.1.0300.tar.gz
Already downloaded: /Users/zadmin/Library/Caches/Homebrew/vim-8.1.0300.tar.gz
==> Verifying vim-8.1.0300.tar.gz checksum
tar xf /Users/zadmin/Library/Caches/Homebrew/vim-8.1.0300.tar.gz -C /private/tmp/vim-20180826-16145-q95rq9
Error: Vim will not link against both Luajit & Lua simultaneously.
Proceeding with Lua.
==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0300/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-luainterp --enable-tclinterp --enable-python3interp --enable-gui=no --with-x --enable-luainterp --with-lua-prefix=/usr/local/opt/luajit
configure: creating cache auto/config.cache
checking whether make sets $(MAKE)... yes
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking for clang option to accept ISO C99... none needed
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for library containing strerror... none required
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for strip... strip
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking if the compiler supports trailing commas... yes
checking if the compiler supports C++ comments... yes
checking --enable-fail-if-missing argument... no
checking for clang version... 800000042
checking if clang supports -fno-strength-reduce... no
configure: checking for buggy tools...
- sh is 'GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin15)
Copyright (C) 2007 Free Software Foundation, Inc.' - probably OK.
checking for BeOS... no
checking for QNX... no
checking for Darwin (Mac OS X)... yes
checking --disable-darwin argument... no
checking if Darwin files are there... yes
checking --with-mac-arch argument... defaulting to current
checking --with-developer-dir argument... not present
checking for xcode-select... /usr/bin/xcode-select
checking for developer dir using xcode-select... /Applications/Xcode.app/Contents/Developer
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking Carbon/Carbon.h usability... yes
checking Carbon/Carbon.h presence... yes
checking for Carbon/Carbon.h... yes
checking AvailabilityMacros.h usability... yes
checking AvailabilityMacros.h presence... yes
checking for AvailabilityMacros.h... yes
checking --with-local-dir argument... Defaulting to /usr/local
checking --with-vim-name argument... Defaulting to vim
checking --with-ex-name argument... Defaulting to ex
checking --with-view-name argument... Defaulting to view
checking --with-global-runtime argument... no
checking --with-modified-by argument... no
checking if character set is EBCDIC... no
checking --disable-smack argument... no
checking linux/xattr.h usability... no
checking linux/xattr.h presence... no
checking for linux/xattr.h... no
checking --disable-selinux argument... no
checking for is_selinux_enabled in -lselinux... no
checking --with-features argument... Defaulting to huge
checking --with-compiledby argument... Homebrew
checking --disable-xsmp argument... no
checking --disable-xsmp-interact argument... no
checking --enable-luainterp argument... yes
checking --with-lua-prefix argument... /usr/local/opt/luajit
checking --with-luajit... no
checking for lua... /usr/local/opt/lua/bin/lua
checking Lua version... 5.3
checking if lua.h can be found in /usr/local/opt/luajit/include... no
checking if lua.h can be found in /usr/local/opt/luajit/include/lua5.3... no
checking --enable-mzschemeinterp argument... no
checking --enable-perlinterp argument... yes
checking for perl... /usr/local/opt/perl/bin/perl
checking Perl version... OK
checking if compile and link flags for Perl are sane... yes
checking --enable-pythoninterp argument... no
checking --enable-python3interp argument... yes
checking --with-python3-command argument... no
checking for python3... /usr/local/opt/python/bin/python3
checking Python version... 3.7
checking Python is 3.0 or better... yep
checking Python's abiflags... m
checking Python's install prefix... /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7
checking Python's execution prefix... /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7
checking Python's configuration directory... /usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/config-3.7m-darwin
checking Python3's dll name... Python.framework/Versions/3.7/Python
checking if -pthread should be used... no
checking if compile and link flags for Python 3 are sane... yes
checking if -fPIE can be added for Python3... yes
checking --enable-tclinterp argument... yes
checking --with-tclsh argument... no
checking for tclsh8.5... /usr/bin/tclsh8.5
checking Tcl version... 8.5 - OK
checking for location of Tcl include... /System/Library/Frameworks/Tcl.framework/Headers/tcl.h
checking for location of tclConfig.sh script... /System/Library/Frameworks/Tcl.framework/tclConfig.sh
checking --enable-rubyinterp argument... yes
checking --with-ruby-command argument... defaulting to ruby
checking for ruby... /usr/local/opt/ruby/bin/ruby
checking Ruby version... OK
checking Ruby rbconfig... RbConfig
checking Ruby header files... /usr/local/Cellar/ruby/2.5.1/include/ruby-2.5.0
checking --enable-cscope argument... yes
checking --enable-workshop argument... no
checking --disable-netbeans argument... no
checking --disable-channel argument... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking whether compiling with process communication is possible... yes
checking --enable-terminal argument... yes
checking --enable-autoservername argument... no
checking --enable-multibyte argument... yes
checking --enable-hangulinput argument... no
checking --enable-xim argument... defaulting to auto
checking --enable-fontset argument... no
checking for xmkmf... no
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking if X11 header files can be found... no
configure: error: could not configure X

==> Formula
Path: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/vim.rb
==> Configuration
HOMEBREW_VERSION: 1.7.0-11-gc8a0662
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: c8a066260305b28ace3d4a1b2bffef672e463bac
Last commit: 6 weeks ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: ff315fb574cbdfd76606581b89073eef0e9b3474
Core tap last commit: 3 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_BUILD_FROM_SOURCE: 1
HOMEBREW_CASK_OPTS: --appdir=/Applications --prefpanedir=/Library/PreferencePanes --colorpickerdir=/Library/ColorPickers --dictionarydir=/Library/Dictionaries --servicedir=/Library/Services --qlplugindir=/Library/QuickLook --fontdir=/Library/Fonts --input_methoddir=/Library/Input\ Methods --screen_saverdir=/Library/Screen\ Savers --internet_plugindir=/Library/Internet\ Plug\-Ins
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_FORCE_BREWED_CURL: 1
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_UPDATE_TO_TAG: 1
CPU: dual-core 64-bit core2
Homebrew Ruby: 2.3.7 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby
Clang: 8.0 build 800
Git: 2.17.0 => /usr/local/bin/git
Curl: 7.60.0 => /usr/local/opt/curl/bin/curl
Java: 10.0.2
macOS: 10.11.6-x86_64
CLT: 8.2.0.0.1.1480973914
Xcode: 8.2.1
XQuartz: 2.7.11 => /opt/X11
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j2
CMAKE_PREFIX_PATH: /usr/local/opt/openssl:/usr/local/opt/readline:/usr/local/opt/icu4c:/usr/local/opt/sqlite:/usr/local/opt/tcl-tk:/usr/local/opt/gettext:/usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/opt/X11/include:/opt/X11/include/freetype2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /opt/X11/lib:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
CMAKE_FRAMEWORK_PATH: /usr/local/opt/python/Frameworks
PKG_CONFIG_PATH: /usr/local/opt/libyaml/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/ruby/lib/pkgconfig:/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/sqlite/lib/pkgconfig:/usr/local/opt/xz/lib/pkgconfig:/usr/local/opt/tcl-tk/lib/pkgconfig:/usr/local/opt/python/lib/pkgconfig:/usr/local/opt/lua/lib/pkgconfig:/usr/local/opt/luajit/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.11:/opt/X11/lib/pkgconfig:/opt/X11/share/pkgconfig
HOMEBREW_BUILD_FROM_SOURCE: 1
ACLOCAL_PATH: /usr/local/opt/gettext/share/aclocal:/usr/local/share/aclocal:/opt/X11/share/aclocal
PATH: /usr/local/opt/python/libexec/bin:/usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/local/opt/perl/bin:/usr/local/opt/openssl/bin:/usr/local/opt/ruby/bin:/usr/local/opt/gdbm/bin:/usr/local/opt/icu4c/bin:/usr/local/opt/sqlite/bin:/usr/local/opt/xz/bin:/usr/local/opt/tcl-tk/bin:/usr/local/opt/python/bin:/usr/local/opt/gettext/bin:/usr/local/opt/lua/bin:/usr/local/opt/luajit/bin:/opt/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: vim 8.1.0300 did not build
Logs:
     /Users/zadmin/Library/Logs/Homebrew/vim/00.options.out
     /Users/zadmin/Library/Logs/Homebrew/vim/01.configure
     /Users/zadmin/Library/Logs/Homebrew/vim/01.configure.cc
READ THIS: https://docs.brew.sh/Troubleshooting

Bisecting: 5 revisions left to test after this (roughly 3 steps)
[a6aefb43c57a27dd38370a55e9eba269ed8b8890] Donโ€™t recurse into nested directories.
running /Users/zadmin/Documents/Development/tmp/Homebrew/Troubleshooting/Scripts/bisection_script.bash
/usr/bin/sandbox-exec -f /private/tmp/homebrew20180826-17667-44gptm.sb nice /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby -W0 -I /usr/local/Homebrew/Library/Homebrew:/usr/local/Homebrew/Library/Homebrew/cask/lib -- /usr/local/Homebrew/Library/Homebrew/build.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/vim.rb --verbose --with-client-server --with-gettext --with-lua --with-luajit --with-override-system-vi --with-tcl
==> Downloading https://github.com/vim/vim/archive/v8.1.0300.tar.gz
Already downloaded: /Users/zadmin/Library/Caches/Homebrew/vim-8.1.0300.tar.gz
==> Verifying vim-8.1.0300.tar.gz checksum
tar xf /Users/zadmin/Library/Caches/Homebrew/vim-8.1.0300.tar.gz -C /private/tmp/vim-20180826-17669-1lgdntj
Error: Vim will not link against both Luajit & Lua simultaneously.
Proceeding with Lua.
==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0300/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-luainterp --enable-tclinterp --enable-python3interp --enable-gui=no --with-x --enable-luainterp --with-lua-prefix=/usr/local/opt/luajit
configure: creating cache auto/config.cache
checking whether make sets $(MAKE)... yes
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking for clang option to accept ISO C99... none needed
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for library containing strerror... none required
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for strip... strip
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking if the compiler supports trailing commas... yes
checking if the compiler supports C++ comments... yes
checking --enable-fail-if-missing argument... no
checking for clang version... 800000042
checking if clang supports -fno-strength-reduce... no
configure: checking for buggy tools...
- sh is 'GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin15)
Copyright (C) 2007 Free Software Foundation, Inc.' - probably OK.
checking for BeOS... no
checking for QNX... no
checking for Darwin (Mac OS X)... yes
checking --disable-darwin argument... no
checking if Darwin files are there... yes
checking --with-mac-arch argument... defaulting to current
checking --with-developer-dir argument... not present
checking for xcode-select... /usr/bin/xcode-select
checking for developer dir using xcode-select... /Applications/Xcode.app/Contents/Developer
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking Carbon/Carbon.h usability... yes
checking Carbon/Carbon.h presence... yes
checking for Carbon/Carbon.h... yes
checking AvailabilityMacros.h usability... yes
checking AvailabilityMacros.h presence... yes
checking for AvailabilityMacros.h... yes
checking --with-local-dir argument... Defaulting to /usr/local
checking --with-vim-name argument... Defaulting to vim
checking --with-ex-name argument... Defaulting to ex
checking --with-view-name argument... Defaulting to view
checking --with-global-runtime argument... no
checking --with-modified-by argument... no
checking if character set is EBCDIC... no
checking --disable-smack argument... no
checking linux/xattr.h usability... no
checking linux/xattr.h presence... no
checking for linux/xattr.h... no
checking --disable-selinux argument... no
checking for is_selinux_enabled in -lselinux... no
checking --with-features argument... Defaulting to huge
checking --with-compiledby argument... Homebrew
checking --disable-xsmp argument... no
checking --disable-xsmp-interact argument... no
checking --enable-luainterp argument... yes
checking --with-lua-prefix argument... /usr/local/opt/luajit
checking --with-luajit... no
checking for lua... /usr/local/opt/lua/bin/lua
checking Lua version... 5.3
checking if lua.h can be found in /usr/local/opt/luajit/include... no
checking if lua.h can be found in /usr/local/opt/luajit/include/lua5.3... no
checking --enable-mzschemeinterp argument... no
checking --enable-perlinterp argument... yes
checking for perl... /usr/local/opt/perl/bin/perl
checking Perl version... OK
checking if compile and link flags for Perl are sane... yes
checking --enable-pythoninterp argument... no
checking --enable-python3interp argument... yes
checking --with-python3-command argument... no
checking for python3... /usr/local/opt/python/bin/python3
checking Python version... 3.7
checking Python is 3.0 or better... yep
checking Python's abiflags... m
checking Python's install prefix... /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7
checking Python's execution prefix... /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7
checking Python's configuration directory... /usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/config-3.7m-darwin
checking Python3's dll name... Python.framework/Versions/3.7/Python
checking if -pthread should be used... no
checking if compile and link flags for Python 3 are sane... yes
checking if -fPIE can be added for Python3... yes
checking --enable-tclinterp argument... yes
checking --with-tclsh argument... no
checking for tclsh8.5... /usr/bin/tclsh8.5
checking Tcl version... 8.5 - OK
checking for location of Tcl include... /System/Library/Frameworks/Tcl.framework/Headers/tcl.h
checking for location of tclConfig.sh script... /System/Library/Frameworks/Tcl.framework/tclConfig.sh
checking --enable-rubyinterp argument... yes
checking --with-ruby-command argument... defaulting to ruby
checking for ruby... /usr/local/opt/ruby/bin/ruby
checking Ruby version... OK
checking Ruby rbconfig... RbConfig
checking Ruby header files... /usr/local/Cellar/ruby/2.5.1/include/ruby-2.5.0
checking --enable-cscope argument... yes
checking --enable-workshop argument... no
checking --disable-netbeans argument... no
checking --disable-channel argument... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking whether compiling with process communication is possible... yes
checking --enable-terminal argument... yes
checking --enable-autoservername argument... no
checking --enable-multibyte argument... yes
checking --enable-hangulinput argument... no
checking --enable-xim argument... defaulting to auto
checking --enable-fontset argument... no
checking for xmkmf... no
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking if X11 header files can be found... no
configure: error: could not configure X

==> Formula
Path: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/vim.rb
==> Configuration
HOMEBREW_VERSION: 1.7.0-5-ga6aefb4
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: a6aefb43c57a27dd38370a55e9eba269ed8b8890
Last commit: 6 weeks ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: ff315fb574cbdfd76606581b89073eef0e9b3474
Core tap last commit: 3 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_BUILD_FROM_SOURCE: 1
HOMEBREW_CASK_OPTS: --appdir=/Applications --prefpanedir=/Library/PreferencePanes --colorpickerdir=/Library/ColorPickers --dictionarydir=/Library/Dictionaries --servicedir=/Library/Services --qlplugindir=/Library/QuickLook --fontdir=/Library/Fonts --input_methoddir=/Library/Input\ Methods --screen_saverdir=/Library/Screen\ Savers --internet_plugindir=/Library/Internet\ Plug\-Ins
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_FORCE_BREWED_CURL: 1
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_UPDATE_TO_TAG: 1
CPU: dual-core 64-bit core2
Homebrew Ruby: 2.3.7 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby
Clang: 8.0 build 800
Git: 2.17.0 => /usr/local/bin/git
Curl: 7.60.0 => /usr/local/opt/curl/bin/curl
Java: 10.0.2
macOS: 10.11.6-x86_64
CLT: 8.2.0.0.1.1480973914
Xcode: 8.2.1
XQuartz: 2.7.11 => /opt/X11
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j2
CMAKE_PREFIX_PATH: /usr/local/opt/openssl:/usr/local/opt/readline:/usr/local/opt/icu4c:/usr/local/opt/sqlite:/usr/local/opt/tcl-tk:/usr/local/opt/gettext:/usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/opt/X11/include:/opt/X11/include/freetype2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /opt/X11/lib:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
CMAKE_FRAMEWORK_PATH: /usr/local/opt/python/Frameworks
PKG_CONFIG_PATH: /usr/local/opt/libyaml/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/ruby/lib/pkgconfig:/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/sqlite/lib/pkgconfig:/usr/local/opt/xz/lib/pkgconfig:/usr/local/opt/tcl-tk/lib/pkgconfig:/usr/local/opt/python/lib/pkgconfig:/usr/local/opt/lua/lib/pkgconfig:/usr/local/opt/luajit/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.11:/opt/X11/lib/pkgconfig:/opt/X11/share/pkgconfig
HOMEBREW_BUILD_FROM_SOURCE: 1
ACLOCAL_PATH: /usr/local/opt/gettext/share/aclocal:/usr/local/share/aclocal:/opt/X11/share/aclocal
PATH: /usr/local/opt/python/libexec/bin:/usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/local/opt/perl/bin:/usr/local/opt/openssl/bin:/usr/local/opt/ruby/bin:/usr/local/opt/gdbm/bin:/usr/local/opt/icu4c/bin:/usr/local/opt/sqlite/bin:/usr/local/opt/xz/bin:/usr/local/opt/tcl-tk/bin:/usr/local/opt/python/bin:/usr/local/opt/gettext/bin:/usr/local/opt/lua/bin:/usr/local/opt/luajit/bin:/opt/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: vim 8.1.0300 did not build
Logs:
     /Users/zadmin/Library/Logs/Homebrew/vim/00.options.out
     /Users/zadmin/Library/Logs/Homebrew/vim/01.configure
     /Users/zadmin/Library/Logs/Homebrew/vim/01.configure.cc
READ THIS: https://docs.brew.sh/Troubleshooting

Bisecting: 2 revisions left to test after this (roughly 1 step)
[b1a125754fa382e38020550903e3644b9085da06] Merge pull request #4487 from maxim-belkin/handle-cc
running /Users/zadmin/Documents/Development/tmp/Homebrew/Troubleshooting/Scripts/bisection_script.bash
/usr/bin/sandbox-exec -f /private/tmp/homebrew20180826-19193-yv5ab0.sb nice /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby -W0 -I /usr/local/Homebrew/Library/Homebrew:/usr/local/Homebrew/Library/Homebrew/cask/lib -- /usr/local/Homebrew/Library/Homebrew/build.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/vim.rb --verbose --with-client-server --with-gettext --with-lua --with-luajit --with-override-system-vi --with-tcl
==> Downloading https://github.com/vim/vim/archive/v8.1.0300.tar.gz
Already downloaded: /Users/zadmin/Library/Caches/Homebrew/vim-8.1.0300.tar.gz
==> Verifying vim-8.1.0300.tar.gz checksum
tar xf /Users/zadmin/Library/Caches/Homebrew/vim-8.1.0300.tar.gz -C /private/tmp/vim-20180826-19195-1xdvx4n
Error: Vim will not link against both Luajit & Lua simultaneously.
Proceeding with Lua.
==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0300/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-luainterp --enable-tclinterp --enable-python3interp --enable-gui=no --with-x --enable-luainterp --with-lua-prefix=/usr/local/opt/luajit
configure: creating cache auto/config.cache
checking whether make sets $(MAKE)... yes
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking for clang option to accept ISO C99... none needed
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for library containing strerror... none required
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for strip... strip
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking if the compiler supports trailing commas... yes
checking if the compiler supports C++ comments... yes
checking --enable-fail-if-missing argument... no
checking for clang version... 800000042
checking if clang supports -fno-strength-reduce... no
configure: checking for buggy tools...
- sh is 'GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin15)
Copyright (C) 2007 Free Software Foundation, Inc.' - probably OK.
checking for BeOS... no
checking for QNX... no
checking for Darwin (Mac OS X)... yes
checking --disable-darwin argument... no
checking if Darwin files are there... yes
checking --with-mac-arch argument... defaulting to current
checking --with-developer-dir argument... not present
checking for xcode-select... /usr/bin/xcode-select
checking for developer dir using xcode-select... /Applications/Xcode.app/Contents/Developer
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking Carbon/Carbon.h usability... yes
checking Carbon/Carbon.h presence... yes
checking for Carbon/Carbon.h... yes
checking AvailabilityMacros.h usability... yes
checking AvailabilityMacros.h presence... yes
checking for AvailabilityMacros.h... yes
checking --with-local-dir argument... Defaulting to /usr/local
checking --with-vim-name argument... Defaulting to vim
checking --with-ex-name argument... Defaulting to ex
checking --with-view-name argument... Defaulting to view
checking --with-global-runtime argument... no
checking --with-modified-by argument... no
checking if character set is EBCDIC... no
checking --disable-smack argument... no
checking linux/xattr.h usability... no
checking linux/xattr.h presence... no
checking for linux/xattr.h... no
checking --disable-selinux argument... no
checking for is_selinux_enabled in -lselinux... no
checking --with-features argument... Defaulting to huge
checking --with-compiledby argument... Homebrew
checking --disable-xsmp argument... no
checking --disable-xsmp-interact argument... no
checking --enable-luainterp argument... yes
checking --with-lua-prefix argument... /usr/local/opt/luajit
checking --with-luajit... no
checking for lua... /usr/local/opt/lua/bin/lua
checking Lua version... 5.3
checking if lua.h can be found in /usr/local/opt/luajit/include... no
checking if lua.h can be found in /usr/local/opt/luajit/include/lua5.3... no
checking --enable-mzschemeinterp argument... no
checking --enable-perlinterp argument... yes
checking for perl... /usr/local/opt/perl/bin/perl
checking Perl version... OK
checking if compile and link flags for Perl are sane... yes
checking --enable-pythoninterp argument... no
checking --enable-python3interp argument... yes
checking --with-python3-command argument... no
checking for python3... /usr/local/opt/python/bin/python3
checking Python version... 3.7
checking Python is 3.0 or better... yep
checking Python's abiflags... m
checking Python's install prefix... /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7
checking Python's execution prefix... /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7
checking Python's configuration directory... /usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/config-3.7m-darwin
checking Python3's dll name... Python.framework/Versions/3.7/Python
checking if -pthread should be used... no
checking if compile and link flags for Python 3 are sane... yes
checking if -fPIE can be added for Python3... yes
checking --enable-tclinterp argument... yes
checking --with-tclsh argument... no
checking for tclsh8.5... /usr/bin/tclsh8.5
checking Tcl version... 8.5 - OK
checking for location of Tcl include... /System/Library/Frameworks/Tcl.framework/Headers/tcl.h
checking for location of tclConfig.sh script... /System/Library/Frameworks/Tcl.framework/tclConfig.sh
checking --enable-rubyinterp argument... yes
checking --with-ruby-command argument... defaulting to ruby
checking for ruby... /usr/local/opt/ruby/bin/ruby
checking Ruby version... OK
checking Ruby rbconfig... RbConfig
checking Ruby header files... /usr/local/Cellar/ruby/2.5.1/include/ruby-2.5.0
checking --enable-cscope argument... yes
checking --enable-workshop argument... no
checking --disable-netbeans argument... no
checking --disable-channel argument... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking whether compiling with process communication is possible... yes
checking --enable-terminal argument... yes
checking --enable-autoservername argument... no
checking --enable-multibyte argument... yes
checking --enable-hangulinput argument... no
checking --enable-xim argument... defaulting to auto
checking --enable-fontset argument... no
checking for xmkmf... no
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking if X11 header files can be found... no
configure: error: could not configure X

==> Formula
Path: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/vim.rb
==> Configuration
HOMEBREW_VERSION: 1.7.0-2-gb1a1257
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: b1a125754fa382e38020550903e3644b9085da06
Last commit: 6 weeks ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: ff315fb574cbdfd76606581b89073eef0e9b3474
Core tap last commit: 3 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_BUILD_FROM_SOURCE: 1
HOMEBREW_CASK_OPTS: --appdir=/Applications --prefpanedir=/Library/PreferencePanes --colorpickerdir=/Library/ColorPickers --dictionarydir=/Library/Dictionaries --servicedir=/Library/Services --qlplugindir=/Library/QuickLook --fontdir=/Library/Fonts --input_methoddir=/Library/Input\ Methods --screen_saverdir=/Library/Screen\ Savers --internet_plugindir=/Library/Internet\ Plug\-Ins
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_FORCE_BREWED_CURL: 1
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_UPDATE_TO_TAG: 1
CPU: dual-core 64-bit core2
Homebrew Ruby: 2.3.7 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby
Clang: 8.0 build 800
Git: 2.17.0 => /usr/local/bin/git
Curl: 7.60.0 => /usr/local/opt/curl/bin/curl
Java: 10.0.2
macOS: 10.11.6-x86_64
CLT: 8.2.0.0.1.1480973914
Xcode: 8.2.1
XQuartz: 2.7.11 => /opt/X11
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j2
CMAKE_PREFIX_PATH: /usr/local/opt/openssl:/usr/local/opt/readline:/usr/local/opt/icu4c:/usr/local/opt/sqlite:/usr/local/opt/tcl-tk:/usr/local/opt/gettext:/usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/opt/X11/include:/opt/X11/include/freetype2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /opt/X11/lib:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
CMAKE_FRAMEWORK_PATH: /usr/local/opt/python/Frameworks
PKG_CONFIG_PATH: /usr/local/opt/libyaml/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/ruby/lib/pkgconfig:/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/sqlite/lib/pkgconfig:/usr/local/opt/xz/lib/pkgconfig:/usr/local/opt/tcl-tk/lib/pkgconfig:/usr/local/opt/python/lib/pkgconfig:/usr/local/opt/lua/lib/pkgconfig:/usr/local/opt/luajit/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.11:/opt/X11/lib/pkgconfig:/opt/X11/share/pkgconfig
HOMEBREW_BUILD_FROM_SOURCE: 1
ACLOCAL_PATH: /usr/local/opt/gettext/share/aclocal:/usr/local/share/aclocal:/opt/X11/share/aclocal
PATH: /usr/local/opt/python/libexec/bin:/usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/local/opt/perl/bin:/usr/local/opt/openssl/bin:/usr/local/opt/ruby/bin:/usr/local/opt/gdbm/bin:/usr/local/opt/icu4c/bin:/usr/local/opt/sqlite/bin:/usr/local/opt/xz/bin:/usr/local/opt/tcl-tk/bin:/usr/local/opt/python/bin:/usr/local/opt/gettext/bin:/usr/local/opt/lua/bin:/usr/local/opt/luajit/bin:/opt/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: vim 8.1.0300 did not build
Logs:
     /Users/zadmin/Library/Logs/Homebrew/vim/00.options.out
     /Users/zadmin/Library/Logs/Homebrew/vim/01.configure
     /Users/zadmin/Library/Logs/Homebrew/vim/01.configure.cc
READ THIS: https://docs.brew.sh/Troubleshooting

Bisecting: 0 revisions left to test after this (roughly 0 steps)
[20001bbbdafd51ce94c9c40930582471f86fadc8] Handle the case when HOMEBREW_CC = cc
running /Users/zadmin/Documents/Development/tmp/Homebrew/Troubleshooting/Scripts/bisection_script.bash
==> Downloading https://homebrew.bintray.com/bottles-portable-ruby/portable-ruby-2.3.3_2.leopard_64.bottle.tar.gz
Already downloaded: /Users/zadmin/Library/Caches/Homebrew/portable-ruby-2.3.3_2.leopard_64.bottle.tar.gz
==> Pouring portable-ruby-2.3.3_2.leopard_64.bottle.tar.gz
/usr/bin/sandbox-exec -f /private/tmp/homebrew20180826-20867-1wy10x9.sb nice /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/bin/ruby -W0 -I /usr/local/Homebrew/Library/Homebrew:/usr/local/Homebrew/Library/Homebrew/cask/lib -- /usr/local/Homebrew/Library/Homebrew/build.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/vim.rb --verbose --with-client-server --with-gettext --with-lua --with-luajit --with-override-system-vi --with-tcl
==> Downloading https://github.com/vim/vim/archive/v8.1.0300.tar.gz
Already downloaded: /Users/zadmin/Library/Caches/Homebrew/vim-8.1.0300.tar.gz
==> Verifying vim-8.1.0300.tar.gz checksum
tar xf /Users/zadmin/Library/Caches/Homebrew/vim-8.1.0300.tar.gz -C /private/tmp/vim-20180826-20869-ha4b54
Error: Vim will not link against both Luajit & Lua simultaneously.
Proceeding with Lua.
==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0300/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-luainterp --enable-tclinterp --enable-python3interp --enable-gui=no --with-x --enable-luainterp --with-lua-prefix=/usr/local/opt/luajit
configure: creating cache auto/config.cache
checking whether make sets $(MAKE)... yes
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking for clang option to accept ISO C99... none needed
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for library containing strerror... none required
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for strip... strip
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking if the compiler supports trailing commas... yes
checking if the compiler supports C++ comments... yes
checking --enable-fail-if-missing argument... no
checking for clang version... 800000042
checking if clang supports -fno-strength-reduce... no
configure: checking for buggy tools...
- sh is 'GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin15)
Copyright (C) 2007 Free Software Foundation, Inc.' - probably OK.
checking for BeOS... no
checking for QNX... no
checking for Darwin (Mac OS X)... yes
checking --disable-darwin argument... no
checking if Darwin files are there... yes
checking --with-mac-arch argument... defaulting to current
checking --with-developer-dir argument... not present
checking for xcode-select... /usr/bin/xcode-select
checking for developer dir using xcode-select... /Applications/Xcode.app/Contents/Developer
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking Carbon/Carbon.h usability... yes
checking Carbon/Carbon.h presence... yes
checking for Carbon/Carbon.h... yes
checking AvailabilityMacros.h usability... yes
checking AvailabilityMacros.h presence... yes
checking for AvailabilityMacros.h... yes
checking --with-local-dir argument... Defaulting to /usr/local
checking --with-vim-name argument... Defaulting to vim
checking --with-ex-name argument... Defaulting to ex
checking --with-view-name argument... Defaulting to view
checking --with-global-runtime argument... no
checking --with-modified-by argument... no
checking if character set is EBCDIC... no
checking --disable-smack argument... no
checking linux/xattr.h usability... no
checking linux/xattr.h presence... no
checking for linux/xattr.h... no
checking --disable-selinux argument... no
checking for is_selinux_enabled in -lselinux... no
checking --with-features argument... Defaulting to huge
checking --with-compiledby argument... Homebrew
checking --disable-xsmp argument... no
checking --disable-xsmp-interact argument... no
checking --enable-luainterp argument... yes
checking --with-lua-prefix argument... /usr/local/opt/luajit
checking --with-luajit... no
checking for lua... /usr/local/opt/lua/bin/lua
checking Lua version... 5.3
checking if lua.h can be found in /usr/local/opt/luajit/include... no
checking if lua.h can be found in /usr/local/opt/luajit/include/lua5.3... no
checking --enable-mzschemeinterp argument... no
checking --enable-perlinterp argument... yes
checking for perl... /usr/local/opt/perl/bin/perl
checking Perl version... OK
checking if compile and link flags for Perl are sane... yes
checking --enable-pythoninterp argument... no
checking --enable-python3interp argument... yes
checking --with-python3-command argument... no
checking for python3... /usr/local/opt/python/bin/python3
checking Python version... 3.7
checking Python is 3.0 or better... yep
checking Python's abiflags... m
checking Python's install prefix... /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7
checking Python's execution prefix... /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7
checking Python's configuration directory... /usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/config-3.7m-darwin
checking Python3's dll name... Python.framework/Versions/3.7/Python
checking if -pthread should be used... no
checking if compile and link flags for Python 3 are sane... yes
checking if -fPIE can be added for Python3... yes
checking --enable-tclinterp argument... yes
checking --with-tclsh argument... no
checking for tclsh8.5... /usr/bin/tclsh8.5
checking Tcl version... 8.5 - OK
checking for location of Tcl include... /System/Library/Frameworks/Tcl.framework/Headers/tcl.h
checking for location of tclConfig.sh script... /System/Library/Frameworks/Tcl.framework/tclConfig.sh
checking --enable-rubyinterp argument... yes
checking --with-ruby-command argument... defaulting to ruby
checking for ruby... /usr/local/opt/ruby/bin/ruby
checking Ruby version... OK
checking Ruby rbconfig... RbConfig
checking Ruby header files... /usr/local/Cellar/ruby/2.5.1/include/ruby-2.5.0
checking --enable-cscope argument... yes
checking --enable-workshop argument... no
checking --disable-netbeans argument... no
checking --disable-channel argument... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking whether compiling with process communication is possible... yes
checking --enable-terminal argument... yes
checking --enable-autoservername argument... no
checking --enable-multibyte argument... yes
checking --enable-hangulinput argument... no
checking --enable-xim argument... defaulting to auto
checking --enable-fontset argument... no
checking for xmkmf... no
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking if X11 header files can be found... no
configure: error: could not configure X

==> Formula
Path: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/vim.rb
==> Configuration
HOMEBREW_VERSION: 1.6.14-5-g20001bb
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 20001bbbdafd51ce94c9c40930582471f86fadc8
Last commit: 6 weeks ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: ff315fb574cbdfd76606581b89073eef0e9b3474
Core tap last commit: 3 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_BUILD_FROM_SOURCE: 1
HOMEBREW_CASK_OPTS: --appdir=/Applications --prefpanedir=/Library/PreferencePanes --colorpickerdir=/Library/ColorPickers --dictionarydir=/Library/Dictionaries --servicedir=/Library/Services --qlplugindir=/Library/QuickLook --fontdir=/Library/Fonts --input_methoddir=/Library/Input\ Methods --screen_saverdir=/Library/Screen\ Savers --internet_plugindir=/Library/Internet\ Plug\-Ins
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_FORCE_BREWED_CURL: 1
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_UPDATE_TO_TAG: 1
CPU: dual-core 64-bit core2
Homebrew Ruby: 2.3.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/bin/ruby
Clang: 8.0 build 800
Git: 2.17.0 => /usr/local/bin/git
Curl: 7.60.0 => /usr/local/opt/curl/bin/curl
Java: 10.0.2
macOS: 10.11.6-x86_64
CLT: 8.2.0.0.1.1480973914
Xcode: 8.2.1
XQuartz: 2.7.11 => /opt/X11
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j2
CMAKE_PREFIX_PATH: /usr/local/opt/openssl:/usr/local/opt/readline:/usr/local/opt/icu4c:/usr/local/opt/sqlite:/usr/local/opt/tcl-tk:/usr/local/opt/gettext:/usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/opt/X11/include:/opt/X11/include/freetype2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /opt/X11/lib:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
CMAKE_FRAMEWORK_PATH: /usr/local/opt/python/Frameworks
PKG_CONFIG_PATH: /usr/local/opt/libyaml/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/ruby/lib/pkgconfig:/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/sqlite/lib/pkgconfig:/usr/local/opt/xz/lib/pkgconfig:/usr/local/opt/tcl-tk/lib/pkgconfig:/usr/local/opt/python/lib/pkgconfig:/usr/local/opt/lua/lib/pkgconfig:/usr/local/opt/luajit/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.11:/opt/X11/lib/pkgconfig:/opt/X11/share/pkgconfig
HOMEBREW_BUILD_FROM_SOURCE: 1
ACLOCAL_PATH: /usr/local/opt/gettext/share/aclocal:/usr/local/share/aclocal:/opt/X11/share/aclocal
PATH: /usr/local/opt/python/libexec/bin:/usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/local/opt/perl/bin:/usr/local/opt/openssl/bin:/usr/local/opt/ruby/bin:/usr/local/opt/gdbm/bin:/usr/local/opt/icu4c/bin:/usr/local/opt/sqlite/bin:/usr/local/opt/xz/bin:/usr/local/opt/tcl-tk/bin:/usr/local/opt/python/bin:/usr/local/opt/gettext/bin:/usr/local/opt/lua/bin:/usr/local/opt/luajit/bin:/opt/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: vim 8.1.0300 did not build
Logs:
     /Users/zadmin/Library/Logs/Homebrew/vim/00.options.out
     /Users/zadmin/Library/Logs/Homebrew/vim/01.configure
     /Users/zadmin/Library/Logs/Homebrew/vim/01.configure.cc
READ THIS: https://docs.brew.sh/Troubleshooting

20001bbbdafd51ce94c9c40930582471f86fadc8 is the first bad commit
commit 20001bbbdafd51ce94c9c40930582471f86fadc8
Author: Maxim Belkin <maxim.belkin@gmail.com>
Date:   Mon Jul 16 13:40:39 2018 -0500

    Handle the case when HOMEBREW_CC = cc

:040000 040000 6d5d52263444dbca74d030b9714bd87afff1d386 8ed54384e38cd3b9ebd2f9045c6d2b37fda5d957 M  Library
bisect run success
Bryces-HD-1-TB:Homebrew zadmin$ git bisect reset
Checking out files: 100% (481/481), done.
Previous HEAD position was 20001bbbd Handle the case when HOMEBREW_CC = cc
Switched to branch 'stable'
Bryces-HD-1-TB:Homebrew zadmin$ dirs -v
 0  /usr/local/Homebrew
 1  ~/Documents/Development/tmp/Homebrew/Troubleshooting/Scripts
 2  ~/Documents/Development/tmp/Homebrew/Package Installation Backups/vim
 3  ~
Bryces-HD-1-TB:Homebrew zadmin$ popd
~/Documents/Development/tmp/Homebrew/Troubleshooting/Scripts ~/Documents/Development/tmp/Homebrew/Package Installation Backups/vim ~
Bryces-HD-1-TB:Scripts zadmin$ popd
~/Documents/Development/tmp/Homebrew/Package Installation Backups/vim ~
Bryces-HD-1-TB:vim zadmin$ mv -v ./8.1.0202 "$(brew --cellar vim)/8.1.0202"
./8.1.0202 -> /usr/local/Cellar/vim/8.1.0202
Bryces-HD-1-TB:vim zadmin$ popd
~

See any mistakes there that could have thrown me and my tooling off? Oh, and I was only looking as far back as Homebrew v1.7.0 because "$(berw --cellar vim)/8.1.0202/INSTALL_RECEIPT.json" says, among other things, that '{"homebrew_version":"1.7.0",โ€ฆ}.')

P. S.:

     A brew upgrade-test command (like the existing brew update-test command, but for brew upgrade, naturally) would have simplified the above somewhat, but that's otherwise orthogonal to this issue. I'd implement it myself, but I'd just be bumbling my way about the brew codebase trying to hack something together with minimal Ruby-fu, so I'm going to punt for now.

javian commented 6 years ago

I noticed something now. You have checking for developer dir using xcode-select... /Applications/Xcode.app/Contents/Developer whereas I have checking for developer dir using xcode-select... /Library/Developer/CommandLineTools. I don't seem to have xcode (but I have CLT) installed at the moment - I wonder if that could cause an issue.

sirgatez commented 6 years ago

@javian I have both XCode and the CLT installed.

RandomDSdevel commented 6 years ago

@javian: As I recall, so do I.

javian commented 6 years ago

@sirgatez thanks for confirming that. I'll reopen the issue for now.

sirgatez commented 6 years ago

@javian .200 also built without issues

brew install vim --with-client-server --with-gettext --with-lua --with-python@2 --with-tcl -s ==> Downloading https://github.com/vim/vim/archive/v8.1.0200.tar.gz ==> Downloading from https://codeload.github.com/vim/vim/tar.gz/v8.1.0200 ######################################################################## 100.0% ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0200/shar ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0200 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0200: 1,837 files, 30.6MB, built in 1 minute 20 seconds

sirgatez commented 6 years ago

This new message shows when building vim. Nice ๐Ÿ‘ Although I think it should mention this appears to also include "Sierra, High Sierra", and seems to specifically appear to be related to the flag "--with-client-server".

I'll have some more testing to post shortly.

vim v8.1.0250 and v8.1.0300 Fail to Build From Source and Install Under OS X v10.11.6 'El Capitan' https://github.com/Homebrew/homebrew-core/issues/30949

sirgatez commented 6 years ago

โžœ Formula git:(master) โœ— for commit in $(git log --follow -- vim.rb | grep -B 5 'vim.8.1' | grep -i '^commit ' | sed 's/^[ \t]//;s/[ \t]*$//' | awk '{print $2}'); do brew update; brew remove vim; git checkout ${commit} vim.rb;vver="$(brew info vim | head -n 1)";echo "Building commit: ${commit} - ${vver}";brew install vim --with-client-server --with-gettext --with-lua --with-python@2 --with-tcl -s;if [[ $? != 0 ]]; then echo "ERROR: Commit ${commit} - ${vver} failed to build";else; echo "SUCCESS: Commit ${commit} - ${vver} built successfully";fi;done &> ${HOME}/Desktop/vim.log

Results: built with "brew install vim --with-client-server --with-gettext --with-lua --with-python@2 --with-tcl -s" 4 Errors 15 Success

โžœ ~ cat ~/Desktop/vim.log | grep '^ERROR: Commit|^SUCCESS: Commit' ERROR: Commit 4b9aa90e83182742e07b5ef018c379713a731877 - vim: stable 8.1.0300 (bottled), HEAD failed to build ERROR: Commit 7bcbfdd10ae5d7d9d9ad82517684675c3dd4c409 - vim: stable 8.1.0300 (bottled), HEAD failed to build ERROR: Commit e30be00671b8c1b43e70573ed9ca8bffa9b3105f - vim: stable 8.1.0250 (bottled), HEAD failed to build ERROR: Commit fdc655222d3c84a3dbd60431e5cd988a1ba483ec - vim: stable 8.1.0250 (bottled), HEAD failed to build SUCCESS: Commit 79e6fead47d85eb239cb1d10061bc79134e1b987 - vim: stable 8.1.0202 (bottled), HEAD built successfully SUCCESS: Commit adf79cbdd307e2b0c568a48c5d833dbee154882b - vim: stable 8.1.0202 (bottled), HEAD built successfully SUCCESS: Commit 7fbaaecc049793dfa50e0102e21e53fec714dc0a - vim: stable 8.1.0200 (bottled), HEAD built successfully SUCCESS: Commit 669147c5f6befa4f87e95be6e38d976f2e9d1b33 - vim: stable 8.1.0200 (bottled), HEAD built successfully SUCCESS: Commit 2eafaaa1a07b4f4b46fcf1996b9d48694188ff3e - vim: stable 8.1.0150 (bottled), HEAD built successfully SUCCESS: Commit b99670611c96adc5253015c1c578bae07c2d4e2a - vim: stable 8.1.0150 (bottled), HEAD built successfully SUCCESS: Commit 8f1592d8aaa9833e829b5ebc02093631ae748683 - vim: stable 8.1.0100 (bottled), HEAD built successfully SUCCESS: Commit 68fcc643e1e14eb03f61e89fb56be6168b1ccd37 - vim: stable 8.1.0100 (bottled), HEAD built successfully SUCCESS: Commit 9136c38c5c3a5e350dd1f9e8dc59bce65beeac1d - vim: stable 8.1.0100 (bottled), HEAD built successfully SUCCESS: Commit feaf042ef34736b3d02807911886f95fd0c126ba - vim: stable 8.1.0100 (bottled), HEAD built successfully SUCCESS: Commit ead1bc834aab43e66202fc01c9551423d14b1bbe - vim: stable 8.1.0050 (bottled), HEAD built successfully SUCCESS: Commit ac6a6fb3748b009463e94ce774082ad3dcb79835 - vim: stable 8.1.0050 (bottled), HEAD built successfully SUCCESS: Commit db3c9c7dfa6b70ab7798bf9f042b854b0a116c7e - vim: stable 8.1.0001 (bottled), HEAD built successfully SUCCESS: Commit 21b3233afd7f880612cbadfbc3f69d15d3d82f25 - vim: stable 8.1.0001 (bottled), HEAD built successfully SUCCESS: Commit 7767541b4c4c0c218a76feb6c73e39b21bd25600 - vim: stable 8.1.0001 (bottled), HEAD built successfully

Raw Logs:

Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0200... (1,837 files, 30.6MB) Building commit: 4b9aa90e83182742e07b5ef018c379713a731877 - vim: stable 8.1.0300 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0300.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0300.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0300/shar Last 15 lines from /Users/jbriefma/Library/Logs/Homebrew/vim/01.configure: checking --enable-terminal argument... yes checking --enable-autoservername argument... no checking --enable-multibyte argument... yes checking --enable-hangulinput argument... no checking --enable-xim argument... defaulting to auto checking --enable-fontset argument... no checking for xmkmf... no checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking if X11 header files can be found... no configure: error: could not configure X

READ THIS: https://docs.brew.sh/Troubleshooting

These open issues may also help: vim v8.1.0250 and v8.1.0300 Fail to Build From Source and Install Under OS X v10.11.6 'El Capitan' https://github.com/Homebrew/homebrew-core/issues/30949 ERROR: Commit 4b9aa90e83182742e07b5ef018c379713a731877 - vim: stable 8.1.0300 (bottled), HEAD failed to build Already up-to-date. Error: No such keg: /usr/local/Cellar/vim Building commit: 7bcbfdd10ae5d7d9d9ad82517684675c3dd4c409 - vim: stable 8.1.0300 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0300.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0300.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0300/shar Last 15 lines from /Users/jbriefma/Library/Logs/Homebrew/vim/01.configure: checking --enable-terminal argument... yes checking --enable-autoservername argument... no checking --enable-multibyte argument... yes checking --enable-hangulinput argument... no checking --enable-xim argument... defaulting to auto checking --enable-fontset argument... no checking for xmkmf... no checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking if X11 header files can be found... no configure: error: could not configure X

READ THIS: https://docs.brew.sh/Troubleshooting

These open issues may also help: vim v8.1.0250 and v8.1.0300 Fail to Build From Source and Install Under OS X v10.11.6 'El Capitan' https://github.com/Homebrew/homebrew-core/issues/30949 ERROR: Commit 7bcbfdd10ae5d7d9d9ad82517684675c3dd4c409 - vim: stable 8.1.0300 (bottled), HEAD failed to build Already up-to-date. Error: No such keg: /usr/local/Cellar/vim Building commit: e30be00671b8c1b43e70573ed9ca8bffa9b3105f - vim: stable 8.1.0250 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0250.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0250.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0250/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinter Last 15 lines from /Users/jbriefma/Library/Logs/Homebrew/vim/01.configure: checking --enable-terminal argument... yes checking --enable-autoservername argument... no checking --enable-multibyte argument... yes checking --enable-hangulinput argument... no checking --enable-xim argument... defaulting to auto checking --enable-fontset argument... no checking for xmkmf... no checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking if X11 header files can be found... no configure: error: could not configure X

READ THIS: https://docs.brew.sh/Troubleshooting

These open issues may also help: vim v8.1.0250 and v8.1.0300 Fail to Build From Source and Install Under OS X v10.11.6 'El Capitan' https://github.com/Homebrew/homebrew-core/issues/30949 ERROR: Commit e30be00671b8c1b43e70573ed9ca8bffa9b3105f - vim: stable 8.1.0250 (bottled), HEAD failed to build Already up-to-date. Error: No such keg: /usr/local/Cellar/vim Building commit: fdc655222d3c84a3dbd60431e5cd988a1ba483ec - vim: stable 8.1.0250 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0250.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0250.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0250/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinter Last 15 lines from /Users/jbriefma/Library/Logs/Homebrew/vim/01.configure: checking --enable-terminal argument... yes checking --enable-autoservername argument... no checking --enable-multibyte argument... yes checking --enable-hangulinput argument... no checking --enable-xim argument... defaulting to auto checking --enable-fontset argument... no checking for xmkmf... no checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking if X11 header files can be found... no configure: error: could not configure X

READ THIS: https://docs.brew.sh/Troubleshooting

These open issues may also help: vim v8.1.0250 and v8.1.0300 Fail to Build From Source and Install Under OS X v10.11.6 'El Capitan' https://github.com/Homebrew/homebrew-core/issues/30949 ERROR: Commit fdc655222d3c84a3dbd60431e5cd988a1ba483ec - vim: stable 8.1.0250 (bottled), HEAD failed to build Already up-to-date. Error: No such keg: /usr/local/Cellar/vim Building commit: 79e6fead47d85eb239cb1d10061bc79134e1b987 - vim: stable 8.1.0202 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0202.tar.gz ==> Downloading from https://codeload.github.com/vim/vim/tar.gz/v8.1.0202 ######################################################################## 100.0% ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0202/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinter ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0202 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0202: 1,837 files, 30.6MB, built in 1 minute 20 seconds SUCCESS: Commit 79e6fead47d85eb239cb1d10061bc79134e1b987 - vim: stable 8.1.0202 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0202... (1,837 files, 30.6MB) Building commit: adf79cbdd307e2b0c568a48c5d833dbee154882b - vim: stable 8.1.0202 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0202.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0202.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0202/shar ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0202 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0202: 1,837 files, 30.6MB, built in 1 minute 12 seconds SUCCESS: Commit adf79cbdd307e2b0c568a48c5d833dbee154882b - vim: stable 8.1.0202 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0202... (1,837 files, 30.6MB) Building commit: 7fbaaecc049793dfa50e0102e21e53fec714dc0a - vim: stable 8.1.0200 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0200.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0200.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0200/shar ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0200 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0200: 1,837 files, 30.6MB, built in 1 minute 9 seconds SUCCESS: Commit 7fbaaecc049793dfa50e0102e21e53fec714dc0a - vim: stable 8.1.0200 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0200... (1,837 files, 30.6MB) Building commit: 669147c5f6befa4f87e95be6e38d976f2e9d1b33 - vim: stable 8.1.0200 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0200.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0200.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0200/shar ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0200 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0200: 1,837 files, 30.6MB, built in 1 minute 9 seconds SUCCESS: Commit 669147c5f6befa4f87e95be6e38d976f2e9d1b33 - vim: stable 8.1.0200 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0200... (1,837 files, 30.6MB) Building commit: 2eafaaa1a07b4f4b46fcf1996b9d48694188ff3e - vim: stable 8.1.0150 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0150.tar.gz ==> Downloading from https://codeload.github.com/vim/vim/tar.gz/v8.1.0150 ######################################################################## 100.0% ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0150/shar ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0150 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0150: 1,790 files, 30.4MB, built in 1 minute 13 seconds SUCCESS: Commit 2eafaaa1a07b4f4b46fcf1996b9d48694188ff3e - vim: stable 8.1.0150 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0150... (1,790 files, 30.4MB) Building commit: b99670611c96adc5253015c1c578bae07c2d4e2a - vim: stable 8.1.0150 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0150.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0150.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0150/shar ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0150 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0150: 1,790 files, 30.4MB, built in 1 minute 11 seconds SUCCESS: Commit b99670611c96adc5253015c1c578bae07c2d4e2a - vim: stable 8.1.0150 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0150... (1,790 files, 30.4MB) Building commit: 8f1592d8aaa9833e829b5ebc02093631ae748683 - vim: stable 8.1.0100 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0100.tar.gz ==> Downloading from https://codeload.github.com/vim/vim/tar.gz/v8.1.0100 ######################################################################## 100.0% ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0100_2/sh ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0100_2 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0100_2: 1,787 files, 30.2MB, built in 1 minute 13 seconds SUCCESS: Commit 8f1592d8aaa9833e829b5ebc02093631ae748683 - vim: stable 8.1.0100 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0100_2... (1,787 files, 30.2MB) Building commit: 68fcc643e1e14eb03f61e89fb56be6168b1ccd37 - vim: stable 8.1.0100 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0100.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0100.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0100_1/sh ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0100_1 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0100_1: 1,787 files, 30.2MB, built in 1 minute 8 seconds SUCCESS: Commit 68fcc643e1e14eb03f61e89fb56be6168b1ccd37 - vim: stable 8.1.0100 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0100_1... (1,787 files, 30.2MB) Building commit: 9136c38c5c3a5e350dd1f9e8dc59bce65beeac1d - vim: stable 8.1.0100 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0100.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0100.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0100/shar ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0100 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0100: 1,787 files, 30.2MB, built in 1 minute 11 seconds SUCCESS: Commit 9136c38c5c3a5e350dd1f9e8dc59bce65beeac1d - vim: stable 8.1.0100 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0100... (1,787 files, 30.2MB) Building commit: feaf042ef34736b3d02807911886f95fd0c126ba - vim: stable 8.1.0100 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0100.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0100.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0100/shar ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0100 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0100: 1,787 files, 30.2MB, built in 1 minute 11 seconds SUCCESS: Commit feaf042ef34736b3d02807911886f95fd0c126ba - vim: stable 8.1.0100 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0100... (1,787 files, 30.2MB) Building commit: ead1bc834aab43e66202fc01c9551423d14b1bbe - vim: stable 8.1.0050 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0050.tar.gz ==> Downloading from https://codeload.github.com/vim/vim/tar.gz/v8.1.0050 ######################################################################## 100.0% ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0050/shar ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0050 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0050: 1,787 files, 30.1MB, built in 1 minute 16 seconds SUCCESS: Commit ead1bc834aab43e66202fc01c9551423d14b1bbe - vim: stable 8.1.0050 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0050... (1,787 files, 30.1MB) Building commit: ac6a6fb3748b009463e94ce774082ad3dcb79835 - vim: stable 8.1.0050 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0050.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0050.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0050/shar ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0050 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0050: 1,787 files, 30.1MB, built in 1 minute 16 seconds SUCCESS: Commit ac6a6fb3748b009463e94ce774082ad3dcb79835 - vim: stable 8.1.0050 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0050... (1,787 files, 30.1MB) Building commit: db3c9c7dfa6b70ab7798bf9f042b854b0a116c7e - vim: stable 8.1.0001 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0001.tar.gz ==> Downloading from https://codeload.github.com/vim/vim/tar.gz/v8.1.0001 ######################################################################## 100.0% ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0001/shar ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0001 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0001: 1,787 files, 30.1MB, built in 1 minute 13 seconds SUCCESS: Commit db3c9c7dfa6b70ab7798bf9f042b854b0a116c7e - vim: stable 8.1.0001 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0001... (1,787 files, 30.1MB) Building commit: 21b3233afd7f880612cbadfbc3f69d15d3d82f25 - vim: stable 8.1.0001 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0001.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0001.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0001/shar ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0001 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0001: 1,787 files, 30.1MB, built in 1 minute 8 seconds SUCCESS: Commit 21b3233afd7f880612cbadfbc3f69d15d3d82f25 - vim: stable 8.1.0001 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0001... (1,787 files, 30.1MB) Building commit: 7767541b4c4c0c218a76feb6c73e39b21bd25600 - vim: stable 8.1.0001 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0001.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0001.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0001/shar ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0001 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0001: 1,787 files, 30.1MB, built in 1 minute 9 seconds SUCCESS: Commit 7767541b4c4c0c218a76feb6c73e39b21bd25600 - vim: stable 8.1.0001 (bottled), HEAD built successfully

sirgatez commented 6 years ago

for commit in $(git log --follow -- vim.rb | grep -B 5 'vim.8.1' | grep -i '^commit ' | sed 's/^[ \t]//;s/[ \t]*$//' | awk '{print $2}'); do brew update; brew remove vim; git checkout ${commit} vim.rb;vver="$(brew info vim | head -n 1)";echo "Building commit: ${commit} - ${vver}";brew install vim --with-gettext --with-lua --with-python@2 --with-tcl -s;if [[ $? != 0 ]]; then echo "ERROR: Commit ${commit} - ${vver} failed to build";else; echo "SUCCESS: Commit ${commit} - ${vver} built successfully";fi;done &> ${HOME}/Desktop/vim2.log

Results: built with "brew install vim --with-gettext --with-lua --with-python@2 --with-tcl -s" 0 Errors 19 Success

โžœ ~ cat ~/Desktop/vim2.log | grep '^ERROR: Commit|^SUCCESS: Commit' SUCCESS: Commit 4b9aa90e83182742e07b5ef018c379713a731877 - vim: stable 8.1.0300 (bottled), HEAD built successfully SUCCESS: Commit 7bcbfdd10ae5d7d9d9ad82517684675c3dd4c409 - vim: stable 8.1.0300 (bottled), HEAD built successfully SUCCESS: Commit e30be00671b8c1b43e70573ed9ca8bffa9b3105f - vim: stable 8.1.0250 (bottled), HEAD built successfully SUCCESS: Commit fdc655222d3c84a3dbd60431e5cd988a1ba483ec - vim: stable 8.1.0250 (bottled), HEAD built successfully SUCCESS: Commit 79e6fead47d85eb239cb1d10061bc79134e1b987 - vim: stable 8.1.0202 (bottled), HEAD built successfully SUCCESS: Commit adf79cbdd307e2b0c568a48c5d833dbee154882b - vim: stable 8.1.0202 (bottled), HEAD built successfully SUCCESS: Commit 7fbaaecc049793dfa50e0102e21e53fec714dc0a - vim: stable 8.1.0200 (bottled), HEAD built successfully SUCCESS: Commit 669147c5f6befa4f87e95be6e38d976f2e9d1b33 - vim: stable 8.1.0200 (bottled), HEAD built successfully SUCCESS: Commit 2eafaaa1a07b4f4b46fcf1996b9d48694188ff3e - vim: stable 8.1.0150 (bottled), HEAD built successfully SUCCESS: Commit b99670611c96adc5253015c1c578bae07c2d4e2a - vim: stable 8.1.0150 (bottled), HEAD built successfully SUCCESS: Commit 8f1592d8aaa9833e829b5ebc02093631ae748683 - vim: stable 8.1.0100 (bottled), HEAD built successfully SUCCESS: Commit 68fcc643e1e14eb03f61e89fb56be6168b1ccd37 - vim: stable 8.1.0100 (bottled), HEAD built successfully SUCCESS: Commit 9136c38c5c3a5e350dd1f9e8dc59bce65beeac1d - vim: stable 8.1.0100 (bottled), HEAD built successfully SUCCESS: Commit feaf042ef34736b3d02807911886f95fd0c126ba - vim: stable 8.1.0100 (bottled), HEAD built successfully SUCCESS: Commit ead1bc834aab43e66202fc01c9551423d14b1bbe - vim: stable 8.1.0050 (bottled), HEAD built successfully SUCCESS: Commit ac6a6fb3748b009463e94ce774082ad3dcb79835 - vim: stable 8.1.0050 (bottled), HEAD built successfully SUCCESS: Commit db3c9c7dfa6b70ab7798bf9f042b854b0a116c7e - vim: stable 8.1.0001 (bottled), HEAD built successfully SUCCESS: Commit 21b3233afd7f880612cbadfbc3f69d15d3d82f25 - vim: stable 8.1.0001 (bottled), HEAD built successfully SUCCESS: Commit 7767541b4c4c0c218a76feb6c73e39b21bd25600 - vim: stable 8.1.0001 (bottled), HEAD built successfully

Raw Logs:

Already up-to-date. Error: No such keg: /usr/local/Cellar/vim Building commit: 4b9aa90e83182742e07b5ef018c379713a731877 - vim: stable 8.1.0300 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0300.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0300.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0300/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-luainterp --enable-pythoninterp --enable-tclinterp --enable-gui=no --without-x --enable-luainterp --with-lua-prefix=/usr/local/opt/lua ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0300 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0300: 1,832 files, 30.6MB, built in 1 minute 10 seconds SUCCESS: Commit 4b9aa90e83182742e07b5ef018c379713a731877 - vim: stable 8.1.0300 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0300... (1,832 files, 30.6MB) Building commit: 7bcbfdd10ae5d7d9d9ad82517684675c3dd4c409 - vim: stable 8.1.0300 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0300.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0300.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0300/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-luainterp --enable-pythoninterp --enable-tclinterp --enable-gui=no --without-x --enable-luainterp --with-lua-prefix=/usr/local/opt/lua ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0300 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0300: 1,832 files, 30.6MB, built in 1 minute 9 seconds SUCCESS: Commit 7bcbfdd10ae5d7d9d9ad82517684675c3dd4c409 - vim: stable 8.1.0300 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0300... (1,832 files, 30.6MB) Building commit: e30be00671b8c1b43e70573ed9ca8bffa9b3105f - vim: stable 8.1.0250 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0250.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0250.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0250/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-luainterp --enable-pythoninterp --enable-tclinterp --enable-gui=no --without-x --enable-luainterp --with-lua-prefix=/usr/local/opt/lua ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0250 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0250: 1,832 files, 30.6MB, built in 1 minute 14 seconds SUCCESS: Commit e30be00671b8c1b43e70573ed9ca8bffa9b3105f - vim: stable 8.1.0250 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0250... (1,832 files, 30.6MB) Building commit: fdc655222d3c84a3dbd60431e5cd988a1ba483ec - vim: stable 8.1.0250 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0250.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0250.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0250/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-luainterp --enable-pythoninterp --enable-tclinterp --enable-gui=no --without-x --enable-luainterp --with-lua-prefix=/usr/local/opt/lua ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0250 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0250: 1,832 files, 30.6MB, built in 1 minute 12 seconds SUCCESS: Commit fdc655222d3c84a3dbd60431e5cd988a1ba483ec - vim: stable 8.1.0250 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0250... (1,832 files, 30.6MB) Building commit: 79e6fead47d85eb239cb1d10061bc79134e1b987 - vim: stable 8.1.0202 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0202.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0202.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0202/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-luainterp --enable-pythoninterp --enable-tclinterp --enable-gui=no --without-x --enable-luainterp --with-lua-prefix=/usr/local/opt/lua ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0202 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0202: 1,837 files, 30.6MB, built in 1 minute 7 seconds SUCCESS: Commit 79e6fead47d85eb239cb1d10061bc79134e1b987 - vim: stable 8.1.0202 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0202... (1,837 files, 30.6MB) Building commit: adf79cbdd307e2b0c568a48c5d833dbee154882b - vim: stable 8.1.0202 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0202.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0202.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0202/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-luainterp --enable-pythoninterp --enable-tclinterp --enable-gui=no --without-x --enable-luainterp --with-lua-prefix=/usr/local/opt/lua ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0202 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0202: 1,837 files, 30.6MB, built in 1 minute 11 seconds SUCCESS: Commit adf79cbdd307e2b0c568a48c5d833dbee154882b - vim: stable 8.1.0202 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0202... (1,837 files, 30.6MB) Building commit: 7fbaaecc049793dfa50e0102e21e53fec714dc0a - vim: stable 8.1.0200 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0200.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0200.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0200/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-luainterp --enable-pythoninterp --enable-tclinterp --enable-gui=no --without-x --enable-luainterp --with-lua-prefix=/usr/local/opt/lua ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0200 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0200: 1,837 files, 30.6MB, built in 1 minute 9 seconds SUCCESS: Commit 7fbaaecc049793dfa50e0102e21e53fec714dc0a - vim: stable 8.1.0200 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0200... (1,837 files, 30.6MB) Building commit: 669147c5f6befa4f87e95be6e38d976f2e9d1b33 - vim: stable 8.1.0200 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0200.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0200.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0200/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-luainterp --enable-pythoninterp --enable-tclinterp --enable-gui=no --without-x --enable-luainterp --with-lua-prefix=/usr/local/opt/lua ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0200 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0200: 1,837 files, 30.6MB, built in 1 minute 11 seconds SUCCESS: Commit 669147c5f6befa4f87e95be6e38d976f2e9d1b33 - vim: stable 8.1.0200 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0200... (1,837 files, 30.6MB) Building commit: 2eafaaa1a07b4f4b46fcf1996b9d48694188ff3e - vim: stable 8.1.0150 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0150.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0150.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0150/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-luainterp --enable-pythoninterp --enable-tclinterp --enable-gui=no --without-x --enable-luainterp --with-lua-prefix=/usr/local/opt/lua ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0150 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0150: 1,790 files, 30.4MB, built in 1 minute 9 seconds SUCCESS: Commit 2eafaaa1a07b4f4b46fcf1996b9d48694188ff3e - vim: stable 8.1.0150 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0150... (1,790 files, 30.4MB) Building commit: b99670611c96adc5253015c1c578bae07c2d4e2a - vim: stable 8.1.0150 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0150.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0150.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0150/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-luainterp --enable-pythoninterp --enable-tclinterp --enable-gui=no --without-x --enable-luainterp --with-lua-prefix=/usr/local/opt/lua ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0150 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0150: 1,790 files, 30.4MB, built in 1 minute 12 seconds SUCCESS: Commit b99670611c96adc5253015c1c578bae07c2d4e2a - vim: stable 8.1.0150 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0150... (1,790 files, 30.4MB) Building commit: 8f1592d8aaa9833e829b5ebc02093631ae748683 - vim: stable 8.1.0100 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0100.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0100.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0100_2/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-luainterp --enable-pythoninterp --enable-tclinterp --enable-gui=no --without-x --enable-luainterp --with-lua-prefix=/usr/local/opt/lua ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0100_2 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0100_2: 1,787 files, 30.2MB, built in 1 minute 11 seconds SUCCESS: Commit 8f1592d8aaa9833e829b5ebc02093631ae748683 - vim: stable 8.1.0100 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0100_2... (1,787 files, 30.2MB) Building commit: 68fcc643e1e14eb03f61e89fb56be6168b1ccd37 - vim: stable 8.1.0100 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0100.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0100.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0100_1/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-luainterp --enable-pythoninterp --enable-tclinterp --enable-gui=no --without-x --enable-luainterp --with-lua-prefix=/usr/local/opt/lua ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0100_1 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0100_1: 1,787 files, 30.2MB, built in 1 minute 15 seconds SUCCESS: Commit 68fcc643e1e14eb03f61e89fb56be6168b1ccd37 - vim: stable 8.1.0100 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0100_1... (1,787 files, 30.2MB) Building commit: 9136c38c5c3a5e350dd1f9e8dc59bce65beeac1d - vim: stable 8.1.0100 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0100.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0100.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0100/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-luainterp --enable-pythoninterp --enable-tclinterp --enable-gui=no --without-x --enable-luainterp --with-lua-prefix=/usr/local/opt/lua ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0100 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0100: 1,787 files, 30.2MB, built in 1 minute 9 seconds SUCCESS: Commit 9136c38c5c3a5e350dd1f9e8dc59bce65beeac1d - vim: stable 8.1.0100 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0100... (1,787 files, 30.2MB) Building commit: feaf042ef34736b3d02807911886f95fd0c126ba - vim: stable 8.1.0100 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0100.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0100.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0100/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-luainterp --enable-pythoninterp --enable-tclinterp --enable-gui=no --without-x --enable-luainterp --with-lua-prefix=/usr/local/opt/lua ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0100 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0100: 1,787 files, 30.2MB, built in 1 minute 13 seconds SUCCESS: Commit feaf042ef34736b3d02807911886f95fd0c126ba - vim: stable 8.1.0100 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0100... (1,787 files, 30.2MB) Building commit: ead1bc834aab43e66202fc01c9551423d14b1bbe - vim: stable 8.1.0050 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0050.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0050.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0050/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-luainterp --enable-pythoninterp --enable-tclinterp --enable-gui=no --without-x --enable-luainterp --with-lua-prefix=/usr/local/opt/lua ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0050 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0050: 1,787 files, 30.1MB, built in 1 minute 13 seconds SUCCESS: Commit ead1bc834aab43e66202fc01c9551423d14b1bbe - vim: stable 8.1.0050 (bottled), HEAD built successfully Updated 1 tap (homebrew/cask). No changes to formulae. Uninstalling /usr/local/Cellar/vim/8.1.0050... (1,787 files, 30.1MB) Building commit: ac6a6fb3748b009463e94ce774082ad3dcb79835 - vim: stable 8.1.0050 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0050.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0050.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0050/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-luainterp --enable-pythoninterp --enable-tclinterp --enable-gui=no --without-x --enable-luainterp --with-lua-prefix=/usr/local/opt/lua ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0050 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0050: 1,787 files, 30.1MB, built in 1 minute 11 seconds SUCCESS: Commit ac6a6fb3748b009463e94ce774082ad3dcb79835 - vim: stable 8.1.0050 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0050... (1,787 files, 30.1MB) Building commit: db3c9c7dfa6b70ab7798bf9f042b854b0a116c7e - vim: stable 8.1.0001 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0001.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0001.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0001/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-luainterp --enable-pythoninterp --enable-tclinterp --enable-gui=no --without-x --enable-luainterp --with-lua-prefix=/usr/local/opt/lua ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0001 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0001: 1,787 files, 30.1MB, built in 1 minute 7 seconds SUCCESS: Commit db3c9c7dfa6b70ab7798bf9f042b854b0a116c7e - vim: stable 8.1.0001 (bottled), HEAD built successfully To restore the stashed changes to /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core run: 'cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core && git stash pop' Updated 1 tap (homebrew/core). No changes to formulae. Uninstalling /usr/local/Cellar/vim/8.1.0001... (1,787 files, 30.1MB) Building commit: 21b3233afd7f880612cbadfbc3f69d15d3d82f25 - vim: stable 8.1.0001 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0001.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0001.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0001/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-luainterp --enable-pythoninterp --enable-tclinterp --enable-gui=no --without-x --enable-luainterp ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0001 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0001: 1,787 files, 30.1MB, built in 1 minute 9 seconds SUCCESS: Commit 21b3233afd7f880612cbadfbc3f69d15d3d82f25 - vim: stable 8.1.0001 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0001... (1,787 files, 30.1MB) Building commit: 7767541b4c4c0c218a76feb6c73e39b21bd25600 - vim: stable 8.1.0001 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0001.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0001.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0001/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-luainterp --enable-pythoninterp --enable-tclinterp --enable-gui=no --without-x --enable-luainterp ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0001 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0001: 1,787 files, 30.1MB, built in 1 minute 6 seconds SUCCESS: Commit 7767541b4c4c0c218a76feb6c73e39b21bd25600 - vim: stable 8.1.0001 (bottled), HEAD built successfully

sirgatez commented 6 years ago

for commit in $(git log --follow -- vim.rb | grep -B 5 'vim.8.1' | grep -i '^commit ' | sed 's/^[ \t]//;s/[ \t]*$//' | awk '{print $2}' | head -n 4); do brew update; brew remove vim; git checkout ${commit} vim.rb;vver="$(brew info vim | head -n 1)";echo "Building commit: ${commit} - ${vver}";brew install vim --with-client-server -s;if [[ $? != 0 ]]; then echo "ERROR: Commit ${commit} - ${vver} failed to build";else; echo "SUCCESS: Commit ${commit} - ${vver} built successfully";fi;done &> ${HOME}/Desktop/vim3.log

Results: built with "brew install vim --with-client-server -s" 4 Errors 0 Success

โžœ ~ cat ~/Desktop/vim3.log | grep '^ERROR: Commit|^SUCCESS: Commit' ERROR: Commit 4b9aa90e83182742e07b5ef018c379713a731877 - vim: stable 8.1.0300 (bottled), HEAD failed to build ERROR: Commit 7bcbfdd10ae5d7d9d9ad82517684675c3dd4c409 - vim: stable 8.1.0300 (bottled), HEAD failed to build ERROR: Commit e30be00671b8c1b43e70573ed9ca8bffa9b3105f - vim: stable 8.1.0250 (bottled), HEAD failed to build ERROR: Commit fdc655222d3c84a3dbd60431e5cd988a1ba483ec - vim: stable 8.1.0250 (bottled), HEAD failed to build

Raw Logs:

To restore the stashed changes to /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core run: 'cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core && git stash pop' Updated 1 tap (homebrew/core). No changes to formulae. Uninstalling /usr/local/Cellar/vim/8.1.0001... (1,787 files, 30.1MB) Building commit: 4b9aa90e83182742e07b5ef018c379713a731877 - vim: stable 8.1.0300 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0300.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0300.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0300/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-python3interp --disable-nls --enable-gui=no --with-x Last 15 lines from /Users/jbriefma/Library/Logs/Homebrew/vim/01.configure: checking --enable-terminal argument... yes checking --enable-autoservername argument... no checking --enable-multibyte argument... yes checking --enable-hangulinput argument... no checking --enable-xim argument... defaulting to auto checking --enable-fontset argument... no checking for xmkmf... no checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking if X11 header files can be found... no configure: error: could not configure X

READ THIS: https://docs.brew.sh/Troubleshooting

These open issues may also help: vim v8.1.0250 and v8.1.0300 Fail to Build From Source and Install Under OS X v10.11.6 'El Capitan' https://github.com/Homebrew/homebrew-core/issues/30949 ERROR: Commit 4b9aa90e83182742e07b5ef018c379713a731877 - vim: stable 8.1.0300 (bottled), HEAD failed to build Already up-to-date. Error: No such keg: /usr/local/Cellar/vim Building commit: 7bcbfdd10ae5d7d9d9ad82517684675c3dd4c409 - vim: stable 8.1.0300 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0300.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0300.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0300/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-python3interp --disable-nls --enable-gui=no --with-x Last 15 lines from /Users/jbriefma/Library/Logs/Homebrew/vim/01.configure: checking --enable-terminal argument... yes checking --enable-autoservername argument... no checking --enable-multibyte argument... yes checking --enable-hangulinput argument... no checking --enable-xim argument... defaulting to auto checking --enable-fontset argument... no checking for xmkmf... no checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking if X11 header files can be found... no configure: error: could not configure X

READ THIS: https://docs.brew.sh/Troubleshooting

These open issues may also help: vim v8.1.0250 and v8.1.0300 Fail to Build From Source and Install Under OS X v10.11.6 'El Capitan' https://github.com/Homebrew/homebrew-core/issues/30949 ERROR: Commit 7bcbfdd10ae5d7d9d9ad82517684675c3dd4c409 - vim: stable 8.1.0300 (bottled), HEAD failed to build Already up-to-date. Error: No such keg: /usr/local/Cellar/vim Building commit: e30be00671b8c1b43e70573ed9ca8bffa9b3105f - vim: stable 8.1.0250 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0250.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0250.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0250/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-python3interp --disable-nls --enable-gui=no --with-x Last 15 lines from /Users/jbriefma/Library/Logs/Homebrew/vim/01.configure: checking --enable-terminal argument... yes checking --enable-autoservername argument... no checking --enable-multibyte argument... yes checking --enable-hangulinput argument... no checking --enable-xim argument... defaulting to auto checking --enable-fontset argument... no checking for xmkmf... no checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking if X11 header files can be found... no configure: error: could not configure X

READ THIS: https://docs.brew.sh/Troubleshooting

These open issues may also help: vim v8.1.0250 and v8.1.0300 Fail to Build From Source and Install Under OS X v10.11.6 'El Capitan' https://github.com/Homebrew/homebrew-core/issues/30949 ERROR: Commit e30be00671b8c1b43e70573ed9ca8bffa9b3105f - vim: stable 8.1.0250 (bottled), HEAD failed to build Already up-to-date. Error: No such keg: /usr/local/Cellar/vim Building commit: fdc655222d3c84a3dbd60431e5cd988a1ba483ec - vim: stable 8.1.0250 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0250.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0250.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0250/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-python3interp --disable-nls --enable-gui=no --with-x Last 15 lines from /Users/jbriefma/Library/Logs/Homebrew/vim/01.configure: checking --enable-terminal argument... yes checking --enable-autoservername argument... no checking --enable-multibyte argument... yes checking --enable-hangulinput argument... no checking --enable-xim argument... defaulting to auto checking --enable-fontset argument... no checking for xmkmf... no checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking if X11 header files can be found... no configure: error: could not configure X

READ THIS: https://docs.brew.sh/Troubleshooting

These open issues may also help: vim v8.1.0250 and v8.1.0300 Fail to Build From Source and Install Under OS X v10.11.6 'El Capitan' https://github.com/Homebrew/homebrew-core/issues/30949 ERROR: Commit fdc655222d3c84a3dbd60431e5cd988a1ba483ec - vim: stable 8.1.0250 (bottled), HEAD failed to build

sirgatez commented 6 years ago

for commit in $(git log --follow -- vim.rb | grep -B 5 'vim.8.1' | grep -i '^commit ' | sed 's/^[ \t]//;s/[ \t]*$//' | awk '{print $2}' | head -n 4); do brew update; brew remove vim; git checkout ${commit} vim.rb;vver="$(brew info vim | head -n 1)";echo "Building commit: ${commit} - ${vver}";brew install vim -s;if [[ $? != 0 ]]; then echo "ERROR: Commit ${commit} - ${vver} failed to build";else; echo "SUCCESS: Commit ${commit} - ${vver} built successfully";fi;done &> ${HOME}/Desktop/vim3.log

Results: built with "brew install vim -s" 0 Errors 4 Success

โžœ ~ cat ~/Desktop/vim4.log | grep '^ERROR: Commit|^SUCCESS: Commit' SUCCESS: Commit 4b9aa90e83182742e07b5ef018c379713a731877 - vim: stable 8.1.0300 (bottled), HEAD built successfully SUCCESS: Commit 7bcbfdd10ae5d7d9d9ad82517684675c3dd4c409 - vim: stable 8.1.0300 (bottled), HEAD built successfully SUCCESS: Commit e30be00671b8c1b43e70573ed9ca8bffa9b3105f - vim: stable 8.1.0250 (bottled), HEAD built successfully SUCCESS: Commit fdc655222d3c84a3dbd60431e5cd988a1ba483ec - vim: stable 8.1.0250 (bottled), HEAD built successfully

Raw Logs:

Already up-to-date. Error: No such keg: /usr/local/Cellar/vim Building commit: 4b9aa90e83182742e07b5ef018c379713a731877 - vim: stable 8.1.0300 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0300.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0300.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0300/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-python3interp --disable-nls --enable-gui=no --without-x ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0300 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0300: 1,438 files, 23.4MB, built in 1 minute 4 seconds SUCCESS: Commit 4b9aa90e83182742e07b5ef018c379713a731877 - vim: stable 8.1.0300 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0300... (1,438 files, 23.4MB) Building commit: 7bcbfdd10ae5d7d9d9ad82517684675c3dd4c409 - vim: stable 8.1.0300 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0300.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0300.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0300/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-python3interp --disable-nls --enable-gui=no --without-x ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0300 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0300: 1,438 files, 23.4MB, built in 1 minute 4 seconds SUCCESS: Commit 7bcbfdd10ae5d7d9d9ad82517684675c3dd4c409 - vim: stable 8.1.0300 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0300... (1,438 files, 23.4MB) Building commit: e30be00671b8c1b43e70573ed9ca8bffa9b3105f - vim: stable 8.1.0250 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0250.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0250.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0250/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-python3interp --disable-nls --enable-gui=no --without-x ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0250 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0250: 1,438 files, 23.4MB, built in 1 minute 4 seconds SUCCESS: Commit e30be00671b8c1b43e70573ed9ca8bffa9b3105f - vim: stable 8.1.0250 (bottled), HEAD built successfully Already up-to-date. Uninstalling /usr/local/Cellar/vim/8.1.0250... (1,438 files, 23.4MB) Building commit: fdc655222d3c84a3dbd60431e5cd988a1ba483ec - vim: stable 8.1.0250 (bottled), HEAD ==> Downloading https://github.com/vim/vim/archive/v8.1.0250.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0250.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0250/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --enable-terminal --with-compiledby=Homebrew --enable-perlinterp --enable-rubyinterp --enable-python3interp --disable-nls --enable-gui=no --without-x ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0250 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0250: 1,438 files, 23.4MB, built in 1 minute 6 seconds SUCCESS: Commit fdc655222d3c84a3dbd60431e5cd988a1ba483ec - vim: stable 8.1.0250 (bottled), HEAD built successfully

sirgatez commented 6 years ago

It also builds just fine without X

if build.with? "client-server"

opts << "--with-x" # I commented X out.

else
  opts << "--without-x"
end

โžœ Formula git:(master) โœ— brew remove vim;brew install vim --with-client-server --with-gettext --with-lua --with-python@2 --with-tcl Error: No such keg: /usr/local/Cellar/vim Updating Homebrew... ==> Auto-updated Homebrew! Updated 1 tap (homebrew/cask). No changes to formulae.

==> Downloading https://github.com/vim/vim/archive/v8.1.0300.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0300.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0300/shar ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0300 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0300: 1,832 files, 30.6MB, built in 1 minute 11 seconds

sirgatez commented 6 years ago

Seems to work fine if I tell configure where to find X11 includes and libs. if build.with? "client-server" opts << "--with-x" "--x-includes=/opt/X11/include" "--x-libraries=/opt/X11/lib" else opts << "--without-x" end

โžœ Formula git:(master) โœ— brew edit vim Editing /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/vim.rb โžœ Formula git:(master) โœ— brew remove vim;brew install vim --with-client-server --with-gettext --with-lua --with-python@2 --with-tcl Error: No such keg: /usr/local/Cellar/vim ==> Downloading https://github.com/vim/vim/archive/v8.1.0300.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0300.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0300/shar ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0300 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0300: 1,832 files, 30.6MB, built in 1 minute 10 seconds

sirgatez commented 6 years ago

Same if I just tell configure where to find X11 includes. But not the libs. if build.with? "client-server" opts << "--with-x" "--x-includes=/opt/X11/include" else opts << "--without-x" end

โžœ Formula git:(master) โœ— brew edit vim Editing /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/vim.rb โžœ Formula git:(master) โœ— brew remove vim;brew install vim --with-client-server --with-gettext --with-lua --with-python@2 --with-tcl Uninstalling /usr/local/Cellar/vim/8.1.0300... (1,832 files, 30.6MB) ==> Downloading https://github.com/vim/vim/archive/v8.1.0300.tar.gz Already downloaded: /Users/jbriefma/Library/Caches/Homebrew/vim--8.1.0300.tar.gz ==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/8.1.0300/shar ==> make ==> make install prefix=/usr/local/Cellar/vim/8.1.0300 STRIP=/usr/bin/true ๐Ÿบ /usr/local/Cellar/vim/8.1.0300: 1,832 files, 30.6MB, built in 1 minute 9 seconds

sirgatez commented 6 years ago

Seems we at least have a mitigation in place now.

I suspect if the issue may reside in the autoconf configuration used to build configure.

sirgatez commented 6 years ago

Interesting https://github.com/vim/vim/blob/master/src/configure.ac:256

dnl If Carbon is found, assume we don't want X11
dnl unless it was specifically asked for (--with-x)
dnl or Motif, Athena or GTK GUI is used.
AC_CHECK_HEADER(Carbon/Carbon.h, CARBON=yes)
if test "x$CARBON" = "xyes"; then
  if test -z "$with_x" -a "X$enable_gui" != Xmotif -a "X$enable_gui" != Xathena -a "X$enable_gui" != Xgtk2 -a "X$enable_gui" != Xgtk3; then
with_x=no
  fi
fi

fi

sirgatez commented 6 years ago

The files it's looking for seem to exist: https://github.com/vim/vim/blob/master/src/configure.ac:2207

dnl Check if the X11 header files are correctly installed. On some systems dnl Xlib.h includes files that don't exist. On some systems X11/Intrinsic.h dnl is missing. AC_MSG_CHECKING(if X11 header files can be found) cflags_save=$CFLAGS CFLAGS="$CFLAGS $X_CFLAGS" AC_TRY_COMPILE([#include <X11/Xlib.h>

include <X11/Intrinsic.h>], ,

AC_MSG_RESULT(yes),
AC_MSG_RESULT(no); no_x=yes)

CFLAGS=$cflags_save

โžœ ~ ls /opt/X11/include/X11/XLib.h /opt/X11/include/X11/XLib.h โžœ ~ ls /opt/X11/include/X11/Intrinsic.h /opt/X11/include/X11/Intrinsic.h

sirgatez commented 6 years ago

https://github.com/vim/vim/blob/master/src/configure.ac:2837 if test -z "$SKIP_MOTIF"; then gui_XXX="/usr/XXX/Motif /usr/Motif/XXX /usr/XXX /usr/shlib /usr/X11/XXX /usr/XXX/X11 /usr/dt/XXX /local/Motif/XXX /local/XXX/Motif /usr/local/Motif/XXX /usr/local/XXX/Motif /usr/local/XXX /usr/local/X11/XXX /usr/local/LessTif/Motif/XXX $MOTIFHOME/XXX"

No references to /opt that I could find anywhere.

But locally usr seems to map X11 to opt anyway.

โžœ ~ ls -la /usr total 0 drwxr-xr-x@ 12 root wheel 384 Jul 24 16:53 . drwxr-xr-x 33 root wheel 1056 Jul 26 10:06 .. lrwxr-xr-x 1 root wheel 8 Jul 24 16:53 X11 -> /opt/X11 lrwxr-xr-x 1 root wheel 8 Jul 24 16:53 X11R6 -> /opt/X11

DomT4 commented 6 years ago
Seems to work fine if I tell configure where to find X11 includes and libs.
if build.with? "client-server"
opts << "--with-x" "--x-includes=/opt/X11/include" "--x-libraries=/opt/X11/lib"
else
opts << "--without-x"
end

If this works consistently I don't see any reason we wouldn't accept a PR doing this. You'd want to use #{MacOS::X11.include} and #{MacOS::X11.lib} rather than directly passing /opt though.