Skip to content

Conversation

@maflcko
Copy link
Member

@maflcko maflcko commented Sep 19, 2018

The current depends installation instructions fail on bionic with

E: Unable to locate package g++-4.8-aarch64-linux-gnu
E: Unable to locate package gcc-4.8-aarch64-linux-gnu
E: Unable to locate package g++-4.8-arm-linux-gnueabihf
E: Unable to locate package gcc-4.8-arm-linux-gnueabihf

Also, they fail due to missing dependencies make automake cmake pkg-config python3

Fix this by removing the explicit version and splitting them into common instructions and instructions per linux architecture.

@maflcko maflcko added the Docs label Sep 19, 2018
@maflcko
Copy link
Member Author

maflcko commented Sep 19, 2018

Fun fact:

git log 000000 -1
error: short SHA1 000000 is ambiguous
hint: The candidates are:
hint:   000000035 commit 2018-06-20 - Obsolete #!/bin/bash shebang
hint:   000000901 commit 2018-09-18 - doc: Split depends installation instructions per arch
fatal: ambiguous argument '000000': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

@DrahtBot
Copy link
Contributor

DrahtBot commented Sep 19, 2018

No more conflicts as of last run.

@maflcko maflcko force-pushed the Mf1809-docDepends branch 7 times, most recently from 501f52e to 30c7c10 Compare September 19, 2018 16:09
@maflcko
Copy link
Member Author

maflcko commented Sep 19, 2018

Tested that the current instructions work on no fresh and minimal ubuntu/debian due to missing packages or not-found packages.

@maflcko maflcko force-pushed the Mf1809-docDepends branch 2 times, most recently from facf72a to fad16ac Compare September 19, 2018 16:28
@maflcko
Copy link
Member Author

maflcko commented Sep 19, 2018

Tested that depends compilation (and cross-compilation) works now with fad16ac14df1190de4c9fa9ee2e5ae89c421f0d3 on debian:9, xenial and bionic.

@maflcko maflcko modified the milestone: 0.17.1 Sep 19, 2018
Copy link
Contributor

Choose a reason for hiding this comment

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

line 51 is for aarch64, I guess you should swap with line 55.

@maflcko maflcko force-pushed the Mf1809-docDepends branch 2 times, most recently from faf5355 to fa6e22e Compare September 20, 2018 01:26
Copy link
Contributor

Choose a reason for hiding this comment

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

2018-09-19 20:32:54 mdl(pr=14264): depends/README.md:39: MD026 Trailing punctuation in header

Copy link
Contributor

Choose a reason for hiding this comment

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

2018-09-19 20:32:54 mdl(pr=14264): depends/README.md:43: MD026 Trailing punctuation in header

Copy link
Contributor

Choose a reason for hiding this comment

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

2018-09-19 20:32:54 mdl(pr=14264): depends/README.md:47: MD026 Trailing punctuation in header

@maflcko maflcko force-pushed the Mf1809-docDepends branch 2 times, most recently from 09056d2 to fad95e8 Compare September 21, 2018 14:19
@DrahtBot
Copy link
Contributor

Coverage Change (pull 14264) Reference (master)
Lines -0.0706 % 87.0361 %
Functions +0.0000 % 84.1130 %
Branches -0.0483 % 51.5451 %

@maflcko
Copy link
Member Author

maflcko commented Oct 3, 2018

@Sjors I've stolen this from you. Mind to take a look here if it looks right?

@Sjors
Copy link
Member

Sjors commented Oct 4, 2018

It looks OK to me, but only way to know for sure is to try on a fresh machine, which I haven't gotten around to.

@maflcko
Copy link
Member Author

maflcko commented Oct 4, 2018

I am going to merge, since the current instructions are broken and I tried this on several fresh machines.

@maflcko maflcko merged commit fad95e8 into bitcoin:master Oct 4, 2018
maflcko pushed a commit that referenced this pull request Oct 4, 2018
fad95e8 doc: Split build linux dependencies (MarcoFalke)
0000009 doc: Split depends installation instructions per arch (MarcoFalke)

Pull request description:

  The current depends installation instructions fail on bionic with

  ```
  E: Unable to locate package g++-4.8-aarch64-linux-gnu
  E: Unable to locate package gcc-4.8-aarch64-linux-gnu
  E: Unable to locate package g++-4.8-arm-linux-gnueabihf
  E: Unable to locate package gcc-4.8-arm-linux-gnueabihf
  ```

  Also, they fail due to missing dependencies `make automake cmake pkg-config python3`

  Fix this by removing the explicit version and splitting them into common instructions and instructions per linux architecture.

Tree-SHA512: 25d5efa7450a0b1bbd569f431158f5a25bf4fe34f6adc32ebdfd6b6db9447ce083f555f20ff5b9f7c458864986c15d65219a31a1cd2b18bad9965ece2ea5e3be
@maflcko maflcko deleted the Mf1809-docDepends branch October 4, 2018 04:01
deadalnix pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Mar 6, 2020
Summary:
This diff updates the cross compilation instructions to use cmake and
ninja.
It also make the doc in sync with core with up to date dependencies.

Backport of core [[bitcoin/bitcoin#14264 | PR14264]] and [[bitcoin/bitcoin#16051 | PR16051]].

Test Plan: Read and test the instructions.

Reviewers: #bitcoin_abc, jasonbcox, deadalnix

Reviewed By: #bitcoin_abc, jasonbcox, deadalnix

Subscribers: jasonbcox, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D5394
ftrader pushed a commit to bitcoin-cash-node/bitcoin-cash-node that referenced this pull request Aug 17, 2020
Summary:
This diff updates the cross compilation instructions to use cmake and
ninja.
It also make the doc in sync with core with up to date dependencies.

Backport of core [[bitcoin/bitcoin#14264 | PR14264]] and [[bitcoin/bitcoin#16051 | PR16051]].

Test Plan: Read and test the instructions.

Reviewers: #bitcoin_abc, jasonbcox, deadalnix

Reviewed By: #bitcoin_abc, jasonbcox, deadalnix

Subscribers: jasonbcox, deadalnix

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants