All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bmaptool: add PROVIDES bmap-tools for compatibility
@ 2024-04-19 20:31 Rasmus Villemoes
  2024-04-19 21:00 ` [OE-core] " Alexander Kanavin
  0 siblings, 1 reply; 4+ messages in thread
From: Rasmus Villemoes @ 2024-04-19 20:31 UTC (permalink / raw
  To: openembedded-core
  Cc: Otavio Salvador, Tom Hochstein, Richard Purdie, Rasmus Villemoes

From: Rasmus Villemoes <rasmus.villemoes@prevas.dk>

This is very often a build dependency, such as in my case using a
class from meta-ptx, which fails with

ERROR: Nothing PROVIDES 'bmap-tools-native'. Close matches:
  bmaptool-native
  bpftool-native
  mtools-native

due to the renaming.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
---
 meta/recipes-support/bmaptool/bmaptool_git.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-support/bmaptool/bmaptool_git.bb b/meta/recipes-support/bmaptool/bmaptool_git.bb
index fd53c21c06..b4b3fa1fbd 100644
--- a/meta/recipes-support/bmaptool/bmaptool_git.bb
+++ b/meta/recipes-support/bmaptool/bmaptool_git.bb
@@ -23,6 +23,7 @@ RDEPENDS:${PN} = "python3-core python3-compression python3-misc python3-mmap pyt
 inherit setuptools3
 
 # For compatibility with layers before scarthgap
+PROVIDES = "bmap-tools"
 RREPLACES:${PN} = "bmap-tools"
 RCONFLICTS:${PN} = "bmap-tools"
 
-- 
2.40.1.1.g1c60b9335d



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

* Re: [OE-core] [PATCH] bmaptool: add PROVIDES bmap-tools for compatibility
  2024-04-19 20:31 [PATCH] bmaptool: add PROVIDES bmap-tools for compatibility Rasmus Villemoes
@ 2024-04-19 21:00 ` Alexander Kanavin
  2024-04-19 21:16   ` Rasmus Villemoes
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Kanavin @ 2024-04-19 21:00 UTC (permalink / raw
  To: rasmus.villemoes
  Cc: openembedded-core, Otavio Salvador, Tom Hochstein, Richard Purdie

This was already proposed, and rejected.
https://lists.openembedded.org/g/openembedded-core/topic/104753355

You need to fix the metadata that refers to the old name.

Alex


On Fri, 19 Apr 2024 at 22:31, Rasmus Villemoes via
lists.openembedded.org
<rasmus.villemoes=prevas.dk@lists.openembedded.org> wrote:
>
> From: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
>
> This is very often a build dependency, such as in my case using a
> class from meta-ptx, which fails with
>
> ERROR: Nothing PROVIDES 'bmap-tools-native'. Close matches:
>   bmaptool-native
>   bpftool-native
>   mtools-native
>
> due to the renaming.
>
> Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
> ---
>  meta/recipes-support/bmaptool/bmaptool_git.bb | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-support/bmaptool/bmaptool_git.bb b/meta/recipes-support/bmaptool/bmaptool_git.bb
> index fd53c21c06..b4b3fa1fbd 100644
> --- a/meta/recipes-support/bmaptool/bmaptool_git.bb
> +++ b/meta/recipes-support/bmaptool/bmaptool_git.bb
> @@ -23,6 +23,7 @@ RDEPENDS:${PN} = "python3-core python3-compression python3-misc python3-mmap pyt
>  inherit setuptools3
>
>  # For compatibility with layers before scarthgap
> +PROVIDES = "bmap-tools"
>  RREPLACES:${PN} = "bmap-tools"
>  RCONFLICTS:${PN} = "bmap-tools"
>
> --
> 2.40.1.1.g1c60b9335d
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#198562): https://lists.openembedded.org/g/openembedded-core/message/198562
> Mute This Topic: https://lists.openembedded.org/mt/105625834/1686489
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


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

* Re: [OE-core] [PATCH] bmaptool: add PROVIDES bmap-tools for compatibility
  2024-04-19 21:00 ` [OE-core] " Alexander Kanavin
@ 2024-04-19 21:16   ` Rasmus Villemoes
  2024-04-19 21:25     ` Tim Orling
  0 siblings, 1 reply; 4+ messages in thread
From: Rasmus Villemoes @ 2024-04-19 21:16 UTC (permalink / raw
  To: Alexander Kanavin
  Cc: openembedded-core, Otavio Salvador, Tom Hochstein, Richard Purdie

On 19/04/2024 23.00, Alexander Kanavin wrote:
> This was already proposed, and rejected.
> https://lists.openembedded.org/g/openembedded-core/topic/104753355
> 
> You need to fix the metadata that refers to the old name.

So, how can a layer then be compatible with both nanbield and scarthgap?
Could this perhaps be applied just to the scarthgap branch, but not master?

Rasmus



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

* Re: [OE-core] [PATCH] bmaptool: add PROVIDES bmap-tools for compatibility
  2024-04-19 21:16   ` Rasmus Villemoes
@ 2024-04-19 21:25     ` Tim Orling
  0 siblings, 0 replies; 4+ messages in thread
From: Tim Orling @ 2024-04-19 21:25 UTC (permalink / raw
  To: rasmus.villemoes
  Cc: Alexander Kanavin, Otavio Salvador, Richard Purdie, Tom Hochstein,
	openembedded-core

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

On Fri, Apr 19, 2024 at 2:16 PM Rasmus Villemoes via lists.openembedded.org
<rasmus.villemoes=prevas.dk@lists.openembedded.org> wrote:

> On 19/04/2024 23.00, Alexander Kanavin wrote:
> > This was already proposed, and rejected.
> > https://lists.openembedded.org/g/openembedded-core/topic/104753355
> >
> > You need to fix the metadata that refers to the old name.
>
> So, how can a layer then be compatible with both nanbield and scarthgap?
> Could this perhaps be applied just to the scarthgap branch, but not master?


Ask yourself why you are choosing one branch to be compatible with multiple
releases? And then have your push scripts push to a “nanbield” branch and a
“scarthgap” branch. This means the Layer Index will also automatically know
about your compatibility. This means any traditional Yocto project user
will have zero questions about which of your branches to choose.

Multiple LAYERSERIES_COMPAT is not really intent. It’s also often not
accurate (layers with addpylib are not actually compatible with dunfell).

Branches are cheap. Use them as intended.


>
> Rasmus
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#198565):
> https://lists.openembedded.org/g/openembedded-core/message/198565
> Mute This Topic: https://lists.openembedded.org/mt/105625834/924729
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [
> ticotimo@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

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

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

end of thread, other threads:[~2024-04-19 21:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-19 20:31 [PATCH] bmaptool: add PROVIDES bmap-tools for compatibility Rasmus Villemoes
2024-04-19 21:00 ` [OE-core] " Alexander Kanavin
2024-04-19 21:16   ` Rasmus Villemoes
2024-04-19 21:25     ` Tim Orling

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.