Package Details: retroshare 0.6.5-2

Git Clone URL: https://aur.archlinux.org/retroshare.git (read-only, click to copy)
Package Base: retroshare
Description: Serverless encrypted instant messenger with filesharing, chatgroups, e-mail.
Upstream URL: http://retroshare.cc/
Keywords: i2p retroshare tor
Licenses: GPL2
Conflicts: retroshare
Provides: retroshare
Submitter: None
Maintainer: sehraf
Last Packager: sehraf
Votes: 166
Popularity: 0.75
First Submitted: 2007-10-03 20:41
Last Updated: 2020-10-12 21:43

Latest Comments

1 2 3 4 5 6 ... Next › Last »

fmorgner commented on 2020-10-12 19:38

The latest version of libupnp seems to be incompatible. A possible solution is to switch to miniupnpc:

diff --git a/PKGBUILD b/PKGBUILD
index 3407b0e..e221601 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -30,12 +30,12 @@

 pkgname=retroshare
 pkgver=0.6.5
-pkgrel=1
+pkgrel=2
 pkgdesc="Serverless encrypted instant messenger with filesharing, chatgroups, e-mail."
 arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
 url='http://retroshare.cc/'
 license=('GPL2')
-depends=('qt5-multimedia' 'qt5-x11extras' 'libupnp' 'libxss' 'sqlcipher') # 'libmicrohttpd'
+depends=('qt5-multimedia' 'qt5-x11extras' 'miniupnpc' 'libxss' 'sqlcipher') # 'libmicrohttpd'
 makedepends=('git' 'qt5-tools')
 optdepends=('tor: tor hidden node support'
             'i2p: i2p hidden node support')
@@ -101,6 +101,7 @@ build() {
        CONFIG+=no_libresapihttpserver \
        QMAKE_CFLAGS_RELEASE="${CFLAGS}" \
        QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" \
+       'RS_UPNP_LIB="miniupnpc"' \
        RetroShare.pro
    # workaround
    make || make

TheDcoder commented on 2020-08-17 19:11

@seharf Thanks for the quick fix, successfully compiled and installed :)

sehraf commented on 2020-08-17 18:51

Thanks for reporting, on the first look it seems like libmicrohttp is not compatible anymore. I've disabled the code related to it. This will obviously break jasonapi support.

TheDcoder commented on 2020-08-17 17:08

Fresh build is failing for me with no customization:

api/ApiServerMHD.cpp: In function ‘void resource_api::secure_queue_response(MHD_Connection*, unsigned int, MHD_Response*)’:
api/ApiServerMHD.cpp:400:60: error: invalid conversion from ‘int (*)(void*, MHD_ValueKind, const char*, const char*)’ to ‘MHD_KeyValueIterator’ {aka ‘MHD_Result (*)(void*, MHD_ValueKind, const char*, const char*)’} [-fpermissive]
  400 |     MHD_get_connection_values(connection, MHD_HEADER_KIND, _extract_host_header_it_cb, (void*)&host);
      |                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                            |
      |                                                            int (*)(void*, MHD_ValueKind, const char*, const char*)
In file included from api/ApiServerMHD.h:28,
                 from api/ApiServerMHD.cpp:22:
/usr/include/microhttpd.h:2699:49: note:   initializing argument 3 of ‘int MHD_get_connection_values(MHD_Connection*, MHD_ValueKind, MHD_KeyValueIterator, void*)’
 2699 |                            MHD_KeyValueIterator iterator,
      |                            ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
api/ApiServerMHD.cpp: In member function ‘bool resource_api::ApiServerMHD::start()’:
api/ApiServerMHD.cpp:500:32: error: invalid conversion from ‘int (*)(void*, const sockaddr*, socklen_t)’ {aka ‘int (*)(void*, const sockaddr*, unsigned int)’} to ‘MHD_AcceptPolicyCallback’ {aka ‘MHD_Result (*)(void*, const sockaddr*, unsigned int)’} [-fpermissive]
  500 |                                &static_acceptPolicyCallback, this,
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                |
      |                                int (*)(void*, const sockaddr*, socklen_t) {aka int (*)(void*, const sockaddr*, unsigned int)}
