Package Details: retroshare 0.6.6-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: AGPL3
Conflicts: retroshare
Provides: retroshare
Submitter: None
Maintainer: sehraf
Last Packager: sehraf
Votes: 168
Popularity: 0.110277
First Submitted: 2007-10-03 20:41 (UTC)
Last Updated: 2021-05-29 07:51 (UTC)

Latest Comments

sehraf commented on 2021-12-27 10:25 (UTC)

There is no pgp key used. Please ensure that this is not related to a different packet. If you think that is related to the RetroShare package, please provide the full update log.

teke commented on 2021-12-27 09:53 (UTC) (edited on 2021-12-27 09:54 (UTC) by teke)

Hello, Many thanks for this package!!! I can't update it, impossible to import the key:

:: Importing keys with gpg...
gpg: data source: http://pgp.surf.nl:11371
gpg: en-tête d'armure : Version: SKS 1.1.6
gpg: en-tête d'armure : Comment: Hostname: pgp.surf.nl
gpg: pub  rsa4096/0x498FCFAD9FE6855B 2013-04-11  Jon Frisby <jfrisby@mrjoy.com>
gpg: Remarque : les signatures utilisant l’algorithme SHA1 sont rejetées
gpg: key 0x498FCFAD9FE6855B: 2 bad signatures
gpg: clef 0x498FCFAD9FE6855B : autosignature de l'identité « Jon Frisby <jfrisby@mrjoy.com> » incorrecte
gpg: clef 0x498FCFAD9FE6855B/0x7F7CFB137DCB12A7 : lien à la sous-clef incorrect
gpg: clef 0x498FCFAD9FE6855B : identité « Jon Frisby <jfrisby@mrjoy.com> » ignorée
gpg: clef 0x498FCFAD9FE6855B/0x7F7CFB137DCB12A7 : sous-clef ignorée
gpg: clef 0x498FCFAD9FE6855B : pas d'identité valable
gpg: cela pourrait provenir d'une autosignature manquante
gpg:       Quantité totale traitée : 1
gpg:                 sans identité : 1
 -> problem importing keys

sehraf commented on 2021-05-29 07:52 (UTC)

should be fixed now

sehraf commented on 2021-05-25 10:32 (UTC)

@digital, I'm aware of the problem, just missing the time to fix it. No need to delete the package from the AUR ...

digital commented on 2021-05-24 11:42 (UTC)

std::filesystem::create_directories was added in C++17.

libsys commented on 2021-05-23 18:05 (UTC)

Compilation failed for me today:

util/rsdir.cc:280:38: error: ‘create_directories’ is not a member of ‘std::filesystem’
  280 |                 if(!std::filesystem::create_directories(dest_dir))
      |                                      ^~~~~~~~~~~~~~~~~~
util/rsdir.cc: In function ‘int RsDirUtil::createLockFile(const string&, rs_lock_handle_t&)’:
util/rsdir.cc:897:14: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  897 |         write(lock_handle, ourPID.c_str(), sizeof(char)*ourPID.size() );
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-inconsistent-missing-override’ may have been intended to silence earlier diagnostics
make[1]: *** [Makefile.libretroshare:9817: temp/linux-g++/obj/rsdir.o] Error 1
make[1]: Leaving directory '/opt/src/retroshare/src/retroshare-0.6.6/libretroshare/src'
make: *** [Makefile:102: sub-libretroshare-src-libretroshare-pro-make_first] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

On both retroshare and retroshare-git packages.

patlefort commented on 2021-03-16 15:59 (UTC) (edited on 2021-03-16 15:59 (UTC) by patlefort)

cmake should also be added to makedepends. It needs it to build a dependency.

sehraf commented on 2021-03-16 15:59 (UTC)

Thanks for the reports and sorry for the inconvenience! I've dropped the option to use the system's rapidjson and instead added it to the makedeps.

archee commented on 2021-03-16 15:40 (UTC) (edited on 2021-03-16 15:40 (UTC) by archee)

It did build after adding 'rapidjson' 'cmake' to makedepends

archee commented on 2021-03-16 11:28 (UTC)

Thanks for the update, but for me also the update doesn't work. After adding rapidjson to makedepends the build breaks like this:

g++ -c -pipe -Wno-deprecated -Wno-deprecated-declarations -Wno-cpp -Wno-inconsistent-missing-override -Wall -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fPIC -Wall -Wextra -DV07_NON_BACKWARD_COMPATIBLE_CHANGE_001 -DV07_NON_BACKWARD_COMPATIBLE_CHANGE_002 -DV07_NON_BACKWARD_COMPATIBLE_CHANGE_003 -DRS_MAJOR_VERSION=0 -DRS_MINOR_VERSION=6 -DRS_MINI_VERSION=6 -DRS_EXTRA_VERSION=\"\" -DRS_USE_GXS_DISTANT_SYNC -DRS_ENABLE_GXS -DRS_GXS_SEND_ALL -DRS_SERVICE_TERMINAL_WEBUI_PASSWORD -DRS_SERVICE_TERMINAL_LOGIN -DRS_NO_WARN_DEPRECATED -DRS_NO_WARN_CPP -DRS_GXS_TRANS -DRS_USE_BITDHT -DRS_DIRECT_CHAT -DRS_USE_I2P_BOB -DRS_BROADCAST_DISCOVERY -DRS_USE_LIBMINIUPNPC -DRS_USE_DHT_STUNNER -DPLUGIN_DIR="\"/usr/lib/retroshare/extensions6\"" -DDATA_DIR="\"/usr/share/retroshare\"" -DSQLITE_HAS_CODEC -DGXS_ENABLE_SYNC_MSGS -I. -I. -I../../openpgpsdk/src -I../../libbitdht/src -I../../supportlibs/udp-discovery-cpp -I. -I../../libbitdht/src -I../../openpgpsdk/src -I/usr/lib/qt/mkspecs/linux-g++ -o temp/linux-g++/obj/ftfilesearch.o ft/ftfilesearch.cc
g++ -c -pipe -Wno-deprecated -Wno-deprecated-declarations -Wno-cpp -Wno-inconsistent-missing-override -Wall -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fPIC -Wall -Wextra -DV07_NON_BACKWARD_COMPATIBLE_CHANGE_001 -DV07_NON_BACKWARD_COMPATIBLE_CHANGE_002 -DV07_NON_BACKWARD_COMPATIBLE_CHANGE_003 -DRS_MAJOR_VERSION=0 -DRS_MINOR_VERSION=6 -DRS_MINI_VERSION=6 -DRS_EXTRA_VERSION=\"\" -DRS_USE_GXS_DISTANT_SYNC -DRS_ENABLE_GXS -DRS_GXS_SEND_ALL -DRS_SERVICE_TERMINAL_WEBUI_PASSWORD -DRS_SERVICE_TERMINAL_LOGIN -DRS_NO_WARN_DEPRECATED -DRS_NO_WARN_CPP -DRS_GXS_TRANS -DRS_USE_BITDHT -DRS_DIRECT_CHAT -DRS_USE_I2P_BOB -DRS_BROADCAST_DISCOVERY -DRS_USE_LIBMINIUPNPC -DRS_USE_DHT_STUNNER -DPLUGIN_DIR="\"/usr/lib/retroshare/extensions6\"" -DDATA_DIR="\"/usr/share/retroshare\"" -DSQLITE_HAS_CODEC -DGXS_ENABLE_SYNC_MSGS -I. -I. -I../../openpgpsdk/src -I../../libbitdht/src -I../../supportlibs/udp-discovery-cpp -I. -I../../libbitdht/src -I../../openpgpsdk/src -I/usr/lib/qt/mkspecs/linux-g++ -o temp/linux-g++/obj/ftserver.o ft/ftserver.cc
g++ -c -pipe -Wno-deprecated -Wno-deprecated-declarations -Wno-cpp -Wno-inconsistent-missing-override -Wall -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fPIC -Wall -Wextra -DV07_NON_BACKWARD_COMPATIBLE_CHANGE_001 -DV07_NON_BACKWARD_COMPATIBLE_CHANGE_002 -DV07_NON_BACKWARD_COMPATIBLE_CHANGE_003 -DRS_MAJOR_VERSION=0 -DRS_MINOR_VERSION=6 -DRS_MINI_VERSION=6 -DRS_EXTRA_VERSION=\"\" -DRS_USE_GXS_DISTANT_SYNC -DRS_ENABLE_GXS -DRS_GXS_SEND_ALL -DRS_SERVICE_TERMINAL_WEBUI_PASSWORD -DRS_SERVICE_TERMINAL_LOGIN -DRS_NO_WARN_DEPRECATED -DRS_NO_WARN_CPP -DRS_GXS_TRANS -DRS_USE_BITDHT -DRS_DIRECT_CHAT -DRS_USE_I2P_BOB -DRS_BROADCAST_DISCOVERY -DRS_USE_LIBMINIUPNPC -DRS_USE_DHT_STUNNER -DPLUGIN_DIR="\"/usr/lib/retroshare/extensions6\"" -DDATA_DIR="\"/usr/share/retroshare\"" -DSQLITE_HAS_CODEC -DGXS_ENABLE_SYNC_MSGS -I. -I. -I../../openpgpsdk/src -I../../libbitdht/src -I../../supportlibs/udp-discovery-cpp -I. -I../../libbitdht/src -I../../openpgpsdk/src -I/usr/lib/qt/mkspecs/linux-g++ -o temp/linux-g++/obj/fttransfermodule.o ft/fttransfermodule.cc
g++ -c -pipe -Wno-deprecated -Wno-deprecated-declarations -Wno-cpp -Wno-inconsistent-missing-override -Wall -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fPIC -Wall -Wextra -DV07_NON_BACKWARD_COMPATIBLE_CHANGE_001 -DV07_NON_BACKWARD_COMPATIBLE_CHANGE_002 -DV07_NON_BACKWARD_COMPATIBLE_CHANGE_003 -DRS_MAJOR_VERSION=0 -DRS_MINOR_VERSION=6 -DRS_MINI_VERSION=6 -DRS_EXTRA_VERSION=\"\" -DRS_USE_GXS_DISTANT_SYNC -DRS_ENABLE_GXS -DRS_GXS_SEND_ALL -DRS_SERVICE_TERMINAL_WEBUI_PASSWORD -DRS_SERVICE_TERMINAL_LOGIN -DRS_NO_WARN_DEPRECATED -DRS_NO_WARN_CPP -DRS_GXS_TRANS -DRS_USE_BITDHT -DRS_DIRECT_CHAT -DRS_USE_I2P_BOB -DRS_BROADCAST_DISCOVERY -DRS_USE_LIBMINIUPNPC -DRS_USE_DHT_STUNNER -DPLUGIN_DIR="\"/usr/lib/retroshare/extensions6\"" -DDATA_DIR="\"/usr/share/retroshare\"" -DSQLITE_HAS_CODEC -DGXS_ENABLE_SYNC_MSGS -I. -I. -I../../openpgpsdk/src -I../../libbitdht/src -I../../supportlibs/udp-discovery-cpp -I. -I../../libbitdht/src -I../../openpgpsdk/src -I/usr/lib/qt/mkspecs/linux-g++ -o temp/linux-g++/obj/ftturtlefiletransferitem.o ft/ftturtlefiletransferitem.cc
error: pathspec 'supportlibs/udp-discovery-cpp' did not match any file(s) known to git
/bin/sh: line 1: cmake: command not found
make[1]: *** [Makefile.libretroshare:1702: ../../supportlibs/udp-discovery-cpp/libudp-discovery.a] Error 127
make[1]: *** Waiting for unfinished jobs....
tcponudp/tou.cc: In function 'bool tou_stream_check(int)':
tcponudp/tou.cc:182:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<TcpOnUdp_t*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  182 |  if(sockfd >= tou_streams.size())
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~
At global scope:
cc1plus: note: unrecognized command-line option '-Wno-inconsistent-missing-override' may have been intended to silence earlier diagnostics
ft/ftcontroller.cc: In member function 'bool ftController::completeFile(const RsFileHash&)':
ft/ftcontroller.cc:660:14: warning: variable 'completeCount' set but not used [-Wunused-but-set-variable]
  660 |  uint32_t    completeCount = 0;
      |              ^~~~~~~~~~~~~
