{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/45284","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/45284/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/45284/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/45284/events","html_url":"https://github.com/Homebrew/homebrew/issues/45284","id":113113665,"number":45284,"title":"QT 5.5.1 Failing to Build on Mac OS X 10.7.5","user":{"login":"dagoodma","id":764216,"avatar_url":"https://avatars.githubusercontent.com/u/764216?v=3","gravatar_id":"","url":"https://api.github.com/users/dagoodma","html_url":"https://github.com/dagoodma","followers_url":"https://api.github.com/users/dagoodma/followers","following_url":"https://api.github.com/users/dagoodma/following{/other_user}","gists_url":"https://api.github.com/users/dagoodma/gists{/gist_id}","starred_url":"https://api.github.com/users/dagoodma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dagoodma/subscriptions","organizations_url":"https://api.github.com/users/dagoodma/orgs","repos_url":"https://api.github.com/users/dagoodma/repos","events_url":"https://api.github.com/users/dagoodma/events{/privacy}","received_events_url":"https://api.github.com/users/dagoodma/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Homebrew/homebrew/labels/10.7","name":"10.7","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-10-23T22:56:58Z","updated_at":"2015-11-12T13:35:58Z","closed_at":null,"body":"Hello,\r\n\r\nI am trying to upgrade Qt 5.3.2 on Mac OS X 10.7.5 to Qt 5.5.1. The build fails after a few hours in. Here's the output:\r\n\r\n    $ brew install qt5 --with-developer\r\n    ==> Downloading https://download.qt.io/official_releases/qt/5.5/5.5.1/single/qt-everywhere-opensource-src-5.5.1.tar.xz\r\n    Already downloaded: /Library/Caches/Homebrew/qt5-5.5.1.tar.xz\r\n    ==> Downloading https://raw.githubusercontent.com/Homebrew/patches/2fcc1f8ec1df1c90785f4fa6632cebac68772fa9/qt5/el-capitan-2.dif\r\n    Already downloaded: /Library/Caches/Homebrew/qt5--patch-b8f04efd047eeed7cfd15b029ece20b5fe3c0960b74f7a5cb98bd36475463227.diff\r\n    ==> Downloading https://gist.githubusercontent.com/UniqMartin/a54542d666be1983dc83/raw/f235dfb418c3d0d086c3baae520d538bae0b1c70/\r\n    Already downloaded: /Library/Caches/Homebrew/qt5--patch-e31df5d0c5f8a9e738823299cb6ed5f5951314a28d4a4f9f021f423963038432.patch\r\n    ==> Patching\r\n    patching file qtwebengine/src/3rdparty/chromium/chrome/installer/mac/third_party/bsdiff/goobsdiff.gyp\r\n    patching file qtwebengine/src/3rdparty/chromium/content/content_browser.gypi\r\n    patching file qtwebengine/src/3rdparty/chromium/net/net.gyp\r\n    patching file qtwebengine/src/3rdparty/chromium/printing/printing.gyp\r\n    patching file qtwebengine/src/3rdparty/chromium/sandbox/mac/sandbox_mac.gypi\r\n    patching file qtwebengine/src/3rdparty/chromium/third_party/ffmpeg/ffmpeg.gyp\r\n    patching file qtwebengine/src/3rdparty/chromium/third_party/libxml/libxml.gyp\r\n    patching file qtwebengine/src/3rdparty/chromium/third_party/skia/gyp/zlib.gyp\r\n    patching file qtwebengine/src/3rdparty/chromium/third_party/sqlite/sqlite.gyp\r\n    patching file qtwebengine/src/3rdparty/chromium/tools/gyp/pylib/gyp/generator/xcode.py\r\n    patch unexpectedly ends in middle of line\r\n    Hunk #1 succeeded at 88 with fuzz 2.\r\n    patching file qtbase/qmake/generators/makefile.cpp\r\n    ==> ./configure -prefix /usr/local/Cellar/qt5/5.5.1 -release -opensource -confirm-license -system-zlib -qt-libpng -qt-libjpeg -n\r\n    ==> make\r\n    Last 15 lines from /Users/dagoodma/Library/Logs/Homebrew/qt5/02.make:\r\n    inline _LIBCPP_INLINE_VISIBILITY const char* strchr(const char* __s, int __c) {return ::strchr(__s, __c);}\r\n                                                 ^\r\n    1 error generated.\r\n    Makefile.WebCore.Target:70261: recipe for target '.obj/platform/network/MIMESniffing.o' failed\r\n    make[3]: *** [.obj/platform/network/MIMESniffing.o] Error 1\r\n    make[3]: *** Waiting for unfinished jobs....\r\n    make[3]: Leaving directory '/private/tmp/qt520151023-46934-h365yy/qt-everywhere-opensource-src-5.5.1/qtwebkit/Source/WebCore'\r\n    Makefile.WebCore:68: recipe for target 'sub-Target-pri-make_first-ordered' failed\r\n    make[2]: *** [sub-Target-pri-make_first-ordered] Error 2\r\n    make[2]: Leaving directory '/private/tmp/qt520151023-46934-h365yy/qt-everywhere-opensource-src-5.5.1/qtwebkit/Source/WebCore'\r\n    Makefile:222: recipe for target 'sub-Source-WebCore-WebCore-pro-make_first-ordered' failed\r\n    make[1]: *** [sub-Source-WebCore-WebCore-pro-make_first-ordered] Error 2\r\n    make[1]: Leaving directory '/private/tmp/qt520151023-46934-h365yy/qt-everywhere-opensource-src-5.5.1/qtwebkit'\r\n    Makefile:490: recipe for target 'module-qtwebkit-make_first' failed\r\n    make: *** [module-qtwebkit-make_first] Error 2\r\n\r\n    READ THIS: https://git.io/brew-troubleshooting\r\n\r\n    These open issues may also help:\r\n    qt5 5.5.0 errors in macdeployqt https://github.com/Homebrew/homebrew/issues/42191\r\n    qt5: formula improvements & 5.5.1 version bump preparations https://github.com/Homebrew/homebrew/issues/44998\r\n    qt5: not working properly when installed from within Travis CI https://github.com/Homebrew/homebrew/issues/44446\r\n    qscintilla2 fails to build on 10.11: sip files generating qt5 API, but only qt4 installed https://github.com/Homebrew/homebrew/issues/41464\r\n    qt5 (5.5.0) failed to build on OSX 10.10.4 https://github.com/Homebrew/homebrew/issues/42217\r\n    Cannot build software that depends on Qt5 on CLT-only systems https://github.com/Homebrew/homebrew/issues/32431\r\n\r\nPreviously I installed Qt 5.3.2 with homebrew without a problem. I don't think I specified --with-developer though. I see that issue #42217 is about errors when building --with-docs. I don't know if that's related, but I'll reference it here anyways."},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/156104193","html_url":"https://github.com/Homebrew/homebrew/issues/45284#issuecomment-156104193","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/45284","id":156104193,"user":{"login":"uliano","id":5848744,"avatar_url":"https://avatars.githubusercontent.com/u/5848744?v=3","gravatar_id":"","url":"https://api.github.com/users/uliano","html_url":"https://github.com/uliano","followers_url":"https://api.github.com/users/uliano/followers","following_url":"https://api.github.com/users/uliano/following{/other_user}","gists_url":"https://api.github.com/users/uliano/gists{/gist_id}","starred_url":"https://api.github.com/users/uliano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uliano/subscriptions","organizations_url":"https://api.github.com/users/uliano/orgs","repos_url":"https://api.github.com/users/uliano/repos","events_url":"https://api.github.com/users/uliano/events{/privacy}","received_events_url":"https://api.github.com/users/uliano/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T13:35:58Z","updated_at":"2015-11-12T13:35:58Z","body":"after editing qt5.rb \r\n\r\n```\r\nbash-3.2$ brew upgrade qt5\r\n…\r\n==> ./configure -platform macx-g++ -prefix /usr/local/Cellar/qt5/5.5.1_1 -release -opensource -confirm-license -system-zlib -qt-libpng -qt-libjpeg -no-openssl -securet\r\n...\r\n```\r\n(without forcing gcc-5)\r\n\r\nand the new gist\r\n\r\nhttps://gist.github.com/27dcf7fdbf80679c90d3"}}