Bitcoin Core – Gitian building not working
Gitian has two different virtualization modes, each with its own characteristics and challenges. In my experience, it looks like you’re using LXC, which no longer works.
You can try the same command in KVM mode (drop --lxc
And don’t set USE_LXC=1
) or Docker mode (using --docker
Instead of --lxc
and set USE_DOCKER=1
Instead of USE_LXC
). I find docker mode to be much more reliable since all settings for the containers are handled in a different project.
If you are building an older release, you may need to slightly modify gitian-builder to use different apt package sources, as Ubuntu moves those package sources to an archive location.
To build the latest version of Bitcoin Core, Gitian has been replaced by Guix. However, it is still useful for people interested in building on older versions of the software.