ft/ftserver.cc: In member function 'virtual bool ftServer::receiveSearchRequest(unsigned char*, uint32_t, unsigned char*&, uint32_t&, uint32_t&)':
ft/ftserver.cc:2003:24: warning: unused parameter 'searchRequestData' [-Wunused-parameter]
 2003 |         unsigned char* searchRequestData, uint32_t searchRequestDataLen,
      |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
ft/ftserver.cc:2003:52: warning: unused parameter 'searchRequestDataLen' [-Wunused-parameter]
 2003 |         unsigned char* searchRequestData, uint32_t searchRequestDataLen,
      |                                           ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
ft/ftserver.cc:2005:19: warning: unused parameter 'maxAllowsHits' [-Wunused-parameter]
 2005 |         uint32_t& maxAllowsHits )
      |         ~~~~~~~~~~^~~~~~~~~~~~~
At global scope:
cc1plus: note: unrecognized command-line option '-Wno-inconsistent-missing-override' may have been intended to silence earlier diagnostics
At global scope:
cc1plus: note: unrecognized command-line option '-Wno-inconsistent-missing-override' may have been intended to silence earlier diagnostics
make[1]: Leaving directory '/var/tmp/pamac-build-gue/retroshare/src/RetroShare-0.6.6/libretroshare/src'
make: *** [Makefile:102: sub-libretroshare-src-libretroshare-pro-make_first] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

patlefort commented on 2021-03-15 23:39 (UTC) (edited on 2021-03-15 23:39 (UTC) by patlefort)

rapidjson should be added to makedepends.

Tio commented on 2021-03-15 23:03 (UTC)

Error when updating:

-- Build files have been written to: /var/tmp/pamac-build-tio/retroshare/src/RetroShare-0.6.6/supportlibs/udp-discovery-cpp
In file included from ./util/rsdebug.h:37,
                 from ./retroshare/rsids.h:36,
                 from ./retroshare/rstypes.h:32,
                 from ./util/rsdir.h:34,
                 from file_sharing/dir_hierarchy.cc:26:
./util/rsjson.h:24:10: fatal error: rapidjson/document.h: No such file or directory
   24 | #include <rapidjson/document.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: Entering directory '/var/tmp/pamac-build-tio/retroshare/src/RetroShare-0.6.6/supportlibs/udp-discovery-cpp'
make[1]: *** [Makefile.libretroshare:2274: temp/linux-g++/obj/dir_hierarchy.o] Error 1
In file included from ./util/rsdebug.h:37,
                 from ./retroshare/rsids.h:36,
                 from ./serialiser/rsbaseserial.h:29,
                 from file_sharing/rsfilelistitems.cc:22:
./util/rsjson.h:24:10: fatal error: rapidjson/document.h: No such file or directory
   24 | #include <rapidjson/document.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile.libretroshare:2348: temp/linux-g++/obj/rsfilelistitems.o] Error 1
make[3]: Entering directory '/var/tmp/pamac-build-tio/retroshare/src/RetroShare-0.6.6/supportlibs/udp-discovery-cpp'
make[4]: Entering directory '/var/tmp/pamac-build-tio/retroshare/src/RetroShare-0.6.6/supportlibs/udp-discovery-cpp'
make[4]: Leaving directory '/var/tmp/pamac-build-tio/retroshare/src/RetroShare-0.6.6/supportlibs/udp-discovery-cpp'
[100%] Built target udp-discovery
make[3]: Leaving directory '/var/tmp/pamac-build-tio/retroshare/src/RetroShare-0.6.6/supportlibs/udp-discovery-cpp'
make[2]: Leaving directory '/var/tmp/pamac-build-tio/retroshare/src/RetroShare-0.6.6/supportlibs/udp-discovery-cpp'
make[1]: Leaving directory '/var/tmp/pamac-build-tio/retroshare/src/RetroShare-0.6.6/libretroshare/src'
make: *** [Makefile:102: sub-libretroshare-src-libretroshare-pro-make_first] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

archee commented on 2021-03-14 22:32 (UTC)

Retroshare 0.6.6 got released: https://github.com/RetroShare/RetroShare/releases/tag/v0.6.6

sehraf commented on 2020-12-16 19:33 (UTC)

@blx32 I don't think that this is the right place to include an (more or less) independent webui (in other words, there is not a version of rsnewwebui that i could map to this version)

But I've created a separate package - though i cannot upload it to the AUR for unknown reasons.

In the meantime have the PKGBUILD:

_pkgname=rsnewwebui
pkgname=${_pkgname}-git
pkgver=r143.3a59df5
pkgrel=1

pkgdesc="A web-based frontend for Retroshare. Communicates with the client through the JSON API."
arch=('any')
url="https://github.com/RetroShare/RSNewWebUI"
#license=('GPL2') 
makedepends=('git' 'qt5-base')
depends=('retroshare')
optdepends=()

provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("${_pkgname}::git+https://github.com/RetroShare/RSNewWebUI.git")
sha256sums=('SKIP')

pkgver() {
  cd "${srcdir}/${_pkgname}"
  ( set -o pipefail
    git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  )
}

build() {
        cd "${srcdir}/${_pkgname}"
        qmake .
}

package() {
        cd "${srcdir}/${_pkgname}"
        make INSTALL_ROOT="${pkgdir}/usr/share/retroshare/" install
}

blx32 commented on 2020-12-16 01:56 (UTC) (edited on 2020-12-16 01:56 (UTC) by blx32)

Please, if it is possible to include WebUI in PKGBUILD. Thank you in advance.

Tio commented on 2020-12-08 19:43 (UTC)

Great! It works now. Thanks!

sehraf commented on 2020-12-08 16:51 (UTC)

I see. I've fixed it in this package and also opened an issue upstream.

Tio commented on 2020-12-07 23:40 (UTC)

Normally in the .desktop file it looks something like: Icon=name-of-the-icon

But in Retroshare's desktop file I see: Icon=/usr/share/pixmaps/retroshare.xpm

This means that no custom icons can be used with Retroshare since it uses a direct path instead of a relative path. You know what I mean?

If you think I should report this upstream I could do that. Thanks!

sehraf commented on 2020-12-06 16:07 (UTC)

