Summary: | net-p2p/bitcoin-core-25.1-r2 - [ncurses-6.5] [icu-75.1] [gcc-15] httpserver.cpp: error: const class CBaseChainParams has no member named RPCPort | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Matt Whitlock <gentoo> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo, toralf |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/38015 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 932474 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.clang.tar.xz etc.portage.tar.xz logs.tar.xz net-p2p:bitcoin-core-25.1-r2:20240807-145152.log qlist-info.txt temp.tar.xz |
Description
Toralf Förster
![]() Created attachment 899446 [details]
emerge-info.txt
Created attachment 899447 [details]
emerge-history.txt
Created attachment 899448 [details]
environment
Created attachment 899449 [details]
etc.clang.tar.xz
Created attachment 899450 [details]
etc.portage.tar.xz
Created attachment 899451 [details]
logs.tar.xz
Created attachment 899452 [details]
net-p2p:bitcoin-core-25.1-r2:20240807-145152.log
Created attachment 899453 [details]
qlist-info.txt
Created attachment 899454 [details]
temp.tar.xz
(In reply to Toralf Förster from comment #0) > emerge -qpvO net-p2p/bitcoin-core > [ebuild N ] net-p2p/bitcoin-core-27.1 This^ is the wrong version. If this bug report is generated by a script, then the script should be corrected so that it passes an exact package version to 'emerge -qpv0'. I am attempting to reproduce the build failure with 25.1-r2. (In reply to Matt Whitlock from comment #10) > (In reply to Toralf Förster from comment #0) > > emerge -qpvO net-p2p/bitcoin-core > > [ebuild N ] net-p2p/bitcoin-core-27.1 > > This^ is the wrong version. Good catch - thx! Reproduced using sys-devel/gcc-15.0.0_pre20240804. ncurses and icu are irrelevant to this bug. All available versions of net-p2p/bitcoin-core fail to build with GCC 15, although 27.* fail in a different manner versus previous versions, so likely more than one fix will be necessary. I'll look for upstream fixes to backport. I didn't find any upstream fixes. (Upstream HEAD still fails to build with GCC 15.) The fixes were trivial, though, so I just rolled my own patches. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=045c6968dbaa67827b95a371e125c78ceebd1b12 commit 045c6968dbaa67827b95a371e125c78ceebd1b12 Author: Matt Whitlock <gentoo@mattwhitlock.name> AuthorDate: 2024-08-08 08:06:53 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-08-08 11:07:52 +0000 net-p2p/bitcoin-core: patch for GCC 15 compatibility Closes: https://bugs.gentoo.org/937531 Signed-off-by: Matt Whitlock <gentoo@mattwhitlock.name> Closes: https://github.com/gentoo/gentoo/pull/38015 Signed-off-by: Sam James <sam@gentoo.org> net-p2p/bitcoin-core/bitcoin-core-25.1-r2.ebuild | 1 + net-p2p/bitcoin-core/bitcoin-core-25.2.ebuild | 1 + net-p2p/bitcoin-core/bitcoin-core-26.0-r1.ebuild | 1 + net-p2p/bitcoin-core/bitcoin-core-26.1.ebuild | 1 + net-p2p/bitcoin-core/bitcoin-core-26.2.ebuild | 1 + net-p2p/bitcoin-core/bitcoin-core-27.0.ebuild | 2 + net-p2p/bitcoin-core/bitcoin-core-27.1.ebuild | 2 + net-p2p/bitcoin-core/files/25.0-gcc15.patch | 37 ++++++++++++++ net-p2p/bitcoin-core/files/27.0-gcc15.patch | 61 ++++++++++++++++++++++++ 9 files changed, 107 insertions(+) |