I just did a clean rebuild without a chroot and it linked just fine. Thanks for the fix!
Search Criteria
Package Details: retroshare 0.6.7.2-5
Package Actions
| 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: | https://github.com/retroshare/retroshare |
| Licenses: | AGPL-3.0-only |
| Submitter: | None |
| Maintainer: | xiota |
| Last Packager: | xiota |
| Votes: | 167 |
| Popularity: | 0.74 |
| First Submitted: | 2007-10-03 20:41 (UTC) |
| Last Updated: | 2025-11-20 23:33 (UTC) |
Dependencies (13)
- botan (botan-gitAUR)
- json-c (json-c-gitAUR)
- libxss
- miniupnpc (miniupnpc-gitAUR)
- qt6-5compat
- qt6-base (qt6-base-gitAUR, qt6-base-hifpsAUR, qt6-base-scrollfixAUR, qt6-base-scrollfixAUR, qt6-xcb-private-headers-scrollfixAUR, qt6-xcb-private-headers-scrollfixAUR, qt6-base-headlessAUR)
- qt6-multimedia
- sqlcipher
- asio (asio-gitAUR) (make)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- doxygen (doxygen-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- rapidjson (rapidjson-gitAUR) (make)
Required by (0)
Sources (1)
JoeCool commented on 2025-11-25 16:43 (UTC)
ryuta commented on 2025-11-24 19:29 (UTC)
I have tried and it worked ! Thank you.
xiota commented on 2025-11-23 19:00 (UTC) (edited on 2025-11-23 19:02 (UTC) by xiota)
@ryuta I'm not able to replicate that error. If clearing cache and resyncing doesn't help, try building in a clean chroot.
ryuta commented on 2025-11-23 15:43 (UTC) (edited on 2025-11-23 15:44 (UTC) by ryuta)
I try to build, with th new PKGBUILD and I still have this issue.
# pacman -Qs botan
local/botan 3.10.0-1
Crypto library written in C++
local/botan2 2.19.5-2
Crypto library written in C++ (legacy version)
/usr/bin/ld: /usr/src/debug/retroshare/retroshare/supportlibs/librnp/src/lib/crypto/elgamal.cpp:117:(.text+0xd142): undefined reference to `Botan::BigInt::BigInt(unsigned char const*, unsigned long)'
/usr/bin/ld: /usr/src/debug/retroshare/retroshare/supportlibs/librnp/src/lib/crypto/elgamal.cpp:118:(.text+0xd15d): undefined reference to `Botan::BigInt::BigInt(unsigned char const*, unsigned long)'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile.retroshare-gui:2069: retroshare] Error 1
xiota commented on 2025-11-20 23:35 (UTC)
@JoeCool Updated package for botan-2/3 problem. Did not bump pkgrel because no need to force everyone to rebuild.
xiota commented on 2025-11-20 17:08 (UTC) (edited on 2025-11-20 17:40 (UTC) by xiota)
I build in clean environments (chroot, docker), on 2-3 different machines. I had the linker issue during early testing, but the sed that you pointed out fixed it. Maybe there is something else that triggers if more than one botan version is installed?
Update: Found more instances of botan-2 that may be causing the problem. Will update later today.
JoeCool commented on 2025-11-20 16:38 (UTC)
I just updated everything (Syu) and rebuilt retroshare from scratch. Same issue.
How did you build it? In a clean chroot?
JoeCool commented on 2025-11-19 18:40 (UTC)
@xiota: looks like the sed in prepare did run and replace -2 with -3
There shouldn't have been leftover object files since it was building in /tmp
I'll clean it and rebuild tomorrow and report back. Thanks for the reply.
xiota commented on 2025-11-19 17:42 (UTC)
@JoeCool You may need to clear cache and resync. The linker issue is resolved in the prepare() function.
JoeCool commented on 2025-11-19 14:32 (UTC)
Something seems to be broken with Botan at the moment. It fails while linking:
In function ‘createDirHash’:
lto1: note: destination object is likely at address zero
/usr/bin/ld: /tmp/ccIacMfK.ltrans126.ltrans.o: in function `rnp::Hash::create(pgp_hash_alg_t)':
/tmp/aur/retroshare/src/retroshare/supportlibs/librnp/src/lib/crypto/hash.cpp:56:(.text+0xde36): undefined reference to `Botan::HashFunction::create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: /tmp/ccIacMfK.ltrans126.ltrans.o: in function `rnp::CRC24_Botan::CRC24_Botan()':
/tmp/aur/retroshare/src/retroshare/supportlibs/librnp/src/lib/crypto/hash.cpp:121:(.text+0xe313): undefined reference to `Botan::HashFunction::create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: /tmp/ccIacMfK.ltrans127.ltrans.o: in function `Cipher_Botan::create(pgp_symm_alg_t, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)':
/tmp/aur/retroshare/src/retroshare/supportlibs/librnp/src/lib/crypto/cipher_botan.cpp:72:(.text+0x4176): undefined reference to `Botan::Cipher_Mode::create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Botan::Cipher_Dir, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: /tmp/ccIacMfK.ltrans127.ltrans.o: in function `Cipher_Botan::set_key(unsigned char const*, unsigned long)':
/tmp/aur/retroshare/src/retroshare/supportlibs/librnp/src/lib/crypto/cipher_botan.cpp:133:(.text+0x42b3): undefined reference to `Botan::SymmetricAlgorithm::set_key(unsigned char const*, unsigned long)'
/usr/bin/ld: /tmp/ccIacMfK.ltrans127.ltrans.o: in function `pgp::eg::Key::validate(bool) const':
/tmp/aur/retroshare/src/retroshare/supportlibs/librnp/src/lib/crypto/elgamal.cpp:92:(.text+0xcc11): undefined reference to `Botan::BigInt::BigInt(unsigned char const*, unsigned long)'
/usr/bin/ld: /tmp/aur/retroshare/src/retroshare/supportlibs/librnp/src/lib/crypto/elgamal.cpp:93:(.text+0xcc2f): undefined reference to `Botan::BigInt::BigInt(unsigned char const*, unsigned long)'
/usr/bin/ld: /tmp/aur/retroshare/src/retroshare/supportlibs/librnp/src/lib/crypto/elgamal.cpp:117:(.text+0xd142): undefined reference to `Botan::BigInt::BigInt(unsigned char const*, unsigned long)'
/usr/bin/ld: /tmp/aur/retroshare/src/retroshare/supportlibs/librnp/src/lib/crypto/elgamal.cpp:118:(.text+0xd15d): undefined reference to `Botan::BigInt::BigInt(unsigned char const*, unsigned long)'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile.retroshare-gui:2101: retroshare] Error 1
make[1]: Leaving directory '/tmp/aur/retroshare/src/retroshare/retroshare-gui/src'
make: *** [Makefile:129: retroshare_gui-make_first] Error 2
==> ERROR: A failure occurred in build().
Aborting...
:: Unable to build retroshare - makepkg exited with code: 4
Pinned Comments
xiota commented on 2024-08-16 17:04 (UTC) (edited on 2024-08-25 00:56 (UTC) by xiota)
This package now uses pinned commits.