{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/47260","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/47260/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/47260/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/47260/events","html_url":"https://github.com/Homebrew/homebrew/issues/47260","id":123529102,"number":47260,"title":"depends_on \"opam\" breaks superenv path","user":{"login":"aw1621107","id":566572,"avatar_url":"https://avatars.githubusercontent.com/u/566572?v=3","gravatar_id":"","url":"https://api.github.com/users/aw1621107","html_url":"https://github.com/aw1621107","followers_url":"https://api.github.com/users/aw1621107/followers","following_url":"https://api.github.com/users/aw1621107/following{/other_user}","gists_url":"https://api.github.com/users/aw1621107/gists{/gist_id}","starred_url":"https://api.github.com/users/aw1621107/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aw1621107/subscriptions","organizations_url":"https://api.github.com/users/aw1621107/orgs","repos_url":"https://api.github.com/users/aw1621107/repos","events_url":"https://api.github.com/users/aw1621107/events{/privacy}","received_events_url":"https://api.github.com/users/aw1621107/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-12-22T18:04:02Z","updated_at":"2016-01-17T21:27:50Z","closed_at":null,"body":"This is with a different version of llvm.rb that should be going into a PR sometime soonish. You can find the diff [here](https://github.com/aw1621107/homebrew/commit/dbc21a69a8ad4f499d68c9031665c12a56ed04cb)\r\n\r\nRunning `brew install llvm --HEAD --debug`, dropping into a shell once the CMake config has started, and running `echo $PATH` gives me this:\r\n```\r\nbash-4.3$ echo $PATH\r\n/usr/local/Library/ENV/4.3:/usr/local/opt/cmake/bin:/usr/local/opt/git/bin:/usr/bin:/bin:/usr/sbin:/sbin\r\n```\r\n\r\nDoing the same but adding `--with-ocaml` produces this result:\r\n```\r\nbash-4.3$ echo $PATH\r\n/Users/awang/.opam/4.02.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/TeX/texbin:/usr/local/Library/Taps/caskroom/homebrew-cask/cmd:/usr/local/Library/Taps/homebrew/homebrew-command-not-found/cmd:/usr/local/Library/ENV/scm:/opt/X11/bin\r\n```\r\n\r\nMy regular PATH is:\r\n```\r\n/Users/awang/.opam/4.02.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/TeX/texbin\r\n```\r\n\r\nWhat am I doing wrong that results in an altered PATH at install time? This doesn't happen if I use the formula on master.\r\n\r\nUnfortunately, this can have visible effects on the build. At the very least, `--with-compiler-rt` doesn't build a lot of the runtime libraries if `--with-ocaml` is also present."},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/172384941","html_url":"https://github.com/Homebrew/homebrew/issues/47260#issuecomment-172384941","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/47260","id":172384941,"user":{"login":"mikemcquaid","id":125011,"avatar_url":"https://avatars.githubusercontent.com/u/125011?v=3","gravatar_id":"","url":"https://api.github.com/users/mikemcquaid","html_url":"https://github.com/mikemcquaid","followers_url":"https://api.github.com/users/mikemcquaid/followers","following_url":"https://api.github.com/users/mikemcquaid/following{/other_user}","gists_url":"https://api.github.com/users/mikemcquaid/gists{/gist_id}","starred_url":"https://api.github.com/users/mikemcquaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikemcquaid/subscriptions","organizations_url":"https://api.github.com/users/mikemcquaid/orgs","repos_url":"https://api.github.com/users/mikemcquaid/repos","events_url":"https://api.github.com/users/mikemcquaid/events{/privacy}","received_events_url":"https://api.github.com/users/mikemcquaid/received_events","type":"User","site_admin":true},"created_at":"2016-01-17T21:27:50Z","updated_at":"2016-01-17T21:27:50Z","body":"Yeh, the `scons` is the issue then, thanks for digging in. We could see if it's been updated sufficiently to allow it to be used with superenv again."}}