Re: [OE-core] CMake fails with yocto

2021-05-17 Thread Ishu Goel
Hello,

I am still struggling with the same problem. Any leads or suggestions will be 
helpful.

With regards,
Ishu

From: openembedded-core@lists.openembedded.org 
 on behalf of Ishu Goel via 
lists.openembedded.org 
Sent: Thursday, May 6, 2021 17:00
To: Khem Raj ; openembedded-core@lists.openembedded.org 

Subject: Re: [OE-core] CMake fails with yocto

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 
Sent: Wednesday, May 5, 2021 21:38
To: Ishu Goel ; 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.g...@nobleo.nl**
>
> *I**www.nobleo.nl <http://www.nobleo.nl/>*
>
>
>
>
>

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



Re: [OE-core] CMake fails with yocto

2021-05-06 Thread Ishu Goel
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 
Sent: Wednesday, May 5, 2021 21:38
To: Ishu Goel ; 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.g...@nobleo.nl**
>
> *I**www.nobleo.nl <http://www.nobleo.nl/>*
>
>
>
> 
>

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



Re: [OE-core] CMake fails with yocto

2021-05-05 Thread Khem Raj



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.g...@nobleo.nl**

*I**www.nobleo.nl *






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



[OE-core] CMake fails with yocto

2021-05-05 Thread Ishu Goel
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?

With regards,

Ishu Goel
Software Designer



[cid:fe4e9fb4-8214-48e1-865b-2dc7136af1f7]





Nobleo Technology BV

Heggeranklaan 1

5643BP Eindhoven


E  ishu.g...@nobleo.nl

I   www.nobleo.nl

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