Package: qbittorrent
Version: 4.1.7-1
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/qbittorrent.html

./../src/base/bittorrent/infohash.cpp: In constructor 
'BitTorrent::InfoHash::InfoHash(const sha1_hash&)':
../../src/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*'
    44 |     char out[(libtorrent::sha1_hash::size * 2) + 1];
       |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
       |                                      |      |
       |                                      |      int
       |                                      
libtorrent::digest32<160>::difference_type() noexcept {aka long int()}
../../src/base/bittorrent/infohash.cpp:45:17: error: 'to_hex' is not a member 
of 'libtorrent'
    45 |     libtorrent::to_hex(reinterpret_cast<const 
char*>(&m_nativeHash[0]), libtorrent::sha1_hash::size, out);
       |                 ^~~~~~
../../src/base/bittorrent/infohash.cpp:45:102: error: 'out' was not declared in 
this scope
    45 |     libtorrent::to_hex(reinterpret_cast<const 
char*>(&m_nativeHash[0]), libtorrent::sha1_hash::size, out);
       |                                                                        
                              ^~~
../../src/base/bittorrent/infohash.cpp: In constructor 
'BitTorrent::InfoHash::InfoHash(const QString&)':
../../src/base/bittorrent/infohash.cpp:55:31: error: 'from_hex' is not a member 
of 'libtorrent'
    55 |         m_valid = libtorrent::from_hex(raw.constData(), 40, 
reinterpret_cast<char*>(&m_nativeHash[0]));
       |                               ^~~~~~~~
compiling ../../src/base/exceptions.cpp
compiling ../../src/base/filesystemwatcher.cpp
make[3]: *** [Makefile:1798: infohash.o] Error 1
make[3]: *** Waiting for unfinished jobs....

This seems to be fixed in unstable, but the version in unstable is unable to 
migrate to testing due to a different bug.

Reply via email to