Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 927332

Summary: net-p2p/mldonkey-3.1.7-r4 fails to compile: CryptoPP.cc:9488:6: error: type of cc_lprintf_nl does not match original declaration [-Werror=lto-type-mismatch]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Jesús P Rey (Chuso) <gentoo>
Status: CONFIRMED ---    
Severity: normal CC: esigra, gentoo, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 251464, 618550    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-03-20 08:48:16 UTC
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
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-20 08:48:18 UTC
Created attachment 887971 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-03-20 08:48:20 UTC
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]]
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-20 16:23:41 UTC
Bundled crypto++?
Comment 4 Jesús P Rey (Chuso) 2024-04-17 21:12:31 UTC
(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.