Deterministic Builds for Namecoin Core (Help Wanted!)

Namecoin, NMControl
Post Reply
biolizard89
Posts: 1993
Joined: Tue Jun 05, 2012 6:25 am
os: linux

Deterministic Builds for Namecoin Core (Help Wanted!)

Post by biolizard89 » Sat Feb 14, 2015 7:22 am

Hey everyone,

So I've been working on deterministic builds for Namecoin Core. Linux successfully builds, with the 64-bit binary tested and working on Fedora. Help would be appreciated testing the determinism, and testing the 32-bit binary.

First off, I'm assuming you know how to use Gitian to build Bitcoin Core (if not, see the links at the bottom of this post). The procedure is roughly the same for Namecoin Core. Here are the specific descriptors and commits that I'm using, and my hashes:

Code: Select all

Gitian descriptor at https://github.com/JeremyRand/namecore/tree/gitian-rename 
master branch -- for future reference this is commit fc26044dcf4c97b95a82efc3c1327ab9f2a1043f
default URL

6e68a7f2c319508e681be9a876fd19a8a5a683a6ebb09ade63b2cb6596200f3a  namecoin-0.10.99-linux32.tar.gz
063ff5858de90bd020b2e1d47eaccd607b327db8508a68ec7edbfa65972f4b2a  namecoin-0.10.99-linux64.tar.gz
bbedb1f26c1c434fe62571acf7a4ea47b24b8dc426997ef5322a8638360febc6  src/namecoin-0.10.99.tar.gz
6c62f16ee8db0e8e0c75278f652a36f594d54bc9cf2900b097061b9d0895fc5a  namecoin-linux-0.10-res.yml
If you need help getting it to build, feel free to drop by #namecoin-dev and ask your questions -- in particular, jbisch, jonasbits, and myself (Jeremy_Rand) have built Namecoin-related software with Gitian, and may be able to assist you. The Bitcoin Core documentation may also help: https://github.com/bitcoin/bitcoin/blob ... uilding.md and https://github.com/bitcoin/bitcoin/blob ... process.md .

Please test out the build process and let me know what your hashes are. Hopefully they will be the same; if not, then either you did something wrong, I did something wrong, or there's a bug in Namecoin Core.

Cheers!
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5

josephbisch
Posts: 69
Joined: Sun Nov 23, 2014 3:34 pm
os: linux

Re: Deterministic Builds for Namecoin Core (Help Wanted!)

Post by josephbisch » Sat Feb 14, 2015 8:16 pm

So, I got it working today. And most of my hashes match. But for namecoin-linux-0.10-res.yml I got b13a9d5491fb66a227fd24139c48357880042cb250f0ff8d8e28764243c422a8. Correct me if I'm wrong, but isn't it not a big deal if the resulting yml file is different as long as the source and binaries match? Anyway, here is the file that doesn't match (I didn't paste it here, because it is very long):

http://pastebin.com/ihSZc6cp

Looking at the file, I'm guessing the issue is with the download stamps from downloading the source of the dependencies.

biolizard89
Posts: 1993
Joined: Tue Jun 05, 2012 6:25 am
os: linux

Re: Deterministic Builds for Namecoin Core (Help Wanted!)

Post by biolizard89 » Sun Feb 15, 2015 4:28 am

josephbisch wrote:So, I got it working today. And most of my hashes match. But for namecoin-linux-0.10-res.yml I got b13a9d5491fb66a227fd24139c48357880042cb250f0ff8d8e28764243c422a8. Correct me if I'm wrong, but isn't it not a big deal if the resulting yml file is different as long as the source and binaries match? Anyway, here is the file that doesn't match (I didn't paste it here, because it is very long):

http://pastebin.com/ihSZc6cp

Looking at the file, I'm guessing the issue is with the download stamps from downloading the source of the dependencies.
My guess is that the .yml file doesn't need to match. So this is very good news that the binaries and source matched. Thanks for testing!
Jeremy Rand, Lead Namecoin Application Engineer
NameID: id/jeremy
DyName: Dynamic DNS update client for .bit domains.

Donations: BTC 1EcUWRa9H6ZuWPkF3BDj6k4k1vCgv41ab8 ; NMC NFqbaS7ReiQ9MBmsowwcDSmp4iDznjmEh5

moa
Posts: 255
Joined: Mon May 23, 2011 6:13 am

Re: Deterministic Builds for Namecoin Core (Help Wanted!)

Post by moa » Sat Jul 18, 2015 5:27 am

I've been doing depends builds for namecoin/namecore since the code was posted on github. Seems to test (make check) and run fine.

Post Reply