I'm not sure if i fully understand the problem. Should RS load the icons from a relativ path? This would be something for upstream as i prefer to change upstream as less as possible. Or should (I) install them relativ (isn't that what makepkg does anyway??

Tio commented on 2020-12-06 15:46 (UTC)

Yes

sehraf commented on 2020-12-06 15:44 (UTC) (edited on 2020-12-06 15:44 (UTC) by sehraf)

@Tio so

../share/icons/

instead of

/usr/share/icons/

?

Tio commented on 2020-12-06 14:39 (UTC)

Can you please make the icon path as relative? We are making custom icons for Linux and we can't deal with these non-relative paths. Thanks!

fmorgner commented on 2020-10-12 19:38 (UTC) (edited on 2020-10-12 19:39 (UTC) by fmorgner)

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 (UTC)

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

sehraf commented on 2020-08-17 18:51 (UTC)

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 (UTC)

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 (UTC)

Thanks for reporting, should be fixed now.

Traace commented on 2020-06-21 11:38 (UTC) (edited on 2020-06-24 14:32 (UTC) by Traace)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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

sehraf commented on 2019-03-29 17:32 (UTC)

fixed

Tio commented on 2019-03-29 17:21 (UTC)

error

Building retroshare...
==> Making package: retroshare 0.6.5-1 (vie 29 mar 2019 18:20:17 CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading v0.6.5.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   129    0   129    0     0    175      0 --:--:-- --:--:-- --:--:--   175

100 34132    0 34132    0     0  20438      0 --:--:--  0:00:01 --:--:-- 20438
100 2646k    0 2646k    0     0  1002k      0 --:--:--  0:00:02 --:--:-- 2691k
100 16.3M    0 16.3M    0     0  4587k      0 --:--:--  0:00:03 --:--:-- 8458k
100 20.0M    0 20.0M    0     0  5190k      0 --:--:--  0:00:03 --:--:-- 8984k
==> Validating source files with sha256sums...
    v0.6.5.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting v0.6.5.tar.gz with bsdtar
==> Starting prepare()...
==> ERROR: A failure occurred in prepare().
    Aborting...

sehraf commented on 2019-03-02 20:00 (UTC)

Thanks for reporting ryuta. Sadly it looks like voip is broken right not. I fixed the opencv lib issue but there are others remaining. If anybody knows how to fix those let me know.

ryuta commented on 2019-03-02 06:36 (UTC)

If I compile this package with no option, it works, but if I uncomment _plugin_voip=true, it fail : oadcastPage.o temp/linux-g++/obj/moc_GxsGroupShareKey.o temp/linux-g++/obj/moc_GxsUserNotify.o temp/linux-g++/obj/moc_GxsFeedWidget.o temp/linux-g++/obj/moc_TokenQueue.o temp/linux-g++/obj/moc_RsGxsUpdateBroadcast.o -L/usr/lib -L/tmp/yaourt-tmp-tux/aur-retroshare/src/RetroShare-0.6.5/libresapi/src/lib -lresapi -L/tmp/yaourt-tmp-tux/aur-retroshare/src/RetroShare-0.6.5/libretroshare/src/lib -lretroshare -L/tmp/yaourt-tmp-tux/aur-retroshare/src/RetroShare-0.6.5/openpgpsdk/src/lib -lops -lz -lbz2 -L/tmp/yaourt-tmp-tux/aur-retroshare/src/RetroShare-0.6.5/libbitdht/src/lib -lbitdht -lsqlcipher -lssl -lcrypto -lupnp -lixml -lthreadutil -ldl -lmicrohttpd -rdynamic -lX11 -lXss -lQt5UiTools -lQt5PrintSupport -lQt5Widgets -lQt5Multimedia -lQt5X11Extras -lQt5Gui -lQt5Network -lQt5Xml -lQt5Core /usr/lib/libGL.so -lpthread
make[1] : on quitte le répertoire « /tmp/yaourt-tmp-tux/aur-retroshare/src/RetroShare-0.6.5/retroshare-gui/src » cd plugins/ && ( test -e Makefile || /usr/sbin/qmake -o Makefile /tmp/yaourt-tmp-tux/aur-retroshare/src/RetroShare-0.6.5/plugins/plugins.pro CONFIG-=debug CONFIG+=release CONFIG+=retroshare_plugins 'QMAKE_CFLAGS_RELEASE=-march=native -mtune=native -O2 -pipe -fno-plt' 'QMAKE_CXXFLAGS_RELEASE=-march=native -mtune=native -O2 -pipe -fno-plt' ) && make -f Makefile make[1] : on entre dans le répertoire « /tmp/yaourt-tmp-tux/aur-retroshare/src/RetroShare-0.6.5/plugins » cd VOIP/ && ( test -e Makefile || /usr/sbin/qmake -o Makefile /tmp/yaourt-tmp-tux/aur-retroshare/src/RetroShare-0.6.5/plugins/VOIP/VOIP.pro CONFIG-=debug CONFIG+=release CONFIG+=retroshare_plugins 'QMAKE_CFLAGS_RELEASE=-march=native -mtune=native -O2 -pipe -fno-plt' 'QMAKE_CXXFLAGS_RELEASE=-march=native -mtune=native -O2 -pipe -fno-plt' ) && make -f Makefile Project ERROR: opencv development package not found make[1]: [Makefile:47: sub-VOIP-make_first] Error 3 make[1] : on quitte le répertoire « /tmp/yaourt-tmp-tux/aur-retroshare/src/RetroShare-0.6.5/plugins » make: [Makefile:204: plugins-make_first] Error 2 cd openpgpsdk/src/ && ( test -e Makefile.openpgpsdk || /usr/sbin/qmake -o Makefile.openpgpsdk /tmp/yaourt-tmp-tux/aur-retroshare/src/RetroShare-0.6.5/openpgpsdk/src/openpgpsdk.pro CONFIG-=debug CONFIG+=release CONFIG+=retroshare_plugins 'QMAKE_CFLAGS_RELEASE=-march=native -mtune=native -O2 -pipe -fno-plt' 'QMAKE_CXXFLAGS_RELEASE=-march=native -mtune=native -O2 -pipe -fno-plt' ) && make -f Makefile.openpgpsdk cd libbitdht/src/ && ( test -e Makefile.libbitdht || /usr/sbin/qmake -o Makefile.libbitdht /tmp/yaourt-tmp-tux/aur-retroshare/src/RetroShare-0.6.5/libbitdht/src/libbitdht.pro CONFIG-=debug CONFIG+=release CONFIG+=retroshare_plugins 'QMAKE_CFLAGS_RELEASE=-march=native -mtune=native -O2 -pipe -fno-plt' 'QMAKE_CXXFLAGS_RELEASE=-march=native -mtune=native -O2 -pipe -fno-plt' ) && make -f Makefile.libbitdht make[1] : on entre dans le répertoire « /tmp/yaourt-tmp-tux/aur-retroshare/src/RetroShare-0.6.5/libbitdht/src » make[1]: rien à faire pour « first ». make[1] : on quitte le répertoire « /tmp/yaourt-tmp-tux/aur-retroshare/src/RetroShare-0.6.5/libbitdht/src » make[1] : on entre dans le répertoire « /tmp/yaourt-tmp-tux/aur-retroshare/src/RetroShare-0.6.5/openpgpsdk/src » make[1]: rien à faire pour « first ». make[1] : on quitte le répertoire « /tmp/yaourt-tmp-tux/aur-retroshare/src/RetroShare-0.6.5/openpgpsdk/src » cd libretroshare/src/ && ( test -e Makefile.libretroshare || /usr/sbin/qmake -o Makefile.libretroshare /tmp/yaourt-tmp-tux/aur-retroshare/src/RetroShare-0.6.5/libretroshare/src/libretroshare.pro CONFIG-=debug CONFIG+=release CONFIG+=retroshare_plugins 'QMAKE_CFLAGS_RELEASE=-march=native -mtune=native -O2 -pipe -fno-plt' 'QMAKE_CXXFLAGS_RELEASE=-march=native -mtune=native -O2 -pipe -fno-plt' ) && make -f Makefile.libretroshare make[1] : on entre dans le répertoire « /tmp/yaourt-tmp-tux/aur-retroshare/src/RetroShare-0.6.5/libretroshare/src » make[1]: rien à faire pour « first ». make[1] : on quitte le répertoire « /tmp/yaourt-tmp-tux/aur-retroshare/src/RetroShare-0.6.5/libretroshare/src » cd libresapi/src/ && ( test -e Makefile.libresapi || /usr/sbin/qmake -o Makefile.libresapi /tmp/yaourt-tmp-tux/aur-retroshare/src/RetroShare-0.6.5/libresapi/src/libresapi.pro CONFIG-=debug CONFIG+=release CONFIG+=retroshare_plugins 'QMAKE_CFLAGS_RELEASE=-march=native -mtune=native -O2 -pipe -fno-plt' 'QMAKE_CXXFLAGS_RELEASE=-march=native -mtune=native -O2 -pipe -fno-plt' ) && make -f Makefile.libresapi make[1] : on entre dans le répertoire « /tmp/yaourt-tmp-tux/aur-retroshare/src/RetroShare-0.6.5/libresapi/src » make[1]: rien à faire pour « first ». make[1] : on quitte le répertoire « /tmp/yaourt-tmp-tux/aur-retroshare/src/RetroShare-0.6.5/libresapi/src » cd retroshare-nogui/src/ && ( test -e Makefile.retroshare-nogui || /usr/sbin/qmake -o Makefile.retroshare-nogui /tmp/yaourt-tmp-tux/aur-retroshare/src/RetroShare-0.6.5/retroshare-nogui/src/retroshare-nogui.pro CONFIG-=debug CONFIG+=release CONFIG+=retroshare_plugins 'QMAKE_CFLAGS_RELEASE=-march=native -mtune=native -O2 -pipe -fno-plt' 'QMAKE_CXXFLAGS_RELEASE=-march=native -mtune=native -O2 -pipe -fno-plt' ) && make -f Makefile.retroshare-nogui cd retroshare-gui/src/ && ( test -e Makefile.retroshare-gui || /usr/sbin/qmake -o Makefile.retroshare-gui /tmp/yaourt-tmp-tux/aur-retroshare/src/RetroShare-0.6.5/retroshare-gui/src/retroshare-gui.pro CONFIG-=debug CONFIG+=release CONFIG+=retroshare_plugins 'QMAKE_CFLAGS_RELEASE=-march=native -mtune=native -O2 -pipe -fno-plt' 'QMAKE_CXXFLAGS_RELEASE=-march=native -mtune=native -O2 -pipe -fno-plt' ) && make -f Makefile.retroshare-gui make[1] : on entre dans le répertoire « /tmp/yaourt-tmp-tux/aur-retroshare/src/RetroShare-0.6.5/retroshare-nogui/src » make[1]: rien à faire pour « first ». make[1] : on quitte le répertoire « /tmp/yaourt-tmp-tux/aur-retroshare/src/RetroShare-0.6.5/retroshare-nogui/src » make[1] : on entre dans le répertoire « /tmp/yaourt-tmp-tux/aur-retroshare/src/RetroShare-0.6.5/retroshare-gui/src » make[1]: rien à faire pour « first ». make[1] : on quitte le répertoire « /tmp/yaourt-tmp-tux/aur-retroshare/src/RetroShare-0.6.5/retroshare-gui/src » cd plugins/ && ( test -e Makefile || /usr/sbin/qmake -o Makefile /tmp/yaourt-tmp-tux/aur-retroshare/src/RetroShare-0.6.5/plugins/plugins.pro CONFIG-=debug CONFIG+=release CONFIG+=retroshare_plugins 'QMAKE_CFLAGS_RELEASE=-march=native -mtune=native -O2 -pipe -fno-plt' 'QMAKE_CXXFLAGS_RELEASE=-march=native -mtune=native -O2 -pipe -fno-plt' ) && make -f Makefile make[1] : on entre dans le répertoire « /tmp/yaourt-tmp-tux/aur-retroshare/src/RetroShare-0.6.5/plugins » cd VOIP/ && ( test -e Makefile || /usr/sbin/qmake -o Makefile /tmp/yaourt-tmp-tux/aur-retroshare/src/RetroShare-0.6.5/plugins/VOIP/VOIP.pro CONFIG-=debug CONFIG+=release CONFIG+=retroshare_plugins 'QMAKE_CFLAGS_RELEASE=-march=native -mtune=native -O2 -pipe -fno-plt' 'QMAKE_CXXFLAGS_RELEASE=-march=native -mtune=native -O2 -pipe -fno-plt' ) && make -f Makefile Project ERROR: opencv development package not found make[1]: [Makefile:47: sub-VOIP-make_first] Error 3 make[1] : on quitte le répertoire « /tmp/yaourt-tmp-tux/aur-retroshare/src/RetroShare-0.6.5/plugins » make: [Makefile:204: plugins-make_first] Error 2 ==> ERREUR : Une erreur s’est produite dans build(). Abandon… ==> ERREUR : Makepkg n'a pas pu construire retroshare.

sehraf commented on 2018-09-09 08:23 (UTC)

It is not removed. It's just integrated, thus there are no two binaries anymore and the config option is obsolete (and removed). Just build RS normally like you always did and you still can use automatic tor setup.

dpriskorn commented on 2018-09-09 08:20 (UTC) (edited on 2018-09-09 08:20 (UTC) by dpriskorn)

Can you give me a link detailing removal of retrotor? I don't understand what it is or why it is to be removed. It seems cyril recommends using RS over TOR if you connect to nontrusted friends.

Which way is the recommended way to do this in Arch? The way I described in the wiki?

sehraf commented on 2018-09-08 08:34 (UTC)

You you need to add CONFIG+=retrotor to the qmake call. E.g. change qmake CONFIG-=debug CONFIG+=release \ to qmake CONFIG-=debug CONFIG+=release CONFIG+=retrotor \

Since i'm not using this i don't want to maintain an extra package for that. Feel free do to so on you own. Also keep in mind that with the -git version or the next release there is no extra retrotor version anymore.

dpriskorn commented on 2018-09-08 08:00 (UTC) (edited on 2018-09-08 08:00 (UTC) by dpriskorn)

From Anmo in Chatserver EN regarding migration clearnet->tor:

09:44 anmo: on the crate new node wizard

09:45 anmo: turn on advanced mode, then the use existing profile

09:46 anmo: to move your friend list into the new location:

09:48 anmo: network tab --> right click on friend list --> export fiend list

09:48 anmo: do the same on your new node, but with importing

09:48 random: if you had any tor peers you will be able to contact them only

09:49 anmo: they can reach you if they have tor proxy installed

09:50 anmo: but they won't know about your new location

09:51 anmo: befriending yourself on your new and old node, and running both at the same time for a while can fix this

dpriskorn commented on 2018-09-08 07:55 (UTC)

@sehraf I'm sorry, I don't understand what to do with CONFIG+=retrotor, is it to be inserted on this line:

qmake   CONFIG-=debug CONFIG+=release \

??

I propose we make a package called retroshare-tor with this flag set by default. Then we can also track its userbase :)