In file included from api/ApiServerMHD.h:28,
                 from api/ApiServerMHD.cpp:22:
/usr/include/microhttpd.h:2427:44: note:   initializing argument 3 of ‘MHD_Daemon* MHD_start_daemon(unsigned int, uint16_t, MHD_AcceptPolicyCallback, void*, MHD_AccessHandlerCallback, void*, ...)’
 2427 |                   MHD_AcceptPolicyCallback apc, void *apc_cls,
      |                   ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
api/ApiServerMHD.cpp:501:32: error: invalid conversion from ‘int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, size_t*, void**)’ {aka ‘int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)’} to ‘MHD_AccessHandlerCallback’ {aka ‘MHD_Result (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)’} [-fpermissive]
  501 |                                &static_accessHandlerCallback, this,
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                |
      |                                int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, size_t*, void**) {aka int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)}
In file included from api/ApiServerMHD.h:28,
                 from api/ApiServerMHD.cpp:22:
/usr/include/microhttpd.h:2428:45: note:   initializing argument 5 of ‘MHD_Daemon* MHD_start_daemon(unsigned int, uint16_t, MHD_AcceptPolicyCallback, void*, MHD_AccessHandlerCallback, void*, ...)’
 2428 |                   MHD_AccessHandlerCallback dh, void *dh_cls,
      |                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
api/ChatHandler.cpp: In member function ‘void resource_api::ChatHandler::handleMarkChatAsRead(resource_api::Request&, resource_api::Response&)’:
api/ChatHandler.cpp:1241:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
 1241 |     if(id.isPeerId() && mUnreadMsgNotify)
      |     ^~
api/ChatHandler.cpp:1244:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
 1244 |  mStateTokenServer->replaceToken(mMsgStateToken);
      |  ^~~~~~~~~~~~~~~~~

sehraf commented on 2020-06-22 18:47

Thanks for reporting, should be fixed now.

Traace commented on 2020-06-21 11:38

This application doesn't build for me. (gcc10)

Edit: @sehraf thanks for the quick fix, it builds just fine now :)


gui/gxs/GxsIdDetails.cpp:753:16: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined
  753 |   QPainterPath path;
      |                ^~~~
gui/gxs/GxsCommentTreeWidget.cpp: In member function ‘virtual void MultiLinesCommentDelegate::paint(QPainter*, const QStyleOptionViewItem&, const QModelIndex&) const’:
gui/gxs/GxsCommentTreeWidget.cpp:109:22: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined
  109 |         QPainterPath path ;
      |                      ^~~~

make[1]: [Makefile.retroshare-gui:20115: temp/linux-g++/obj/GxsCommentTreeWidget.o] Error 1 make[1]: Waiting for unfinished jobs.... make[1]: *** [Makefile.retroshare-gui:19794: temp/linux-g++/obj/GxsIdDetails.o] Error 1

sehraf commented on 2020-03-27 22:02

This happens a few line later:

# Handle unofficial plugins
if [[ "$_plugin_lua4rs" == 'true' ]] ; then
    depends=(${depends[@]} 'lua')
    source=(${source[@]} 'Lua4RS::git+https://github.com/RetroShare/Lua4RS.git')
    sha256sums=(${sha256sums[@]} 'SKIP')
fi

hhirtz commented on 2020-03-27 13:04

At line 68 if $_plugin_lua4rs is true then it must also append a element to sha256sums.

Tio commented on 2019-06-22 19:40

Error solved - Manjaro repos were not properly updated. Next time I'll check for that first, before reporting here. Cheers!

Tio commented on 2019-06-21 19:45

Error on Manjaro Gnome:

Preparing...
Cloning retroshare build files...
Checking retroshare dependencies...
Resolving dependencies...
Checking inter-conflicts...
Downloading libmicrohttpd (0.9.63-1-x86_64)...
Warning: failed to retrieve some files
Failed to commit transaction:
failed retrieving file 'libmicrohttpd-0.9.63-1-x86_64.pkg.tar.xz' from www.uex.dk : The requested URL returned error: 404 Not Found