Had already run ./autogen on High Sierra. Now rerunning ./configure and make -j 4 after the upgrade. Both with and without the --disable-qt flag:
GEN qt/locale/bitcoin_zh_HK.qm
GEN qt/locale/bitcoin_zh.qm
GEN qt/locale/bitcoin_zh_TW.qm
CXX test/qt_test_test_bitcoin_qt-test_bitcoin.o
CXX wallet/test/qt_test_test_bitcoin_qt-wallet_test_fixture.o
CXX qt/test/test_bitcoin_qt-paymentservertests.o
In file included from qt/test/paymentservertests.cpp:5:
In file included from ./qt/test/paymentservertests.h:8:
In file included from ./qt/paymentserver.h:40:
In file included from ./qt/paymentrequestplus.h:18:
In file included from /usr/local/Cellar/qt/5.11.2/include/QtCore/QByteArray:1:
In file included from /usr/local/Cellar/qt/5.11.2/include/QtCore/qbytearray.h:44:
/usr/local/Cellar/qt/5.11.2/include/QtCore/qrefcount.h:54:22: error: expected ';' at end of declaration list
inline bool ref() Q_DECL_NOTHROW {
^
;
In file included from qt/test/paymentservertests.cpp:5:
In file included from ./qt/test/paymentservertests.h:8:
In file included from ./qt/paymentserver.h:40:
In file included from ./qt/paymentrequestplus.h:18:
In file included from /usr/local/Cellar/qt/5.11.2/include/QtCore/QByteArray:1:
In file included from /usr/local/Cellar/qt/5.11.2/include/QtCore/qbytearray.h:46:
/usr/local/Cellar/qt/5.11.2/include/QtCore/qarraydata.h:116:66: error: expected ';' at end of declaration list
size_t capacity, AllocationOptions options = Default) Q_DECL_NOTHROW;
^
;
/usr/local/Cellar/qt/5.11.2/include/QtCore/qarraydata.h:118:72: error: expected ';' at end of declaration list
size_t newCapacity, AllocationOptions newOptions = Default) Q_DECL_NOTHROW;
^
;
/usr/local/Cellar/qt/5.11.2/include/QtCore/qarraydata.h:120:30: error: expected ';' at end of declaration list
size_t alignment) Q_DECL_NOTHROW;
^
;
/usr/local/Cellar/qt/5.11.2/include/QtCore/qarraydata.h:123:36: error: expected ';' at end of declaration list
static QArrayData *sharedNull() Q_DECL_NOTHROW { return const_cast<QArrayData*>(shared_null); }
^
;
/usr/local/Cellar/qt/5.11.2/include/QtCore/qarraydata.h:255:41: error: expected ';' at end of declaration list
static QTypedArrayData *sharedNull() Q_DECL_NOTHROW
^
;
/usr/local/Cellar/qt/5.11.2/include/QtCore/qarraydata.h:221:9: error: use of undeclared identifier 'Q_STATIC_ASSERT'
Q_STATIC_ASSERT(sizeof(QTypedArrayData) == sizeof(QArrayData));
^
/usr/local/Cellar/qt/5.11.2/include/QtCore/qarraydata.h:229:9: error: use of undeclared identifier 'Q_STATIC_ASSERT'
Q_STATIC_ASSERT(sizeof(QTypedArrayData) == sizeof(QArrayData));
^
/usr/local/Cellar/qt/5.11.2/include/QtCore/qarraydata.h:236:9: error: use of undeclared identifier 'Q_STATIC_ASSERT'
Q_STATIC_ASSERT(sizeof(QTypedArrayData) == sizeof(QArrayData));
^
/usr/local/Cellar/qt/5.11.2/include/QtCore/qarraydata.h:243:9: error: use of undeclared identifier 'Q_STATIC_ASSERT'
Q_STATIC_ASSERT(sizeof(QTypedArrayData) == sizeof(QArrayData));
^
In file included from qt/test/paymentservertests.cpp:5:
In file included from ./qt/test/paymentservertests.h:8:
In file included from ./qt/paymentserver.h:40:
In file included from ./qt/paymentrequestplus.h:18:
In file included from /usr/local/Cellar/qt/5.11.2/include/QtCore/QByteArray:1:
/usr/local/Cellar/qt/5.11.2/include/QtCore/qbytearray.h:60:1: error: unknown type name 'Q_FORWARD_DECLARE_CF_TYPE'
Q_FORWARD_DECLARE_CF_TYPE(CFData);
^
/usr/local/Cellar/qt/5.11.2/include/QtCore/qbytearray.h:61:1: error: unknown type name 'Q_FORWARD_DECLARE_OBJC_CLASS'
Q_FORWARD_DECLARE_OBJC_CLASS(NSData);
^
/usr/local/Cellar/qt/5.11.2/include/QtCore/qbytearray.h:109:62: error: no type named 'ChecksumType' in namespace 'Qt'
Q_CORE_EXPORT quint16 qChecksum(const char *s, uint len, Qt::ChecksumType standard); // ### Qt 6: Use Qt::Chec...
~~~~^
/usr/local/Cellar/qt/5.11.2/include/QtCore/qbytearray.h:125:25: error: no member named 'isStatic' in
'QtPrivate::RefCount'
Q_ASSERT(ba.ref.isStatic());
~~~~~~ ^
/usr/local/include/QtCore/qglobal.h:1938:32: note: expanded from macro 'Q_ASSERT'
# define Q_ASSERT(cond) ((!(cond)) ? qt_assert(#cond,__FILE__,__LINE__) : qt_noop())
^~~~
In file included from qt/test/paymentservertests.cpp:5:
In file included from ./qt/test/paymentservertests.h:8:
In file included from ./qt/paymentserver.h:40:
In file included from ./qt/paymentrequestplus.h:18:
In file included from /usr/local/Cellar/qt/5.11.2/include/QtCore/QByteArray:1:
/usr/local/Cellar/qt/5.11.2/include/QtCore/qbytearray.h:170:24: error: expected ';' at end of declaration list
inline QByteArray() Q_DECL_NOTHROW;
^
;
/usr/local/Cellar/qt/5.11.2/include/QtCore/qbytearray.h:174:42: error: expected ';' at end of declaration list
inline QByteArray(const QByteArray &) Q_DECL_NOTHROW;
^
;
/usr/local/Cellar/qt/5.11.2/include/QtCore/qbytearray.h:177:46: error: expected ';' at end of declaration list
QByteArray &operator=(const QByteArray &) Q_DECL_NOTHROW;
^
;
/usr/local/Cellar/qt/5.11.2/include/QtCore/qbytearray.h:180:43: error: expected ';' at end of declaration list
inline QByteArray(QByteArray && other) Q_DECL_NOTHROW : d(other.d) { other.d = Data::sharedNull(); }
^
;
/usr/local/Cellar/qt/5.11.2/include/QtCore/qbytearray.h:383:34: error: unknown type name 'CFDataRef'
static QByteArray fromCFData(CFDataRef data);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [Makefile:9483: qt/test/test_bitcoin_qt-paymentservertests.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/Users/Jon/Z/bitcoin/src'
make[1]: *** [Makefile:10806: all-recursive] Error 1
make[1]: Leaving directory '/Users/Jon/Z/bitcoin/src'
make: *** [Makefile:775: all-recursive] Error 1
Qt is installed via Homebrew:
brew install qt:
Error: qt 5.11.2 is already installed
To upgrade to 5.12.0, run `brew upgrade qt`
Ran brew upgrade qt, ran ./configure and make - no luck, same thing.
Ran brew link qt5 --force, had to brew unlink qt@4 and then brew link qt5 --force - Build successful.
Segfault on run: ./src/bitcoind -regtest, even after cleaning datadir (??)
Ran make clean and retried, same thing.
On master
Retrying on Ubuntu: Builds and runs fine.