All of lore.kernel.org
 help / color / mirror / Atom feed
* Error when removing dependency with oe_filter_out
@ 2013-02-25 17:08 Andrei Gherzan
  2013-02-25 17:43 ` Saul Wold
  0 siblings, 1 reply; 5+ messages in thread
From: Andrei Gherzan @ 2013-02-25 17:08 UTC (permalink / raw)
  To: poky

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

I want to add a bbappend to remove db dependency of python:
DEPENDS := "${@oe_filter_out('db', '${DEPENDS}', d)}"

If i do it so, build ends up with this error:

ERROR: Nothing PROVIDES 'virtual/arm-poky-linux-gnueabi-gcc-crosssdk' (but
virtual:nativesdk:/media/HDD-WRS/Projects/Yocto/poky/meta/recipes-devtools/python/
python_2.7.3.bb DEPENDS on or otherwise requires it)
NOTE: Runtime target 'gdb-cross-canadian-arm' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['gdb-cross-canadian-arm',
'nativesdk-python', 'virtual/arm-poky-linux-gnueabi-gcc-crosssdk']
NOTE: Runtime target 'packagegroup-cross-canadian-arm' is unbuildable,
removing...
Missing or unbuildable dependency chain was:
['packagegroup-cross-canadian-arm', 'gdb-cross-canadian-arm',
'nativesdk-python', 'virtual/arm-poky-linux-gnueabi-gcc-crosssdk']
ERROR: Required build target 'core-image-minimal' has no buildable
providers.
Missing or unbuildable dependency chain was: ['core-image-minimal',
'packagegroup-cross-canadian-arm', 'gdb-cross-canadian-arm',
'nativesdk-python', 'virtual/arm-poky-linux-gnueabi-gcc-crosssdk']

If i simply remove it from DEPENDS everything works.

Any help?

-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12

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

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

* Re: Error when removing dependency with oe_filter_out
  2013-02-25 17:08 Error when removing dependency with oe_filter_out Andrei Gherzan
@ 2013-02-25 17:43 ` Saul Wold
  2013-02-25 17:47   ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: Saul Wold @ 2013-02-25 17:43 UTC (permalink / raw)
  To: Andrei Gherzan; +Cc: poky

