build: Default size for the LXC disk is no longer enough #15574

issue hebasto opened this issue on March 10, 2019
  1. hebasto commented at 6:04 PM on March 10, 2019: member

    My favorite configuration for gitian building is Linux Mint 19.1 (based on Ubuntu 18.04) with LXC 3.0.3.

    Faced disk space issues. This gitian-builder patch works well:

    diff --git a/bin/make-base-vm b/bin/make-base-vm
    index 916c11f..152f8bc 100755
    --- a/bin/make-base-vm
    +++ b/bin/make-base-vm
    @@ -264,7 +264,7 @@ if [ $LXC = "1" ]; then
           fi
         fi
       fi
    -  dd if=/dev/zero of=$OUT-lxc bs=1M count=1 seek=10240
    +  dd if=/dev/zero of=$OUT-lxc bs=1M count=1 seek=15360
       /sbin/mkfs.ext4 -F $OUT-lxc
       t=`mktemp -d gitian.XXXXXXXX`
       sudo mount $OUT-lxc $t
    

    Refs:

  2. fanquake added the label Build system on Mar 10, 2019
  3. laanwj commented at 3:27 PM on March 11, 2019: member

    Tested ACK (well, I tested wih 12240 so this size should certainly be enough)

    Edit: Eh, why didn't you open this PR on the gitian repository, there's nothing we can do with this here

  4. laanwj added the label Upstream on Mar 11, 2019
  5. luke-jr commented at 4:04 PM on March 11, 2019: member

    Eh? make-base-vm doesn't work with bionic at all though...

  6. hebasto commented at 5:37 PM on March 15, 2019: member

    @laanwj

    Eh, why didn't you open this PR on the gitian repository, there's nothing we can do with this her

    I cannot reproduce the issue reliably. Is it ok to increase LXC disk just for safety?

  7. hebasto commented at 5:50 AM on March 19, 2019: member
  8. hebasto closed this on Mar 19, 2019

  9. MarcoFalke locked this on Dec 16, 2021

github-metadata-mirror

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