Skip to content

Conversation

@fanquake
Copy link
Member

@fanquake fanquake commented Aug 5, 2020

Any systems which only have an older installable Boost can use depends.
1.58.0 retains compatibility with the packages installable on Ubuntu 16.04.

The projects usage of Boost wont be going away any time soon, if ever (i.e #15382), and our usage of the test framework.

Fixes: #19506

@maflcko
Copy link
Member

maflcko commented Aug 5, 2020

Concept ACK. Given that no one complained about the compile failure yet (other than me) probably means no one is running on that system. And it is still possible to compile from depends.

@hebasto
Copy link
Member

hebasto commented Aug 5, 2020

Concept ACK.

Any systems which only have an older install-able Boost can use depends.

Fixes: bitcoin#19506
Copy link
Member

@hebasto hebasto left a comment

Choose a reason for hiding this comment

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

ACK 70452a0, tested on Linux Mint 20 (x86_64).

@maflcko
Copy link
Member

maflcko commented Aug 5, 2020

For reference, here is the availability of boost in OSes: #16381 (comment)
So, debian:jessie and centos:7 will from now on use depends to build Bitcoin Core, which seems fine.

@laanwj
Copy link
Member

laanwj commented Aug 5, 2020

ACK 70452a0

I wonder if there are more boost version workarounds that can be removed, but couldn't find anything with a naive search for BBOST_VERSION at leat.

@DrahtBot
Copy link
Contributor

DrahtBot commented Aug 5, 2020

Guix builds

File commit 0f16212
(master)
commit 33a1ef09523de33ff3a3399b1fc5cd3dff9c3df7
(master and this pull)
*-aarch64-linux-gnu-debug.tar.gz 0dfa29c4a69b6fb7... 0532334e8e3298ff...
*-aarch64-linux-gnu.tar.gz 4bb086beab5cb17a... cf85ba65d0de472c...
*-arm-linux-gnueabihf-debug.tar.gz 8937c114b59e001f... ff2fe3d55e0d9671...
*-arm-linux-gnueabihf.tar.gz d34a9f1130a95611... c25e5c1fac6040c5...
*-riscv64-linux-gnu-debug.tar.gz 07a51d5d320b6ca4... 956ff04a2d99872d...
*-riscv64-linux-gnu.tar.gz 2b2b67cd096e77a7... d7783c7d5c6f8ecf...
*-win-unsigned.tar.gz d55054ad2c1ae0cf... a630a68df16b3d40...
*-win64-debug.zip 3e79bb97d04040b7... 20d546b5c7dd4f76...
*-win64-setup-unsigned.exe 9a54e8ef6408b1c5... 9ca51a1d5f9c34e8...
*-win64.zip b9f473d6dedfc2c4... 3943eccb59f901a0...
*-x86_64-linux-gnu-debug.tar.gz d3b50c729f53419a... 5a02efd70b207fb5...
*-x86_64-linux-gnu.tar.gz 3de5c36197b49d11... 54ea7f328e020619...
*.tar.gz bd1e31b60c402683... c7f5399bde87ef9b...
guix_build.log 69791fc6dd71841a... 4f6e7b7bd03cede0...
guix_build.log.diff 3007c685cf3d3090...

@DrahtBot
Copy link
Contributor

DrahtBot commented Aug 6, 2020

Gitian builds

File commit e3272ff
(master)
commit c81f0eda7c5f541155496a14d49f5859ef04b539
(master and this pull)
bitcoin-core-linux-0.21-res.yml 6424df7c26806d72...
bitcoin-core-win-0.21-res.yml 24697b61456dc6e7...
*-aarch64-linux-gnu-debug.tar.gz f51911ec9a64338b...
*-aarch64-linux-gnu.tar.gz 948666023ba1a895...
*-arm-linux-gnueabihf-debug.tar.gz 2ca5be799a7fcbb5...
*-arm-linux-gnueabihf.tar.gz 17e58f8ba54dd1ac...
*-riscv64-linux-gnu-debug.tar.gz 228ead59e5811c1f...
*-riscv64-linux-gnu.tar.gz f58d692512fdbae4...
*-win64-debug.zip d8c675be72a24179...
*-win64-setup-unsigned.exe 2ea4f8ae762c1d7b...
*-win64.zip 5e39e41c0096725f...
*-x86_64-linux-gnu-debug.tar.gz baea5ed409e6aa32...
*-x86_64-linux-gnu.tar.gz 543a49f4d4bdea2e...
*.tar.gz d4f179e9da6d20b4...
linux-build.log fab3e95ec2bcf5c7...
win-build.log fc0a91b685c0bb2d...

@practicalswift
Copy link
Contributor

ACK 70452a0 -- patch looks correct

Nice cleanup!

@fanquake fanquake merged commit 82127d2 into bitcoin:master Aug 6, 2020
@fanquake fanquake deleted the boost_1_58_0 branch August 6, 2020 11:29
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Aug 6, 2020
70452a0 build: set minimum required Boost to 1.58 (fanquake)

Pull request description:

  Any systems which only have an older installable Boost can use depends.
  1.58.0 retains compatibility with the packages [installable on Ubuntu 16.04](https://packages.ubuntu.com/xenial/libboost-dev).

  The projects usage of Boost wont be going away any time soon, if ever (i.e bitcoin#15382), and our usage of the test framework.

  Fixes: bitcoin#19506

ACKs for top commit:
  practicalswift:
    ACK 70452a0 -- patch looks correct
  laanwj:
    ACK 70452a0
  hebasto:
    ACK 70452a0, tested on Linux Mint 20 (x86_64).

Tree-SHA512: d290415e3c70a394b3d7659c0480a35b4082bdce8d48b1c64a0025f7ad6e21567b4dc85813869513ad246d27f950706930410587c11c1aa3693ae6245084765c
@hebasto
Copy link
Member

hebasto commented Oct 4, 2020

It turned out that before this change the actual minimum supported Boost version was 1.48 rather 1.47.

barton2526 added a commit to barton2526/Gridcoin-Research that referenced this pull request Jun 23, 2021
barton2526 added a commit to barton2526/Gridcoin-Research that referenced this pull request Jun 24, 2021
Fabcien pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Nov 29, 2021
Summary:
This is a 3 commit PR that replaces all uses of `util.(dis)?connect_nodes` with `TestFramework.(dis)?connect_nodes`. This reduces the number of imports by a lot and leave only one single way of doing this operation.

A later scripted-diff commit replaces the majority of uses, which all
follow this pattern:

    `(dis)?connect_nodes(self.nodes[a], self.nodes[b]))`

This commit replaces the few "special cases".

This is a backport of [[bitcoin/bitcoin#19667 | core#19667]] [1/3]
bitcoin/bitcoin@be38684

The line touched in rpc_psbt is in a segwit related test that does not exist in Bitcoin ABC.

Test Plan: `ninja check-functional`

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D10558
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Feb 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can no longer compile with boost 1.55/1.53

6 participants