[Tails-dev] Can't build tails, not enough ram?

Delete this message

Reply to this message
Autore: Austin English
Data:  
To: The Tails public development discussion list
Oggetto: [Tails-dev] Can't build tails, not enough ram?
Hi all,

It's been a while since I've built tails, been busy with other
projects.. Anyway, I've done a git pull, git clean -fxd (to clear out
.vagrant), and removed ~/.vagrant.d. I then tried to build with noram,
since my laptop is low on free memory, and I get:

austin@debian-laptop:~/src/tails$ export TAILS_BUILD_OPTIONS=noram

austin@debian-laptop:~/src/tails$ rake build
rake aborted!
VagrantCommandError: 'vagrant ["status"]' command failed: 1
/home/austin/src/tails/Rakefile:61:in `capture_vagrant'
/home/austin/src/tails/Rakefile:84:in `vm_state'
/home/austin/src/tails/Rakefile:117:in `enough_free_memory_for_ram_build?'
/home/austin/src/tails/Rakefile:145:in `block in <top (required)>'
Tasks: TOP => build => parse_build_options
(See full trace by running task with --trace)

I see the same thing when I build on my desktop, with ~15 GB free (with
or without noram), so I feel like I've done something wrong.

I've followed https://tails.boum.org/contribute/build/, but don't see
any workarounds for this. Anyone have any idea what I'm missing?

This is on Debian Sid, x86_64.

--
-Austin
GPG: 14FB D7EA A041 937B
austin@debian-laptop:~$ dpkg -l | grep -e rake -e libvirt -e dnsmasq-base -e ebtables -e qemu -e vagrant
ii  dnsmasq-base                           2.76-5                                amd64        Small caching DNS proxy and DHCP/TFTP server
ii  ebtables                               2.0.10.4-3.5                          amd64        Ethernet bridge frame table administration
ii  gir1.2-libvirt-glib-1.0:amd64          1.0.0-1                               amd64        GObject introspection files for the libvirt-glib library
ii  ipxe-qemu                              1.0.0+git-20161027.b991c67-1          all          PXE boot firmware - ROM images for qemu
ii  libvirt-bin                            1.3.1-1                               amd64        Dummy transitional package
ii  libvirt-clients                        3.0.0-2                               amd64        Programs for the libvirt library
ii  libvirt-daemon                         3.0.0-2                               amd64        Virtualization daemon
ii  libvirt-daemon-system                  3.0.0-2                               amd64        Libvirt daemon configuration files
ii  libvirt-glib-1.0-0:amd64               1.0.0-1                               amd64        libvirt GLib and GObject mapping library
ii  libvirt0                               3.0.0-2                               amd64        library for interfacing with different virtualization systems
ii  python-libvirt                         3.0.0-2                               amd64        libvirt Python bindings
ii  qemu-efi                               0~20161202.7bbe0b3e-1                 all          UEFI firmware for 64-bit ARM virtual machines
ii  qemu-kvm                               1:2.8+dfsg-2                          amd64        QEMU Full virtualization on x86 hardware
ii  qemu-slof                              20161019+dfsg-1                       all          Slimline Open Firmware -- QEMU PowerPC version
ii  qemu-system                            1:2.8+dfsg-2                          amd64        QEMU full system emulation binaries
ii  qemu-system-arm                        1:2.8+dfsg-2                          amd64        QEMU full system emulation binaries (arm)
ii  qemu-system-common                     1:2.8+dfsg-2                          amd64        QEMU full system emulation binaries (common files)
ii  qemu-system-mips                       1:2.8+dfsg-2                          amd64        QEMU full system emulation binaries (mips)
ii  qemu-system-misc                       1:2.8+dfsg-2                          amd64        QEMU full system emulation binaries (miscellaneous)
ii  qemu-system-ppc                        1:2.8+dfsg-2                          amd64        QEMU full system emulation binaries (ppc)
ii  qemu-system-sparc                      1:2.8+dfsg-2                          amd64        QEMU full system emulation binaries (sparc)
ii  qemu-system-x86                        1:2.8+dfsg-2                          amd64        QEMU full system emulation binaries (x86)
ii  qemu-utils                             1:2.8+dfsg-2                          amd64        QEMU utilities
ii  rake                                   10.5.0-2                              all          ruby make-like utility
ii  vagrant                                1.9.1+dfsg-1                          all          Tool for building and distributing virtualized development environments