All of lore.kernel.org
 help / color / mirror / Atom feed
* Conflict between BBCLASSEXTEND and named recipes.
@ 2012-03-16 17:09 Jeremy Puhlman
  2012-03-16 19:08 ` Denys Dmytriyenko
  2012-03-17  9:14 ` Martin Jansa
  0 siblings, 2 replies; 4+ messages in thread
From: Jeremy Puhlman @ 2012-03-16 17:09 UTC (permalink / raw)
  To: bitbake-devel

There seems to be a bug with available providers when a recipe file
provides the same name as an extended recipe. The extended version of
the recipe does not seem to be available at all.

Example:

If zlib_1.2.6.bb exists in a layer, with BBCLASSEXTEND="native
zlib-nativesdk" defined, and zlib-native_1.2.5.bb exists, the version
1.2.6 of zlib-native is not selectable at all.


bitbake -s | grep zlib
zlib                                                :1.2.6-r0
zlib-native                                         :1.2.5-r0
zlib-nativesdk                                      :1.2.6-r0

Even with PREFERRED_PROVIDER_zlib-naitve = 1.2.6 the results are the
same. I have been poking around the parser, but really haven't made any
progress, figured I would poke the list.


-- 
Jeremy Puhlman
Montavista Software, LLC.



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

* Re: Conflict between BBCLASSEXTEND and named recipes.
  2012-03-16 17:09 Conflict between BBCLASSEXTEND and named recipes Jeremy Puhlman
@ 2012-03-16 19:08 ` Denys Dmytriyenko
  2012-03-16 21:35   ` Jeremy Puhlman
  2012-03-17  9:14 ` Martin Jansa
  1 sibling, 1 reply; 4+ messages in thread
From: Denys Dmytriyenko @ 2012-03-16 19:08 UTC (permalink / raw)
  To: Jeremy Puhlman; +Cc: bitbake-devel

On Fri, Mar 16, 2012 at 10:09:18AM -0700, Jeremy Puhlman wrote:
> There seems to be a bug with available providers when a recipe file
> provides the same name as an extended recipe. The extended version of
> the recipe does not seem to be available at all.
> 
> Example:
> 
> If zlib_1.2.6.bb exists in a layer, with BBCLASSEXTEND="native
> zlib-nativesdk" defined, and zlib-native_1.2.5.bb exists, the version
> 1.2.6 of zlib-native is not selectable at all.
> 
> 
> bitbake -s | grep zlib
> zlib                                                :1.2.6-r0
> zlib-native                                         :1.2.5-r0
> zlib-nativesdk                                      :1.2.6-r0
> 
> Even with PREFERRED_PROVIDER_zlib-naitve = 1.2.6 the results are the
> same. I have been poking around the parser, but really haven't made any
> progress, figured I would poke the list.

I don't have a solution, but I can confirm that this was a known issue all the 
way back when BBCLASSEXTEND got introduced in Classic OE. The workaround was 
to remove or mask the actual *-native.bb recipes.

-- 
Denys



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

* Re: Conflict between BBCLASSEXTEND and named recipes.
  2012-03-16 19:08 ` Denys Dmytriyenko
@ 2012-03-16 21:35   ` Jeremy Puhlman
  0 siblings, 0 replies; 4+ messages in thread
From: Jeremy Puhlman @ 2012-03-16 21:35 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: bitbake-devel


> 
> I don't have a solution, but I can confirm that this was a known issue all the 
> way back when BBCLASSEXTEND got introduced in Classic OE. The workaround was 
> to remove or mask the actual *-native.bb recipes.
> 

Thanks. I though I searched the archives, but apparently not well
enough. My first suggestion was BBMASK and that seemed to work as well.

-- 
Jeremy Puhlman
Montavista Software, LLC.



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

* Re: Conflict between BBCLASSEXTEND and named recipes.
  2012-03-16 17:09 Conflict between BBCLASSEXTEND and named recipes Jeremy Puhlman
  2012-03-16 19:08 ` Denys Dmytriyenko
@ 2012-03-17  9:14 ` Martin Jansa
  1 sibling, 0 replies; 4+ messages in thread
From: Martin Jansa @ 2012-03-17  9:14 UTC (permalink / raw)
  To: Jeremy Puhlman; +Cc: bitbake-devel

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

On Fri, Mar 16, 2012 at 10:09:18AM -0700, Jeremy Puhlman wrote:
> There seems to be a bug with available providers when a recipe file
> provides the same name as an extended recipe. The extended version of
> the recipe does not seem to be available at all.
> 
> Example:
> 
> If zlib_1.2.6.bb exists in a layer, with BBCLASSEXTEND="native
> zlib-nativesdk" defined, and zlib-native_1.2.5.bb exists, the version
> 1.2.6 of zlib-native is not selectable at all.
> 
> 
> bitbake -s | grep zlib
> zlib                                                :1.2.6-r0
> zlib-native                                         :1.2.5-r0
> zlib-nativesdk                                      :1.2.6-r0
> 
> Even with PREFERRED_PROVIDER_zlib-naitve = 1.2.6 the results are the
> same. I have been poking around the parser, but really haven't made any
> progress, figured I would poke the list.

I though that setting PREFERRED_VERSION should be enough in this case.

notice that it's not PREFERRED_PROVIDER and you have "naitve"/"native"
typo there. Can you retest with correct form if you haven't already?

Cheers,
> 
> 
> -- 
> Jeremy Puhlman
> Montavista Software, LLC.
> 
> _______________________________________________
> bitbake-devel mailing list
> bitbake-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/bitbake-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

end of thread, other threads:[~2012-03-17  9:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-16 17:09 Conflict between BBCLASSEXTEND and named recipes Jeremy Puhlman
2012-03-16 19:08 ` Denys Dmytriyenko
2012-03-16 21:35   ` Jeremy Puhlman
2012-03-17  9:14 ` Martin Jansa

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.