sehraf commented on 2018-09-08 07:25 (UTC)

Using CONFIG+=retrotor you can build a version that automatically sets up tor. So there is no need to manually do that. Of course you can still do it by hand if you want to. In the current master retrotor is integrated into RS so there is only one version and you can pick automatic tor setup during location creation. Yes, there is no way to migrate a non-tor location to tor.

dpriskorn commented on 2018-09-08 07:21 (UTC)

The license in the PKGBUILD seems wrong. Should be "GPL2".

dpriskorn commented on 2018-09-08 07:19 (UTC)

Updated https://wiki.archlinux.org/index.php/RetroShare with hidden service configuration, could somebody check if it is correct?

I'm unsure about whether it is possible to migrate a clearnet-.retroshare-identity to Retroshare-Tor, but assume it is NOT possible.

dpriskorn commented on 2018-09-08 06:28 (UTC)

I would like a package with Retroshare-Tor which depends on Tor and gives advices on how to set up a hidden node. Anybody already done work on this?

dpriskorn commented on 2018-09-07 13:27 (UTC)

compiled just fine with makepkg and gcc8. :D

pacaur is most probable source of error now - I leave the pieces to you...

sehraf commented on 2018-09-07 13:21 (UTC)

Thanks for the feedback and sorry for the hassle.

cgx commented on 2018-09-07 13:20 (UTC)

-4 builds fine. Thanks!

sehraf commented on 2018-09-07 13:02 (UTC)

This is what i love: builds are working on some systems and on some others not :D Anyway can you test -4? For some reason git apply didn't work when using pacaur. It builds fine here using pacaur and yaourt.

dpriskorn commented on 2018-09-07 13:01 (UTC)

FYI i'm also using ccache. Trying to build now again with makepkg and gcc8.

dpriskorn commented on 2018-09-07 12:54 (UTC) (edited on 2018-09-07 12:57 (UTC) by dpriskorn)

Also using pacaur. It fails with GCC7 as well.

gui/chat/ChatTabWidget.cpp:165:23: error: invalid use of incomplete type ‘class QTabBar’

See https://paste.debian.net/1041134/

cgx commented on 2018-09-07 12:26 (UTC)

Same build failure here as egils, I'm using pacaur to build it. Completely clean build dir (removed ./cache/pacaur/retroshare)

dpriskorn commented on 2018-09-07 11:29 (UTC)

Thanks for the tip. :)

sehraf commented on 2018-09-07 11:26 (UTC)

So it completely builds here now (i just tested libretroshare before).

Just deleting the build directory is fine in most cases.

dpriskorn commented on 2018-09-07 11:21 (UTC)

I installed gcc7 now to sidestep the issue :p

dpriskorn commented on 2018-09-07 11:21 (UTC)

Q: Did you ensure that you are doing a clean build? A: No. Trying to read up on how to do that now.

sehraf commented on 2018-09-07 11:16 (UTC)

hold on ... more is broken

sehraf commented on 2018-09-07 11:10 (UTC)

