Hello Khem,

Thank you for looking into this issue. Below is the content of pseudo.log file as asked by you.

debug_logfile: fd 2
pid 453 [parent 452], doing new pid setup and server start
Setup complete, sending SIGUSR1 to pid 452.
db cleanup for server shutdown, 08:07:22.373
memory-to-file backup complete, 08:07:22.373.
db cleanup finished, 08:07:22.373
debug_logfile: fd 2
pid 869 [parent 868], doing new pid setup and server start
Setup complete, sending SIGUSR1 to pid 868.
path mismatch [3 links]: ino 3169066 db '/home/developer/work/build/tmp-glibc/work/cortexa72-oe-linux/hellocmake/1.0-r0/package/usr/src/debug/hellocmake/1.0-r0/hellocmake.cpp' req '/home/developer/work/build/tmp-glibc/work/cortexa72-oe-linux/hellocmake/1.0-r0/hellocmake.cpp'.

The problem seems to be 'path mismatch' but I do not know why that occurs? Not sure if helpful, I am using bitbake version 1.48 and CMake version 3.13.1. Please help me in finding out what is wrong?

With regards,
Ishu

From: Khem Raj <raj.khem@gmail.com>
Sent: Wednesday, May 5, 2021 21:38
To: Ishu Goel <ishu.goel@nobleo.nl>; openembedded-core@lists.openembedded.org <openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] CMake fails with yocto
 


On 5/5/21 2:26 AM, Ishu Goel wrote:
> Hello,
>
> I am using CMake with Yocto and working on the hellocmake example
> provided here:
> https://github.com/joaocfernandes/Learn-Yocto/blob/master/develop/Recipe-CMake.md
> When I bake the hellocmake recipe it builds perfectly the first time.
> But when I make any change in the source file 'hellocmake.cpp' and bake,
> I get the following error:
>
> ERROR: hellocmake-1.0-r0 do_install: Execution of
> '/home/developer/work/build/tmp-glibc/work/cortexa72-oe-linux/hellocmake/1.0-r0/temp/run.do_install.147'
> failed with exit code 1:
> abort()ing pseudo client by server request. See
> https://wiki.yoctoproject.org/wiki/Pseudo_Abort for more details on this.
> Check logfile:
> /home/developer/work/build/tmp-glibc/work/cortexa72-oe-linux/hellocmake/1.0-r0/pseudo//pseudo.log
> Child aborted
> CMake Error: Generator: execution of make failed. Make command was:
> ninja -v -j 4 install &&
> WARNING: exit code 1 from a shell command.
>
> ERROR: Logfile of failure stored in:
> /home/developer/work/build/tmp-glibc/work/cortexa72-oe-linux/hellocmake/1.0-r0/temp/log.do_install.147
>
>
> I want to know what I am doing wrong? I noticed that if I clean the
> previous build of hellocmake, I do not get this error. How can I make
> sure that CMake works every time with yocto?
>

you perhaps are not doing anything wrong. pseudo is a tool used by yocto
underneath and its bailing out for some reason. maybe you can share the
pseudo.log file and it might have more details.

> With regards,
>
> *Ishu Goel*
> Software Designer
>
> Nobleo Technology BV
>
> Heggeranklaan 1
>
> 5643BP Eindhoven
>
>
> *E *ishu.goel@nobleo.nl**
>
> *I**www.nobleo.nl <http://www.nobleo.nl/>*
>
>
>
>
>