{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/50206","repository_url":"https://api.github.com/repos/Homebrew/homebrew","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/50206/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/50206/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/50206/events","html_url":"https://github.com/Homebrew/homebrew/issues/50206","id":141646710,"number":50206,"title":"macvim fails to build on 10.11 with pyenv","user":{"login":"rtgibbons","id":8000,"avatar_url":"https://avatars.githubusercontent.com/u/8000?v=3","gravatar_id":"","url":"https://api.github.com/users/rtgibbons","html_url":"https://github.com/rtgibbons","followers_url":"https://api.github.com/users/rtgibbons/followers","following_url":"https://api.github.com/users/rtgibbons/following{/other_user}","gists_url":"https://api.github.com/users/rtgibbons/gists{/gist_id}","starred_url":"https://api.github.com/users/rtgibbons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtgibbons/subscriptions","organizations_url":"https://api.github.com/users/rtgibbons/orgs","repos_url":"https://api.github.com/users/rtgibbons/repos","events_url":"https://api.github.com/users/rtgibbons/events{/privacy}","received_events_url":"https://api.github.com/users/rtgibbons/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-03-17T17:12:02Z","updated_at":"2016-03-30T02:54:57Z","closed_at":null,"body":"Macvim seems to be failing to install with pyenv, removing all references to the shims allowed it to install - brew gist-logs wasn't working so here is the relevant info I believe. I'm sure this is obvious to some, but not sure if it's worth/possible to fix the formula to either build against the default python of pyenv or ignore it and use the system.\r\n\r\nI have no issue building against the ruby rbenv.\r\n\r\n## Failure installs\r\n\r\n**PATH**\r\n\r\n```\r\n/Users/rtgibbons/bin:/usr/local/opt/go/bin:node_modules/.bin:/Users/rtgibbons/.nodenv/shims:/Users/rtgibbons/.nodenv/bin:/Users/rtgibbons/.rbenv/shims:/Users/rtgibbons/.pyenv/bin:/usr/local/Cellar/pyenv-virtualenv/20160202/shims:/usr/local/Cellar/pyenv/20160310/libexec:/Users/rtgibbons/.pyenv/shims:/usr/local/opt/php56/bin:/Users/rtgibbons/.dotfiles/scripts:bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin\r\n```\r\n\r\n**brew upgrade macvim**\r\n\r\n```\r\n==> Upgrading 1 outdated package, with result:\r\nmacvim 7.4-99\r\n==> Upgrading macvim\r\n==> Downloading https://github.com/macvim-dev/macvim/archive/snapshot-99.tar.gz\r\nAlready downloaded: /Library/Caches/Homebrew/macvim-7.4-99.tar.gz\r\n==> ./configure --with-features=huge --enable-multibyte --with-macarchs=x86_64 --enable-perlinterp --enable-rubyinterp --enable-tclinterp --with-tlib=ncurses --with-comp\r\nLast 15 lines from /Users/rtgibbons/Library/Logs/Homebrew/macvim/01.configure:\r\n--enable-rubyinterp\r\n--enable-tclinterp\r\n--with-tlib=ncurses\r\n--with-compiledby=Homebrew\r\n--with-local-dir=/usr/local\r\n--enable-cscope\r\n--enable-pythoninterp\r\n\r\nconfigure: creating cache auto/config.cache\r\nchecking whether make sets $(MAKE)... yes\r\nchecking for gcc... clang\r\nchecking whether the C compiler works... no\r\nconfigure: error: in `/private/tmp/macvim20160317-72140-1fzbj4d/macvim-snapshot-99/src':\r\nconfigure: error: C compiler cannot create executables\r\nSee `config.log' for more details\r\n```\r\n\r\n**brew doctor**\r\n\r\n```\r\nPlease note that these warnings are just used to help the Homebrew maintainers\r\nwith debugging if you file an issue. If everything you use Homebrew for is\r\nworking fine: please don't worry and just ignore them. Thanks!\r\n\r\nWarning: \"config\" scripts exist outside your system or Homebrew directories.\r\n`./configure` scripts often look for *-config scripts to determine if\r\nsoftware packages are installed, and what additional flags to use when\r\ncompiling and linking.\r\n\r\nHaving additional scripts in your path can confuse software installed via\r\nHomebrew if the config script overrides a system or Homebrew provided\r\nscript of the same name. We found the following \"config\" scripts:\r\n    /Users/rtgibbons/.pyenv/shims/python-config\r\n    /Users/rtgibbons/.pyenv/shims/python2-config\r\n    /Users/rtgibbons/.pyenv/shims/python2.7-config\r\n    /Users/rtgibbons/.pyenv/shims/python3-config\r\n    /Users/rtgibbons/.pyenv/shims/python3.5-config\r\n    /Users/rtgibbons/.pyenv/shims/python3.5m-config\r\n\r\nWarning: Putting non-prefixed findutils in your path can cause python builds to fail.\r\n\r\nWarning: /Library/Frameworks/libcurl.framework detected\r\nThis can be picked up by CMake's build system and likely cause the build to\r\nfail. You may need to move this file out of the way to compile CMake.\r\n\r\nWarning: You have unlinked kegs in your Cellar\r\nLeaving kegs unlinked can lead to build-trouble and cause brews that depend on\r\nthose kegs to fail to run properly once built. Run `brew link` on these:\r\n    mono\r\n\r\nWarning: You have a curlrc file\r\nIf you have trouble downloading packages with Homebrew, then maybe this\r\nis the problem? If the following command doesn't work, then try removing\r\nyour curlrc:\r\n  curl https://github.com\r\n```\r\n\r\n## Working builds\r\n\r\n**PATH**\r\n\r\n```\r\n/Users/rtgibbons/bin:/usr/local/opt/go/bin:node_modules/.bin:/Users/rtgibbons/.nodenv/shims:/Users/rtgibbons/.nodenv/bin:/Users/rtgibbons/.rbenv/shims:/usr/local/opt/php56/bin:/Users/rtgibbons/.dotfiles/scripts:bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin\r\n```\r\n\r\n**brew install macvim --with-override-system-vim**\r\n\r\n```\r\n==> Downloading https://github.com/macvim-dev/macvim/archive/snapshot-99.tar.gz\r\nAlready downloaded: /Library/Caches/Homebrew/macvim-7.4-99.tar.gz\r\n==> ./configure --with-features=huge --enable-multibyte --with-macarchs=x86_64 --enable-perlinterp --enable-rubyinterp --enable-tclinterp --with-tlib=ncurses --with-comp\r\n==> make\r\n==> Caveats\r\n.app bundles were installed.\r\nRun `brew linkapps macvim` to symlink these to /Applications.\r\n==> Summary\r\n🍺  /usr/local/Cellar/macvim/7.4-99: 2,068 files, 32.7M, built in 44 seconds\r\n```\r\n\r\n**brew doctor**\r\n\r\n```\r\nPlease note that these warnings are just used to help the Homebrew maintainers\r\nwith debugging if you file an issue. If everything you use Homebrew for is\r\nworking fine: please don't worry and just ignore them. Thanks!\r\n\r\nWarning: Putting non-prefixed findutils in your path can cause python builds to fail.\r\n\r\nWarning: /Library/Frameworks/libcurl.framework detected\r\nThis can be picked up by CMake's build system and likely cause the build to\r\nfail. You may need to move this file out of the way to compile CMake.\r\n\r\nWarning: You have unlinked kegs in your Cellar\r\nLeaving kegs unlinked can lead to build-trouble and cause brews that depend on\r\nthose kegs to fail to run properly once built. Run `brew link` on these:\r\n    mono\r\n\r\nWarning: You have a curlrc file\r\nIf you have trouble downloading packages with Homebrew, then maybe this\r\nis the problem? If the following command doesn't work, then try removing\r\nyour curlrc:\r\n  curl https://github.com\r\n```"},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/203216158","html_url":"https://github.com/Homebrew/homebrew/issues/50206#issuecomment-203216158","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/50206","id":203216158,"user":{"login":"rtgibbons","id":8000,"avatar_url":"https://avatars.githubusercontent.com/u/8000?v=3","gravatar_id":"","url":"https://api.github.com/users/rtgibbons","html_url":"https://github.com/rtgibbons","followers_url":"https://api.github.com/users/rtgibbons/followers","following_url":"https://api.github.com/users/rtgibbons/following{/other_user}","gists_url":"https://api.github.com/users/rtgibbons/gists{/gist_id}","starred_url":"https://api.github.com/users/rtgibbons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtgibbons/subscriptions","organizations_url":"https://api.github.com/users/rtgibbons/orgs","repos_url":"https://api.github.com/users/rtgibbons/repos","events_url":"https://api.github.com/users/rtgibbons/events{/privacy}","received_events_url":"https://api.github.com/users/rtgibbons/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T02:54:56Z","updated_at":"2016-03-30T02:54:56Z","body":"Got `brew gist-logs` to work, here is the output when trying to install macvim, not sure if it'll help or not but thought i'd provide it.\r\n\r\nhttps://gist.github.com/rtgibbons/e1f3010a78108f9a0379fc5e9eb55b01"}}