Re: [Tails-dev] Tails build broken?

Delete this message

Reply to this message
Author: Robert Heller
Date:  
To: Robert Heller
CC: Tails Development List
Subject: Re: [Tails-dev] Tails build broken?
At Wed, 19 Feb 2014 10:18:27 -0500 Robert Heller <heller@???> wrote:

>
> I am on 64-bit Debian 7.4 with rake 0.9.2.2-4, vagrant 1.0.3-1 and virtualbox
> 4.1.18-dfsg-2+deb7u1 and after a fresh download of the tails build I get this
> error:
>
> ** Invoke build (first_time)
> ** Invoke parse_build_options (first_time)
> ** Execute parse_build_options
> rake aborted!
> cannot load such file -- vagrant/util/downloader
> /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
> /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
> /home/heller/Deepwoods/tails/vagrant/lib/vagrant_verified_download.rb:2:in `<top (required)>'


OK, I edited vagrant_verified_download to NOT require vagrant/util/downloader,
but now I get a new error:

** Invoke build (first_time)
** Invoke parse_build_options (first_time)
** Execute parse_build_options
** Invoke ensure_clean_repository (first_time)
** Execute ensure_clean_repository
** Invoke validate_http_proxy (first_time)
** Execute validate_http_proxy
Using HTTP proxy: http://squeeze.vagrantup.com:3142
** Invoke vm:up (first_time)
** Invoke parse_build_options
** Invoke validate_http_proxy
** Execute vm:up

This is the first time that the Tails builder virtual machine is
started. The virtual machine template is about 300 MB to download,
so the process might take some time.

Please remember to shut the virtual machine down once your work on
Tails is done:

      $ rake vm:halt


[default] Importing base box 'tails'...
[default]
?[0K[default] Progress: 20%[default]
?[0K[default] Progress: 40%[default]
?[0K[default] Progress: 60%[default]
?[0K[default] Progress: 90%[default]
?[0K[default] The guest additions on this VM do not match the install version of
VirtualBox! This may cause things such as forwarded ports, shared
folders, and more to not work properly. If any of those things fail on
this machine, please update the guest additions and repackage the
box.

Guest Additions Version: 4.0.10
VirtualBox Version: 4.1.18
[default] Matching MAC address for NAT networking...
[default] Clearing any previously set forwarded ports...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Running any VM customizations...
[default] Booting VM...
[default] Waiting for VM to boot. This can take a few minutes.
[default] VM booted and ready for use!
[default] Mounting shared folders...
[default] -- v-root: /vagrant
[default] -- amnesia: /amnesia.git
[default] Running provisioner: Vagrant::Provisioners::Shell...
stdin: is not a tty
Get:1 http://security.debian.org squeeze/updates Release.gpg [836 B]
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Ign http://security.debian.org/ squeeze/updates/main Translation-en_US
Get:2 http://security.debian.org squeeze/updates Release [86.9 kB]
Get:3 http://backports.debian.org squeeze-backports Release.gpg [836 B]
Get:4 http://backports.debian.org/debian-backports/ squeeze-backports/main Translation-en [246 kB]
Get:5 http://cdn.debian.net squeeze Release.gpg [1,672 B]
Ign http://cdn.debian.net/debian/ squeeze/main Translation-en
Get:6 http://http.debian.net unstable Release.gpg [836 B]
Ign http://cdn.debian.net/debian/ squeeze/main Translation-en_US
Get:7 http://cdn.debian.net squeeze-updates Release.gpg [836 B]
Ign http://cdn.debian.net/debian/ squeeze-updates/main Translation-en
Ign http://cdn.debian.net/debian/ squeeze-updates/main Translation-en_US
Get:8 http://cdn.debian.net squeeze Release [96.0 kB]
Get:9 http://http.debian.net/debian/ unstable/main Translation-en [4,483 kB]
Get:10 http://security.debian.org squeeze/updates/main Sources [134 kB]
Get:11 http://cdn.debian.net squeeze-updates Release [113 kB]
Ign http://backports.debian.org/debian-backports/ squeeze-backports/main Translation-en_US
Err http://cdn.debian.net squeeze-updates Release

Get:12 http://security.debian.org squeeze/updates/main amd64 Packages [360 kB]
Get:13 http://backports.debian.org squeeze-backports Release [109 kB]
Get:14 http://cdn.debian.net squeeze/main Sources [4,541 kB]
Err http://backports.debian.org squeeze-backports Release

Get:15 http://cdn.debian.net squeeze/main amd64 Packages [6,538 kB]
Ign http://http.debian.net/debian/ unstable/main Translation-en_US
Get:16 http://http.debian.net unstable Release [198 kB]
Ign http://http.debian.net unstable Release
Ign http://http.debian.net unstable/main amd64 Packages
Get:17 http://http.debian.net unstable/main amd64 Packages [8,806 kB]
Fetched 25.7 MB in 38s (673 kB/s)
Reading package lists...

W
: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://cdn.debian.net squeeze-updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://backports.debian.org squeeze-backports Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553

W: GPG error: http://http.debian.net unstable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553
W: Failed to fetch http://backports.debian.org/debian-backports/dists/squeeze-backports/Release

W: Failed to fetch http://cdn.debian.net/debian/dists/squeeze-updates/Release

W: Some index files failed to download, they have been ignored, or old ones used instead.
Reading package lists...

Building dependency tree...

Reading state information...

The following packages were automatically installed and are no longer required:
xserver-xorg-video-all xserver-xorg-video-ati xserver-xorg-video-openchrome
xserver-xorg-video-mga xserver-xorg-video-mach64 xserver-xorg-video-trident
xserver-xorg-video-siliconmotion xserver-xorg-input-vmmouse
xserver-xorg-video-savage libtasn1-3 xserver-xorg-video-tdfx
xserver-xorg-video-intel xserver-xorg-input-all libmtdev1
xserver-xorg-video-vmware xserver-xorg-video-r128 xserver-xorg-input-evdev
libxinerama1 xserver-xorg-video-vesa xserver-xorg libxatracker1
xserver-xorg-video-fbdev xserver-xorg-input-wacom xserver-xorg-video-nouveau
xserver-xorg-video-neomagic xserver-xorg-input-mouse libxtst6 libxvmc1
xserver-xorg-video-sisusb xserver-xorg-video-radeon libxi6
xserver-xorg-video-cirrus libxv1 libxcb-util0 xserver-xorg-input-synaptics
xserver-xorg-video-modesetting
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
avahi-daemon cpp-4.4 dbus ed g++-4.4 gcc-4.4 gcc-4.4-base gcc-4.8-base
init-system-helpers libaudit-common libaudit1 libavahi-common-data
libavahi-common3 libavahi-core7 libc-dev-bin libc6 libc6-dev libcap-ng0
libdaemon0 libdbus-1-3 libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2
libelf1 libffi6 libgcc1 libgcrypt11 libgcrypt20 libgl1-mesa-dri
libgl1-mesa-glx libglapi-mesa libgmp10 libgnutls26 libgomp1 libgpg-error0
libllvm3.3 liblzma5 libmpfr4 libmtdev1 libnss-mdns libp11-kit0 libpciaccess0
libpixman-1-0 libssl1.0.0 libstdc++6 libstdc++6-4.4-dev libsystemd-journal0
libsystemd-login0 libtasn1-6 libudev1 libx11-6 libx11-xcb1 libxatracker1
libxcb-dri2-0 libxcb-glx0 libxcb-util0 libxfont1 libxi6 libxinerama1
libxshmfence1 libxtst6 libxv1 libxvmc1 libxxf86vm1
linux-headers-2.6.32-5-common locales make multiarch-support xserver-common
xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev
xserver-xorg-input-mouse xserver-xorg-input-synaptics
xserver-xorg-input-vmmouse xserver-xorg-input-wacom xserver-xorg-video-all
xserver-xorg-video-ati xserver-xorg-video-cirrus xserver-xorg-video-fbdev
xserver-xorg-video-intel xserver-xorg-video-mach64 xserver-xorg-video-mga
xserver-xorg-video-modesetting xserver-xorg-video-neomagic
xserver-xorg-video-nouveau xserver-xorg-video-openchrome
xserver-xorg-video-r128 xserver-xorg-video-radeon xserver-xorg-video-savage
xserver-xorg-video-siliconmotion xserver-xorg-video-sisusb
xserver-xorg-video-tdfx xserver-xorg-video-trident xserver-xorg-video-vesa
xserver-xorg-video-vmware
Suggested packages:
doc-base libfuse2 avahi-autoipd gcc-4.4-locales dbus-x11 g++-4.4-multilib
gcc-4.4-doc libstdc++6-4.4-dbg gcc-4.4-multilib libmudflap0-4.4-dev
libgcc1-dbg libgomp1-dbg libmudflap0-dbg libcloog-ppl1 libppl-c4 libppl12
glibc-doc rng-tools libglide3 libstdc++6-4.4-doc make-doc xfonts-100dpi
xfonts-75dpi xfonts-scalable gpointing-device-settings touchfreeze xinput
firmware-linux
Recommended packages:
libtxc-dxtn-s2tc0 libtxc-dxtn0 xserver-xorg-video-qxl
The following packages will be REMOVED:
gcc-4.3 libaudit0 linux-headers-2.6-amd64 linux-headers-2.6.32-5-amd64
logrotate virtualbox-guest-x11
The following NEW packages will be installed:
apt-cacher-ng avahi-daemon dbus ed gcc-4.8-base init-system-helpers
libaudit-common libaudit1 libavahi-common-data libavahi-common3
libavahi-core7 libcap-ng0 libdaemon0 libdbus-1-3 libdrm-nouveau2 libelf1
libffi6 libgcrypt20 libgl1-mesa-glx libglapi-mesa libgmp10 libllvm3.3
liblzma5 libmtdev1 libnss-mdns libp11-kit0 libssl1.0.0 libsystemd-journal0
libsystemd-login0 libtasn1-6 libudev1 libx11-xcb1 libxatracker1
libxcb-dri2-0 libxcb-glx0 libxcb-util0 libxi6 libxinerama1 libxshmfence1
libxtst6 libxv1 libxvmc1 libxxf86vm1 multiarch-support
xserver-xorg-input-all xserver-xorg-input-mouse xserver-xorg-input-synaptics
xserver-xorg-input-vmmouse xserver-xorg-input-wacom xserver-xorg-video-all
xserver-xorg-video-ati xserver-xorg-video-cirrus xserver-xorg-video-fbdev
xserver-xorg-video-intel xserver-xorg-video-mach64 xserver-xorg-video-mga
xserver-xorg-video-modesetting xserver-xorg-video-neomagic
xserver-xorg-video-nouveau xserver-xorg-video-openchrome
xserver-xorg-video-r128 xserver-xorg-video-radeon xserver-xorg-video-savage
xserver-xorg-video-siliconmotion xserver-xorg-video-sisusb
xserver-xorg-video-tdfx xserver-xorg-video-trident xserver-xorg-video-vesa
xserver-xorg-video-vmware
The following packages will be upgraded:
cpp-4.4 g++-4.4 gcc-4.4 gcc-4.4-base libc-dev-bin libc6 libc6-dev
libdrm-intel1 libdrm-radeon1 libdrm2 libgcc1 libgcrypt11 libgl1-mesa-dri
libgnutls26 libgomp1 libgpg-error0 libmpfr4 libpciaccess0 libpixman-1-0
libstdc++6 libstdc++6-4.4-dev libx11-6 libxfont1
linux-headers-2.6.32-5-common locales make xserver-common xserver-xorg-core
xserver-xorg-input-evdev
29 upgraded, 69 newly installed, 6 to remove and 238 not upgraded.
Need to get 51.0 MB of archives.
After this operation, 56.3 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
libc-dev-bin gcc-4.4-base gcc-4.8-base multiarch-support locales libc6
libgmp10 libmpfr4 cpp-4.4 libgcc1 libgomp1 gcc-4.4 libstdc++6 g++-4.4
libstdc++6-4.4-dev make libc6-dev libdrm2 libpciaccess0 libdrm-intel1
libdrm-nouveau2 libdrm-radeon1 libelf1 libffi6 libllvm3.3
xserver-xorg-video-r128 xserver-xorg-video-mach64 libudev1
xserver-xorg-video-radeon xserver-xorg-video-ati xserver-xorg-video-cirrus
xserver-xorg-video-fbdev libpixman-1-0 libx11-xcb1 libxcb-dri2-0
libxcb-util0 libx11-6 libxv1 libxvmc1 xserver-xorg-video-intel
xserver-xorg-video-mga xserver-xorg-video-modesetting
xserver-xorg-video-neomagic xserver-xorg-video-nouveau
xserver-xorg-video-openchrome xserver-xorg-video-savage
xserver-xorg-video-siliconmotion xserver-xorg-video-sisusb
xserver-xorg-video-tdfx xserver-xorg-video-trident xserver-xorg-video-vesa
libxatracker1 xserver-xorg-video-vmware xserver-xorg-video-all
xserver-xorg-input-evdev libgl1-mesa-dri xserver-xorg-core libmtdev1
xserver-common libaudit-common libaudit1 libgpg-error0 libgcrypt20
libglapi-mesa libxcb-glx0 libxxf86vm1 libgl1-mesa-glx libxfont1
libxshmfence1 libssl1.0.0 liblzma5 libp11-kit0 libtasn1-6 libgnutls26
libgcrypt11 init-system-helpers apt-cacher-ng libavahi-common-data
libavahi-common3 libavahi-core7 libcap-ng0 libdbus-1-3 libsystemd-journal0
libsystemd-login0 dbus avahi-daemon libnss-mdns libxi6 libxinerama1 libxtst6
ed xserver-xorg-input-mouse xserver-xorg-input-vmmouse
xserver-xorg-input-synaptics xserver-xorg-input-all xserver-xorg-input-wacom
E: There are problems and -y was used without --force-yes
rake aborted!
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

chmod +x /tmp/vagrant-shell && /tmp/vagrant-shell
/usr/lib/ruby/vendor_ruby/vagrant/communication/ssh.rb:62:in `execute'
/usr/lib/ruby/vendor_ruby/vagrant/communication/ssh.rb:72:in `sudo'
/usr/lib/ruby/vendor_ruby/vagrant/provisioners/shell.rb:82:in `block in provision!'
/usr/lib/ruby/vendor_ruby/vagrant/provisioners/shell.rb:65:in `with_script_file'
/usr/lib/ruby/vendor_ruby/vagrant/provisioners/shell.rb:77:in `provision!'
/usr/lib/ruby/vendor_ruby/vagrant/action/vm/provision.rb:34:in `block in call'
/usr/lib/ruby/vendor_ruby/vagrant/action/vm/provision.rb:31:in `each'
/usr/lib/ruby/vendor_ruby/vagrant/action/vm/provision.rb:31:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/vm/forward_ports.rb:24:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/vm/check_port_collisions.rb:42:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/env/set.rb:16:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/vm/clear_forwarded_ports.rb:13:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/vm/clean_machine_folder.rb:17:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/vm/check_accessible.rb:18:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/general/validate.rb:13:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/general/check_virtualbox.rb:23:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/vm/match_mac_address.rb:16:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/vm/default_name.rb:17:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/vm/check_guest_additions.rb:33:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/vm/import.rb:31:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/vm/check_box.rb:28:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/vm/check_accessible.rb:18:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/general/validate.rb:13:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/general/check_virtualbox.rb:23:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:33:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/builder.rb:92:in `call'
/usr/lib/ruby/vendor_ruby/vagrant/action/runner.rb:49:in `block in run'
/usr/lib/ruby/vendor_ruby/vagrant/util/busy.rb:19:in `busy'
/usr/lib/ruby/vendor_ruby/vagrant/action/runner.rb:49:in `run'
/usr/lib/ruby/vendor_ruby/vagrant/vm.rb:192:in `run_action'
/usr/lib/ruby/vendor_ruby/vagrant/vm.rb:145:in `up'
/usr/lib/ruby/vendor_ruby/vagrant/command/up.rb:31:in `block in execute'
/usr/lib/ruby/vendor_ruby/vagrant/command/base.rb:116:in `block in with_target_vms'
/usr/lib/ruby/vendor_ruby/vagrant/command/base.rb:111:in `each'
/usr/lib/ruby/vendor_ruby/vagrant/command/base.rb:111:in `with_target_vms'
/usr/lib/ruby/vendor_ruby/vagrant/command/up.rb:24:in `execute'
/usr/lib/ruby/vendor_ruby/vagrant/cli.rb:42:in `execute'
/usr/lib/ruby/vendor_ruby/vagrant/environment.rb:167:in `cli'
/home/heller/Deepwoods/tails/Rakefile:292:in `block (2 levels) in <top (required)>'
/usr/lib/ruby/vendor_ruby/rake/task.rb:205:in `call'
/usr/lib/ruby/vendor_ruby/rake/task.rb:205:in `block in execute'
/usr/lib/ruby/vendor_ruby/rake/task.rb:200:in `each'
/usr/lib/ruby/vendor_ruby/rake/task.rb:200:in `execute'
/usr/lib/ruby/vendor_ruby/rake/task.rb:158:in `block in invoke_with_call_chain'
/usr/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/usr/lib/ruby/vendor_ruby/rake/task.rb:151:in `invoke_with_call_chain'
/usr/lib/ruby/vendor_ruby/rake/task.rb:176:in `block in invoke_prerequisites'
/usr/lib/ruby/vendor_ruby/rake/task.rb:174:in `each'
/usr/lib/ruby/vendor_ruby/rake/task.rb:174:in `invoke_prerequisites'
/usr/lib/ruby/vendor_ruby/rake/task.rb:157:in `block in invoke_with_call_chain'
/usr/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/usr/lib/ruby/vendor_ruby/rake/task.rb:151:in `invoke_with_call_chain'
/usr/lib/ruby/vendor_ruby/rake/task.rb:144:in `invoke'
/usr/lib/ruby/vendor_ruby/rake/application.rb:116:in `invoke_task'
/usr/lib/ruby/vendor_ruby/rake/application.rb:94:in `block (2 levels) in top_level'
/usr/lib/ruby/vendor_ruby/rake/application.rb:94:in `each'
/usr/lib/ruby/vendor_ruby/rake/application.rb:94:in `block in top_level'
/usr/lib/ruby/vendor_ruby/rake/application.rb:133:in `standard_exception_handling'
/usr/lib/ruby/vendor_ruby/rake/application.rb:88:in `top_level'
/usr/lib/ruby/vendor_ruby/rake/application.rb:66:in `block in run'
/usr/lib/ruby/vendor_ruby/rake/application.rb:133:in `standard_exception_handling'
/usr/lib/ruby/vendor_ruby/rake/application.rb:63:in `run'
/usr/bin/rake:27:in `<main>'
Tasks: TOP => build => vm:up

>
> What is going on here?
>


-- 
Robert Heller             -- 978-544-6933 / heller@???
Deepwoods Software        -- http://www.deepsoft.com/
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments