[PATCHv2] libva-initial: unbreak do_populate_sdk

Message ID 20220524155021.416611-1-f_l_k@t-online.de
State New
Headers show
Series [PATCHv2] libva-initial: unbreak do_populate_sdk | expand

Commit Message

Markus Volk May 24, 2022, 3:50 p.m. UTC
Error:
 Problem: package libva-dev-2.14.0-r0.corei7_64 requires libva-initial-dev, but none of the providers can be installed
  - conflicting requests
  - nothing provides libva-initial = 2.14.0-r0 needed by libva-initial-dev-2.14.0-r0.corei7_64
(try to add '--skip-broken' to skip uninstallable packages)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 meta/recipes-graphics/libva/libva-initial_2.14.0.bb | 1 +
 1 file changed, 1 insertion(+)

Comments

Richard Purdie May 31, 2022, 2:23 p.m. UTC | #1
On Tue, 2022-05-24 at 17:50 +0200, Markus Volk wrote:
> Error:
>  Problem: package libva-dev-2.14.0-r0.corei7_64 requires libva-initial-dev, but none of the providers can be installed
>   - conflicting requests
>   - nothing provides libva-initial = 2.14.0-r0 needed by libva-initial-dev-2.14.0-r0.corei7_64
> (try to add '--skip-broken' to skip uninstallable packages)
> 
> Signed-off-by: Markus Volk <f_l_k@t-online.de>
> ---
>  meta/recipes-graphics/libva/libva-initial_2.14.0.bb | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/recipes-graphics/libva/libva-initial_2.14.0.bb b/meta/recipes-graphics/libva/libva-initial_2.14.0.bb
> index 453096822f..b234797efb 100644
> --- a/meta/recipes-graphics/libva/libva-initial_2.14.0.bb
> +++ b/meta/recipes-graphics/libva/libva-initial_2.14.0.bb
> @@ -6,3 +6,4 @@ do_install:append () {
>  	rm -f ${D}${libdir}/*.so*
>  }
>  
> +RDEPENDS:${PN}-dev = ""

Should libva-initial be creating any packages at all?

I'd have thought they should all come from libva and we should disable
the packages from libva-initial entirely?

Cheers,

Richard
Markus Volk May 31, 2022, 3:02 p.m. UTC | #2
For my build libva-initial is empty but libva-initial-dev contains 
headers and .pc files

Markus

Am 31.05.22 um 16:23 schrieb richard.purdie@linuxfoundation.org:

> On Tue, 2022-05-24 at 17:50 +0200, Markus Volk wrote:
>> Error:
>>   Problem: package libva-dev-2.14.0-r0.corei7_64 requires libva-initial-dev, but none of the providers can be installed
>>    - conflicting requests
>>    - nothing provides libva-initial = 2.14.0-r0 needed by libva-initial-dev-2.14.0-r0.corei7_64
>> (try to add '--skip-broken' to skip uninstallable packages)
>>
>> Signed-off-by: Markus Volk <f_l_k@t-online.de>
>> ---
>>   meta/recipes-graphics/libva/libva-initial_2.14.0.bb | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/meta/recipes-graphics/libva/libva-initial_2.14.0.bb b/meta/recipes-graphics/libva/libva-initial_2.14.0.bb
>> index 453096822f..b234797efb 100644
>> --- a/meta/recipes-graphics/libva/libva-initial_2.14.0.bb
>> +++ b/meta/recipes-graphics/libva/libva-initial_2.14.0.bb
>> @@ -6,3 +6,4 @@ do_install:append () {
>>   	rm -f ${D}${libdir}/*.so*
>>   }
>>   
>> +RDEPENDS:${PN}-dev = ""
> Should libva-initial be creating any packages at all?
>
> I'd have thought they should all come from libva and we should disable
> the packages from libva-initial entirely?
>
> Cheers,
>
> Richard
Richard Purdie May 31, 2022, 4:38 p.m. UTC | #3
On Tue, 2022-05-31 at 17:02 +0200, Markus Volk wrote:
> For my build libva-initial is empty but libva-initial-dev contains 
> headers and .pc files

That doesn't change my view that it shouldn't create any packages at
all though!

Cheers,

Richard

Patch

diff --git a/meta/recipes-graphics/libva/libva-initial_2.14.0.bb b/meta/recipes-graphics/libva/libva-initial_2.14.0.bb
index 453096822f..b234797efb 100644
--- a/meta/recipes-graphics/libva/libva-initial_2.14.0.bb
+++ b/meta/recipes-graphics/libva/libva-initial_2.14.0.bb
@@ -6,3 +6,4 @@  do_install:append () {
 	rm -f ${D}${libdir}/*.so*
 }
 
+RDEPENDS:${PN}-dev = ""