All of lore.kernel.org
 help / color / mirror / Atom feed
* How can I check "shared-library-to-package mapping"
@ 2018-03-13 16:28 ikjn
  2018-03-14 15:54 ` Burton, Ross
  2018-03-15  2:37 ` Khem Raj
  0 siblings, 2 replies; 5+ messages in thread
From: ikjn @ 2018-03-13 16:28 UTC (permalink / raw)
  To: yocto

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

Hi.

My recipe 'A' installs pre-built shared libraries, but I get file_rdeps
error on
'B' recipe's package_qa task, which has runtime dependency on A's so files.

I believed that bitbake automatically creates RDEPENDS_B += "A" regarding
"shared-library-to-package mapping" [1] . so I didn't declare RDEPENDS on B
recipe.

Can anybody describe the detailed process of "so/package mapping"?
Should I look into insane.bbclass?

Thanks.

[1]  https://www.yoctoproject.org/docs/2.2/ref-manual/ref-
manual.html#automatically-added-runtime-dependencies

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

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

* Re: How can I check "shared-library-to-package mapping"
  2018-03-13 16:28 How can I check "shared-library-to-package mapping" ikjn
@ 2018-03-14 15:54 ` Burton, Ross
  2018-03-15  2:37 ` Khem Raj
  1 sibling, 0 replies; 5+ messages in thread
From: Burton, Ross @ 2018-03-14 15:54 UTC (permalink / raw)
  To: ikjn; +Cc: Yocto-mailing-list

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

Did you add a DEPENDS to A in B?

Ross

On 13 March 2018 at 16:28, ikjn <tiffang@gmail.com> wrote:

> Hi.
>
> My recipe 'A' installs pre-built shared libraries, but I get file_rdeps
> error on
> 'B' recipe's package_qa task, which has runtime dependency on A's so files.
>
> I believed that bitbake automatically creates RDEPENDS_B += "A" regarding
> "shared-library-to-package mapping" [1] . so I didn't declare RDEPENDS on B
> recipe.
>
> Can anybody describe the detailed process of "so/package mapping"?
> Should I look into insane.bbclass?
>
> Thanks.
>
> [1]  https://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.
> html#automatically-added-runtime-dependencies
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>

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

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

* Re: How can I check "shared-library-to-package mapping"
  2018-03-13 16:28 How can I check "shared-library-to-package mapping" ikjn
  2018-03-14 15:54 ` Burton, Ross
@ 2018-03-15  2:37 ` Khem Raj
  2018-03-16 18:05   ` ikjn
  1 sibling, 1 reply; 5+ messages in thread
From: Khem Raj @ 2018-03-15  2:37 UTC (permalink / raw)
  To: ikjn; +Cc: yocto

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

On Wed, Mar 14, 2018 at 8:50 AM ikjn <tiffang@gmail.com> wrote:

> Hi.
>
> My recipe 'A' installs pre-built shared libraries, but I get file_rdeps
> error on
> 'B' recipe's package_qa task, which has runtime dependency on A's so files.
>

Yes however it depends on SONAME being added to the shared objects when
they are linked otherwise shlibs code is not able to auto detect the
dependency

>
> I believed that bitbake automatically creates RDEPENDS_B += "A" regarding
> "shared-library-to-package mapping" [1] . so I didn't declare RDEPENDS on B
> recipe.
>
> Can anybody describe the detailed process of "so/package mapping"?
> Should I look into insane.bbclass?
>
> Thanks.
>
> [1]
> https://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#automatically-added-runtime-dependencies
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>

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

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

* Re: How can I check "shared-library-to-package mapping"
  2018-03-15  2:37 ` Khem Raj
@ 2018-03-16 18:05   ` ikjn
  2018-03-16 18:58     ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: ikjn @ 2018-03-16 18:05 UTC (permalink / raw)
  To: Khem Raj; +Cc: yocto

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

On Thu, Mar 15, 2018 at 11:37 AM, Khem Raj <raj.khem@gmail.com> wrote:

>
> On Wed, Mar 14, 2018 at 8:50 AM ikjn <tiffang@gmail.com> wrote:
>
>> Hi.
>>
>> My recipe 'A' installs pre-built shared libraries, but I get file_rdeps
>> error on
>> 'B' recipe's package_qa task, which has runtime dependency on A's so
>> files.
>>
>
> Yes however it depends on SONAME being added to the shared objects when
> they are linked otherwise shlibs code is not able to auto detect the
> dependency
>

Thank you, now I got it!
I thought only file name is used for run time dependency matching between
packages.
SONAME matching is also executed in build time dependency check when
DEPENDS_xxx is given?

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

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

* Re: How can I check "shared-library-to-package mapping"
  2018-03-16 18:05   ` ikjn
@ 2018-03-16 18:58     ` Khem Raj
  0 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2018-03-16 18:58 UTC (permalink / raw)
  To: ikjn; +Cc: Yocto Project

On Fri, Mar 16, 2018 at 11:05 AM, ikjn <tiffang@gmail.com> wrote:
>
> On Thu, Mar 15, 2018 at 11:37 AM, Khem Raj <raj.khem@gmail.com> wrote:
>>
>>
>> On Wed, Mar 14, 2018 at 8:50 AM ikjn <tiffang@gmail.com> wrote:
>>>
>>> Hi.
>>>
>>> My recipe 'A' installs pre-built shared libraries, but I get file_rdeps
>>> error on
>>> 'B' recipe's package_qa task, which has runtime dependency on A's so
>>> files.
>>
>>
>> Yes however it depends on SONAME being added to the shared objects when
>> they are linked otherwise shlibs code is not able to auto detect the
>> dependency
>
>
> Thank you, now I got it!
> I thought only file name is used for run time dependency matching between
> packages.
> SONAME matching is also executed in build time dependency check when
> DEPENDS_xxx is given?
>

its primarily for runtime dependency checks.


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

end of thread, other threads:[~2018-03-16 18:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-13 16:28 How can I check "shared-library-to-package mapping" ikjn
2018-03-14 15:54 ` Burton, Ross
2018-03-15  2:37 ` Khem Raj
2018-03-16 18:05   ` ikjn
2018-03-16 18:58     ` Khem Raj

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.