Looks like the file wasn't patched. Did you ensure that you are doing a clean build? It's working here (and doesn't when i remove the patch).

You can also manually change line 543 in libretroshare/src/grouter/p3grouter.cc from std::set<TurtleVirtualPeerId,RsGRouterTransactionChunkItem*>::iterator it = virtual_peers.find(vpid) ; to std::set<TurtleVirtualPeerId>::iterator it = virtual_peers.find(vpid) ;

dpriskorn commented on 2018-09-07 11:04 (UTC) (edited on 2018-09-07 11:07 (UTC) by dpriskorn)

Thanks for the quick fix. :)

Unfortunately it still fails here in the same file it seems. See https://paste.debian.net/1041119/

sehraf commented on 2018-09-07 10:52 (UTC)

Should be fixed now.

dpriskorn commented on 2018-09-07 10:25 (UTC) (edited on 2018-09-07 11:00 (UTC) by dpriskorn)

Build fails on Parabola. See error below. Updated some minutes ago.

cd libretroshare/src/ && ( test -e Makefile.libretroshare || /usr/bin/qmake -o Makefile.libretroshare /home/hidden/.cache/pacaur/retroshare/src/RetroShare-0.6.4/libretroshare/src/libretroshare.pro CONFIG-=debug CONFIG+=release 'QMAKE_CFLAGS_RELEASE=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong' 'QMAKE_CXXFLAGS_RELEASE=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong' ) && make -f Makefile.libretroshare 
make[1]: Entering directory '/home/hidden/.cache/pacaur/retroshare/src/RetroShare-0.6.4/libretroshare/src'
g++ -c -pipe -Wno-deprecated -Wno-deprecated-declarations -Wno-cpp -Wall -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -std=gnu++11 -Wall -W -DRS_ENABLE_GXS -DENABLE_WEBUI -DRS_NO_WARN_DEPRECATED -DRS_NO_WARN_CPP -DRS_GXS_TRANS -DRS_USE_BITDHT -DPLUGIN_DIR="\"/usr/lib/retroshare/extensions6\"" -DDATA_DIR="\"/usr/share/retroshare\"" -DRS_USE_LIBUPNP -DSQLITE_HAS_CODEC -DGXS_ENABLE_SYNC_MSGS -I. -I. -I../../libbitdht/src -I../../openpgpsdk/src -isystem /usr/include/upnp -I/usr/lib/qt/mkspecs/linux-g++ -o temp/linux-g++/obj/p3face-config.o rsserver/p3face-config.cc
g++ -c -pipe -Wno-deprecated -Wno-deprecated-declarations -Wno-cpp -Wall -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -std=gnu++11 -Wall -W -DRS_ENABLE_GXS -DENABLE_WEBUI -DRS_NO_WARN_DEPRECATED -DRS_NO_WARN_CPP -DRS_GXS_TRANS -DRS_USE_BITDHT -DPLUGIN_DIR="\"/usr/lib/retroshare/extensions6\"" -DDATA_DIR="\"/usr/share/retroshare\"" -DRS_USE_LIBUPNP -DSQLITE_HAS_CODEC -DGXS_ENABLE_SYNC_MSGS -I. -I. -I../../libbitdht/src -I../../openpgpsdk/src -isystem /usr/include/upnp -I/usr/lib/qt/mkspecs/linux-g++ -o temp/linux-g++/obj/p3face-server.o rsserver/p3face-server.cc
g++ -c -pipe -Wno-deprecated -Wno-deprecated-declarations -Wno-cpp -Wall -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -std=gnu++11 -Wall -W -DRS_ENABLE_GXS -DENABLE_WEBUI -DRS_NO_WARN_DEPRECATED -DRS_NO_WARN_CPP -DRS_GXS_TRANS -DRS_USE_BITDHT -DPLUGIN_DIR="\"/usr/lib/retroshare/extensions6\"" -DDATA_DIR="\"/usr/share/retroshare\"" -DRS_USE_LIBUPNP -DSQLITE_HAS_CODEC -DGXS_ENABLE_SYNC_MSGS -I. -I. -I../../libbitdht/src -I../../openpgpsdk/src -isystem /usr/include/upnp -I/usr/lib/qt/mkspecs/linux-g++ -o temp/linux-g++/obj/rsinit.o rsserver/rsinit.cc
g++ -c -pipe -Wno-deprecated -Wno-deprecated-declarations -Wno-cpp -Wall -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -std=gnu++11 -Wall -W -DRS_ENABLE_GXS -DENABLE_WEBUI -DRS_NO_WARN_DEPRECATED -DRS_NO_WARN_CPP -DRS_GXS_TRANS -DRS_USE_BITDHT -DPLUGIN_DIR="\"/usr/lib/retroshare/extensions6\"" -DDATA_DIR="\"/usr/share/retroshare\"" -DRS_USE_LIBUPNP -DSQLITE_HAS_CODEC -DGXS_ENABLE_SYNC_MSGS -I. -I. -I../../libbitdht/src -I../../openpgpsdk/src -isystem /usr/include/upnp -I/usr/lib/qt/mkspecs/linux-g++ -o temp/linux-g++/obj/p3grouter.o grouter/p3grouter.cc
g++ -c -pipe -Wno-deprecated -Wno-deprecated-declarations -Wno-cpp -Wall -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -std=gnu++11 -Wall -W -DRS_ENABLE_GXS -DENABLE_WEBUI -DRS_NO_WARN_DEPRECATED -DRS_NO_WARN_CPP -DRS_GXS_TRANS -DRS_USE_BITDHT -DPLUGIN_DIR="\"/usr/lib/retroshare/extensions6\"" -DDATA_DIR="\"/usr/share/retroshare\"" -DRS_USE_LIBUPNP -DSQLITE_HAS_CODEC -DGXS_ENABLE_SYNC_MSGS -I. -I. -I../../libbitdht/src -I../../openpgpsdk/src -isystem /usr/include/upnp -I/usr/lib/qt/mkspecs/linux-g++ -o temp/linux-g++/obj/groutermatrix.o grouter/groutermatrix.cc
g++ -c -pipe -Wno-deprecated -Wno-deprecated-declarations -Wno-cpp -Wall -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -std=gnu++11 -Wall -W -DRS_ENABLE_GXS -DENABLE_WEBUI -DRS_NO_WARN_DEPRECATED -DRS_NO_WARN_CPP -DRS_GXS_TRANS -DRS_USE_BITDHT -DPLUGIN_DIR="\"/usr/lib/retroshare/extensions6\"" -DDATA_DIR="\"/usr/share/retroshare\"" -DRS_USE_LIBUPNP -DSQLITE_HAS_CODEC -DGXS_ENABLE_SYNC_MSGS -I. -I. -I../../libbitdht/src -I../../openpgpsdk/src -isystem /usr/include/upnp -I/usr/lib/qt/mkspecs/linux-g++ -o temp/linux-g++/obj/pluginmanager.o plugins/pluginmanager.cc
In file included from /usr/include/c++/8.2.1/map:60,
             from ./rsitems/rsconfigitems.h:29,
             from grouter/p3grouter.cc:189:
/usr/include/c++/8.2.1/bits/stl_tree.h: In instantiation of ‘class std::_Rb_tree<t_RsGenericIdType<16, false, 1>, t_RsGenericIdType<16, false, 1>, std::_Identity<t_RsGenericIdType<16, false, 1> >, RsGRouterTransactionChunkItem*, std::allocator<t_RsGenericIdType<16, false, 1> > >’:
/usr/include/c++/8.2.1/bits/stl_set.h:133:17:   required from ‘class std::set<t_RsGenericIdType<16, false, 1>, RsGRouterTransactionChunkItem*>’

