lbryio / lbryio/lbrycrd

Fail Kubuntu 22.04.1 LTS

Open
#413 12 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.5k
Forks
173
PR merge metrics
No merged PRs in 30d

Description

Precompíled version
Apr 30, 2021
v0.17.3.3
https://github.com/lbryio/lbrycrd/commit/7afc4c418a3beae4a57c8fd91e527ada349a69c7
[v0.17.3.3 - small update](https://github.com/lbryio/lbrycrd/releases/tag/v0.17.3.3)

does Not download the chain...
always has chacksum mismatch
around:
0.0003

------------

compiling from source also has errors

```
./packaging/build_linux_64bit.sh
./src/test/test_lbrycrd
Package libdb4.8++-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package libdb4.8-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libdb4.8-dev' has no installation candidate
E: Package 'libdb4.8++-dev' has no installation candidate

```

22.04.1 LTS has libdb-dev 5.3

-------------

static

```
"ranlib" "bin.v2/libs/test/build/gcc-11.2.0/release/link-static/threading-multi/visibility-hidden/libboost_unit_test_framework-mt-x64.a"

common.copy stage/lib/libboost_test_exec_monitor-mt-x64.a

cp "bin.v2/libs/test/build/gcc-11.2.0/release/link-static/threading-multi/visibility-hidden/libboost_test_exec_monitor-mt-x64.a" "stage/lib/libboost_test_exec_monitor-mt-x64.a"

common.copy stage/lib/libboost_unit_test_framework-mt-x64.a

cp "bin.v2/libs/test/build/gcc-11.2.0/release/link-static/threading-multi/visibility-hidden/libboost_unit_test_framework-mt-x64.a" "stage/lib/libboost_unit_test_framework-mt-x64.a"

...failed updating 5 targets...
...skipped 6 targets...
...updated 128 targets...
make: *** [funcs.mk:244: /home/mama/Descargas/lbrycrd/depends/work/build/x86_64-pc-linux-gnu/boost/1_69_0-bc9596c8782/./.stamp_built] Error 1

```

---------------

```

$ sudo add-apt-repository ppa:bitcoin/bitcoin
Repository: 'deb https://ppa.launchpadcontent.net/bitcoin/bitcoin/ubuntu/ jammy main'
Description:
NOT MAINTAINED. The OS-library linking packages here had a series of issues.

PLEASE DOWNLOAD DIRECTLY FROM bitcoincore.org (and verify the signatures of said files).

IF YOU WANT AUTO-UPDATES, please see the officially-maintained snap package -
https://github.com/bitcoin-core/packaging/tree/master/snap
More info: https://launchpad.net/~bitcoin/+archive/ubuntu/bitcoin
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.

Err:18 https://ppa.launchpadcontent.net/bitcoin/bitcoin/ubuntu jammy Release
404 Not Found [IP: 185.125.190.52 443]

```

What version of Bitcoin core is LBRY compatible?

https://snapcraft.io/bitcoin-core
https://bitcoincore.org/

Apr 30, 2021
v0.17.3.3
7afc4c4
[v0.17.3.3 - small update](https://github.com/lbryio/lbrycrd/releases/tag/v0.17.3.3)

similar date:
0.20.1 - 0.21.1

```
sudo snap install bitcoin-core --channel=0.21/stable
sudo snap install bitcoin-core --channel=0.20/stable

```
Newer:
```
sudo snap install bitcoin-core --channel=22.x/stable
sudo snap install bitcoin-core --channel=23.x/stable
```
Older:
```
sudo snap install bitcoin-core --channel=0.19/stable
sudo snap install bitcoin-core --channel=0.18/stable
sudo snap install bitcoin-core --channel=0.17/stable
```

Contributor guide

Open the contributing guide

Research direction

Start with packaging/build_linux_64bit.sh and the dependency setup that requests libdb4.8-dev on Kubuntu 22.04.1; then inspect the reported Boost failure and run src/test/test_lbrycrd. Done means the source build and tests work on that OS and the node no longer reports the documented chain checksum mismatch, with the compatible Bitcoin Core version established.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, ubuntu
Domain
blockchain, build-system, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.