Skip to content
This repository was archived by the owner on Nov 17, 2022. It is now read-only.

gitian: more specific default instructions #25

Merged

Conversation

Sjors
Copy link
Member

@Sjors Sjors commented Feb 9, 2018

Fixes #9, #10, #11, #13 and #18

A bit more opinionated on what the default approach is, which should make this easier for first time gitian builders.

One thing I'm not yet happy about is how to move the assert files to the users real machine and then sign them. I have a half baked script for that, and I remember someone else is working on using a git remote for it. The instructions in this PR just tell the user to do it manually.


At any time you can check the package installation and build progress with
In order to sign gitian builds on your host machine, which has your PGP key, fork the gitian.sigs repository abd clone it on your host machine:

Choose a reason for hiding this comment

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

typo: abd

@Sjors Sjors force-pushed the 2018/02/gitian-easier-instructions branch from e262144 to a8c129b Compare February 10, 2018 10:59
@Sjors
Copy link
Member Author

Sjors commented Feb 10, 2018

Fixed the typo @dmiller79 pointed out, and improved a few phrases.

@droark
Copy link

droark commented Feb 27, 2018

Concept ACK.

Am setting Bitcoin Gitian builds right now and had forgotten a thing or two. Will take a closer look at the docs tonight or tomorrow and provide some feedback.

EDIT: Maybe I'm missing something, or running something that doesn't work with these directions (I'm using VMware Fusion and not VirtualBox, for the record), but these directions just don't work for me on Debian 8.10. This is what I see when I run tail var/install.log after a failed install. Can anybody help? I've double checked everything and, other than setting up SSH port forwarding (shouldn't be relevant here), I followed the directions for running gitian-build.sh, ran ip addr show to confirm that the bridge exists, etc.

W: Failed to fetch http://10.0.3.2:3142/archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-amd64/Packages  Unable to connect to 10.0.3.2:3142:

W: Failed to fetch http://10.0.3.2:3142/archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-amd64/Packages  Unable to connect to 10.0.3.2:3142:

W: Failed to fetch http://10.0.3.2:3142/archive.ubuntu.com/ubuntu/dists/trusty-updates/main/i18n/Translation-en  Unable to connect to 10.0.3.2:3142:

W: Failed to fetch http://10.0.3.2:3142/archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/i18n/Translation-en  Unable to connect to 10.0.3.2:3142:

E: Some index files failed to download. They have been ignored, or old ones used instead.

@Sjors
Copy link
Member Author

Sjors commented Feb 27, 2018

@droark can you make a separate Github issue for those errors? I don't think it's related to the changes I'm proposing here. You may also want to hop on IRC #bitcoin-core-dev, as debugging Gitian machines can take some back and forth.

@droark
Copy link

droark commented Mar 2, 2018

@Sjors - Thanks. I'm actually going to talk to one of the guys at the gitian-build team and see if he can pinpoint what's going on. I'll report back either way, and open a new PR if necessary after hopping on IRC.

@maflcko
Copy link

maflcko commented Mar 22, 2018

Needs rebase @Sjors

@Sjors Sjors force-pushed the 2018/02/gitian-easier-instructions branch from a8c129b to c018d64 Compare April 30, 2018 17:13
@Sjors
Copy link
Member Author

Sjors commented Apr 30, 2018

Rebased

@laanwj
Copy link
Member

laanwj commented May 1, 2018

Thanks for working on this - I think this is an improvement, so I'm going to merge it, we should try to keep some momentum here.

@laanwj laanwj merged commit c018d64 into bitcoin-core:master May 1, 2018
laanwj added a commit that referenced this pull request May 1, 2018
c018d64 gitian: more specific default instructions (Sjors Provoost)

Pull request description:

  Fixes #9, #10, #11, #13 and #18

  A bit more opinionated on what the default approach is, which should make this easier for first time gitian builders.

  One thing I'm not yet happy about is how to move the assert files to the users real machine and then sign them. I have a half baked [script](https://gist.github.com/Sjors/ea4578dba596767c5e104ee4aaab09ce) for that, and I remember someone else is working on using a git remote for it. The instructions in this PR just tell the user to do it manually.

Tree-SHA512: 21ef3552a69161f4df1289feb3f727702ad636bfbc866b7b7950cd12dc247725eb7a67daf8365673ec76efdc57d15506fe9a87e7dc6364a6493523168eb116a1
@Sjors Sjors deleted the 2018/02/gitian-easier-instructions branch May 1, 2018 11:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants