On 2022-12-28 03:42, Richard Purdie wrote:
On Mon, 2022-12-26 at 18:54 -0800, Mistyron wrote:
Hi,

I'm want to write a recipe to compile phytool but I'm getting the below
error when building it with:
$ bitbake -b phytool_2.0
ERROR: Failed to spawn fakeroot worker to run
/home/yocto/rzg_vlp_v3.0.0/build/../meta-mistysom/recipes-bringup/phytool/phytool_2.0.bb:do_install:
[Errno 2] No such file or directory:
'/home/yocto/rzg_vlp_v3.0.0/build/tmp/sysroots-components/x86_64/pseudo-native/usr/bin/pseudo'

my bb file looks like:

[phytool_2.0.bb]
DESCRIPTION = "Recipe builds phytool utility"
# Needs to be changed to GPLv2
LICENSE = "MIT"
SRC_URI = "git://github.com/MistySOM/phytool.git"
SRCREV = "8882328c08ba2efb13c049812098f1d0cb8adf0c"
LIC_FILES_CHKSUM =
"file://../git/LICENSE;md5=39bba7d2cf0ba1036f2a6e2be52fe3f0"
INHERIT += " pseudo"

python do_display_banner() {
      bb.plain("some message")
}

addtask display_banner before do_build
[/phytool_2.0.bb]

It appears like my INHERIT line does not satsify the requirement.
How can I resolve this?
There is no class called "pseudo" so the inherit line is wrong. Why do
you think you need to inherit such a class?
Because bitbake gave me an error that it could not find it, hence I added it as a dependency.
Pseudo is usually used by tasks as needed by default.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58880): https://lists.yoctoproject.org/g/yocto/message/58880
Mute This Topic: https://lists.yoctoproject.org/mt/95898174/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to