Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
None
-
5.7.1
-
None
-
Hardware: Mid-2007 Aluminum iMac ('iMac7,1') w/ Intel Core 2 Duo T7700 processor @2.4 GHz, 4 GB 667 MHz DDR2 SDRAM, an ATI Radeon HD 2600 Pro graphics card w/ 256 MB VRAM, a 500 GB internal hard drive (unmounted,) and a 1 TB external drive connected via a USB 2.0 enclosure
Operating System: OS X/macOS v10.11.6 'El Capitan'
Additional Software: Homebrew v1.1.6 (commit `619791e83d2781dca1b675e20249a8aebe085c7c`,) Homebrew tap 'Homebrew/homebrew-core' commit `870f56aa67fb0f0ad6ac14085844149c1cf81d06`Hardware: Mid-2007 Aluminum iMac ('iMac7,1') w/ Intel Core 2 Duo T7700 processor @2.4 GHz, 4 GB 667 MHz DDR2 SDRAM, an ATI Radeon HD 2600 Pro graphics card w/ 256 MB VRAM, a 500 GB internal hard drive (unmounted,) and a 1 TB external drive connected via a USB 2.0 enclosure Operating System: OS X/macOS v10.11.6 'El Capitan' Additional Software: Homebrew v1.1.6 (commit `619791e83d2781dca1b675e20249a8aebe085c7c`,) Homebrew tap 'Homebrew/homebrew-core' commit `870f56aa67fb0f0ad6ac14085844149c1cf81d06`
Description
When attempting to build Qt v5.7.1 from source via Homebrew by running either `brew upgrade -vd --build-from-source qt5` or `brew reinstall -vd --build-from-source qt5 --with-dbus --with-docs --with-examples --with-mysql --with-postgresql --with-qtwebkit`, the Homebrew-managed build fails when trying to link QtWebEngine's `Demobrowser.app/Contents/MacOS/Demobrowser` executable. To be precise, here is the exact text produced by Homebrew when the error occurred:
```
⋮
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -headerpad_max_install_names -stdlib=libc++ -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.7 -o Demobrowser.app/Contents/MacOS/Demobrowser .obj/autosaver.o .obj/bookmarks.o .obj/browserapplication.o .obj/browsermainwindow.o .obj/chasewidget.o .obj/downloadmanager.o .obj/edittableview.o .obj/edittreeview.o .obj/featurepermissionbar.o .obj/fullscreennotification.o .obj/history.o .obj/modelmenu.o .obj/printtopdfdialog.o .obj/savepagedialog.o .obj/searchlineedit.o .obj/settings.o .obj/squeezelabel.o .obj/tabwidget.o .obj/toolbarsearch.o .obj/urllineedit.o .obj/webview.o .obj/xbel.o .obj/main.o .obj/qrc_data.o .obj/qrc_htmls.o .obj/moc_autosaver.o .obj/moc_bookmarks.o .obj/moc_browserapplication.o .obj/moc_browsermainwindow.o .obj/moc_chasewidget.o .obj/moc_downloadmanager.o .obj/moc_edittableview.o .obj/moc_edittreeview.o .obj/moc_featurepermissionbar.o .obj/moc_fullscreennotification.o .obj/moc_history.o .obj/moc_modelmenu.o .obj/moc_printtopdfdialog.o .obj/moc_savepagedialog.o .obj/moc_searchlineedit.o .obj/moc_settings.o .obj/moc_squeezelabel.o .obj/moc_tabwidget.o .obj/moc_toolbarsearch.o .obj/moc_urllineedit.o .obj/moc_webview.o -F/private/tmp/qt5-20170104-18469-10yjsel/qt-everywhere-opensource-src-5.7.1/qtwebengine/lib -F/private/tmp/qt5-20170104-18469-10yjsel/qt-everywhere-opensource-src-5.7.1/qtdeclarative/lib -F/private/tmp/qt5-20170104-18469-10yjsel/qt-everywhere-opensource-src-5.7.1/qtbase/lib -F/private/tmp/qt5-20170104-18469-10yjsel/qt-everywhere-opensource-src-5.7.1/qtwebchannel/lib -F/private/tmp/qt5-20170104-18469-10yjsel/qt-everywhere-opensource-src-5.7.1/qtlocation/lib -framework QtWebEngineWidgets -framework QtWebEngineCore -framework QtQuick -framework QtGui -framework QtCore -framework DiskArbitration -framework IOKit -L/usr/local/opt/dbus/lib -framework QtQml -framework QtNetwork -framework QtWebChannel -framework QtPositioning -framework QtWidgets -framework QtPrintSupport -framework OpenGL -framework AGL -ldbus-1
/usr/local/Homebrew/Library/Homebrew/debrew.rb:11:in `raise'
BuildError: Failed executing: make
1. raise
2. ignore
3. backtrace
4. irb
5. shell
Choose an action: ==> …
⋮
```
Please see https://github.com/Homebrew/homebrew-core/issues/8502 for additional details and my full build logs. Also please note that I'm only reporting this here upstream because nobody else has been able to reproduce my problem so far and the end result might be an upstream Qt patch for Homebrew to mirror/vendor downstream.