Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

electrum and bitcoind-24.0.1 have conflicting dependencies

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
ddawson
n00b
n00b
Posts: 21
Joined: Tue Jul 24, 2018 8:25 am
Location: United States

electrum and bitcoind-24.0.1 have conflicting dependencies

  • Quote

Post by ddawson » Fri Feb 03, 2023 6:51 pm

I've been running a system with both Electrum and bitcoind installed (as well as a local Electrum server). But recently, I see the electrum package has excluded versions of libsecp256k1 that bitcoind requires:

Code: Select all

# emerge electrum
...
  (dev-libs/libsecp256k1-0.1.0_pre20220803:0/20210628::bitcoin, ebuild scheduled for merge) USE="asm ecdh experimental extrakeys recovery schnorr -lowmem -static-libs -test -valgrind" ABI_X86="(64) -32 (-x32)" pulled in by
    <dev-libs/libsecp256k1-0.2 required by (net-misc/electrum-4.3.4:0/0::gentoo, ebuild scheduled for merge) USE="cli ncurses qrcode qt5 -test" ABI_X86="(64)" PYTHON_TARGETS="python3_10 -python3_9"
    ^                      ^^^                                    

  (dev-libs/libsecp256k1-0.2.0-r2:0/1::gentoo, installed) USE="asm ecdh experimental extrakeys recovery schnorr -lowmem -test -valgrind" ABI_X86="(64)" pulled in by
    >=dev-libs/libsecp256k1-0.2.0:0/1=[recovery,schnorr] required by (net-p2p/bitcoind-24.0.1:0/0::gentoo, installed) USE="asm berkdb external-signer upnp wallet -examples -nat-pmp -sqlite -systemtap -test -zeromq" ABI_X86="(64)"
    ^^                      ^^^^^^^^^^                            
(The same issue also applies to bitcoin-qt, but I'm not using that.)

It looks like the only things I can do to resolve this for myself are either to downgrade bitcoind (I doubt that's a very good idea) or maybe do some local hacking or install Electrum outside of Portage.

Any info about why this change was made (the relevant git commit summary doesn't explain that), or where I can find such info, and/or anything else that could be done?
Top
eccerr0r
Watchman
Watchman
Posts: 10234
Joined: Thu Jul 01, 2004 6:51 pm
Location: almost Mile High in the USA
Contact:
Contact eccerr0r
Website

  • Quote

Post by eccerr0r » Fri Feb 03, 2023 7:06 pm

Yes probably need to do the latter (i.e. hack outside of what's available in portage). Note that you're also using an overlay but suspect this isn't specifically the issue, at least the places you got the ebuilds require versions that don't align with each other due to their testing.

It does not mean they won't work - but their testing indicate they had problems of some sort.
Intel Core i7 2700K/Radeon Firepro W2100/24GB DDR3/800GB SSD
What am I supposed watching?
Top
ddawson
n00b
n00b
Posts: 21
Joined: Tue Jul 24, 2018 8:25 am
Location: United States

  • Quote

Post by ddawson » Fri Feb 03, 2023 7:45 pm

eccerr0r wrote:Note that you're also using an overlay but suspect this isn't specifically the issue
Ah, that. Yeah, whether I allow that overlay or not makes no difference. The ebuilds in the Gentoo repo still have irreconcilable dependencies.
Top
sam_
Developer
Developer
User avatar
Posts: 2810
Joined: Fri Aug 14, 2020 12:33 am

  • Quote

Post by sam_ » Fri Feb 03, 2023 8:06 pm

The relevant bug(s) are [bug=890295]bug 890295[/bug] and [bug=867817]bug 867817[/bug]. It should also be fixed/worked around by [bug=890261]bug 890261[/bug].

If two packages you're likely to want installed at the same time have conflicting dependencies, you can and should file a bug.
Top
The Main Man
Veteran
Veteran
Posts: 1173
Joined: Thu Nov 27, 2014 11:25 pm
Location: /run/user/1000

  • Quote

Post by The Main Man » Tue Feb 27, 2024 2:07 am

This is still an issue.
So, bitcoin-core needs libsecp256k1-0.4.0 or greater, while electrum needs that lib to be lower than 0.4.0
Top
Phoenix591
Guru
Guru
Posts: 504
Joined: Mon Sep 17, 2007 3:52 am

  • Quote

Post by Phoenix591 » Tue Feb 27, 2024 9:12 am

The Main Man wrote:This is still an issue.
So, bitcoin-core needs libsecp256k1-0.4.0 or greater, while electrum needs that lib to be lower than 0.4.0
build bitcoin-core with -system-libsecp256k1 and then it won't depend on it at all ( it will be built against its own copy) that's what they were pointing out by the last bug that fixed/works around the issue.
Top
The Main Man
Veteran
Veteran
Posts: 1173
Joined: Thu Nov 27, 2014 11:25 pm
Location: /run/user/1000

  • Quote

Post by The Main Man » Tue Feb 27, 2024 4:37 pm

Indeed, thanks.
Top
Post Reply

7 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy