Follow-up to the Qt 5.11.0 PR
The following builds are now broken:
CC @fxcoudert @commitay @DomT4
tarsnap-gui even fails from HEAD, so that's a bad start. Haven't checked the rest yet for upstream fixes.
liblastfm: it's not just an include error like the others.
-- Found Qt5! Please keep in mind, this is highly experimental and not our main development target..
CMake Error at src/CMakeLists.txt:91 (qt5_use_modules):
Unknown CMake command "qt5_use_modules".
-- Configuring incomplete, errors occurred!
See also "/tmp/liblastfm-20180523-40180-qiak4e/liblastfm-1.0.9/build/CMakeFiles/CMakeOutput.log".
There's an upstream PR for it: https://github.com/lastfm/liblastfm/pull/36
But no upstream releases since 2014, no commits since 2015. Might be time to remove it, unless someone wants to hop in as a maintainer.
That's all of them; everything has an upstream report now.
Thanks @apjanke!
@ilovezfs:
While everybody's reporting Qt build failures in one issue, here are my belated* two cents for whatever they're worth: brew upgrade --build-from-source qt is failing for me when it was originally brew installed using, among other options, --with-docs upon getting to this:
â‹®
cd corelib/ && ( test -e Makefile || /private/tmp/qt-20180612-61556-1yvc9cp/qt-everywhere-src-5.11.0/qtbase/bin/qmake -o Makefile /private/tmp/qt-20180612-61556-1yvc9cp/qt-everywhere-src-5.11.0/qtbase/src/corelib/corelib.pro ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile prepare_docs
/usr/local/Cellar/qt/5.11.0/bin/qtattributionsscanner /private/tmp/qt-20180612-61556-1yvc9cp/qt-everywhere-src-5.11.0/qtbase --filter QDocModule=qtcore -o /private/tmp/qt-20180612-61556-1yvc9cp/qt-everywhere-src-5.11.0/qtbase/src/corelib/codeattributions.qdoc
/private/tmp/qt-20180612-61556-1yvc9cp/qt-everywhere-src-5.11.0/qtbase/src/corelib/qdoc_wrapper.sh -outputdir /private/tmp/qt-20180612-61556-1yvc9cp/qt-everywhere-src-5.11.0/qtbase/doc/qtcore -installdir /usr/local/Cellar/qt/5.11.0/doc /private/tmp/qt-20180612-61556-1yvc9cp/qt-everywhere-src-5.11.0/qtbase/src/corelib/doc/qtcore.qdocconf -prepare -no-link-errors -I. -Iglobal -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I../3rdparty/sha3 -I../3rdparty/double-conversion/include -I../3rdparty/double-conversion/include/double-conversion -I../3rdparty/forkfd -I../../include -I../../include/QtCore -I../../include/QtCore/5.11.0 -I../../include/QtCore/5.11.0/QtCore -I.moc -I.tracegen -I../3rdparty/pcre2/src -I../../mkspecs/macx-clang
/private/tmp/qt-20180612-61556-1yvc9cp/qt-everywhere-src-5.11.0/qtbase/src/corelib/qdoc_wrapper.sh: line 12: /usr/local/Cellar/qt/5.11.0/bin/qdoc: No such file or directory
/private/tmp/qt-20180612-61556-1yvc9cp/qt-everywhere-src-5.11.0/qtbase/src/corelib/qdoc_wrapper.sh: line 12: exec: /usr/local/Cellar/qt/5.11.0/bin/qdoc: cannot execute: No such file or directory
make[5]: *** [prepare_docs] Error 126
make[4]: *** [sub-corelib-prepare_docs] Error 2
make[3]: *** [sub-src-prepare_docs] Error 2
make[2]: *** [module-qtbase-prepare_docs] Error 2
make[1]: *** [html_docs] Error 2
make: *** [docs] Error 2
/usr/local/Homebrew/Library/Homebrew/debrew.rb:11:in `raise'
BuildError: Failed executing: make docs
1. raise
2. ignore
3. backtrace
4. irb
5. shell
Choose an action: 1
â‹®
Let me know if you want me to file a separate issue about this, complete with full logs (as I haven't collected them yet since this would entail capturing the usual additional output separate from what brew itself logs.)
* I _would_ have caught this _much_ sooner, but I've been having issues with this dinosaur of a setup's power supply temperature sensor cable and GPU (to the effect that the system can't take _nearly_ as much simultaneous load of any non-trivial amount as I'm anywhere _near_ used to putting on it — though, admittedly, that _might_ have been too much to _begin_ with…) and only recently had the thought to try running builds with the display put to sleep, which seems to be helping matters significantly.
Yeah, that should be a separate issue: this issue is about things that break when built against Qt 5.11.0; your issue is that Qt itself is broken.
I'm able to reproduce. Here it is: https://github.com/Homebrew/homebrew-core/issues/29415
liblastfm is probably fixed by https://git.archlinux.org/svntogit/packages.git/tree/trunk/liblastfm-qt5.11.patch?h=packages/liblastfm
building qt fails on 10.9.5. From what I can see on this gist
https://gist.github.com/be5a7cc96fbfb0e24137b4cc3b94f816
there is a configuration issue. It tries to build for 10.10 deliberately excluding 10.9, but this doesn't seem the reason.
@cbertelli Qt haven't supported 10.9 for a while and have very likely stopped testing against it upstream. I don't think there's much chance of it being fixed, to be honest. It's likely the [email protected] formula still compiles on 10.9, for what it's worth.
I am not able to reproduce the liblastfm build issue. I naively tried brew install liblastfm -s --HEAD on High Sierra and it's building fine.
Indeed, it is building now… and that was the last to be fixed. At long last, closing this issue!
Most helpful comment
Yeah, that should be a separate issue: this issue is about things that break when built against Qt 5.11.0; your issue is that Qt itself is broken.
I'm able to reproduce. Here it is: https://github.com/Homebrew/homebrew-core/issues/29415