[elbe-devel] building armhf image with stretch fails

ew.foe at nassur.net ew.foe at nassur.net
Thu Jun 29 11:36:36 CEST 2017


Hello,

I'm trying to port my jessie based image definition to stretch, but  
fail at some unobvious problem.

The error can be reproduced with the examples/armhf-ti-beaglebone-black.xml.

I'm using elbe 1.9.22 from github.
I have shortened the above example (removed the pbuilder part and libgpio1).
This builds ok.

Then I have done 2 changes:
-               <suite>jessie</suite>
+               <suite>stretch</suite>
and
-                       <pkg>linux-image-3.16.0-4-armmp</pkg>
+                       <pkg>linux-image-4.9.0-3-armmp</pkg>
I did extract the "4.9.0-3" information from the Contents-armhf.gz file in the
official repository.

This does not build:
> I: Unpacking udev...
> I: Unpacking tasksel...
> I: Unpacking tasksel-data...
> I: Unpacking vim-common...
> I: Unpacking vim-tiny...
> I: Unpacking xxd...
> I: Unpacking wget...
> I: Unpacking libxapian30:armhf...
> W: Failure while installing base packages.  This will be  
> re-attempted up to five times.
> W: See //debootstrap/debootstrap.log for details (possibly the  
> package /var/cache/apt/archives/init_1.48_armhf.deb is at fault)
> W: Failure while installing base packages.  This will be  
> re-attempted up to five times.
> W: See //debootstrap/debootstrap.log for details (possibly the  
> package /var/cache/apt/archives/init_1.48_armhf.deb is at fault)
> W: Failure while installing base packages.  This will be  
> re-attempted up to five times.
> W: See //debootstrap/debootstrap.log for details (possibly the  
> package /var/cache/apt/archives/init_1.48_armhf.deb is at fault)
> W: Failure while installing base packages.  This will be  
> re-attempted up to five times.
> W: See //debootstrap/debootstrap.log for details (possibly the  
> package /var/cache/apt/archives/init_1.48_armhf.deb is at fault)
> W: Failure while installing base packages.  This will be  
> re-attempted up to five times.
> W: See //debootstrap/debootstrap.log for details (possibly the  
> package /var/cache/apt/archives/init_1.48_armhf.deb is at fault)
> ------------------------------------------------------------------------------
>
> Command failed with errorcode 1
> Build failed !!!
>
> Debootstrap failed to install the base rootfilesystem.
> Probable cause might be:
> - Problems with Internet Connection
> - Broken mirrors
>
> Message from apt:
> Debootstrap Failed
>
> Build started, waiting till it finishes
>
> Build finished !

While I cannot entirely rule out a network problem (sitting behind a  
corporate firewall),
I suspect that I'm rather missing a dependency or something such.

Any ideas? Ideas where to look? Ideas on how to debug this?
The log.txt in the initvm does not contain anything suspicious --- to  
my eyes at least.

Thanks,
Erich







More information about the elbe-devel mailing list