{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/1824","labels_url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/1824/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/1824/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/1824/events","html_url":"https://github.com/Homebrew/homebrew-science/issues/1824","id":57527312,"number":1824,"title":"Opencv --devel Patching Issue","user":{"login":"cyburgee","id":5669821,"avatar_url":"https://avatars.githubusercontent.com/u/5669821?v=3","gravatar_id":"","url":"https://api.github.com/users/cyburgee","html_url":"https://github.com/cyburgee","followers_url":"https://api.github.com/users/cyburgee/followers","following_url":"https://api.github.com/users/cyburgee/following{/other_user}","gists_url":"https://api.github.com/users/cyburgee/gists{/gist_id}","starred_url":"https://api.github.com/users/cyburgee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyburgee/subscriptions","organizations_url":"https://api.github.com/users/cyburgee/orgs","repos_url":"https://api.github.com/users/cyburgee/repos","events_url":"https://api.github.com/users/cyburgee/events{/privacy}","received_events_url":"https://api.github.com/users/cyburgee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-12T22:08:45Z","updated_at":"2015-02-12T23:22:44Z","closed_at":null,"body":"installing the opencv development version 3.0.0-beta isn't working for me on Yosemite. It fails on the patching step.\r\n\r\nHere's my console output:\r\n```bash\r\nCollins-MacBook-Pro-Refresh:~ ceburger$ brew install opencv --with-ffmpeg --devel -vd\r\n/usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Taps/homebrew/homebrew-science/opencv.rb\r\n==> Installing opencv from homebrew/homebrew-science\r\n/usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/cmake.rb\r\n/usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/xz.rb\r\n/usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/eigen.rb\r\n/usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/jpeg.rb\r\n/usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/libpng.rb\r\n/usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/libtiff.rb\r\n/usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/openexr.rb\r\n/usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/pkg-config.rb\r\n/usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/ilmbase.rb\r\n/usr/local/Library/brew.rb (Formulary::TapLoader): loading /usr/local/Library/Taps/homebrew/homebrew-python/numpy.rb\r\n/usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/ffmpeg.rb\r\n/usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/texi2html.rb\r\n/usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/yasm.rb\r\n/usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/x264.rb\r\n/usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/lame.rb\r\n/usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/libvo-aacenc.rb\r\n/usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/xvid.rb\r\n/usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/libass.rb\r\n/usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/freetype.rb\r\n/usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/fribidi.rb\r\n/usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/fontconfig.rb\r\n/usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/webp.rb\r\n/usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/giflib.rb\r\n/usr/local/Library/Homebrew/build.rb (Formulary::FromPathLoader): loading /usr/local/Library/Taps/homebrew/homebrew-science/opencv.rb\r\n/usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/eigen.rb\r\n/usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/jpeg.rb\r\n/usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/libpng.rb\r\n/usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/libtiff.rb\r\n/usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/openexr.rb\r\n/usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/ilmbase.rb\r\n/usr/local/Library/Homebrew/build.rb (Formulary::TapLoader): loading /usr/local/Library/Taps/homebrew/homebrew-python/numpy.rb\r\n/usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/ffmpeg.rb\r\n/usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/x264.rb\r\n/usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/lame.rb\r\n/usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/libvo-aacenc.rb\r\n/usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/xvid.rb\r\n/usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/libass.rb\r\n/usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/freetype.rb\r\n/usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/fribidi.rb\r\n/usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/fontconfig.rb\r\n/usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/webp.rb\r\n/usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/giflib.rb\r\n/usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/cmake.rb\r\n/usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/xz.rb\r\n/usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/pkg-config.rb\r\n/usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/texi2html.rb\r\n/usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/yasm.rb\r\n/usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/python.rb\r\n/usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/gcc.rb\r\n==> Using Homebrew-provided fortran compiler.\r\nThis may be changed by setting the FC environment variable.\r\n==> Downloading https://github.com/Itseez/opencv/archive/3.0.0-beta.tar.gz\r\nAlready downloaded: /Library/Caches/Homebrew/opencv-3.0.0-beta.tar.gz\r\n==> Verifying opencv-3.0.0-beta.tar.gz checksum\r\ntar xf /Library/Caches/Homebrew/opencv-3.0.0-beta.tar.gz\r\n==> Patching\r\npatching file CMakeLists.txt\r\nHunk #1 FAILED at 135.\r\n1 out of 1 hunk FAILED -- saving rejects to file CMakeLists.txt.rej\r\n/usr/local/Library/Homebrew/debrew.rb:11:in `raise'\r\nErrorDuringExecution: Failure while executing: /usr/bin/patch -g 0 -f -p1\r\n```\r\n\r\nAfter the ignoring the error, the installations seems to continue normally besides a warning that the opencv dependency gcc was build with a different c++ standard. That might be my issue"},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/comments/74175389","html_url":"https://github.com/Homebrew/homebrew-science/issues/1824#issuecomment-74175389","issue_url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/1824","id":74175389,"user":{"login":"saketkc","id":682153,"avatar_url":"https://avatars.githubusercontent.com/u/682153?v=3","gravatar_id":"","url":"https://api.github.com/users/saketkc","html_url":"https://github.com/saketkc","followers_url":"https://api.github.com/users/saketkc/followers","following_url":"https://api.github.com/users/saketkc/following{/other_user}","gists_url":"https://api.github.com/users/saketkc/gists{/gist_id}","starred_url":"https://api.github.com/users/saketkc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saketkc/subscriptions","organizations_url":"https://api.github.com/users/saketkc/orgs","repos_url":"https://api.github.com/users/saketkc/repos","events_url":"https://api.github.com/users/saketkc/events{/privacy}","received_events_url":"https://api.github.com/users/saketkc/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T23:22:44Z","updated_at":"2015-02-12T23:22:44Z","body":"I have tried to handle the `patch` related fix in https://github.com/Homebrew/homebrew-science/pull/1813\r\nHowever the python bindings do not build properly for devel."}}