grouter/p3grouter.cc:543:65: required from here /usr/include/c++/8.2.1/bits/stl_tree.h:452:21: error: static assertion failed: comparison object must be invocable with two arguments of key type static_assert(__is_invocable<_Compare&, const _Key&, const _Key&>{}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: [Makefile.libretroshare:6302: temp/linux-g++/obj/p3grouter.o] Error 1 make[1]: Waiting for unfinished jobs.... make[1]: Leaving directory '/home/hidden/.cache/pacaur/retroshare/src/RetroShare-0.6.4/libretroshare/src' make: *** [Makefile:101: sub-libretroshare-src-libretroshare-pro-make_first] Error 2 ==> ERROR: A failure occurred in build(). Aborting... :: failed to build retroshare package(s)

sehraf commented on 2018-03-14 22:46 (UTC)

Thanks for the info. They actually changed the tag. If that happens again please complain at github :D

revel commented on 2018-03-14 21:19 (UTC)

Hi, there seems to be some problem with the latest update:

==> Validating source files with sha256sums...

v0.6.4.tar.gz ... FAILED

==> ERROR: One or more files did not pass the validity check!

==> ERROR: Makepkg was unable to build retroshare.

sehraf commented on 2018-03-09 19:43 (UTC)

Just remove them i guess :D Maybe use "pacman -Qo" to check whether they belong to a package (that might need them for some weird reason)

mweinelt commented on 2018-03-08 22:50 (UTC) (edited on 2018-03-08 22:51 (UTC) by mweinelt)

Yes they should be, instead they're 0 byte files.

sehraf commented on 2018-03-08 18:19 (UTC)

Those paths are supposed to be folders. Are they?

mweinelt commented on 2018-03-08 16:59 (UTC) (edited on 2018-03-08 16:59 (UTC) by mweinelt)

Getting this error on install:

error: failed to commit transaction (conflicting files)

retroshare: /usr/share/icons/hicolor/128x128 exists in filesystem

retroshare: /usr/share/icons/hicolor/24x24 exists in filesystem

retroshare: /usr/share/icons/hicolor/48x48 exists in filesystem

retroshare: /usr/share/icons/hicolor/64x64 exists in filesystem

sehraf commented on 2017-06-01 19:36 (UTC)

since there is no support for autologin using kde-keyring, gnome-keyring is the only option. most build time switcher are documented here (aka read the f****** code) https://github.com/RetroShare/RetroShare/blob/master/retroshare.pri

ShalokShalom commented on 2017-06-01 18:02 (UTC)

Why is libgnome-keyring the package for "autologin"? I mean, is this the only option in KDE systems as well? And how do i trigger these "build triggers"? They seem new to me, i never saw such ones before.

buttcake commented on 2017-03-13 14:34 (UTC)

Any news on when is this getting into the repos ?

sehraf commented on 2016-09-04 16:16 (UTC)

I've already updated the PKGBUILD and only need to push it but i currently don't have access to the computer. Expect the update on monday afternoon CET.

sehraf commented on 2016-07-04 14:27 (UTC)

@herzmeister ask upstream or use the -git version. This is not the place to ask for such update...

herzmeister commented on 2016-07-04 11:39 (UTC)

an update would be nice, because apparently a recent commit in the last days might fix a connection issue that i've been having for the last few months

aereaux commented on 2016-06-18 18:57 (UTC)

When building the package with this new patch, I get the following error: ==> Starting prepare()... ../aca88308eae16ab67627593c0df2fce7beb02e89.patch:115: trailing whitespace. const float Node::MASS_FACTOR = 10 ; ../aca88308eae16ab67627593c0df2fce7beb02e89.patch:116: trailing whitespace. const float Node::FRICTION_FACTOR = 10.8f ; ../aca88308eae16ab67627593c0df2fce7beb02e89.patch:117: trailing whitespace. const float Node::REPULSION_FACTOR = 4; ../aca88308eae16ab67627593c0df2fce7beb02e89.patch:118: trailing whitespace. const float Node::NODE_DISTANCE = 130.0f ; ../aca88308eae16ab67627593c0df2fce7beb02e89.patch:119: trailing whitespace. error: patch failed: retroshare-gui/src/gui/elastic/node.cpp:87 error: retroshare-gui/src/gui/elastic/node.cpp: patch does not apply error: patch failed: retroshare-gui/src/gui/elastic/node.h:118 error: retroshare-gui/src/gui/elastic/node.h: patch does not apply error: patch failed: retroshare-gui/src/gui/gxsforums/GxsForumThreadWidget.cpp:1565 error: retroshare-gui/src/gui/gxsforums/GxsForumThreadWidget.cpp: patch does not apply ==> ERROR: A failure occurred in prepare(). Aborting... Adding the option --ignore-space-change to the git apply fixes it, but I'm not sure what the best way to fix this error is, or why it's happening to me (if it isn't happening to anyone else).

herzmeister commented on 2016-06-14 11:22 (UTC)

indeed, is working now, thanks

sehraf commented on 2016-06-14 07:26 (UTC)

fixed once and for all

sehraf commented on 2016-06-12 20:02 (UTC)

is this (again) related to C standards? Does anybody know how to fix this (once and for all)? This is fix upstream for a long time now - maybe there will be a release soon...

herzmeister commented on 2016-06-12 13:29 (UTC)

Currently getting an error (again): In file included from dbase/fimonitor.cc:29:0: ./rsserver/p3face.h: At global scope: ./rsserver/p3face.h:197:40: error: ‘constexpr’ needed for in-class initialization of static data member ‘const double RsServer::minTimeDelta’ of non-integral type [-fpermissive] static const double minTimeDelta = 0.1; // 25; ^~~ ./rsserver/p3face.h:198:40: error: ‘constexpr’ needed for in-class initialization of static data member ‘const double RsServer::maxTimeDelta’ of non-integral type [-fpermissive] static const double maxTimeDelta = 0.5; ^~~ ./rsserver/p3face.h:199:37: error: ‘constexpr’ needed for in-class initialization of static data member ‘const double RsServer::kickLimit’ of non-integral type [-fpermissive] static const double kickLimit = 0.15; ^~~~ Makefile.libretroshare:1740: recipe for target 'temp/linux-g++/obj/fimonitor.o' failed make[1]: *** [temp/linux-g++/obj/fimonitor.o] Error 1 make[1]: Leaving directory '/tmp/yaourt-tmp-mep/aur-retroshare/src/RetroShare-0.6.0/libretroshare/src' Makefile:99: recipe for target 'sub-libretroshare-src-libretroshare-pro-make_first' failed make: *** [sub-libretroshare-src-libretroshare-pro-make_first] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build retroshare.

sehraf commented on 2016-04-18 09:25 (UTC)

should be fixed now

sehraf commented on 2016-04-18 06:49 (UTC)

can confirm - i'll have a look

enjoyaol commented on 2016-04-17 01:25 (UTC)

Hi, it's not building: /pqi/pqiqosstreamer.h:37:55: error: ‘constexpr’ needed for in-class initialization of static data member ‘const float pqiQoSstreamer::PQI_QOS_STREAMER_ALPHA’ of non-integral type [-fpermissive] static const float PQI_QOS_STREAMER_ALPHA = 2.0 ; ^ In file included from ./services/p3msgservice.h:49:0, from ./rsserver/p3face.h:44, from dbase/fimonitor.cc:29:

Fanch commented on 2015-08-22 17:23 (UTC)

I think it is because qt4 is a meta-package. You should run : pacman -S qt4 And after th, you will be able to install this aur package

orbifx commented on 2015-08-22 17:19 (UTC)

I get this with aura: aura >>= Dependency checking failed for these reasons: The dependency `qt4[@]}[@]}` could not be found. You may need to search for a package to satisfy it.

sehraf commented on 2015-08-06 06:42 (UTC)

updated - thx AsamK

AsamK commented on 2015-08-05 21:57 (UTC)

Please install the extensions to /usr/lib/retroshare/extensions6 and the qss and bdboot.txt to /usr/share/RetroShare06/, that's where RS expects them.

Grim commented on 2015-07-26 22:36 (UTC)

A big thanks.

sehraf commented on 2015-07-25 07:42 (UTC)

so speex was finally fix - and thanks for spotting the typo

Gaming4JC commented on 2015-07-25 03:02 (UTC)

I was able to build with VOIP support, but there is a typo in the PKGBUILD. openvc should be opencv. I have made a small patch here: http://termbin.com/794k

sehraf commented on 2015-07-12 18:13 (UTC)

Note: the webfiles for the webui are now installed to /usr/share/RetroShare06/webui because this is where the GUI expects them to be.

sehraf commented on 2015-06-29 11:37 (UTC)

I've adopted the packet and updated it to 0.6 RC2 since RS 0.5 looks pretty dead by now some notes: - VOIP is currently broken due to a bug in speex - ssh/rpc interface was replaced by a WIP json interface - webui files are installed to /usr/share/RetroShare/webfiles/

commented on 2015-06-10 16:00 (UTC)

I won’t be using Arch Linux anymore so I’m disowning this.

ayjanu commented on 2015-03-29 21:05 (UTC)

Thank you.

commented on 2015-03-29 20:45 (UTC)

Right, it seems that it is a bug in speex 1.2rc2. As a workaround, if you don’t care about VOIP you can set _build_voip=false in the PKGBUILD. See https://code.google.com/p/cantata/issues/detail?id=627 for more info and other potential workarounds. Not sure how to fix it properly myself. Someone should report it to the speex project. Unfortunately they don’t seem to have a bugtracker.

ayjanu commented on 2015-03-29 19:54 (UTC)

Attempting to build RetroShare today results in a build error. Not knowing much about compiling errors yet, I have included as much of the text that seemed relevant to the problem. In file included from /usr/include/speex/speexdsp_types.h:122:0, from /usr/include/speex/speex_preprocess.h:46, from gui/SpeexProcessor.h:19, from gui/AudioInputConfig.h:40, from gui/AudioInputConfig.cpp:37: /usr/include/speex/speexdsp_config_types.h:13:9: error: ‘uint16_t’ does not name a type typedef uint16_t spx_uint16_t; ^ /usr/include/speex/speexdsp_config_types.h:15:9: error: ‘uint32_t’ does not name a type typedef uint32_t spx_uint32_t; ^ In file included from gui/SpeexProcessor.h:21:0, from gui/AudioInputConfig.h:40, from gui/AudioInputConfig.cpp:37: /usr/include/speex/speex_jitter.h:62:4: error: ‘spx_uint32_t’ does not name a type spx_uint32_t len; /**< Length of the packet in bytes */ ^ /usr/include/speex/speex_jitter.h:63:4: error: ‘spx_uint32_t’ does not name a type spx_uint32_t timestamp; /**< Timestamp for the packet */ ^ /usr/include/speex/speex_jitter.h:64:4: error: ‘spx_uint32_t’ does not name a type spx_uint32_t span; /**< Time covered by the packet (same units as timestamp) */ ^ /usr/include/speex/speex_jitter.h:65:4: error: ‘spx_uint16_t’ does not name a type spx_uint16_t sequence; /**< RTP Sequence number if available (0 otherwise) */ ^ /usr/include/speex/speex_jitter.h:66:4: error: ‘spx_uint32_t’ does not name a type spx_uint32_t user_data; /**< Put whatever data you like here (it's ignored by the jitter buffer) */ ^ /usr/include/speex/speex_jitter.h:178:57: error: ‘spx_uint32_t’ has not been declared void jitter_buffer_remaining_span(JitterBuffer *jitter, spx_uint32_t rem); ^ Makefile:376: recipe for target 'AudioInputConfig.o' failed make: *** [AudioInputConfig.o] Error 1 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build retroshare.

commented on 2014-04-10 14:22 (UTC)

Because of the openssl heartbleed leak, it’s important that you update your Arch system ASAP and restart Retroshare. You should have openssl 1.0.1.g.

commented on 2014-04-09 21:33 (UTC)

What? libssh exists. Are you getting an error?

rakoo commented on 2014-04-09 20:40 (UTC)

libssh doesn't exist for the nogui client, maybe use libssh-git ?

BrunoSpy commented on 2014-03-22 14:34 (UTC)

You can add armv6h to the list of architecture : tested and approved !

commented on 2014-01-29 22:34 (UTC)

Updated to 0.5.5c. Thanks BrunoSpy.

BrunoSpy commented on 2014-01-29 19:36 (UTC)

New version available : http://sourceforge.net/p/retroshare/code/HEAD/tree/trunk/build_scripts/Ubuntu_src/changelog

msx commented on 2013-11-11 05:06 (UTC)

Thank you very much for keeping this nice app updated!

commented on 2013-10-31 20:28 (UTC)

Updated to 0.5.5b! https://retroshareteam.wordpress.com/2013/10/30/v0-5-5-release-notes/ The detailed changelog file hasn’t been updated since 0.5.5a but the post above should list the most significant changes.

demaio commented on 2013-10-31 14:49 (UTC)

I flagged it as out of date because I read about the new release on their blog at https://retroshareteam.wordpress.com/ and had seen the download link at the end of the blog post. But you are right, the official download page does not list it, I just had not noticed because of the links in the blog post. My suggestion is to wait until they have updated the download page and provide a source package. Many thanks for your efforts.

commented on 2013-10-30 19:24 (UTC)

Someone flagged this as out of date. 0.5.5b files have indeed been uploaded to sourceforge ( https://sourceforge.net/projects/retroshare/files/RetroShare/0.5.5b/ ) but there is no source archive and the official download page ( http://retroshare.sourceforge.net/downloads.html ) still lists 0.5.5a. The Windows, OSX and Debian releases use 3 different SVN revisions. What do you suggest?

commented on 2013-10-02 09:19 (UTC)

I updated the PKGBUILD yesterday for the new source archive. Nothing has changed (no need to reinstall), but if you get the new PKGBUILD you may have to delete your old RetroShare-v0.5.5a.zip file.

commented on 2013-09-12 00:48 (UTC)

Updated to v0.5.5a. Changelog: http://sourceforge.net/p/retroshare/code/6729/tree//trunk/retroshare-gui/src/changelog.txt

silvernode commented on 2013-06-18 06:49 (UTC)

I just discovered Retroshare. Thank you for picking up and maintaining this package. Keep up the good work, I love Retroshare!

commented on 2013-04-06 19:57 (UTC)

Fixed… Apparently the $srcdir variable is no longer available outside of the build() and package() functions.

commented on 2013-04-06 16:43 (UTC)

I can confirm that (with the new pacman/makepkg 4.1.0). I’ll try to fix it but couldn’t find any documentation about the breaking change.

lothar_m commented on 2013-04-06 15:05 (UTC)

there seems to be an issue with the PKGBUILD. When i try to compile, it complains about missing src directories for openpgpsdk. To correct the problem i had to edit the PKGBUILD and mannually set the srcdir variable. Does anyone else suffers this problem?

zarel commented on 2013-04-05 09:25 (UTC)

The source tarball have been renamed, now it's located at http://sourceforge.net/projects/retroshare/files/RetroShare/0.5.4e/RetroShare-v0.5.4e.tar.gz It has the same hash as before, only the name has changed.

commented on 2013-03-24 15:31 (UTC)

Updated to 0.5.4e. Changelog: http://sourceforge.net/p/retroshare/code/6270/tree//trunk/retroshare-gui/src/changelog.txt?format=raw Edit the PKGBUILD if you want to build retroshare-nogui. It adds the following deps: libssh protobuf. All plugins are built by default, which add the following deps: speex curl libxslt. You can disable each plugin individually in the PKGBUILD.

commented on 2013-03-23 21:38 (UTC)

Dear BrunoSpy, I know that RS 0.5.4e is out for some platforms (Windows and OSX), but the source package is still of v0.5.4d. Thus this package can not be updated yet.

commented on 2013-03-01 19:34 (UTC)

Fixed qmake-qt4 name. Now requires the new qt4 package.

commented on 2013-03-01 02:27 (UTC)

PKGBUILD update: - should still work when Qt5 hits the repos - removed extraneous .svn directories from the skins directory - you can choose to build and install either plugin independantly now - the speex dependency is added automatically if you choose to build the VOIP plugin.

commented on 2012-12-19 17:44 (UTC)

Updated to 0.5.4d.

commented on 2012-11-29 22:40 (UTC)

Enabled VOIP and LinksCloud plugins by default. The VOIP plugin requires speex, and can be used from the private chat windows. You’ll have to edit the PKGBUILD if you don’t want the plugins (set _USE_PLUGINS to false and remove speex from the dependencies.)

commented on 2012-11-22 21:31 (UTC)

Updated to 0.5.4c. Doesn’t install to /opt anymore. Changelog: http://retroshare.svn.sourceforge.net/viewvc/retroshare/trunk/retroshare-gui/src/changelog.txt?revision=5875&view=markup

commented on 2012-09-26 20:29 (UTC)

Updated to 0.5.4b. Contains (experimental) changes to make downloads a bit faster.

commented on 2012-09-23 15:17 (UTC)

Updated to 0.5.4a. gpgme no longer a dependency. RS now handles its own keyring and keys are stored in .retroshare, not .gnupg anymore. The transfer will be made when you launch 0.5.4a the first time. It is now possible to have RS respect your theme if you select the “skin with no name” in the Appearance settings.

commented on 2012-07-13 20:42 (UTC)

malevolent, no, gpa is not needed. It’s just a GUI for GPG, so it has nothing to do with RS. Corrupted certificates can happen if you use Chrome to copy them.

malevolent commented on 2012-07-13 12:37 (UTC)

ATTENTION: you must install gpa in order to make work certificates within this application. Without that, your peers will see your GPG is corrupted.

commented on 2012-07-05 21:35 (UTC)

plugins would be nice to test voip :)

commented on 2012-05-31 20:28 (UTC)

Updated to 0.5.3c. Faster multi-source downloads, ability to mute annoying people in the chat lobbies, and a right-click menu to paste one's certificate are the changes that I can remember.

commented on 2012-04-07 14:30 (UTC)

@cortuly: yes, as the note says, plugins compilation doesn’t work. I don’t need that and no-one requested it (I think there’s no interesting and working plugin yet.)

commented on 2012-04-07 08:58 (UTC)

Yes it works now thank you. When I set plugins to TRUE i get this btw. Not important for me but maybe you should know that there seems to be something wrong. ==> Entering fakeroot environment... ==> Starting package()... ==> Install files to fakeroot-environment install: cannot stat ‘/tmp/yaourt-tmp-fuly/aur-retroshare/src/trunk/plugins/bin/libcalendar_plugin.so’: No such file or directory

nipsky commented on 2012-04-07 08:51 (UTC)

It works now, thanks!

commented on 2012-04-07 00:53 (UTC)

Fixed. Please try the new tarball.

commented on 2012-04-06 16:30 (UTC)

Must be caused by some recent SDK (libc/c++) update. I'll update my Arch and see what I can do as soon as my backup is finished.

nipsky commented on 2012-04-06 15:23 (UTC)

Compilation fails for me with (same thing on a 32bit machine): 4 -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -I/usr/share/qt/mkspecs/linux-g++-64 -I. -I. -o temp/linux-g++-64/obj/udpbitdht.o udp/udpbitdht.cc udp/udpbitdht.cc: In member function 'virtual void UdpBitDht::run()': udp/udpbitdht.cc:322:26: error: 'usleep' was not declared in this scope udp/udpbitdht.cc:329:10: error: 'sleep' was not declared in this scope make: *** [temp/linux-g++-64/obj/udpbitdht.o] Error 1

Xyne commented on 2012-03-06 16:37 (UTC)

Thanks!

commented on 2012-03-06 11:01 (UTC)

Made suggested improvements. No need to update if you're already running 0.5.3b.

Xyne commented on 2012-03-04 20:13 (UTC)

Hi, I've made some changes to the PKGBUILD and local source files. You can find the updated source archive here: http://xyne.archlinux.ca/tmp/retroshare-0.5.3b-5.src.tar.gz The changes include: * replaced $* with "$@" in the launcher script (this ensure proper word expansion of passed arguments) * replace hackish if-block conditions in install script and PKGBUILD with proper double-bracketed conditions * added missing quotes to $srcdir and other variables in the PKGBUILD I forgot to bump the pkgrel variable. Thanks for maintaining this package.

commented on 2012-03-03 01:12 (UTC)

i don't mind rebuilding, as long as i can set up a server to relay with afterwards.

commented on 2012-03-03 01:07 (UTC)

Ah ah Giggaflop, I've been working on it and by mistake uploaded a PKGBUILD that builds retroshare-nogui. (But doesn't install it!) You should get the latest PKGBUILD (-4), set "_USE_NOGUI" to "TRUE", and build (maybe with "makepkg -ef" to avoid rebuilding everything else.)

commented on 2012-03-03 00:38 (UTC)

wait who just fixed that? i swear i just did the exact same thing, but the version increased O_O did i just contribute?

commented on 2012-03-02 23:16 (UTC)

How do i get retroshare-nogui with this package?

commented on 2012-03-02 00:45 (UTC)

Thanks fsck, it should be fixed now (bdboot.txt copied to /usr/share/RetroShare/, then retroshare itself should copy it to ~/.retroshare at startup).

commented on 2012-03-01 21:19 (UTC)

bdboot.txt doesn't seem to be copying to ~~/.retroshare/<peerID>/ correctly, and it doesn't seem to be in the package that's built. I've been grabbing it from the source tarball "trunk/libbitdht/src/example/bdboot.txt". This completely prevents DHT from functioning, and seems to make connecting to new friends impossible. Also using this software on Ubuntu and from the repository the developers run and on Windows without this issue, so I doubt it's an upstream problem.

commented on 2012-02-20 19:47 (UTC)

Updated to 0.5.3b. @jonas: thanks for the confirmation!

commented on 2012-02-14 01:19 (UTC)

@stqn, It worked for me, thanks.

commented on 2012-02-09 03:33 (UTC)

Updated to 0.5.3a. Note that there might be other "0.5.3a" releases in the coming days... This package works with today's source archive! I haven't actually tried installing and running this package because I'm already running the svn version, so tell me if anything's wrong. At least it builds ;).

