I cannot build net-p2p/qbittorrent-4.1.5 when net-libs/libtorrent-rasterbar-1.2.0 is installed on my system due to the following error message: ### BEGIN ERROR MESSAGE ### base/bittorrent/infohash.cpp: In constructor ‘BitTorrent::InfoHash::InfoHash(const sha1_hash&)’: base/bittorrent/infohash.cpp:44:43: error: invalid operands of types ‘libtorrent::digest32<160>::difference_type() noexcept’ {aka ‘long int()’} and ‘int’ to binary ‘operator*’ char out[(libtorrent::sha1_hash::size * 2) + 1]; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ base/bittorrent/infohash.cpp:45:17: error: ‘to_hex’ is not a member of ‘libtorrent’ libtorrent::to_hex(reinterpret_cast<const char*>(&m_nativeHash[0]), libtorrent::sha1_hash::size, out); ^~~~~~ base/bittorrent/infohash.cpp:45:102: error: ‘out’ was not declared in this scope libtorrent::to_hex(reinterpret_cast<const char*>(&m_nativeHash[0]), libtorrent::sha1_hash::size, out); ^~~ base/bittorrent/infohash.cpp: In constructor ‘BitTorrent::InfoHash::InfoHash(const QString&)’: base/bittorrent/infohash.cpp:55:31: error: ‘from_hex’ is not a member of ‘libtorrent’ m_valid = libtorrent::from_hex(raw.constData(), 40, reinterpret_cast<char*>(&m_nativeHash[0])); ^~~~~~~~ ### END ERROR MESSAGE ### $ emerge -pv qbittorrent libtorrent-rasterbar These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] net-libs/libtorrent-rasterbar-1.2.0:0/9::gentoo [1.1.11:0/9::gentoo] USE="dht python ssl -debug -doc -examples -libressl -static-libs -test" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5" 3,463 KiB [ebuild R ] net-p2p/qbittorrent-4.1.5::gentoo USE="X dbus -debug -webui" 0 KiB Total: 2 packages (1 upgrade, 1 reinstall), Size of downloads: 3,463 KiB
Created attachment 562382 [details] info.txt emerge --info
Created attachment 562384 [details] build.log
same problem.
ditto
Same on ~amd64 after today update.
Confirmed by upstream that the integration with 1.2.0 version of libtorrent is work in progress and not yet released. https://github.com/qbittorrent/qBittorrent/issues/10199 Making qbittorrent-4.1.5 depend on =1.1* would be the solution here.
I have been able to install qbittorrent doing downgrade to libtorrent-rasterbar. Thanks Piotr!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a528ff4973e51823512ffc30e5395c0c741d01df commit a528ff4973e51823512ffc30e5395c0c741d01df Author: Nikos Chantziaras <realnc@gmail.com> AuthorDate: 2019-01-21 20:02:29 +0000 Commit: Mikle Kolyada <zlogene@gentoo.org> CommitDate: 2019-01-25 14:20:46 +0000 net-p2p/qbittorrent: dep on libtorrent-rasterbar-1.1 and revbump-move Build fails with libtorrent-rasterbar-1.2. Closes: https://bugs.gentoo.org/675976 Package-Manager: Portage-2.3.57, Repoman-2.3.12 Signed-off-by: Nikos Chantziaras <realnc@gmail.com> Signed-off-by: Mikle Kolyada <zlogene@gentoo.org> .../{qbittorrent-4.1.4.ebuild => qbittorrent-4.1.4-r1.ebuild} | 4 ++-- .../{qbittorrent-4.1.5.ebuild => qbittorrent-4.1.5-r1.ebuild} | 4 ++-- net-p2p/qbittorrent/qbittorrent-9999.ebuild | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-)