[elbe-devel] building armhf image with stretch fails

Manuel Traut manuel.traut at linutronix.de
Thu Jun 29 12:31:54 CEST 2017


Hi,

> 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.

Nope; pbuilder should crash. You need to configure an experimental dependency
resolution in the pbuilderrc. There is a patch from Kurt Kanzenbach on the ML
for this..

> 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.

I know about this. You need to install debootstrap from backports into your
initvm. We need an updated version of elbepack/init/default-init.xml for this..

  Manuel

> 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
> 
> 
> 
> 
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel




More information about the elbe-devel mailing list