[oe] OpenEmbedded Layer Index autobuild errors

Max Krummenacher max.oss.09 at gmail.com
Sun Mar 19 09:30:59 UTC 2017


Hi

Am Sonntag, den 19.03.2017, 00:28 -0400 schrieb Daniel Dickinson:
> Hi,
> 
> Since it wasn't clear from my last posting about this issue, that the
> issued described was that the recipe parsing for the three pre-alpha
> layers I submitted recently triggered an error condition (missing
> HOSTTOOLS) which isn't something that's an issue with the layer or
> recipes (or so I'm given to understand), I'm reposing the error message
> and this request for the hosts to get the necessary packages so the
> layer index can be updated.
> 
> Layers are:
> 
> meta-cshored - small distro along the lines of poky-tiny but for
> read-only-rootfs and taking advantage of the following layers:
> 
> meta-earlyinit - instead of initramfs run 'earlyinit' to prepare things
> for the main init and which runs from the kerne-mounted rootfs.
> 
> meta-runit-init - use busybox 'runit' commands as the main init.
> 
> 
> The error message is:
> 
> 
> Traceback (most recent call last):
>   File "update_layer.py", line 716, in <module>
>     main()
>   File "update_layer.py", line 216, in main
>     (tinfoil, tempdir) = recipeparse.init_parser(settings, branch, bitbakepath,
> nocheckout=options.nocheckout, logger=logger)
>   File "/opt/layerindex/layerindex/recipeparse.py", line 75, in init_parser
>     tinfoil = utils.setup_tinfoil(bitbakepath, enable_tracking)
>   File "/opt/layerindex/layerindex/utils.py", line 144, in setup_tinfoil
>     tinfoil.prepare(config_only = True)
>   File "/opt/workdir/bitbake/lib/bb/tinfoil.py", line 210, in prepare
>     extrafeatures)
>   File "/opt/workdir/bitbake/lib/bb/main.py", line 517, in setup_bitbake
>     server = start_server(servermodule, configParams, configuration, featureset)
>   File "/opt/workdir/bitbake/lib/bb/main.py", line 357, in start_server
>     cooker = bb.cooker.BBCooker(configuration, features)
>   File "/opt/workdir/bitbake/lib/bb/cooker.py", line 195, in __init__
>     self.initConfigurationData()
>   File "/opt/workdir/bitbake/lib/bb/cooker.py", line 358, in initConfigurationData
>     self.databuilder.parseBaseConfiguration()
>   File "/opt/workdir/bitbake/lib/bb/cookerdata.py", line 299, in parseBaseConfiguration
>     raise bb.BBHandledException
> bb.BBHandledException
> ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH,
> please install them in order to proceed:
>   cpio chrpath gawk diffstat makeinfo

This recent commit tries to hide host applications which should not be used by recipes as they
should be provided from their -native packages (from DEPENDS) during the build.
http://cgit.openembedded.org/openembedded-core/commit/?id=fa764a403da34bb0ca9fa3767a9e9dba8d685965

With that change all tools which must be installed on the host need to be present, even if in your
use case some of them might not be used.
Did you install the prerequisites?
http://www.yoctoproject.org/docs/2.2.1/ref-manual/ref-manual.html#required-packages-for-the-host-dev
elopment-system

Max

> 
> Regards,
> 
> Daniel



More information about the Openembedded-devel mailing list