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

[Question]Build on ubuntu:bionic failed on debian/rules clean #845

Closed
Frazer-dl opened this issue Dec 8, 2022 · 8 comments
Closed

[Question]Build on ubuntu:bionic failed on debian/rules clean #845

Frazer-dl opened this issue Dec 8, 2022 · 8 comments

Comments

@Frazer-dl
Copy link

Build error while using make deb-blockbook-bitcoin . I didn't find solution here ,
in build/docker/bin/dockerfile I changed FROM ubuntu:bionic

Package files for bitcoin generated to build/pkg-defs
dpkg-buildpackage: info: source package blockbook
dpkg-buildpackage: info: source version 0.3.6
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by IT <it@satoshilabs.com>
dpkg-buildpackage: info: host architecture amd64
 dpkg-source --before-build blockbook
 debian/rules clean
: No such file or directory
'.  Stop. No rule to make target '
dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2
@Frazer-dl Frazer-dl changed the title Build on ubuntu:bionic failed on debian/rules clean [Question]Build on ubuntu:bionic failed on debian/rules clean Dec 8, 2022
@Frazer-dl
Copy link
Author

Dehumanizer77 if you have any suggestions it might help :)

@Dehumanizer77
Copy link
Contributor

Actually, I have never built blockbook packages on Ubuntu so I'm not sure. Maybe @martinboehm can have some insight?

@Frazer-dl
Copy link
Author

Actually, I have never built blockbook packages on Ubuntu so I'm not sure. Maybe @martinboehm can have some insight?

Oh, ok. But I have one more question, maybe you know what is it.
When I am trying to manual start from docker container (ports exposed)
root@e998a3d6d712:/build# ./blockbook --blockchaincfg configs/coins/bitcoin.json
I've got an error:

E1208 10:38:52.982611    3351 blockbook.go:373] rpc: Unsupported coin ''. Must be one of [Testnet Ethereum Ethereum Classic Bcash Testnet NULS Zcash Decred Testnet Vertcoin Groestlcoin Testnet Ravencoin SnowGem Viacoin Qtum Testnet Ritocoin Regtest Decred Koto Testnet PIVX Fujicoin Divi Bitcore DigiByte Testnet Liquid Polis Bitcoin Litecoin Myriad Unobtanium BitZeny Zcash Testnet DigiByte Groestlcoin Signet Firo Bgold MonetaryUnit Signet Ethereum Testnet Ropsten Dash Testnet GameCredits Koto Dogecoin Vertcoin Testnet Monacoin Testnet Groestlcoin Flo VIPSTARCOIN Flux DeepOnion Bcash Omotenashicoin Groestlcoin Regtest PIVX Testnet Ethereum Testnet Goerli CPUchain Litecoin Testnet Dogecoin Testnet Namecoin Monacoin Trezarcoin ECash Dash Bellcoin Qtum Omotenashicoin Testnet Bgold Testnet] Retrying...

@Dehumanizer77
Copy link
Contributor

Well it depends on what's inside the bitcoin.json file :-) it's either missing or does not have all parameters correctly set.

@Frazer-dl
Copy link
Author

Well it depends on what's inside the bitcoin.json file :-) it's either missing or does not have all parameters correctly set.

I did not change it, its the same as in this repo

@Dehumanizer77
Copy link
Contributor

Oh, you are trying to start it with bitcoin.json, that's not correct. The json for running the blockbook is blockchaincfg.json and is generated during package build.

@Frazer-dl
Copy link
Author

Frazer-dl commented Dec 8, 2022

Oh, you are trying to start it with bitcoin.json, that's not correct. The json for running the blockbook is blockchaincfg.json and is generated during package build.

Damn :) Thanks! Could you please send me generated one?

@Frazer-dl
Copy link
Author

Oh, you are trying to start it with bitcoin.json, that's not correct. The json for running the blockbook is blockchaincfg.json and is generated during package build.

Ok, I build it by myself, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants