All of lore.kernel.org
 help / color / mirror / Atom feed
From: Max Krummenacher <max.oss.09@gmail.com>
To: Daniel Dickinson <cshored@cshore.thecshore.com>,
	 openembedded-devel@lists.openembedded.org
Subject: Re: OpenEmbedded Layer Index autobuild errors
Date: Sun, 19 Mar 2017 10:30:59 +0100	[thread overview]
Message-ID: <1489915859.2234.8.camel@gmail.com> (raw)
In-Reply-To: <20170319002834.17953566@danielf.thecshore.com>

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


  reply	other threads:[~2017-03-19  9:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-19  4:28 OpenEmbedded Layer Index autobuild errors Daniel Dickinson
2017-03-19  9:30 ` Max Krummenacher [this message]
2017-03-19 14:39   ` Gary Thomas
2017-03-19 16:04     ` Daniel Dickinson
2017-03-19 21:51       ` Max Krummenacher
2017-03-19 22:33         ` Paul Eggleton
2017-03-19 22:46           ` Paul Eggleton
2017-03-21  1:28             ` Paul Eggleton
2017-04-04 20:09               ` cshored

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1489915859.2234.8.camel@gmail.com \
    --to=max.oss.09@gmail.com \
    --cc=cshored@cshore.thecshore.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.