theuni
commented at 12:22 AM on December 12, 2014:
member
Among other things, fixes #5428. Since this will cause all dependencies to rebuild, I cleaned up a few other things while I was in there:
make download now downloads sources for all OSs.
Updated docs to add make download before gitian build
fixed the comparisontool install process, which was moving the downloaded jar file
moved download stamps into the SOURCES_PATH dir, so they're always in sync
make build-id's deterministic by normalizing sha256 output for patches
other misc fixes and doc cleanups
Verified that when fetching the sources before building, gitian does not attempt to download anything.
depends: teach 'make download' to download sources for all hosts422f873ef3
depends: Move source stamps to source dir and misc cleanups
Since the last commit will force rebuilds of all depends, take the opportunity
to clean up a few other things that would trigger rebuilds as well.
- Move source stamps to the sources dir so that SOURCES_PATH is respected for
"make download".
- Only print "fetching..." when actually downloading a file.
- Avoid using non-deterministic paths for the recipe hash (patch location).
This should ensure that all builders get the same resulting build-ids.
- Use a per-package source paths. This will allow for removing old source files
in the future.
- Use a host-agnostic path for downloads which gets cleaned up properly.
d546191dc2
depends: fix packages with hard-coded SOURCES_PATH
Also fixes a nasty bug that removes the downloaded comparisontool jar file.
d7db4b6317
docs: release process fixups
Add instructions for manually fetching sources, as well as some misc. fixes.
e27d7cb248
theuni
commented at 12:23 AM on December 12, 2014:
member
Assuming this works as intended, obviously needs backport to 0.10
laanwj
commented at 10:01 AM on December 12, 2014:
member
I reproduced the issue by isolating gitian in a virtual network with only access to the host:
# create host-only network interface tap0 for VM
sudo ip tuntap add dev tap0 mode tap user orion
# configure it to use the default 10.0.2.2 range
sudo ifconfig tap0 10.0.2.2 netmask 255.255.255.0
# run a dhcp server on the new interface to serve a fixed IP address
touch dummy-dnsmasq.conf
sudo dnsmasq -F 10.0.2.10,10.0.2.10 -a 10.0.2.2 -i tap0 -9 -p 0 -z --conf-file=dummy-dnsmasq.conf --keep-in-foreground
laanwj added the label Build system on Dec 12, 2014
laanwj added this to the milestone 0.10.0 on Dec 12, 2014
laanwj merged this on Dec 12, 2014
laanwj closed this on Dec 12, 2014
laanwj referenced this in commit 1bcb52143a on Dec 12, 2014
laanwj referenced this in commit 0133e4fb48 on Dec 12, 2014
btcdrak
commented at 8:54 AM on December 13, 2014:
contributor
I get the following error with make download
http://distro.ibiblio.org/fatdog/source/c/cdrkit-1.1.11.tar.bz2:
2014-12-13 03:47:37 ERROR 404: Not Found.
ERROR: The certificate of `bitcoincore.org' is not trusted.
make[1]: *** [/home/debian/bitcoin/depends/sources/download-stamps/.stamp_fetched-native_cdrkit-cdrkit-1.1.11.tar.bz2] Error 5
make: *** [download-osx] Error 2
btcdrak
commented at 9:01 AM on December 13, 2014:
contributor
btcdrak
commented at 9:09 AM on December 13, 2014:
contributor
It also looks like bitcoincore.org needs a properly signed SSL cert?
laanwj
commented at 9:54 AM on December 13, 2014:
member
It has, try going to https://bitcoincore.org/ in a recent browser. The problem is that the root certificates of your OS (let me guess: debian) are outdated. It is a problem that should fix itself in time as packages are updated.
btcdrak
commented at 10:12 AM on December 13, 2014:
contributor
@laanwj Doesnt help when we are recommending Debian as the gitian VM :-P
laanwj
commented at 10:23 AM on December 13, 2014:
member
Switching it over to Debian Jessie would likely work, or maybe even Ubuntu.
btcdrak
commented at 10:27 AM on December 13, 2014:
contributor
Well, if it produces a hard error we have to do something. Maybe the easier route would be to update the CA bundle?
laanwj
commented at 10:33 AM on December 13, 2014:
member
Sure, instead of bumping the entire OS you may be able to install just the CA bundle from testing and/or experimental. According to @harding on IRC that is possible as it doesn't have any special dependencies.
OTOH hanging the recommended OS will result in less steps overall. For example the explicit step to instal python-vm-builder would not be needed on Ubuntu. Maybe a package for it exists in Jessie too.
Edit: another possibility is to add an option to depends to provide --no-check-certificate. I wouldn't like that to be the default, but it could be provided to work around this. The hashes of the packages are checked so it'd be safe.
theuni
commented at 1:30 AM on February 10, 2015:
member
Documenting here for posterity. The certificate issue on bitcoincore.org has been resolved. It turned out to be a server issue related to certificate order. Some clients fail when the order is switched, some don't.
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2026-04-13 18:15 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me