On 02/25/2013 09:08 AM, Andrei Gherzan wrote:
> I want to add a bbappend to remove db dependency of python:
> DEPENDS := "${@oe_filter_out('db', '${DEPENDS}', d)}"
>
> If i do it so, build ends up with this error:
>
> ERROR: Nothing PROVIDES 'virtual/arm-poky-linux-gnueabi-gcc-crosssdk'
> (but
> virtual:nativesdk:/media/HDD-WRS/Projects/Yocto/poky/meta/recipes-devtools/python/python_2.7.3.bb
> <http://python_2.7.3.bb> DEPENDS on or otherwise requires it)
> NOTE: Runtime target 'gdb-cross-canadian-arm' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['gdb-cross-canadian-arm',
> 'nativesdk-python', 'virtual/arm-poky-linux-gnueabi-gcc-crosssdk']
> NOTE: Runtime target 'packagegroup-cross-canadian-arm' is unbuildable,
> removing...
> Missing or unbuildable dependency chain was:
> ['packagegroup-cross-canadian-arm', 'gdb-cross-canadian-arm',
> 'nativesdk-python', 'virtual/arm-poky-linux-gnueabi-gcc-crosssdk']
> ERROR: Required build target 'core-image-minimal' has no buildable
> providers.
> Missing or unbuildable dependency chain was: ['core-image-minimal',
> 'packagegroup-cross-canadian-arm', 'gdb-cross-canadian-arm',
> 'nativesdk-python', 'virtual/arm-poky-linux-gnueabi-gcc-crosssdk']
>
> If i simply remove it from DEPENDS everything works.
>
> Any help?
>
Can you put a space in the filter_out above?  I have not tried that, but 
what's happening in the filter out is finding the "db" part of "gdb" and 
removing it from the depends line for the cross tools.

Try " db" or some such.

Sau!

> --
> *Andrei Gherzan*
> m: +40.744.478.414 |  f: +40.31.816.28.12
>
>
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>


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

* Re: Error when removing dependency with oe_filter_out
  2013-02-25 17:43 ` Saul Wold
@ 2013-02-25 17:47   ` Burton, Ross
  2013-02-25 17:51     ` Andrei Gherzan
  0 siblings, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2013-02-25 17:47 UTC (permalink / raw)
  To: Andrei Gherzan; +Cc: poky

On 25 February 2013 17:43, Saul Wold <sgw@linux.intel.com> wrote:
> Can you put a space in the filter_out above?  I have not tried that, but
> what's happening in the filter out is finding the "db" part of "gdb" and
> removing it from the depends line for the cross tools.
>
> Try " db" or some such.

Actually, looking at the source (lib/oe/utils.py), it does this:

    return " ".join(filter(lambda x: not match(f, x, 0), str.split()))

So " db" won't work, but "^db$" will.

Ross


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

* Re: Error when removing dependency with oe_filter_out
  2013-02-25 17:47   ` Burton, Ross
@ 2013-02-25 17:51     ` Andrei Gherzan
  2013-02-25 17:58       ` Andrei Gherzan
  0 siblings, 1 reply; 5+ messages in thread
From: Andrei Gherzan @ 2013-02-25 17:51 UTC (permalink / raw)
  To: Burton, Ross; +Cc: poky

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

On Mon, Feb 25, 2013 at 7:47 PM, Burton, Ross <ross.burton@intel.com> wrote:

> On 25 February 2013 17:43, Saul Wold <sgw@linux.intel.com> wrote:
> > Can you put a space in the filter_out above?  I have not tried that, but
> > what's happening in the filter out is finding the "db" part of "gdb" and
> > removing it from the depends line for the cross tools.
> >
> > Try " db" or some such.
>
> Actually, looking at the source (lib/oe/utils.py), it does this:
>
>     return " ".join(filter(lambda x: not match(f, x, 0), str.split()))
>
> So " db" won't work, but "^db$" will.
>


Nothing works.

ERROR: Nothing PROVIDES
'virtual/nativesdk-arm-oe-linux-gnueabi-compilerlibs' (but
virtual:nativesdk:/media/HDD-WRS/Projects/Yocto/pfi/oe-core/meta/recipes-devtools/python/
python_2.7.3.bb DEPENDS on or otherwise requires it)
NOTE: Runtime target 'gdb-cross-canadian-arm' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['gdb-cross-canadian-arm',
'nativesdk-python', 'virtual/nativesdk-arm-oe-linux-gnueabi-compilerlibs']
NOTE: Runtime target 'packagegroup-cross-canadian-arm' is unbuildable,
removing...
Missing or unbuildable dependency chain was:
['packagegroup-cross-canadian-arm', 'gdb-cross-canadian-arm',
'nativesdk-python', 'virtual/nativesdk-arm-oe-linux-gnueabi-compilerlibs']
ERROR: Required build target 'pfi-image-test' has no buildable providers.
Missing or unbuildable dependency chain was: ['pfi-image-test',
'packagegroup-cross-canadian-arm', 'gdb-cross-canadian-arm',
'nativesdk-python', 'virtual/nativesdk-arm-oe-linux-gnueabi-compilerlibs']


-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12

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

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

* Re: Error when removing dependency with oe_filter_out
  2013-02-25 17:51     ` Andrei Gherzan
@ 2013-02-25 17:58       ` Andrei Gherzan
  0 siblings, 0 replies; 5+ messages in thread
From: Andrei Gherzan @ 2013-02-25 17:58 UTC (permalink / raw)
  To: Burton, Ross; +Cc: poky

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

On Mon, Feb 25, 2013 at 7:51 PM, Andrei Gherzan <andrei@gherzan.ro> wrote:

>
>
>
> On Mon, Feb 25, 2013 at 7:47 PM, Burton, Ross <ross.burton@intel.com>wrote:
>
>> On 25 February 2013 17:43, Saul Wold <sgw@linux.intel.com> wrote:
>> > Can you put a space in the filter_out above?  I have not tried that, but
>> > what's happening in the filter out is finding the "db" part of "gdb" and
>> > removing it from the depends line for the cross tools.
>> >
>> > Try " db" or some such.
>>
>> Actually, looking at the source (lib/oe/utils.py), it does this:
>>
>>     return " ".join(filter(lambda x: not match(f, x, 0), str.split()))
>>
>> So " db" won't work, but "^db$" will.
>>
>
>
> Nothing works.
>
> ERROR: Nothing PROVIDES
> 'virtual/nativesdk-arm-oe-linux-gnueabi-compilerlibs' (but
> virtual:nativesdk:/media/HDD-WRS/Projects/Yocto/pfi/oe-core/meta/recipes-devtools/python/
> python_2.7.3.bb DEPENDS on or otherwise requires it)
>  NOTE: Runtime target 'gdb-cross-canadian-arm' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['gdb-cross-canadian-arm',
> 'nativesdk-python', 'virtual/nativesdk-arm-oe-linux-gnueabi-compilerlibs']
>  NOTE: Runtime target 'packagegroup-cross-canadian-arm' is unbuildable,
> removing...
> Missing or unbuildable dependency chain was:
> ['packagegroup-cross-canadian-arm', 'gdb-cross-canadian-arm',
> 'nativesdk-python', 'virtual/nativesdk-arm-oe-linux-gnueabi-compilerlibs']
> ERROR: Required build target 'pfi-image-test' has no buildable providers.
> Missing or unbuildable dependency chain was: ['pfi-image-test',
> 'packagegroup-cross-canadian-arm', 'gdb-cross-canadian-arm',
> 'nativesdk-python', 'virtual/nativesdk-arm-oe-linux-gnueabi-compilerlibs']
>
>
Ignore above error. This is the real one:

ERROR: Nothing PROVIDES
'virtual/nativesdk-arm-oe-linux-gnueabi-compilerlibs' (but
virtual:nativesdk:/media/HDD-WRS/Projects/Yocto/pfi/oe-core/meta/recipes-devtools/python/
python_2.7.3.bb DEPENDS on or otherwise requires it)
NOTE: Runtime target 'gdb-cross-canadian-arm' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['gdb-cross-canadian-arm',
'nativesdk-python', 'virtual/nativesdk-arm-oe-linux-gnueabi-compilerlibs']
NOTE: Runtime target 'packagegroup-cross-canadian-arm' is unbuildable,
removing...
Missing or unbuildable dependency chain was:
['packagegroup-cross-canadian-arm', 'gdb-cross-canadian-arm',
'nativesdk-python', 'virtual/nativesdk-arm-oe-linux-gnueabi-compilerlibs']
ERROR: Required build target 'core-image-minimal' has no buildable
providers.
Missing or unbuildable dependency chain was: ['core-image-minimal',
'packagegroup-cross-canadian-arm', 'gdb-cross-canadian-arm',
'nativesdk-python', 'virtual/nativesdk-arm-oe-linux-gnueabi-compilerlibs']



-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12

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

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

end of thread, other threads:[~2013-02-25 17:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-25 17:08 Error when removing dependency with oe_filter_out Andrei Gherzan
2013-02-25 17:43 ` Saul Wold
2013-02-25 17:47   ` Burton, Ross
2013-02-25 17:51     ` Andrei Gherzan
2013-02-25 17:58       ` Andrei Gherzan

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.