Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927332 - 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]
Summary: net-p2p/mldonkey-3.1.7-r4 fails to compile: CryptoPP.cc:9488:6: error: type o...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jesús P Rey (Chuso)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: bundled-libs lto
  Show dependency tree
 
Reported: 2024-03-20 08:48 UTC by Agostino Sarubbo
Modified: 2024-04-17 21:12 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,227.76 KB, text/plain)
2024-03-20 08:48 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
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.