All of lore.kernel.org
 help / color / mirror / Atom feed
* CMake fails with yocto
@ 2021-05-05  9:26 ishu.goel
  2021-05-05 19:38 ` [OE-core] " Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: ishu.goel @ 2021-05-05  9:26 UTC (permalink / raw)
  To: openembedded-core


[-- Attachment #1.1: Type: text/plain, Size: 1491 bytes --]

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

I   www.nobleo.nl<http://www.nobleo.nl/>

[-- Attachment #1.2: Type: text/html, Size: 6119 bytes --]

[-- Attachment #2: Outlook-wq0nfsnj.png --]
[-- Type: image/png, Size: 39410 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [OE-core] CMake fails with yocto
  2021-05-05  9:26 CMake fails with yocto ishu.goel
@ 2021-05-05 19:38 ` Khem Raj
  2021-05-06 15:00   ` Ishu Goel
       [not found]   ` <167C824F33296DA6.28455@lists.openembedded.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Khem Raj @ 2021-05-05 19:38 UTC (permalink / raw)
  To: Ishu Goel, openembedded-core



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/>*
> 
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [OE-core] CMake fails with yocto
  2021-05-05 19:38 ` [OE-core] " Khem Raj
@ 2021-05-06 15:00   ` Ishu Goel
       [not found]   ` <167C824F33296DA6.28455@lists.openembedded.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Ishu Goel @ 2021-05-06 15:00 UTC (permalink / raw)
  To: Khem Raj, openembedded-core

[-- Attachment #1: Type: text/plain, Size: 3059 bytes --]

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/>*
>
>
>
> 
>

[-- Attachment #2: Type: text/html, Size: 4795 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [OE-core] CMake fails with yocto
       [not found]   ` <167C824F33296DA6.28455@lists.openembedded.org>
@ 2021-05-17  7:40     ` Ishu Goel
  0 siblings, 0 replies; 4+ messages in thread
From: Ishu Goel @ 2021-05-17  7:40 UTC (permalink / raw)
  To: Khem Raj, openembedded-core, Ishu Goel

[-- Attachment #1: Type: text/plain, Size: 3603 bytes --]

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 <openembedded-core@lists.openembedded.org> on behalf of Ishu Goel via lists.openembedded.org <ishu.goel=nobleo.nl@lists.openembedded.org>
Sent: Thursday, May 6, 2021 17:00
To: Khem Raj <raj.khem@gmail.com>; openembedded-core@lists.openembedded.org <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 <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/>*
>
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 6386 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-05-17  7:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-05  9:26 CMake fails with yocto ishu.goel
2021-05-05 19:38 ` [OE-core] " Khem Raj
2021-05-06 15:00   ` Ishu Goel
     [not found]   ` <167C824F33296DA6.28455@lists.openembedded.org>
2021-05-17  7:40     ` Ishu Goel

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.