[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#667283: mldonkey: ftbfs with GCC-4.7



Package: mldonkey
Version: 3.1.0-3
Severity: important
Tags: sid wheezy
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-4.7

The package fails to build in a test rebuild on at least amd64 with
gcc-4.7/g++-4.7, but succeeds to build with gcc-4.6/g++-4.6. The
severity of this report may be raised before the wheezy release.

src/utils/lib/CryptoPP.cc:5416:2: error: 'Equal' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/mldonkey_3.1.0-3_unstable-gcc47.log
The last lines of the build log are at the end of this report.

Some hints on fixing these issues can be found at
http://gcc.gnu.org/gcc-4.7/porting_to.html

To build with GCC 4.7, either set CC=gcc-4.7 CXX=g++-4.7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

[...]
src/utils/lib/CryptoPP.h:2636:3: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned char>' are not found by unqualified lookup
src/utils/lib/CryptoPP.h:2636:3: note: use 'this->CheckSize' instead
src/utils/lib/CryptoPP.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T>::pointer CryptoPP::AllocatorWithCleanup<T>::allocate(CryptoPP::AllocatorWithCleanup<T>::size_type, const void*) [with T = char; CryptoPP::AllocatorWithCleanup<T>::pointer = char*; CryptoPP::AllocatorWithCleanup<T>::size_type = long unsigned int]':
src/utils/lib/CryptoPP.h:2755:24:   required from 'CryptoPP::SecBlock<T, A>::SecBlock(unsigned int) [with T = char; A = CryptoPP::AllocatorWithCleanup<char>]'
src/utils/lib/CryptoPP.cc:4501:32:   required from here
src/utils/lib/CryptoPP.h:2636:3: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
src/utils/lib/CryptoPP.h:2636:3: note: declarations in dependent base 'CryptoPP::AllocatorBase<char>' are not found by unqualified lookup
src/utils/lib/CryptoPP.h:2636:3: note: use 'this->CheckSize' instead
src/utils/lib/CryptoPP.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T>::pointer CryptoPP::AllocatorWithCleanup<T>::allocate(CryptoPP::AllocatorWithCleanup<T>::size_type, const void*) [with T = unsigned int; CryptoPP::AllocatorWithCleanup<T>::pointer = unsigned int*; CryptoPP::AllocatorWithCleanup<T>::size_type = long unsigned int]':
src/utils/lib/CryptoPP.h:2755:24:   required from 'CryptoPP::SecBlock<T, A>::SecBlock(unsigned int) [with T = unsigned int; A = CryptoPP::AllocatorWithCleanup<unsigned int>]'
src/utils/lib/CryptoPP.h:5528:48:   required from 'CryptoPP::IteratedHashBase<T, BASE>::IteratedHashBase() [with T = unsigned int; BASE = CryptoPP::HashTransformation]'
src/utils/lib/CryptoPP.h:5558:26:   required from 'CryptoPP::IteratedHash<T_HashWordType, T_Endianness, T_BlockSize, T_Base>::IteratedHash() [with T_HashWordType = unsigned int; T_Endianness = CryptoPP::EnumToType<CryptoPP::ByteOrder, 1>; unsigned int T_BlockSize = 64u; T_Base = CryptoPP::HashTransformation]'
src/utils/lib/CryptoPP.h:3798:26:   required from 'CryptoPP::IteratedHashWithStaticTransform<T_HashWordType, T_Endianness, T_BlockSize, T_StateSize, T_Transform, T_DigestSize>::IteratedHashWithStaticTransform() [with T_HashWordType = unsigned int; T_Endianness = CryptoPP::EnumToType<CryptoPP::ByteOrder, 1>; unsigned int T_BlockSize = 64u; unsigned int T_StateSize = 20u; T_Transform = CryptoPP::SHA; unsigned int T_DigestSize = 20u]'
src/utils/lib/CryptoPP.h:5655:20:   required from 'static void CryptoPP::P1363_KDF2<H>::DeriveKey(byte*, unsigned int, const byte*, unsigned int, const byte*, unsigned int) [with H = CryptoPP::SHA; byte = unsigned char]'
src/utils/lib/CryptoPP.cc:4396:21:   required from here
src/utils/lib/CryptoPP.h:2636:3: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
src/utils/lib/CryptoPP.h:2636:3: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned int>' are not found by unqualified lookup
src/utils/lib/CryptoPP.h:2636:3: note: use 'this->CheckSize' instead
In file included from src/utils/lib/CryptoPP.cc:85:0:
src/utils/lib/CryptoPP.h: In instantiation of 'void CryptoPP::IteratedHashBase2<T, B, BASE>::TruncatedFinal(byte*, unsigned int) [with T = unsigned int; B = CryptoPP::EnumToType<CryptoPP::ByteOrder, 1>; BASE = CryptoPP::HashTransformation; byte = unsigned char]':
src/utils/lib/CryptoPP.cc:9633:1:   required from here
src/utils/lib/CryptoPP.h:5615:2: error: 'PadLastBlock' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
src/utils/lib/CryptoPP.h:5615:2: note: declarations in dependent base 'CryptoPP::IteratedHashBase<unsigned int, CryptoPP::HashTransformation>' are not found by unqualified lookup
src/utils/lib/CryptoPP.h:5615:2: note: use 'this->PadLastBlock' instead
make[2]: *** [src/utils/lib/CryptoPP.o] Error 1
make[2]: Leaving directory `/«PKGBUILDDIR»'
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



Reply to: