Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bitcoin 0.17.1 #10710

Closed
wants to merge 8 commits into from
Closed

Bitcoin 0.17.1 #10710

wants to merge 8 commits into from

Conversation

luke-jr
Copy link
Contributor

@luke-jr luke-jr commented Dec 30, 2018

  • net-p2p/bitcoin{-qt,d} now default to can use the bundled LevelDB, which is modified to use more mmaps for a performance improvement; a system-leveldb USE flag has been added to continue to use the system library instead (and is enabled by default).
  • dev-libs/leveldb-1.20 appears to be compatible with Bitcoin (I reviewed the relevant diffs), so I am adding it to virtual/bitcoin-leveldb.
  • dev-libs/libsecp256k1 has been bumped to 0.1_pre20170928 which corresponds (more or less) to the version bundled with 0.17.1.
  • ~ppc64 keywords have been added (this is my development platform).
  • Knots has dropped the optional-libevent patch, so libevent is now required.
  • We moved debian/rpm packaging stuff to another repo (it tends to get updated post-release), but apparently the .desktop and .protocol files went with it, so I have added these to net-p2p/bitcoin-qt/files for now.

Signed-off-by: Luke Dashjr <luke-jr+git@utopios.org>
@gentoo-bot
Copy link

Copyright policy change

Please note that on 2018-09-15 Trustees have approved new Gentoo copyright policy. All contributions made to Gentoo need to follow this policy. If you include the Signed-off-by line in your commit message, you indicate that you have read the policy and agree to its terms. For more detailed explanation, please see the new Gentoo copyright policy explained article.

Pull Request assignment

Submitter: @luke-jr
Areas affected: ebuilds
Packages affected: dev-libs/libsecp256k1, dev-libs/univalue, dev-util/bitcoin-tx, net-libs/libbitcoinconsensus, net-p2p/bitcoin-cli...

dev-libs/libsecp256k1: @luke-jr, @gentoo/proxy-maint
dev-libs/univalue: @luke-jr, @gentoo/proxy-maint
dev-util/bitcoin-tx: @luke-jr, @gentoo/proxy-maint
net-libs/libbitcoinconsensus: @luke-jr, @gentoo/proxy-maint
net-p2p/bitcoin-cli: @luke-jr, @gentoo/proxy-maint
net-p2p/bitcoin-qt: @luke-jr, @gentoo/proxy-maint
net-p2p/bitcoind: @luke-jr, @gentoo/proxy-maint
virtual/bitcoin-leveldb: @luke-jr, @gentoo/proxy-maint

Linked bugs

No bugs to link found. If your pull request references any of the Gentoo bug reports, please add appropriate GLEP 66 tags to the commit message and request reassignment.


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else) assigned PR successfully assigned to the package maintainer(s). labels Dec 30, 2018
@candrews
Copy link
Member

candrews commented Jan 9, 2019

* net-p2p/bitcoin{-qt,d} now default to use the bundled LevelDB, which is modified to use more mmaps for a performance improvement; a system-leveldb USE flag has been added to continue to use the system library instead.

I don't like this. Bundled libraries are against Gentoo policy: https://wiki.gentoo.org/wiki/Why_not_bundle_dependencies If there must be such a use flag, please set it to use the system library by default.

# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please bump to EAPI=7

src_install() {
dodoc README.md
emake DESTDIR="${D}" install
prune_libtool_files
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Banned in EAPI=7, use something like find "${D}" -name '*.la' -delete || die instead. See https://dev.gentoo.org/~mgorny/articles/the-ultimate-guide-to-eapi-7.html

# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use EAPI=7

echo "#define BUILD_SUFFIX gentoo${PVR#${PV}}" >src/obj/build.h || die

eautoreconf
rm -r src/leveldb src/secp256k1 || die
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this line be before eautoreconf?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIRC, they need to exist for eautoreconf to work, but can be deleted safely afterward.

# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use EAPI=7

# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use EAPI=7

@luke-jr
Copy link
Contributor Author

luke-jr commented Jan 10, 2019

I don't like this. Bundled libraries are against Gentoo policy: https://wiki.gentoo.org/wiki/Why_not_bundle_dependencies If there must be such a use flag, please set it to use the system library by default.

Even though there is likely an annoying performance hit? I hate bundled dependencies too, but I would think the end user experience is more important, no?

@candrews
Copy link
Member

I don't like this. Bundled libraries are against Gentoo policy: https://wiki.gentoo.org/wiki/Why_not_bundle_dependencies If there must be such a use flag, please set it to use the system library by default.

Even though there is likely an annoying performance hit? I hate bundled dependencies too, but I would think the end user experience is more important, no?

Correct. It's Gentoo's position that bundled dependencies are only used as a last resort if the system dependency doesn't work at all. This isn't such a case.

@luke-jr
Copy link
Contributor Author

luke-jr commented Jan 10, 2019

So just to be clear, do you want me to revert it back to system libs only, or simply change the USE default?

@candrews
Copy link
Member

Just changing the USE flag default would be sufficient :)

- Update upstream URIs
- Add ppc64 keyword

Signed-off-by: Luke Dashjr <luke-jr+git@utopios.org>
…ends)

Closes: https://bugs.gentoo.org/672070
Signed-off-by: Luke Dashjr <luke-jr+git@utopios.org>
Closes: https://bugs.gentoo.org/668520
Signed-off-by: Luke Dashjr <luke-jr+git@utopios.org>
Closes: https://bugs.gentoo.org/672064
Signed-off-by: Luke Dashjr <luke-jr+git@utopios.org>
Signed-off-by: Luke Dashjr <luke-jr+git@utopios.org>
Signed-off-by: Luke Dashjr <luke-jr+git@utopios.org>
Signed-off-by: Luke Dashjr <luke-jr+git@utopios.org>
@luke-jr
Copy link
Contributor Author

luke-jr commented Jan 10, 2019

Okay, all the changes requested have been made, with exception to the rm/autoreconf ordering (which I confirmed must be done in that order).

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2019-01-10 18:37 UTC
Newest commit scanned: 109b1bf
Status: ✅ good

No issues found

@candrews
Copy link
Member

merged! Thank you :)

@luke-jr luke-jr closed this Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else)
Projects
None yet
4 participants