[MacPorts] #46951: finance/bitcoin: Problems updating to bitcoin-0.10.0
#46951: finance/bitcoin: Problems updating to bitcoin-0.10.0 -------------------------+----------------------------- Reporter: easieste@… | Owner: easieste Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts Future Component: ports | Version: 2.3.3 Keywords: | Port: bitcoin -------------------------+----------------------------- After updating the checksums to the bitcoin-0.10.0, the compilation fails in linking bitcoin-qt as follows {{{ GEN qt/locale/bitcoin_zh_TW.qm GEN qt/qrc_bitcoin_locale.cpp CXX qt/qt_libbitcoinqt_a-qrc_bitcoin_locale.o AR qt/libbitcoinqt.a /opt/local/bin/ranlib: file: qt/libbitcoinqt.a(qt_libbitcoinqt_a- winshutdownmonitor.o) has no symbols /opt/local/bin/ranlib: file: qt/libbitcoinqt.a(qt_libbitcoinqt_a- moc_peertablemodel.o) has no symbols /opt/local/bin/ranlib: file: qt/libbitcoinqt.a(qt_libbitcoinqt_a- moc_rpcconsole.o) has no symbols /opt/local/bin/ranlib: file: qt/libbitcoinqt.a(qt_libbitcoinqt_a- winshutdownmonitor.o) has no symbols /opt/local/bin/ranlib: file: qt/libbitcoinqt.a(qt_libbitcoinqt_a- moc_peertablemodel.o) has no symbols /opt/local/bin/ranlib: file: qt/libbitcoinqt.a(qt_libbitcoinqt_a- moc_rpcconsole.o) has no symbols OBJCXXLD qt/bitcoin-qt clang: warning: argument unused during compilation: '-pthread' clang: warning: argument unused during compilation: '-pie' clang: warning: argument unused during compilation: '-pthread' Undefined symbols for architecture x86_64: "vtable for RPCExecutor", referenced from: RPCConsole::startExecutor() in libbitcoinqt.a(qt_libbitcoinqt_a- rpcconsole.o) NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. "vtable for RPCConsole", referenced from: RPCConsole::RPCConsole(QWidget*) in libbitcoinqt.a (qt_libbitcoinqt_a-rpcconsole.o) NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. "RPCConsole::staticMetaObject", referenced from: RPCConsole::RPCConsole(QWidget*) in libbitcoinqt.a (qt_libbitcoinqt_a-rpcconsole.o) RPCConsole::clear() in libbitcoinqt.a(qt_libbitcoinqt_a- rpcconsole.o) RPCConsole::setNumConnections(int) in libbitcoinqt.a (qt_libbitcoinqt_a-rpcconsole.o) RPCConsole::FormatBytes(unsigned long long) in libbitcoinqt.a (qt_libbitcoinqt_a-rpcconsole.o) "BitcoinApplication::requestedShutdown()", referenced from: BitcoinApplication::requestShutdown() in qt_bitcoin_qt-bitcoin.o "BitcoinApplication::requestedInitialize()", referenced from: BitcoinApplication::requestInitialize() in qt_bitcoin_qt-bitcoin.o "vtable for BitcoinCore", referenced from: BitcoinCore::BitcoinCore() in qt_bitcoin_qt-bitcoin.o NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. "vtable for BitcoinApplication", referenced from: BitcoinApplication::BitcoinApplication(int&, char**) in qt_bitcoin_qt-bitcoin.o BitcoinApplication::~BitcoinApplication() in qt_bitcoin_qt-bitcoin.o NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. "BitcoinApplication::stopThread()", referenced from: BitcoinApplication::~BitcoinApplication() in qt_bitcoin_qt-bitcoin.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) }}} -- Ticket URL: <https://trac.macports.org/ticket/46951> MacPorts <https://www.macports.org/> Ports system for OS X
#46951: finance/bitcoin: Problems updating to bitcoin-0.10.0 --------------------------+----------------------------- Reporter: easieste@… | Owner: easieste Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts Future Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: bitcoin | --------------------------+----------------------------- Comment (by easieste@…): The build process is failing to generate a proper src/qt/moc_rpcconsole.cpp file with the following error {{{ opt/local/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN" }}} -- Ticket URL: <https://trac.macports.org/ticket/46951#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#46951: finance/bitcoin: Problems updating to bitcoin-0.10.0 --------------------------+----------------------------- Reporter: easieste@… | Owner: easieste Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts Future Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: bitcoin | --------------------------+----------------------------- Comment (by easieste@…): Seems to be due to the issues outlined in https://trac.macports.org/ticket/46441. Recommendation would seem to be patch bitcoin to add -DWITH_QT4=OFF to the `cxx.configure` variable. See also https://bugreports.qt.io/browse/QTBUG-22829 -- Ticket URL: <https://trac.macports.org/ticket/46951#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#46951: finance/bitcoin: Problems updating to bitcoin-0.10.0 --------------------------+----------------------------- Reporter: easieste@… | Owner: easieste Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts Future Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: bitcoin | --------------------------+----------------------------- Comment (by easieste@…): Replying to [comment:2 easieste@…]:
Recommendation would seem to be patch bitcoin to add
-DWITH_QT4=OFF
to the Portfile `configure.args` variable.
This fails, understandably as reading the patch to bob shows that they fixed the problem by removing Qt4. One will have to go through the Qt bug report to figure out the more appropriate stategy for fixing Qt for the bitcoin link. N.b. the other bitcoin binaries appear to build successfully. -- Ticket URL: <https://trac.macports.org/ticket/46951#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#46951: finance/bitcoin: Problems updating to bitcoin-0.10.0 --------------------------+------------------------ Reporter: easieste@… | Owner: easieste@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: bitcoin | --------------------------+------------------------ Changes (by mf2k@…): * owner: easieste => easieste@… * version: 2.3.3 => * milestone: MacPorts Future => Comment: Trac requires complete email addresses. Please do not set the Milestone field for a normal "ports" ticket, that is only used for base updates. -- Ticket URL: <https://trac.macports.org/ticket/46951#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#46951: finance/bitcoin: Problems updating to bitcoin-0.10.0 --------------------------+------------------------ Reporter: easieste@… | Owner: easieste@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: bitcoin | --------------------------+------------------------ Comment (by easieste@…): An example of how to solve this by providing guards around all inclusion of Boost headers. https://gist.githubusercontent.com/jkseppan/ccf72d14f8b0efee6c7d/raw/dc97fbe... -moc-boost.patch Note that bitcoin-0.9.3 now fails to build as well due to this problem. -- Ticket URL: <https://trac.macports.org/ticket/46951#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#46951: finance/bitcoin: Problems updating to bitcoin-0.10.0 --------------------------+------------------------ Reporter: easieste@… | Owner: easieste@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: bitcoin | --------------------------+------------------------ Comment (by easieste@…): I wasn't able to easily come up with a manner to get Bitcoin Core 0.10.0 to build under Macports with the qt4 GUI. The default variant of "daemon" has been committed r134705, so our Bitcoin Core port goes sans GUI for a while. It doesn't look like the source of this problem, namely the qt4 moc generator, is going to get fixed anytime soon. Configuring the port via "--with-gui=qt5" leads to QT include header problems, seemingly indicating that Bitcoin Core has not been ported to QT5. -- Ticket URL: <https://trac.macports.org/ticket/46951#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#46951: finance/bitcoin: Problems compiling against Qt4 --------------------------+------------------------ Reporter: easieste@… | Owner: easieste@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: bitcoin | --------------------------+------------------------ Comment (by easieste@…): bitcoin-0.10.1 as daemon-only has been committed to MacPorts, so renaming ticket to more accurately reflect that building the Qt GUI via MacPorts is currently hosed. -- Ticket URL: <https://trac.macports.org/ticket/46951#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts