gui: Building with --disable-bip70 fails on current master on gentoo #16600

issue kristapsk opened this issue on August 13, 2019
  1. kristapsk commented at 10:20 PM on August 13, 2019: contributor

    Building with:

    $ ./autogen.sh
    $ ./configure --disable-bip70
    $ make
    

    Got error:

      CXX      qt/libbitcoinqt_a-moc_paymentserver.o
    qt/moc_paymentserver.cpp: In static member function ‘static void PaymentServer::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)’:
    qt/moc_paymentserver.cpp:123:21: error: ‘class PaymentServer’ has no member named ‘receivedPaymentACK’; did you mean ‘receivedPaymentRequest’?
             case 2: _t->receivedPaymentACK((*reinterpret_cast< const QString(*)>(_a[1]))); break;
                         ^~~~~~~~~~~~~~~~~~
                         receivedPaymentRequest
    qt/moc_paymentserver.cpp:126:21: error: ‘class PaymentServer’ has no member named ‘fetchPaymentACK’
             case 5: _t->fetchPaymentACK((*reinterpret_cast< WalletModel*(*)>(_a[1])),(*reinterpret_cast< const SendCoinsRecipient(*)>(_a[2])),(*reinterpret_cast< QByteArray(*)>(_a[3]))); break;
                         ^~~~~~~~~~~~~~~
    qt/moc_paymentserver.cpp:128:21: error: ‘class PaymentServer’ has no member named ‘netRequestFinished’
             case 7: _t->netRequestFinished((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break;
                         ^~~~~~~~~~~~~~~~~~
    qt/moc_paymentserver.cpp:129:21: error: ‘class PaymentServer’ has no member named ‘reportSslErrors’
             case 8: _t->reportSslErrors((*reinterpret_cast< QNetworkReply*(*)>(_a[1])),(*reinterpret_cast< const QList<QSslError>(*)>(_a[2]))); break;
                         ^~~~~~~~~~~~~~~
    qt/moc_paymentserver.cpp:130:21: error: ‘class PaymentServer’ has no member named ‘handlePaymentACK’
             case 9: _t->handlePaymentACK((*reinterpret_cast< const QString(*)>(_a[1]))); break;
                         ^~~~~~~~~~~~~~~~
    qt/moc_paymentserver.cpp:162:83: error: ‘receivedPaymentACK’ is not a member of ‘PaymentServer’
                 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PaymentServer::receivedPaymentACK)) {
                                                                                       ^~~~~~~~~~~~~~~~~~
    qt/moc_paymentserver.cpp: At global scope:
    qt/moc_paymentserver.cpp:221:6: error: no declaration matches ‘void PaymentServer::receivedPaymentACK(const QString&)’
     void PaymentServer::receivedPaymentACK(const QString & _t1)
          ^~~~~~~~~~~~~
    qt/moc_paymentserver.cpp:221:6: note: no functions named ‘void PaymentServer::receivedPaymentACK(const QString&)’
    In file included from qt/moc_paymentserver.cpp:8:
    ./qt/paymentserver.h:62:7: note: ‘class PaymentServer’ defined here
     class PaymentServer : public QObject
           ^~~~~~~~~~~~~
    
  2. MarcoFalke commented at 10:23 PM on August 13, 2019: member

    Which os?

  3. MarcoFalke added the label Questions and Help on Aug 13, 2019
  4. MarcoFalke added the label Waiting for author on Aug 13, 2019
  5. kristapsk commented at 10:24 PM on August 13, 2019: contributor

    Gentoo Linux, GCC 8.2.0

  6. MarcoFalke removed the label Questions and Help on Aug 13, 2019
  7. MarcoFalke removed the label Waiting for author on Aug 13, 2019
  8. MarcoFalke added the label GUI on Aug 13, 2019
  9. MarcoFalke renamed this:
    Building with --disable-bip70 fails on current master
    gui: Building with --disable-bip70 fails on current master on gentoo
    on Aug 13, 2019
  10. kristapsk commented at 11:11 PM on August 13, 2019: contributor

    My fault, I had built without --disable-bip70 in the same directory before and didn't run make clean.

  11. kristapsk closed this on Aug 13, 2019

  12. Sjors commented at 9:07 AM on September 30, 2019: member

    This error also happens when switching between pull requests based on master before and after #15584. I should probably just keep using --disable-bip70 for a while.

  13. DrahtBot locked this on Dec 16, 2021
Labels

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 18:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me