Hello

Now I am able to build the Package "Y" as non native and I found the binary 
under below path.


<workspace>/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/Y/0.1.0-r1/package/usr/bin.


But my package "X" is not able to find the package "Y" It still shows me that 
Package "Y" is missing.


please find the below log.


checking build system type
result: x86_64-pc-linux-gnu
checking host system type
result: arm-poky-linux-gnueabi
checking for pkg-config
found 
<workspace>/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/X/0.9.0-r1/recipe-sysroot-native/usr/bin/pkg-config
result: 
<workspace>/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/X/0.9.0-r1/recipe-sysroot-native/usr/bin/pkg-config
checking for Y
result: no

"However It is able to find pkg-config. Really have no idea how it is able to 
find pkg-config..?"

My bb file of package "Y" is same as prev. attachment with following changes


  1.  Removed all Inherits class except "setuptools"
  2.  Removed all the task like configure,compile and install


Also in "X" recipes we will call "Y" package as a depended package as per below

DEPENDS = "Y"


while pkg-config is inherits as class. e.g. "inherits pkgconfig".


Please help us in this matter.

Best Regards,
Amit Gondaliya












________________________________
From: Burton, Ross <[email protected]>
Sent: Monday, November 20, 2017 5:08 PM
To: Amit Gondaliya
Cc: cddatemp; [email protected]
Subject: Re: [yocto] Build Issue in pyro 2.3

A good start would be to remove the inherits you don't need such as 
autotools-brokensep. And the empty do_configure() do_compile() functions.  
You're not telling install where to install which is why the files are going 
into the sysroot and not packaged up.  Just delete your do_install() and let 
the setuptools class do what it is meant to do: build and install packages that 
use setuptools.

Ross

On 20 November 2017 at 11:27, Amit Gondaliya 
<[email protected]<mailto:[email protected]>> wrote:

Hello,


In our case the Package is "Y" but all the data falls into the 
recipe-sysroot-native of "Y." any Idea what's wrong with Y.
is there any example of "Y-native" that help me to generate "Y-native"" from "Y"

Please find the attached file of Y.bb



Best Regards,
Amit Gondaliya












________________________________
From: cddatemp <[email protected]<mailto:[email protected]>>
Sent: Monday, November 20, 2017 4:36 PM
To: Amit Gondaliya
Cc: [email protected]<mailto:[email protected]>
Subject: Re:[yocto] Build Issue in pyro 2.3

At 2017-11-20 18:18:42, "Amit Gondaliya" 
<[email protected]<mailto:[email protected]>> wrote:
> Hello,
>
> I am configuring one  package "X" that is depended on other  package "Y".
>
> the "Y" package is successfully build and I am able to find it into the below 
> path.
>
> <workspace>tmp/work/cortexa8hf-neon-poky-linux-gnueabi/"Y"/0.1.0-r1/recipe-sysroot-native/usr/bin
>
> As per my understanding if the package "X" is depended on the package "Y"
> then all the components of the package "Y" should be copied into the path 
> "recipe-sysroot-native/usr/bin" of the package "X".
>

If "Y" is "Y-native", then it should be in "recipe-sysroot-native".


If it is just "Y", then it should be in "recipe-sysroot".

> But I am not able to find the depended package "Y" into the 
> recipe-sysroot-native of the Package "X".
>
> If I my understanding is false let me know the correct way to do this.
> As I am not able to find the package "Y" into the dir 
> "recipe-sysroot-native/usr/bin" of package "X"
>
> thanks
> Amit G.
>
> Best Regards,
> Amit Gondaliya

*************************************************************************************************************************************************************
 eInfochips Business Disclaimer: This e-mail message and all attachments 
transmitted with it are intended solely for the use of the addressee and may 
contain legally privileged and confidential information. If the reader of this 
message is not the intended recipient, or an employee or agent responsible for 
delivering this message to the intended recipient, you are hereby notified that 
any dissemination, distribution, copying, or other use of this message or its 
attachments is strictly prohibited. If you have received this message in error, 
please notify the sender immediately by replying to this message and please 
delete it from your computer. Any views expressed in this message are those of 
the individual sender unless otherwise stated. Company has taken enough 
precautions to prevent the spread of viruses. However the company accepts no 
liability for any damage caused by any virus transmitted by this email. 
*************************************************************************************************************************************************************

--
_______________________________________________
yocto mailing list
[email protected]<mailto:[email protected]>
https://lists.yoctoproject.org/listinfo/yocto


-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to