net-p2p/mldonkey-3.0.7 fails to build with gcc-4.6.1-r1 with the following error message: src/utils/lib/CryptoPP.cc:165:26: error: uninitialized const ‘CryptoPP::g_nullNa meValuePairs’ [-fpermissive] src/utils/lib/CryptoPP.h:694:20: note: ‘const class CryptoPP::NullNameValuePairs ’ has no user-provided default constructor Reproducible: Always Steps to Reproduce: 1. emerge =sys-devel/gcc-4.6.1-r1 (unmask/keyword as necessary) 2. gcc-config 2 (or whatever slot it gets to) 3. emerge =net-p2p/mldonkey-3.0.7
Created attachment 285981 [details, diff] patch to fix the compilation error by providing the required ctor
Created attachment 286225 [details, diff] patch to fix the compilation error but using correct declaration syntax My first patch modified the class, but all this problem really needs is to fix the syntax error in the declaration of the const object.
Try with 3.1.0 but please, these bugs should go upstream, they should know how to fix it.
Fixed in net-p2p/mldonkey-3.1.0 What's the appropriate status change in this case
This is no longer an issue in 3.1.0 which is available in the tree. Closing report.