New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net-p2p/retroshare: avoid broken doxygen-1.8.16 #14628
Conversation
Pull Request assignmentSubmitter: @G10h4ck net-p2p/retroshare: @G10h4ck, @gentoo/proxy-maint Linked bugsNo bugs to link found. If your pull request references any of the Gentoo bug reports, please add appropriate GLEP 66 tags to the commit message and request reassignment. Missing GCO sign-offPlease read the terms of Gentoo Certificate of Origin and acknowledge them by adding a sign-off to all your commits. In order to force reassignment and/or bug reference scan, please append Docs: Code of Conduct ● Copyright policy (expl.) ● Devmanual ● GitHub PRs ● Proxy-maint guide |
A bug in doxygen should be fixed in doxygen, not in x consumer packages. Did you file a bug against |
64a62bb
to
961b4f7
Compare
Done https://bugs.gentoo.org/709316 but I doubt doxygen-1.8.16 ebuild will be removed soon from gentoo, so better retroshare avoid that, also that bug doesn't seems to affect so critically other packages |
Closes: https://bugs.gentoo.org/70925 Closes: https://bugs.gentoo.org/699164 Due to doxygen 1.8.16 bug doxygen/doxygen#7236 Closes: https://bugs.gentoo.org/694668 Trivial fix copyright year Signed-off-by: Gioacchino Mazzurco <gio@eigenlab.org>
961b4f7
to
c1511f1
Compare
Also it is an incompatibility with a specific doxygen version, so please merge this PR that just avoid RS being compiled with an incompatible doxygen version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't even build this,
[ebuild R ] app-doc/doxygen-1.8.17::gentoo USE="qt5 -clang -debug -doc -dot -doxysearch (-sqlite)"
[ebuild N ] net-p2p/retroshare-0.6.5::testworld USE="cli gui jsonapi sqlcipher xapian -control-socket -gnome-keyring -service -webui"
upnp/UPnPBase.cpp: In member function 'bool CUPnPService::Execute(const string&, const std::vector<CUPnPArgumentValue>&) const':
upnp/UPnPBase.cpp:751:56: error: invalid static_cast from type 'int (*)(Upnp_EventType, void*, void*)' {aka 'int (*)(Upnp_EventType_e, void*, void*)'} to type 'Upnp_FunPtr' {aka 'int (*)(Upnp_EventType_e, const void*, void*)'}
751 | static_cast<Upnp_FunPtr>(&CUPnPControlPoint::Callback),
| ^
upnp/UPnPBase.cpp: In constructor 'CUPnPControlPoint::CUPnPControlPoint(short unsigned int)':
upnp/UPnPBase.cpp:951:56: error: invalid static_cast from type 'int (*)(Upnp_EventType, void*, void*)' {aka 'int (*)(Upnp_EventType_e, void*, void*)'} to type 'Upnp_FunPtr' {aka 'int (*)(Upnp_EventType_e, const void*, void*)'}
951 | static_cast<Upnp_FunPtr>(&CUPnPControlPoint::Callback),
| ^
upnp/UPnPBase.cpp: In static member function 'static int CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)':
upnp/UPnPBase.cpp:1326:14: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery'
1326 | if (d_event->ErrCode != UPNP_E_SUCCESS) {
| ^~
upnp/UPnPBase.cpp:1323:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery'
1323 | struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
| ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1336:35: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery'
1336 | ret = UpnpDownloadXmlDoc(d_event->Location, &doc);
| ^~
upnp/UPnPBase.cpp:1323:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery'
1323 | struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
| ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1383:13: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery'
1383 | d_event->Location, d_event->Expires);
| ^~
upnp/UPnPBase.cpp:1323:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery'
1323 | struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
| ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1383:32: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery'
1383 | d_event->Location, d_event->Expires);
| ^~
upnp/UPnPBase.cpp:1323:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery'
1323 | struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
| ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1409:16: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery'
1409 | if (dab_event->ErrCode != UPNP_E_SUCCESS) {
| ^~
upnp/UPnPBase.cpp:1408:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery'
1408 | struct Upnp_Discovery *dab_event = (struct Upnp_Discovery *)Event;
| ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1416:34: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery'
1416 | std::string devType = dab_event->DeviceType;
| ^~
upnp/UPnPBase.cpp:1408:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery'
1408 | struct Upnp_Discovery *dab_event = (struct Upnp_Discovery *)Event;
| ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1420:38: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery'
1420 | upnpCP->RemoveRootDevice(dab_event->DeviceId);
| ^~
upnp/UPnPBase.cpp:1408:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery'
1408 | struct Upnp_Discovery *dab_event = (struct Upnp_Discovery *)Event;
| ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1430:34: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event'
1430 | const std::string Sid = e_event->Sid;
| ^~
upnp/UPnPBase.cpp:1429:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event'
1429 | struct Upnp_Event *e_event = (struct Upnp_Event *)Event;
| ^~~~~~~~~~
upnp/UPnPBase.cpp:1432:39: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event'
1432 | upnpCP->OnEventReceived(Sid, e_event->EventKey, e_event->ChangedVariables);
| ^~
upnp/UPnPBase.cpp:1429:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event'
1429 | struct Upnp_Event *e_event = (struct Upnp_Event *)Event;
| ^~~~~~~~~~
upnp/UPnPBase.cpp:1432:58: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event'
1432 | upnpCP->OnEventReceived(Sid, e_event->EventKey, e_event->ChangedVariables);
| ^~
upnp/UPnPBase.cpp:1429:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event'
1429 | struct Upnp_Event *e_event = (struct Upnp_Event *)Event;
| ^~~~~~~~~~
upnp/UPnPBase.cpp:1449:15: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe'
1449 | if (es_event->ErrCode != UPNP_E_SUCCESS) {
| ^~
upnp/UPnPBase.cpp:1447:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe'
1447 | struct Upnp_Event_Subscribe *es_event =
| ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1452:18: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe'
1452 | msg, es_event->ErrCode, NULL, NULL);
| ^~
upnp/UPnPBase.cpp:1447:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe'
1447 | struct Upnp_Event_Subscribe *es_event =
| ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1482:34: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe'
1482 | UpnpString_get_String(es_event->PublisherUrl),
| ^~
upnp/UPnPBase.cpp:1475:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe'
1475 | struct Upnp_Event_Subscribe *es_event =
| ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1491:18: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe'
1491 | msg, es_event->ErrCode, NULL, NULL);
| ^~
upnp/UPnPBase.cpp:1475:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe'
1475 | struct Upnp_Event_Subscribe *es_event =
| ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1495:61: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe'
1495 | upnpCP->m_ServiceMap.find(UpnpString_get_String(es_event->PublisherUrl));
| ^~
upnp/UPnPBase.cpp:1475:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe'
1475 | struct Upnp_Event_Subscribe *es_event =
| ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1505:36: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe'
1505 | UpnpString_get_String(es_event->PublisherUrl) <<
| ^~
upnp/UPnPBase.cpp:1475:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe'
1475 | struct Upnp_Event_Subscribe *es_event =
| ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1529:14: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete'
1529 | if (a_event->ErrCode != UPNP_E_SUCCESS) {
| ^~
upnp/UPnPBase.cpp:1527:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete'
1527 | struct Upnp_Action_Complete *a_event =
| ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1532:12: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete'
1532 | a_event->ErrCode, NULL,
| ^~
upnp/UPnPBase.cpp:1527:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete'
1527 | struct Upnp_Action_Complete *a_event =
| ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1533:12: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete'
1533 | a_event->ActionResult);
| ^~
upnp/UPnPBase.cpp:1527:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete'
1527 | struct Upnp_Action_Complete *a_event =
| ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1537:12: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete'
1537 | a_event->ActionResult,
| ^~
upnp/UPnPBase.cpp:1527:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete'
1527 | struct Upnp_Action_Complete *a_event =
| ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1552:15: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete'
1552 | if (sv_event->ErrCode != UPNP_E_SUCCESS) {
| ^~
upnp/UPnPBase.cpp:1550:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete'
1550 | struct Upnp_State_Var_Complete *sv_event =
| ^~~~~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1555:18: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete'
1555 | msg, sv_event->ErrCode, NULL, NULL);
| ^~
upnp/UPnPBase.cpp:1550:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete'
1550 | struct Upnp_State_Var_Complete *sv_event =
| ^~~~~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1558:63: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete'
1558 | (upnpCP->m_WanService->propertyMap)[std::string(sv_event->StateVarName)] = std::string(sv_event->CurrentVal);
| ^~
upnp/UPnPBase.cpp:1550:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete'
1550 | struct Upnp_State_Var_Complete *sv_event =
| ^~~~~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1558:102: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete'
1558 | rtyMap)[std::string(sv_event->StateVarName)] = std::string(sv_event->CurrentVal);
| ^~
upnp/UPnPBase.cpp:1550:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete'
1550 | struct Upnp_State_Var_Complete *sv_event =
| ^~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile.libretroshare:9198: temp/linux-g++/obj/UPnPBase.o] Error 1
make[1]: Leaving directory '/tmp/portage/net-p2p/retroshare-0.6.5/work/retroshare-0.6.5/libretroshare/src'
make: *** [Makefile:129: sub-libretroshare-src-libretroshare-pro-make_first] Error 2
emake failed
* Due to a bug in RetroShare-v0.6.5 build system when JSON API is enabled, failure at first emake is normal
make -j1
cd openpgpsdk/src/ && ( test -e Makefile.openpgpsdk || /usr/lib64/qt5/bin/qmake -o Makefile.openpgpsdk /tmp/portage/net-p2p/retroshare-0.6.5/work/retroshare-0.6.5/openpgpsdk/src/openpgpsdk.pro 'QMAKE_AR=x86_64-pc-linux-gnu-ar cqs' QMAKE_CC=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C_SHLIB=x86_64-pc-linux-gnu-gcc QMAKE_CXX=x86_64-pc-linux-gnu-g++ QMAKE_LINK=x86_64-pc-linux-gnu-g++ QMAKE_LINK_SHLIB=x86_64-pc-linux-gnu-g++ QMAKE_OBJCOPY=x86_64-pc-linux-gnu-objcopy QMAKE_RANLIB= QMAKE_STRIP= 'QMAKE_CFLAGS=-march=native -O2 -pipe -frecord-gcc-switches' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-march=native -O2 -pipe -frecord-gcc-switches' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= 'CONFIG+=retroshare_nogui no_libresapilocalserver no_rs_autologin retroshare_gui rs_jsonapi no_retroshare_service sqlcipher no_libresapihttpserver rs_deep_search' RS_MAJOR_VERSION=0 RS_MINOR_VERSION=6 RS_MINI_VERSION=5 RS_EXTRA_VERSION=-gentoo-r0 ) && make -f Makefile.openpgpsdk
make[1]: Entering directory '/tmp/portage/net-p2p/retroshare-0.6.5/work/retroshare-0.6.5/openpgpsdk/src'
make[1]: Nothing to be done for 'first'.
make[1]: Leaving directory '/tmp/portage/net-p2p/retroshare-0.6.5/work/retroshare-0.6.5/openpgpsdk/src'
cd jsonapi-generator/src/ && ( test -e Makefile.jsonapi-generator || /usr/lib64/qt5/bin/qmake -o Makefile.jsonapi-generator /tmp/portage/net-p2p/retroshare-0.6.5/work/retroshare-0.6.5/jsonapi-generator/src/jsonapi-generator.pro 'QMAKE_AR=x86_64-pc-linux-gnu-ar cqs' QMAKE_CC=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C_SHLIB=x86_64-pc-linux-gnu-gcc QMAKE_CXX=x86_64-pc-linux-gnu-g++ QMAKE_LINK=x86_64-pc-linux-gnu-g++ QMAKE_LINK_SHLIB=x86_64-pc-linux-gnu-g++ QMAKE_OBJCOPY=x86_64-pc-linux-gnu-objcopy QMAKE_RANLIB= QMAKE_STRIP= 'QMAKE_CFLAGS=-march=native -O2 -pipe -frecord-gcc-switches' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-march=native -O2 -pipe -frecord-gcc-switches' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= 'CONFIG+=retroshare_nogui no_libresapilocalserver no_rs_autologin retroshare_gui rs_jsonapi no_retroshare_service sqlcipher no_libresapihttpserver rs_deep_search' RS_MAJOR_VERSION=0 RS_MINOR_VERSION=6 RS_MINI_VERSION=5 RS_EXTRA_VERSION=-gentoo-r0 ) && make -f Makefile.jsonapi-generator
make[1]: Entering directory '/tmp/portage/net-p2p/retroshare-0.6.5/work/retroshare-0.6.5/jsonapi-generator/src'
make[1]: Nothing to be done for 'first'.
make[1]: Leaving directory '/tmp/portage/net-p2p/retroshare-0.6.5/work/retroshare-0.6.5/jsonapi-generator/src'
cd libbitdht/src/ && ( test -e Makefile.libbitdht || /usr/lib64/qt5/bin/qmake -o Makefile.libbitdht /tmp/portage/net-p2p/retroshare-0.6.5/work/retroshare-0.6.5/libbitdht/src/libbitdht.pro 'QMAKE_AR=x86_64-pc-linux-gnu-ar cqs' QMAKE_CC=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C_SHLIB=x86_64-pc-linux-gnu-gcc QMAKE_CXX=x86_64-pc-linux-gnu-g++ QMAKE_LINK=x86_64-pc-linux-gnu-g++ QMAKE_LINK_SHLIB=x86_64-pc-linux-gnu-g++ QMAKE_OBJCOPY=x86_64-pc-linux-gnu-objcopy QMAKE_RANLIB= QMAKE_STRIP= 'QMAKE_CFLAGS=-march=native -O2 -pipe -frecord-gcc-switches' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-march=native -O2 -pipe -frecord-gcc-switches' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= 'CONFIG+=retroshare_nogui no_libresapilocalserver no_rs_autologin retroshare_gui rs_jsonapi no_retroshare_service sqlcipher no_libresapihttpserver rs_deep_search' RS_MAJOR_VERSION=0 RS_MINOR_VERSION=6 RS_MINI_VERSION=5 RS_EXTRA_VERSION=-gentoo-r0 ) && make -f Makefile.libbitdht
make[1]: Entering directory '/tmp/portage/net-p2p/retroshare-0.6.5/work/retroshare-0.6.5/libbitdht/src'
make[1]: Nothing to be done for 'first'.
make[1]: Leaving directory '/tmp/portage/net-p2p/retroshare-0.6.5/work/retroshare-0.6.5/libbitdht/src'
cd libretroshare/src/ && ( test -e Makefile.libretroshare || /usr/lib64/qt5/bin/qmake -o Makefile.libretroshare /tmp/portage/net-p2p/retroshare-0.6.5/work/retroshare-0.6.5/libretroshare/src/libretroshare.pro 'QMAKE_AR=x86_64-pc-linux-gnu-ar cqs' QMAKE_CC=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C_SHLIB=x86_64-pc-linux-gnu-gcc QMAKE_CXX=x86_64-pc-linux-gnu-g++ QMAKE_LINK=x86_64-pc-linux-gnu-g++ QMAKE_LINK_SHLIB=x86_64-pc-linux-gnu-g++ QMAKE_OBJCOPY=x86_64-pc-linux-gnu-objcopy QMAKE_RANLIB= QMAKE_STRIP= 'QMAKE_CFLAGS=-march=native -O2 -pipe -frecord-gcc-switches' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-march=native -O2 -pipe -frecord-gcc-switches' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= 'CONFIG+=retroshare_nogui no_libresapilocalserver no_rs_autologin retroshare_gui rs_jsonapi no_retroshare_service sqlcipher no_libresapihttpserver rs_deep_search' RS_MAJOR_VERSION=0 RS_MINOR_VERSION=6 RS_MINI_VERSION=5 RS_EXTRA_VERSION=-gentoo-r0 ) && make -f Makefile.libretroshare
make[1]: Entering directory '/tmp/portage/net-p2p/retroshare-0.6.5/work/retroshare-0.6.5/libretroshare/src'
x86_64-pc-linux-gnu-g++ -c -march=native -pipe -frecord-gcc-switches -Wno-deprecated -Wno-deprecated-declarations -Wno-cpp -O0 -g -fno-omit-frame-pointer -Wall -D_FILE_OFFSET_BITS=64 -fPIC -std=gnu++11 -pthread -Wall -Wextra -DRS_MAJOR_VERSION=0 -DRS_MINOR_VERSION=6 -DRS_MINI_VERSION=5 -DRS_EXTRA_VERSION=\"-gentoo-r0\" -DRS_USE_GXS_DISTANT_SYNC -DRS_ENABLE_GXS -DRS_GXS_SEND_ALL -DRS_NO_WARN_DEPRECATED -DRS_NO_WARN_CPP -DRS_GXS_TRANS -DRS_USE_BITDHT -DRS_DIRECT_CHAT -DRS_JSONAPI -DRS_DEEP_SEARCH -DHAS_RAPIDJSON -DPATCHED_LIBUPNP -DPLUGIN_DIR="\"/usr/lib/retroshare/extensions6\"" -DDATA_DIR="\"/usr/share/retroshare\"" -DRS_USE_LIBUPNP -DSQLITE_HAS_CODEC -DGXS_ENABLE_SYNC_MSGS -I. -I. -I../../openpgpsdk/src -I../../libbitdht/src -I/tmp/portage/net-p2p/retroshare-0.6.5/work/retroshare-0.6.5/supportlibs/restbed/include -I. -I../../libbitdht/src -I../../openpgpsdk/src -I../../jsonapi-generator/src -isystem /usr/include/upnp -I/usr/lib64/qt5/mkspecs/linux-g++ -o temp/linux-g++/obj/UPnPBase.o upnp/UPnPBase.cpp
upnp/UPnPBase.cpp: In member function 'bool CUPnPService::Execute(const string&, const std::vector<CUPnPArgumentValue>&) const':
upnp/UPnPBase.cpp:751:56: error: invalid static_cast from type 'int (*)(Upnp_EventType, void*, void*)' {aka 'int (*)(Upnp_EventType_e, void*, void*)'} to type 'Upnp_FunPtr' {aka 'int (*)(Upnp_EventType_e, const void*, void*)'}
751 | static_cast<Upnp_FunPtr>(&CUPnPControlPoint::Callback),
| ^
upnp/UPnPBase.cpp: In constructor 'CUPnPControlPoint::CUPnPControlPoint(short unsigned int)':
upnp/UPnPBase.cpp:951:56: error: invalid static_cast from type 'int (*)(Upnp_EventType, void*, void*)' {aka 'int (*)(Upnp_EventType_e, void*, void*)'} to type 'Upnp_FunPtr' {aka 'int (*)(Upnp_EventType_e, const void*, void*)'}
951 | static_cast<Upnp_FunPtr>(&CUPnPControlPoint::Callback),
| ^
upnp/UPnPBase.cpp: In static member function 'static int CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)':
upnp/UPnPBase.cpp:1326:14: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery'
1326 | if (d_event->ErrCode != UPNP_E_SUCCESS) {
| ^~
upnp/UPnPBase.cpp:1323:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery'
1323 | struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
| ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1336:35: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery'
1336 | ret = UpnpDownloadXmlDoc(d_event->Location, &doc);
| ^~
upnp/UPnPBase.cpp:1323:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery'
1323 | struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
| ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1383:13: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery'
1383 | d_event->Location, d_event->Expires);
| ^~
upnp/UPnPBase.cpp:1323:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery'
1323 | struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
| ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1383:32: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery'
1383 | d_event->Location, d_event->Expires);
| ^~
upnp/UPnPBase.cpp:1323:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery'
1323 | struct Upnp_Discovery *d_event = (struct Upnp_Discovery *)Event;
| ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1409:16: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery'
1409 | if (dab_event->ErrCode != UPNP_E_SUCCESS) {
| ^~
upnp/UPnPBase.cpp:1408:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery'
1408 | struct Upnp_Discovery *dab_event = (struct Upnp_Discovery *)Event;
| ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1416:34: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery'
1416 | std::string devType = dab_event->DeviceType;
| ^~
upnp/UPnPBase.cpp:1408:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery'
1408 | struct Upnp_Discovery *dab_event = (struct Upnp_Discovery *)Event;
| ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1420:38: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery'
1420 | upnpCP->RemoveRootDevice(dab_event->DeviceId);
| ^~
upnp/UPnPBase.cpp:1408:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Discovery'
1408 | struct Upnp_Discovery *dab_event = (struct Upnp_Discovery *)Event;
| ^~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1430:34: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event'
1430 | const std::string Sid = e_event->Sid;
| ^~
upnp/UPnPBase.cpp:1429:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event'
1429 | struct Upnp_Event *e_event = (struct Upnp_Event *)Event;
| ^~~~~~~~~~
upnp/UPnPBase.cpp:1432:39: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event'
1432 | upnpCP->OnEventReceived(Sid, e_event->EventKey, e_event->ChangedVariables);
| ^~
upnp/UPnPBase.cpp:1429:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event'
1429 | struct Upnp_Event *e_event = (struct Upnp_Event *)Event;
| ^~~~~~~~~~
upnp/UPnPBase.cpp:1432:58: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event'
1432 | upnpCP->OnEventReceived(Sid, e_event->EventKey, e_event->ChangedVariables);
| ^~
upnp/UPnPBase.cpp:1429:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event'
1429 | struct Upnp_Event *e_event = (struct Upnp_Event *)Event;
| ^~~~~~~~~~
upnp/UPnPBase.cpp:1449:15: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe'
1449 | if (es_event->ErrCode != UPNP_E_SUCCESS) {
| ^~
upnp/UPnPBase.cpp:1447:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe'
1447 | struct Upnp_Event_Subscribe *es_event =
| ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1452:18: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe'
1452 | msg, es_event->ErrCode, NULL, NULL);
| ^~
upnp/UPnPBase.cpp:1447:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe'
1447 | struct Upnp_Event_Subscribe *es_event =
| ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1482:34: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe'
1482 | UpnpString_get_String(es_event->PublisherUrl),
| ^~
upnp/UPnPBase.cpp:1475:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe'
1475 | struct Upnp_Event_Subscribe *es_event =
| ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1491:18: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe'
1491 | msg, es_event->ErrCode, NULL, NULL);
| ^~
upnp/UPnPBase.cpp:1475:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe'
1475 | struct Upnp_Event_Subscribe *es_event =
| ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1495:61: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe'
1495 | upnpCP->m_ServiceMap.find(UpnpString_get_String(es_event->PublisherUrl));
| ^~
upnp/UPnPBase.cpp:1475:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe'
1475 | struct Upnp_Event_Subscribe *es_event =
| ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1505:36: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe'
1505 | UpnpString_get_String(es_event->PublisherUrl) <<
| ^~
upnp/UPnPBase.cpp:1475:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Event_Subscribe'
1475 | struct Upnp_Event_Subscribe *es_event =
| ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1529:14: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete'
1529 | if (a_event->ErrCode != UPNP_E_SUCCESS) {
| ^~
upnp/UPnPBase.cpp:1527:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete'
1527 | struct Upnp_Action_Complete *a_event =
| ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1532:12: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete'
1532 | a_event->ErrCode, NULL,
| ^~
upnp/UPnPBase.cpp:1527:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete'
1527 | struct Upnp_Action_Complete *a_event =
| ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1533:12: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete'
1533 | a_event->ActionResult);
| ^~
upnp/UPnPBase.cpp:1527:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete'
1527 | struct Upnp_Action_Complete *a_event =
| ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1537:12: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete'
1537 | a_event->ActionResult,
| ^~
upnp/UPnPBase.cpp:1527:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_Action_Complete'
1527 | struct Upnp_Action_Complete *a_event =
| ^~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1552:15: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete'
1552 | if (sv_event->ErrCode != UPNP_E_SUCCESS) {
| ^~
upnp/UPnPBase.cpp:1550:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete'
1550 | struct Upnp_State_Var_Complete *sv_event =
| ^~~~~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1555:18: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete'
1555 | msg, sv_event->ErrCode, NULL, NULL);
| ^~
upnp/UPnPBase.cpp:1550:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete'
1550 | struct Upnp_State_Var_Complete *sv_event =
| ^~~~~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1558:63: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete'
1558 | (upnpCP->m_WanService->propertyMap)[std::string(sv_event->StateVarName)] = std::string(sv_event->CurrentVal);
| ^~
upnp/UPnPBase.cpp:1550:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete'
1550 | struct Upnp_State_Var_Complete *sv_event =
| ^~~~~~~~~~~~~~~~~~~~~~~
upnp/UPnPBase.cpp:1558:102: error: invalid use of incomplete type 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete'
1558 | rtyMap)[std::string(sv_event->StateVarName)] = std::string(sv_event->CurrentVal);
| ^~
upnp/UPnPBase.cpp:1550:10: note: forward declaration of 'struct CUPnPControlPoint::Callback(Upnp_EventType, void*, void*)::Upnp_State_Var_Complete'
1550 | struct Upnp_State_Var_Complete *sv_event =
| ^~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile.libretroshare:9198: temp/linux-g++/obj/UPnPBase.o] Error 1
make[1]: Leaving directory '/tmp/portage/net-p2p/retroshare-0.6.5/work/retroshare-0.6.5/libretroshare/src'
make: *** [Makefile:129: sub-libretroshare-src-libretroshare-pro-make_first] Error 2
* ERROR: net-p2p/retroshare-0.6.5::testworld failed (compile phase):
* emake failed
Any ideas? Fast-glancing it looks like a missing/broken dep.
Also the first bug you reference in your commit message seems irrelevant to this PR, maybe you're looking for some other bug? |
@juippis the bug you are experiencing now is due to another issue that is addressed in it's own PR #14660 to have retroshare compiling again both PRs need to be merged, as I am RetroShare proxy maintainer I wonder if there is a way to get patches into gentoo faster... those too are quite trivial fixes and it is already more then one months int the queue... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for taking this long. I usually try to check these in the order they are pushed, it COULD be your "missing sign-off label" made me initially skip it due to having multiple other PRs available. I believe it's just a bad timing, we had a very busy February.
@@ -50,7 +50,7 @@ RDEPEND=" | |||
DEPEND="${RDEPEND} | |||
gui? ( dev-qt/designer:5 ) | |||
jsonapi? ( | |||
app-doc/doxygen | |||
|| ( <app-doc/doxygen-1.8.16 >=app-doc/doxygen-1.8.17 ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please note that newer version should always come first here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, I'll take it in acocunt for next PR ;)
Fix bug https://bugs.gentoo.org/show_bug.cgi?id=709252 and
https://bugs.gentoo.org/699164 due to doxygen 1.8.16 bug
doxygen/doxygen#7236