{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/30949","repository_url":"https://api.github.com/repos/Homebrew/homebrew-core","labels_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/30949/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/30949/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/30949/events","html_url":"https://github.com/Homebrew/homebrew-core/issues/30949","id":349307152,"node_id":"MDU6SXNzdWUzNDkzMDcxNTI=","number":30949,"title":"`vim` v8.1.0250 and v8.1.0300 Fail to Build From Source and Install Under OS X v10.11.6 'El Capitan'","user":{"login":"RandomDSdevel","id":7728575,"node_id":"MDQ6VXNlcjc3Mjg1NzU=","avatar_url":"https://avatars1.githubusercontent.com/u/7728575?v=4","gravatar_id":"","url":"https://api.github.com/users/RandomDSdevel","html_url":"https://github.com/RandomDSdevel","followers_url":"https://api.github.com/users/RandomDSdevel/followers","following_url":"https://api.github.com/users/RandomDSdevel/following{/other_user}","gists_url":"https://api.github.com/users/RandomDSdevel/gists{/gist_id}","starred_url":"https://api.github.com/users/RandomDSdevel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RandomDSdevel/subscriptions","organizations_url":"https://api.github.com/users/RandomDSdevel/orgs","repos_url":"https://api.github.com/users/RandomDSdevel/repos","events_url":"https://api.github.com/users/RandomDSdevel/events{/privacy}","received_events_url":"https://api.github.com/users/RandomDSdevel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":23,"created_at":"2018-08-09T22:02:57Z","updated_at":"2018-08-25T22:54:42Z","closed_at":"2018-08-18T18:02:19Z","author_association":"CONTRIBUTOR","body":"**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.**\r\n\r\nPlease always confirm that you:  \r\n\r\n- [x] are reporting a bug others will be able to reproduce and not asking a question.  If you're not sure or want to ask a question, do so on our Discourse:  https://discourse.brew.sh.  \r\n- [x] have a problem with `brew install`ing (or `upgrade`ing or `reinstall`ing) a single, official formula (not cask?)  If it's a general `brew` problem, please file this issue at Homebrew/brew:  https://github.com/Homebrew/brew/issues/new/choose.  If it's a `brew cask` problem, please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose.  If it's a tap&thinsp;—&thinsp;e.g. Homebrew/homebrew-php&thinsp;—&thinsp;problem, please file this issue at the tap.  \r\n- [x] ran `brew update` and can still reproduce the problem?  \r\n- [x] ran `brew doctor`, fixed all issues, and can still reproduce the problem?  \r\n- [ ] ~~ran `brew gist-logs <formula>` (where `<formula>` is the name of the formula that failed) and included the output link?~~  (N/A; see the next checklist item.)  \r\n- [x] if `brew gist-logs` didn't work: (or wasn't applicable) ran `brew config` and `brew doctor` and included their output with your issue?  \r\n\r\nTo help us debug your issue please explain:  \r\n\r\n- What you were trying to do (and why:)  \r\n\r\n   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Upgrade my local, built-from-source copy of `vim` from v8.1.0202 to v8.1.0250 in the course of going through my normal routine of keeping all of my software tools up to date.  \r\n\r\n- What happened (include command output:)  \r\n\r\n   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Homebrew failed to upgrade `vim` from v8.1.0202 to v8.1.0250.  My logs are:  \r\n\r\n   * [here](https://gitlab.com/RandomDSdevel/Homebrew-Installation-Logs/tree/master/vim/v8.1.0250/Recorded%20Attempts/First%20Recorded%20Attempt/With%20%60HOMEBREW_BUILD_FROM_SOURCE=1%60) (from when I _did_ set `HOMEBREW_BUILD_FROM_SOURCE=1`.)  \r\n   * [here](https://gitlab.com/RandomDSdevel/Homebrew-Installation-Logs/tree/master/vim/v8.1.0250/Recorded%20Attempts/First%20Recorded%20Attempt/With%20%60HOMEBREW_BUILD_FROM_SOURCE%60%20Undefined) (from when I _didn't._)  \r\n\r\n   In both cases, the exact point of failure appeared as follows:  \r\n\r\n   ```\r\n   ⋮\r\n   checking for xmkmf... no\r\n   checking for X... libraries , headers \r\n   checking for gethostbyname... yes\r\n   checking for connect... yes\r\n   checking for remove... yes\r\n   checking for shmat... yes\r\n   checking for IceConnectionNumber in -lICE... yes\r\n   checking if X11 header files can be found... no\r\n   configure: error: could not configure X\r\n   /usr/local/Homebrew/Library/Homebrew/debrew.rb:11:in `raise'\r\n   BuildError: Failed executing: ./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-tclinterp --enable-python3interp --enable-gui=no --with-x --enable-luainterp --with-lua-prefix=/usr/local/opt/luajit\r\n   1. raise\r\n   2. ignore\r\n   3. backtrace\r\n   4. irb\r\n   5. shell\r\n   Choose an action: 1\r\n   ⋮\r\n   ```\r\n\r\n   This appears to be due to Homebrew's `vim` build failing the check added in vim/vim@d2a0549 for X11's exported headers and internal libraries.  \r\n\r\n- What you expected to happen:  \r\n\r\n   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For Homebrew to successfully build the new version of `vim` from source and install it in the old version's place.  \r\n\r\n- Step-by-step reproduction instructions (by running `brew` commands:)  \r\n\r\n   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Given that I originally installed `vim` on my machine `--with-client-server`, `--with-gettext`, `--with-lua`, `--with-luajit`, `--with-override-system-vi`, and `--with-tcl` in both/either of the following cases:  \r\n\r\n   * _With_ `HOMEBREW_BUILD_FROM_SOURCE=1` (not supported with issue resolution:)  \r\n\r\n      ```\r\n      HOMEBREW_BUILD_FROM_SOURCE=1 brew upgrade -vd --build-from-source --cleanup vim\r\n      ```\r\n\r\n      (Note that setting that environment variable as shown above _probably_, as usual and would be expected, doesn't make any difference with respect to this issue, as upgrading `vim` would not depend on upgrading any of its dependencies since they're all already up to date, but, as usual, I typically set this anyway just for consistency's sake.)  \r\n\r\n   * _Without_ `HOMEBREW_BUILD_FROM_SOURCE=1` (given to show that this issue also occurs under a _supported_ configuration:)  \r\n\r\n      ```\r\n      brew upgrade -vd --build-from-source --cleanup vim\r\n      ```\r\n\r\nFirst 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…?)  \r\n\r\nCC @brammool, @nuko8\r\n\r\nAddendum:  Also reproduced with `vim` v8.1.0300, per a comment [below]().  "},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/comments/416001649","html_url":"https://github.com/Homebrew/homebrew-core/issues/30949#issuecomment-416001649","issue_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/30949","id":416001649,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjAwMTY0OQ==","user":{"login":"sirgatez","id":491513,"node_id":"MDQ6VXNlcjQ5MTUxMw==","avatar_url":"https://avatars2.githubusercontent.com/u/491513?v=4","gravatar_id":"","url":"https://api.github.com/users/sirgatez","html_url":"https://github.com/sirgatez","followers_url":"https://api.github.com/users/sirgatez/followers","following_url":"https://api.github.com/users/sirgatez/following{/other_user}","gists_url":"https://api.github.com/users/sirgatez/gists{/gist_id}","starred_url":"https://api.github.com/users/sirgatez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirgatez/subscriptions","organizations_url":"https://api.github.com/users/sirgatez/orgs","repos_url":"https://api.github.com/users/sirgatez/repos","events_url":"https://api.github.com/users/sirgatez/events{/privacy}","received_events_url":"https://api.github.com/users/sirgatez/received_events","type":"User","site_admin":false},"created_at":"2018-08-25T22:54:42Z","updated_at":"2018-08-25T22:54:42Z","author_association":"NONE","body":"Attempting to brew against --HEAD also fails with the same error.\r\n\r\nbrew reinstall vim --with-gettext --with-lua --with-python@2 --with-tcl --HEAD\r\n==> Reinstalling vim --with-gettext --with-client-server --with-python\r\n==> Cloning https://github.com/vim/vim.git\r\nCloning into '/Users/jbriefma/Library/Caches/Homebrew/vim--git'...\r\n==> Checking out branch master\r\nAlready on 'master'\r\nYour branch is up to date with 'origin/master'.\r\nError: Vim will not link against both Luajit & Lua simultaneously.\r\nProceeding with Lua.\r\n==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/HEAD-0529583/\r\nLast 15 lines from /Users/jbriefma/Library/Logs/Homebrew/vim/01.configure:\r\nchecking --enable-terminal argument... yes\r\nchecking --enable-autoservername argument... no\r\nchecking --enable-multibyte argument... yes\r\nchecking --enable-hangulinput argument... no\r\nchecking --enable-xim argument... defaulting to auto\r\nchecking --enable-fontset argument... no\r\nchecking for xmkmf... no\r\nchecking for X... libraries , headers\r\nchecking for gethostbyname... yes\r\nchecking for connect... yes\r\nchecking for remove... yes\r\nchecking for shmat... yes\r\nchecking for IceConnectionNumber in -lICE... yes\r\nchecking if X11 header files can be found... no\r\nconfigure: error: could not configure X\r\n\r\nREAD THIS: https://docs.brew.sh/Troubleshooting"}}
{"actor":{"display_login":"sirgatez"}}