commented on 2012-02-08 03:03 (UTC)

If someone's feeling adventurous, I have uploaded a retroshare-svn package to the AUR :). There has been many improvements since 0.5.2a, including better connectivity and chat rooms. 0.5.3a should be available in the near future, though.

commented on 2012-02-03 17:11 (UTC)

thanks, stqn.

commented on 2012-01-14 14:26 (UTC)

@feilen, I'm building from SVN and -lixml was already included (in revision 4677), that's why I didn't need to add it.

feilen commented on 2012-01-14 03:05 (UTC)

@stqn I also needed -lixml

commented on 2012-01-12 15:22 (UTC)

@too, try this: - makepkg --nobuild - edit retroshare-gui/src/RetroShare.pro and add "-ldl -lcrypto -lX11" to the linux "LIBS += ..." line (line 40). - makepkg --noextract

commented on 2012-01-12 12:42 (UTC)

Also have the same issue as BlackLotus89 but i'm completely new to linux/arch so i don't know what to do now...

commented on 2012-01-08 14:34 (UTC)

@BlackLotus89, I've got the same error when building from SVN (rev. 4762). I think it's caused by a change in openssl 1.0.0.f, but I haven't found what.

BlackLotus89 commented on 2012-01-08 13:54 (UTC)

Failed to build /usr/bin/ld: ../../libretroshare/src/lib/libretroshare.a(authssl.o): undefined reference to symbol 'RAND_seed' /usr/bin/ld: note: 'RAND_seed' is defined in DSO /usr/lib/libcrypto.so.1.0.0 so try adding it to the linker command line /usr/lib/libcrypto.so.1.0.0: could not read symbols: Invalid operation Didn't debug it

