Forums

Skip to content

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

net-p2p/bitcoin-core-25.1-r1::gentoo failed - SOLVED

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
mich
Tux's lil' helper
Tux's lil' helper
Posts: 147
Joined: Sat Sep 29, 2007 12:57 pm

net-p2p/bitcoin-core-25.1-r1::gentoo failed - SOLVED

  • Quote

Post by mich » Sat Feb 17, 2024 6:44 pm

Hello,

I can't compile bitcoin-core, can somebody help me please?
Here the logs:
emerge-info: https://transfer.sh/5SfGJEW8sH/emergeinfo.txt

emerge -pqv '=net-p2p/bitcoin-core-25.1-r1::gentoo' :

[ebuild R ] net-p2p/bitcoin-core-25.1-r1 USE="asm berkdb bitcoin-cli daemon dbus external-signer gui man qrcode sqlite system-libsecp256k1 -examples -kde -libs -nat-pmp -system-leveldb -systemtap -test -upnp -zeromq"

Build log:
https://transfer.sh/P276ueIOAe/build.log

Thanks in advance,
Michel

Thanks for all!
Last edited by mich on Sat Mar 02, 2024 11:21 am, edited 1 time in total.
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 9:52 pm

Seems like it failed with libsecp256k1.
I couldn't build it today with system-libsecp256k1 enabled (it didn't even start compiling, because it can't if electrum is installed on the system as well), so the solution was to build it without system-libsecp256k1
So, that's what you could try as well, disable that USE flag and most likely it will compile.
Top
Juippisi
Developer
Developer
User avatar
Posts: 783
Joined: Fri Sep 30, 2005 3:51 pm
Location: /home

  • Quote

Post by Juippisi » Wed Feb 28, 2024 6:02 am

Make sure to report your issues in https://bugs.gentoo.org so the maintainer can help you directly. Include emerge --info and your full build.log as you've done here.
Top
mich
Tux's lil' helper
Tux's lil' helper
Posts: 147
Joined: Sat Sep 29, 2007 12:57 pm

  • Quote

Post by mich » Wed Feb 28, 2024 8:30 am

The Main Man wrote:Seems like it failed with libsecp256k1.
I couldn't build it today with system-libsecp256k1 enabled (it didn't even start compiling, because it can't if electrum is installed on the system as well), so the solution was to build it without system-libsecp256k1
So, that's what you could try as well, disable that USE flag and most likely it will compile.
Thanks a lot. It works. Is a bug that?.
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 » Wed Feb 28, 2024 10:29 am

That USE flag should be disabled by default in my opinion, it would avoid problems.
Having that library bundled with the program would ensure it works properly, and if someone wants to use some other version then that flag could be enabled.
Top
Hu
Administrator
Administrator
Posts: 24380
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Wed Feb 28, 2024 4:07 pm

On principle, I disagree. Bundled libraries are almost always wrong. Most projects that bundle libraries tend to be bad about not updating their bundled copy in a timely manner, so users get a better maintained system by using system libraries instead of bundled ones.
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 » Wed Feb 28, 2024 4:12 pm

Sometimes you can't solve some issues like this one for example, related to this :
viewtopic-t-1161290.html

You can, by making your own ebuilds I guess, and alter the requirements, but you end up doing the similar thing as doing it with a bundled dependency.
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