https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: net-p2p/mldonkey-3.1.7-r4 fails to compile. Discovered on: amd64 (internal ref: lto_tinderbox) System: LTO-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#LTO) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Created attachment 887971 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: Error: Error during linking src/utils/lib/CryptoPP.cc:9488:6: error: type of ‘cc_lprintf_nl’ does not match original declaration [-Werror=lto-type-mismatch[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wlto-type-mismatch]]
Bundled crypto++?
(In reply to Sam James from comment #3) > Bundled crypto++? I'm afraid so. And a quite old one probably. And it's not the only bundled library. This project has a lot of technical debt and the current maintainer seems to have lost interest in it. We have four open bugs because of upstream issues related to deprecated code. Sometimes we even submitted patches to fix those issues, with no response.
https://github.com/ygrek/mldonkey/commit/6b2cb580d9f5295397f9c5753c329289de590b81 https://github.com/ygrek/mldonkey/commit/e23eec2ff2164aaf07913d7eda10c453c050094d The unthinkable happened -- upstream unbundled crypto++ :) :) It's from 2 weeks ago. There's also a new release from *three* weeks ago that doesn't include this -- though it does include "Main change in this release is the support of newer OCaml versions". It is possible we may have a resolution in sight for this.