Package Details: retroshare-git 0.6.7.2.r133.g64f4d84e7-1

Git Clone URL: https://aur.archlinux.org/retroshare-git.git (read-only, click to copy)
Package Base: retroshare-git
Description: Serverless encrypted instant messenger with filesharing, chatgroups, e-mail
Upstream URL: https://github.com/retroshare/retroshare
Licenses: AGPL-3.0-or-later
Conflicts: retroshare
Provides: retroshare
Submitter: sehraf
Maintainer: xiota
Last Packager: xiota
Votes: 23
Popularity: 0.46
First Submitted: 2015-08-04 08:22 (UTC)
Last Updated: 2024-08-25 00:58 (UTC)

Latest Comments

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

Score_Under commented on 2023-04-13 01:51 (UTC)

looks like we will need a new git submodule url:

fatal: repository '/startdir/RSNewWebUI' does not exist
fatal: clone of '/startdir/RSNewWebUI' into submodule path '/build/retroshare-git/src/retroshare/retroshare-webui' failed

MagnusW commented on 2023-03-24 10:22 (UTC)

Thanks for the tip! Using this and the module url-change I can now build it successfully again.

Score_Under commented on 2023-03-23 20:08 (UTC)

I have been doing this to get around that issue, in the build function:

  (
    cd -- "$srcdir/$_pkgname/libretroshare"
    git reset --hard origin/master
  )

The problem is upstream; the maintainers don't keep the version of the submodule in sync with the version they build against.

MagnusW commented on 2023-03-23 19:06 (UTC) (edited on 2023-03-23 19:06 (UTC) by MagnusW)

It's possible to work around the issue with the submodule being added using ssh by adding this in the prepare-section underneath the other url-changes:

git config submodule.retroshare-webui.url "https://github.com/Retroshare/RSNewWebUI.git"

That makes it go further for me at least. I get stuck on this error since a while back though, for which I have yet to find a workaround:

rshare.cpp: In static member function ‘static bool Rshare::loadCertificate(const RsPeerId&, bool)’:
rshare.cpp:969:18: error: ‘ERR_CERT_CRYPTO_IS_TOO_WEAK’ is not a member of ‘RsInit’
  969 |     case RsInit::ERR_CERT_CRYPTO_IS_TOO_WEAK: QMessageBox::critical(    nullptr,
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-inconsistent-missing-override’ may have been intended to silence earlier diagnostics
make[1]: *** [Makefile.retroshare-gui:14547: temp/linux-g++/obj/rshare.o] Error 1
make[1]: Leaving directory '/home/magnus/.cache/yay/retroshare-git/src/retroshare/retroshare-gui/src'
make: *** [Makefile:127: retroshare_gui-make_first] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: retroshare-git

Score_Under commented on 2023-03-17 00:35 (UTC)

Another submodules issue...

Cloning into '/build/retroshare-git/src/retroshare/retroshare-webui'...
error: cannot run ssh: No such file or directory
fatal: unable to fork
fatal: clone of 'git@github.com:Retroshare/RSNewWebUI' into submodule path '/build/retroshare-git/src/retroshare/retroshare-webui' failed
Failed to clone 'retroshare-webui'. Retry scheduled

It's awkward that they use SSH for anonymous cloning there, probably an oversight.

sehraf commented on 2022-11-03 19:07 (UTC)

Not sure if this is your domain or not but it might need looking at

I was waiting for a proper fix (if there is any) For now I've applied a fix from the forum. https://bbs.archlinux.org/viewtopic.php?pid=2063104#p2063104

Score_Under commented on 2022-11-03 18:36 (UTC) (edited on 2022-11-03 18:36 (UTC) by Score_Under)

Currently fails to build for me because of submodule config upstream:

==> Starting prepare()...
Submodule 'build_scripts/OBS' (https://github.com/RetroShare/OBS.git) registered for path 'build_scripts/OBS'
Submodule 'libbitdht' (/startdir/BitDHT) registered for path 'libbitdht'
Submodule 'libretroshare' (/startdir/libretroshare) registered for path 'libretroshare'
Submodule 'openpgpsdk' (/startdir/OpenPGP-SDK) registered for path 'openpgpsdk'
Submodule 'cmark' (https://github.com/commonmark/cmark.git) registered for path 'supportlibs/cmark'
Submodule 'supportlibs/jni.hpp' (https://github.com/RetroShare/jni.hpp.git) registered for path 'supportlibs/jni.hpp'
Submodule 'supportlibs/libsam3' (https://github.com/i2p/libsam3.git) registered for path 'supportlibs/libsam3'
Submodule 'supportlibs/rapidjson' (https://github.com/Tencent/rapidjson.git) registered for path 'supportlibs/rapidjson'
Submodule 'supportlibs/restbed' (https://github.com/Corvusoft/restbed.git) registered for path 'supportlibs/restbed'
Submodule 'supportlibs/udp-discovery-cpp' (https://github.com/truvorskameikin/udp-discovery-cpp.git) registered for path 'supportlibs/udp-discovery-cpp'
Cloning into '/build/retroshare-git/src/retroshare/build_scripts/OBS'...
Cloning into '/build/retroshare-git/src/retroshare/libbitdht'...
fatal: transport 'file' not allowed
fatal: clone of '/build/retroshare-git/src/libbitdht' into submodule path '/build/retroshare-git/src/retroshare/libbitdht' failed
Failed to clone 'libbitdht'. Retry scheduled
Cloning into '/build/retroshare-git/src/retroshare/libretroshare'...
fatal: transport 'file' not allowed
fatal: clone of '/build/retroshare-git/src/libretroshare' into submodule path '/build/retroshare-git/src/retroshare/libretroshare' failed
Failed to clone 'libretroshare'. Retry scheduled
Cloning into '/build/retroshare-git/src/retroshare/openpgpsdk'...
fatal: transport 'file' not allowed
fatal: clone of '/build/retroshare-git/src/openpgpsdk' into submodule path '/build/retroshare-git/src/retroshare/openpgpsdk' failed
Failed to clone 'openpgpsdk'. Retry scheduled
Cloning into '/build/retroshare-git/src/retroshare/supportlibs/cmark'...
Cloning into '/build/retroshare-git/src/retroshare/supportlibs/jni.hpp'...
Cloning into '/build/retroshare-git/src/retroshare/supportlibs/libsam3'...
Cloning into '/build/retroshare-git/src/retroshare/supportlibs/rapidjson'...
Cloning into '/build/retroshare-git/src/retroshare/supportlibs/restbed'...
Cloning into '/build/retroshare-git/src/retroshare/supportlibs/udp-discovery-cpp'...
Cloning into '/build/retroshare-git/src/retroshare/libbitdht'...
fatal: transport 'file' not allowed
fatal: clone of '/build/retroshare-git/src/libbitdht' into submodule path '/build/retroshare-git/src/retroshare/libbitdht' failed
Failed to clone 'libbitdht' a second time, aborting
==> ERROR: A failure occurred in prepare().

Not sure if this is your domain or not but it might need looking at

sehraf commented on 2022-03-01 16:48 (UTC) (edited on 2022-03-01 16:51 (UTC) by sehraf)

Thanks for the ping. I've completely missed @bitwave's comment (there was no notification email). I've found and fixed the bug upstream, pr is pending.

I hope that this gets accepted quickly and therefore won't update this package (since it'll break again as soon as the pr is merged)

EDIT: pr is merged