-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Closed
Copy link
Labels
Description
While configuring with a non-supported version of QT libraries, configure should exit with an error.
Environment:
$ git log --oneline -1
9e7dc68 Merge #15616: rpc: Clarify decodescript RPCResult doc
$ ls /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.3.2
/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.3.2
$ /usr/lib/x86_64-linux-gnu/qt5/bin/moc --version
moc 5.3.2
$ uname -srv
Linux 4.9.0-0.bpo.7-amd64 #1 SMP Debian 4.9.110-3+deb9u2~deb8u1 (2018-08-14)
Steps to replicate:
$ ./autogen.sh
$ ./configure --with-incompatible-bdb >/dev/null 2>/dev/null && echo OK
OK
Expected behavior: configure should exit with an error due to version of QT libraries not supported.
Details:
$ ./configure --with-incompatible-bdb | grep -i qt
configure: WARNING: Found Berkeley DB other than 4.8; wallets opened by this build will not be portable!
checking for QT5... yes
checking for QT_TEST... yes
checking for QT_DBUS... yes
checking for static Qt... no
checking whether -fPIE can be used with this Qt config... no
checking for moc-qt5... no
checking for moc... /usr/lib/x86_64-linux-gnu/qt5/bin/moc
checking for uic-qt5... no
checking for uic... /usr/lib/x86_64-linux-gnu/qt5/bin/uic
checking for rcc-qt5... no
checking for rcc... /usr/lib/x86_64-linux-gnu/qt5/bin/rcc
checking for lrelease-qt5... no
checking for lrelease... /usr/lib/x86_64-linux-gnu/qt5/bin/lrelease
checking for lupdate-qt5... no
checking for lupdate... /usr/lib/x86_64-linux-gnu/qt5/bin/lupdate
checking whether to build Bitcoin Core GUI... yes (Qt5)
configure: WARNING: libzmq version 4.x or greater not found, disabling
checking whether to build test_bitcoin-qt... yes
config.status: creating share/qt/Info.plist
with gui / qt = yes