commented on 2011-10-13 06:12 (UTC)

It's useless to copy libbitdht.a and libretroshare.a.

commented on 2011-08-20 20:32 (UTC)

Updated to the latest version and it all looks to work. Tristero: If you end up finding the time and want to maintain the package again, please get in touch.

commented on 2011-08-15 20:39 (UTC)

Sorry, I have to orphan this PKGBUILD. I would really like to maintain it, but at least for the next months, I definitively won't have enough spare time. I would like to thank all people who made suggestions for improvements of the build or pointed me to problems.

commented on 2011-07-14 11:33 (UTC)

Thanks for this suggestion. I will respect that when providing the PKGBUILD for the next version.

commented on 2011-07-07 20:57 (UTC)

Also I noticed the languages and Qt style sheets are missing. I think it would be better to install RetroShare to /opt/retroshare/ with the "lang" and "qss" directories and bdboot.txt at least (and maybe also "license" and "sounds".) Then /usr/bin/retroshare could be a script that runs cd /opt/retroshare && ./RetroShare.

commented on 2011-07-07 14:39 (UTC)

This is probably an upstream problem, but the bdboot.txt file needed to bootstrap the DHT doesn't seem to be included in the package. The only (Unix) script that mentions it is "makeSourcePackage.sh" and contains this line: cp retroshare-0.5/src/libbitdht/bitdht/bdboot.txt Seems like they forgot the destination directory :). Copying this file (trunk/libbitdht/src/bitdht/bdboot.txt) to ~/.retroshare/<SSLID>/ was needed to make the DHT work for me.

commented on 2011-07-06 18:39 (UTC)

Updated to 0.5.1d.

commented on 2011-06-02 12:17 (UTC)

Updated to 0.5.1c. If you like to compile the plugins or retroshare-nogui into the package, you have to edit lines 23 and 27 of the PKGBUILD according to the comments.

commented on 2011-05-27 11:42 (UTC)

Retroshare 0.5.1c is out http://sourceforge.net/projects/retroshare/files/RetroShare/0.5.1c/RetroShare-v0.5.1c.tar.gz/download Can you update, please ?

commented on 2011-03-10 17:59 (UTC)

Version 0.5.1b-2: added libgnome-keyring, mesa, libxss to dependency array

commented on 2011-03-10 14:19 (UTC)

extra/mesa and extra/libxss are required to build retroshare.

raw commented on 2011-03-10 09:02 (UTC)

libgnome-keyring (from extra) is required to build retroshare. Please add this to (build?) dependencies. without that, it is missing gnome-keyring.h file.

commented on 2011-03-07 16:09 (UTC)

Version 0.5.1b has a new dependency: http://sourceforge.net/projects/bitdht/ which is not present in AUR currently. The RetroShare-PKGBUILD just compiles this lib from the RS-tarball where it is included. Perhaps it makes sense to create a separate AUR-package for libbitdht?

commented on 2011-03-07 16:03 (UTC)

Updated from 0.5.0g-2 to 0.5.1b-1. - I had to remove the optional experimental support for the plugins and other features (blogs. etc.) because I did not get that part of code to compile. Obviously, those part of the code are unfinished and not supposed to be compiled in a release version (it seems, parts of the code reference headers which are not present in the tarball).

commented on 2011-01-03 19:10 (UTC)

Updated from 0.5.0g-1 to 0.5.0g-2. - Fixed build error in UPnPBase.h by changing #include statement. Sorry for latency!

drdrewdown commented on 2010-11-24 05:06 (UTC)

what file & where does that #include <string.h> need to be? help a n00b out!?!

commented on 2010-11-17 19:01 (UTC)

You need to add #include <string.h> to the file.

commented on 2010-11-17 18:44 (UTC)

I can confirm this. I added the header and will provide patches when the build suceeds.

marenz commented on 2010-11-17 17:50 (UTC)

fails to compile: upnp/UPnPBase.h:466:38: Fehler: »memcpy« wurde in diesem Gültigkeitsbereich nicht definiert (not defined in this scope). Sounds like a header is missing.

commented on 2010-08-10 17:30 (UTC)

Updated from 0.5.0-1 to 0.5.0g-1. - (Mere coincidence. ;-) Won't manage to keep track with the smaller updates.)

commented on 2010-04-26 15:52 (UTC)

*** PLEASE READ THIS BEFORE SETTING THE OUT-OF-DATE-FLAG ON THIS PKGBUILD *** This PKGBUILD is intended to point to the *CURRENT STABLE RELEASE* of retroshare. It will not be automatically upgraded to point to new "alpha" versions and I do not regard it as out-of-date unless there is a new non-alpha stable release of retroshare. The current stable release of retroshare on 26 April 2010 is version 0.5.0 as it is pointed out here: http://retroshare.sourceforge.net/wiki/index.php/Main_Page hence I see no pending upgrade and do not have heard about serious bugs which require an upgrade. (You may prove me wrong of course.) If you experience problems raised by the PKGBUILD itself then please report it and of course I will do my best to fix the problem as soon as possible. I will unflag this PKGBUILD in the hope that it will remain unflagged till the next stable version is released or other important reasons for an upgrade occur.

commented on 2010-04-17 09:18 (UTC)

Version 0.5.0 - 1 : * Does not contain retroshare-nogui due to compile errors that are to be fixed. * To compile with unreleased features like plugins, blogs etc. modify line 25 of the PKGBUILD. * To compile with a openssl version < 1.0.0 read the comments in the PKGBUILD.