Re: [Tails-dev] TAILS build system with Vagrant 1.7.3

Delete this message

Reply to this message
Autore: Adam Burns
Data:  
To: tails-dev
Oggetto: Re: [Tails-dev] TAILS build system with Vagrant 1.7.3
On 07/16/2015 03:43 PM, intrigeri wrote:
> Adam Burns wrote (16 Jul 2015 12:11:39 GMT) :
>> Now cross fingers ... ;)
>
>>> root@tails-builder-20140709:~# apt-get install hopenpgp-tools keyringer linux-image-3.16.0-4-586 linux-image-3.16.0-4-amd64
>>> Reading package lists... Done
>>> Building dependency tree       
>>> Reading state information... Done
>>> E: Unable to locate package linux-image-3.16.0-4-586
>>> E: Couldn't find any package by regex 'linux-image-3.16.0-4-586'
>>> E: Unable to locate package linux-image-3.16.0-4-amd64
>>> E: Couldn't find any package by regex 'linux-image-3.16.0-4-amd64'
>>> root@tails-builder-20140709:~# 

>
>> No coconut :(
>
> That's expected: these packages are supposed to be installed by
> live-build inside the chroot it sets up inside the Vagrant VM.


Thought I'd try. Guess that'd be why %^} Still in process of
understanding the end-to-end build process & new to live-build itself.

> The fact that you see similar errors while building Tails is
> a different matter, and a real problem, though ⇒ please share the full
> build log so we can try to understand what's going wrong during
> your build.


Build commands
> export TAILS_BUILD_OPTIONS="ignorechanges"
> rake build


Full log file:
http://www.networkcommons.org/files/tails-rake-build.log


> One useful info would be to check what version of live-build you have
> installed inside the Vagrant VM, too.


On VirtualBox host:
> vagrant@tails-builder-20140709:~/amnesia/config$ dpkg-query -l live-build
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name                                 Version                 Architecture            Description
> +++-====================================-=======================-=======================-=============================================================================
> ii  live-build                           3.0.5+really+is+2.0.12- all                     Debian Live - System Build Scripts



Above log file grep:
> $ grep live-build tails-rake-build.log
> ==> default: libyaml-libyaml-perl live-build m4 perl perl-modules rsync sgml-base
> ==> default: Get:4 http://deb.tails.boum.org/ builder-wheezy/main live-build all 3.0.5+really+is+2.0.12-0.tails2 [1,940 kB]
> ==> default: Selecting previously unselected package live-build.
> ==> default: Unpacking live-build (from .../live-build_3.0.5+really+is+2.0.12-0.tails2_all.deb) ...
> ==> default: Setting up live-build (3.0.5+really+is+2.0.12-0.tails2) ...
> + dpkg-query -W -f=${Version}\n live-build
> + echo live-build: 3.0.5+really+is+2.0.12-0.tails2
> ++ LB_ISO_PREPARER='live-build 2.0.12-2; http://packages.qa.debian.org/live-build'





>> 'veewee vbox build' (in vagrant CWD) gives 404 error on
>> http://cdimage.debian.org/debian-cd/7.5.0/amd64/iso-cd/debian-7.5.0-amd64-netinst.iso
>
>> Looks like this ISO image has been removed from the Debian site.
>
> This should go away as soon as we migrate to a Jessie-based base box
> (the work has been done, see #9262 -- what remains to do is unrelated
> to Vagrant, and currently on my plate).


Haven't looked for mirrors or alternatives there yet, and understand
that it's not the core issue I'm facing.

I appreciate your feedback knowing that you are concentrating on other
issues.

Shine.