Bitcoin Forum
August 31, 2024, 05:08:38 PM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Gitian Build Error  (Read 528 times)
IAMJES (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
June 22, 2017, 07:45:24 PM
 #1

Hello all,

I am working on understanding how the Gitian build process works. So far so good up until i actually start compiling the binaries. I did make a fork of it and this is the error I get then I try to run

Code:
sudo ./bin/gbuild --commit peercoin=v${VERSION} ../peercoin/contrib/gitian-descriptors/gitian.yml

./bin/gbuild:259:in `block in <main>': must specify a commit for directory KEY (RuntimeError)
        from ./bin/gbuild:256:in `each'
        from ./bin/gbuild:256:in `<main>'

Am I missing something simple?
achow101
Staff
Legendary
*
Offline Offline

Activity: 3486
Merit: 6824


Just writing some code


View Profile WWW
June 22, 2017, 11:28:58 PM
 #2

What is "it"? Did whatever you fork have gitian properly setup? If you changed anything, did you also change the gitian descriptors as well? If not, then gitian will not work.

IAMJES (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
June 23, 2017, 12:43:23 PM
Last edit: June 23, 2017, 12:55:36 PM by IAMJES
 #3

I checked and double checked and still had the same error. Since this is peercoin I used its repo and I still get the same error. I can work through this entire document https://github.com/peercoin/peercoin/blob/master/doc/release-process.txt with no problems up until I get to build the actual executable. Here it wants to use bitcoin, though it didnt state which version to use. To get through this i was Substituting bitcoin for peercoin. Even using peercoin's repo the executable build process fails.

I have posted the same question on peercoin's forum as well and no answer back yet.

** UPDATE ** I was able to move forward after i realized i had rebooted the Ubuntu box and reset the export variables things have begun to build. I will update as time allows.
Chicago
Sr. Member
****
Offline Offline

Activity: 592
Merit: 259


View Profile
July 17, 2017, 11:26:40 PM
 #4

Hello,

    Did you export VERSION before using v${VERSION} on the command line?

Best Regards,
-Chicago
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!