All of lore.kernel.org
 help / color / mirror / Atom feed
* core-image-minimal-xfce error
@ 2017-03-14  9:20 ravikiran j
  2017-03-14  9:32 ` Josef Holzmayr
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: ravikiran j @ 2017-03-14  9:20 UTC (permalink / raw)
  To: yocto

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

Hi everybody,
I am getting some errors in building of *core-image-minimal-xfce *image.

I am using ubuntu 14.04 build system and Yocto 2.1.

I added the meta-openembedded layer into poky  and configured the
bblayers.con ffile as follows.


 POKY_BBLAYERS_CONF_VERSION = "2"
  4
  5 BBPATH = "${TOPDIR}"
  6 BBFILES ?= ""
  7
  8 BBLAYERS ?= " \









* 9   /home/mistral/yocto/poky/meta \ 10
/home/mistral/yocto/poky/meta-poky \ 11
/home/mistral/yocto/poky/meta-yocto-bsp \ 12
/home/mistral/yocto/poky/meta-openembedded/meta-oe \ 13
/home/mistral/yocto/poky/meta-openembedded/meta-gnome \ 14
/home/mistral/yocto/poky/meta-openembedded/meta-multimedia \ 15
/home/mistral/yocto/poky/meta-openembedded/meta-python \ 16
/home/mistral/yocto/poky/meta-openembedded/meta-xfce \ 17   "*

i am getting following error after *bitbake*




*core-image-minimal-xfceERROR: ExpansionError during parsing
/home/mistral/yocto/poky/meta-openembedded/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.6.0.bb
<http://xfce4-power-manager_1.6.0.bb>: Failure expanding variable
PACKAGECONFIG, expression was ${@bb.utils.filter('DISTRO_FEATURES',
'systemd', d)} which triggered exception AttributeError: 'module' object
has no attribute 'filter'*
What is the problem and how to solve this problem  ?

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

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

* Re: core-image-minimal-xfce error
  2017-03-14  9:20 core-image-minimal-xfce error ravikiran j
@ 2017-03-14  9:32 ` Josef Holzmayr
       [not found]   ` <CALDHXtdUjvW=r_78=WZR8TjeuLO3w1X-F=1OOVr=8dVJRXTr-w@mail.gmail.com>
  2017-03-14  9:43 ` Gary Thomas
  2017-03-14 10:05 ` Burton, Ross
  2 siblings, 1 reply; 6+ messages in thread
From: Josef Holzmayr @ 2017-03-14  9:32 UTC (permalink / raw)
  To: ravikiran j, yocto

On 14.03.2017 10:20, ravikiran j wrote:
> I am using ubuntu 14.04 build system and Yocto 2.1.

You probably mean poky/OE 2.1, which is krogoth

>
> ERROR: ExpansionError during parsing
> /home/mistral/yocto/poky/meta-openembedded/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.6.0.bb
> <http://xfce4-power-manager_1.6.0.bb>: Failure expanding variable
> PACKAGECONFIG, expression was ${@bb.utils.filter('DISTRO_FEATURES',
> 'systemd', d)} which triggered exception AttributeError: 'module' object
> has no attribute 'filter'

The version of xfce-power-manager in the krogoth branch is 1.4.4, not 
1.6.0. Probably you are mixing up the revisions.

> What is the problem and how to solve this problem  ?

Version mismatch, fix your layer revisions.

Greetz
-- 
Josef Holzmayr
Software Developer Embedded Systems

Tel: +49 8444 9204-48
Fax: +49 8444 9204-50

R-S-I Elektrotechnik GmbH & Co. KG
Woelkestrasse 11
D-85301 Schweitenkirchen
www.rsi-elektrotechnik.de
———————————————
Amtsgericht Ingolstadt – GmbH: HRB 191328 – KG: HRA 170393
Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
Ust-IdNr: DE 128592548

_____________________________________________________________
Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363
Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
USt-IdNr.: DE 128592548



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

* Re: core-image-minimal-xfce error
  2017-03-14  9:20 core-image-minimal-xfce error ravikiran j
  2017-03-14  9:32 ` Josef Holzmayr
@ 2017-03-14  9:43 ` Gary Thomas
  2017-03-14 10:05 ` Burton, Ross
  2 siblings, 0 replies; 6+ messages in thread
From: Gary Thomas @ 2017-03-14  9:43 UTC (permalink / raw)
  To: yocto

On 2017-03-14 10:20, ravikiran j wrote:
> Hi everybody,
> I am getting some errors in building of *core-image-minimal-xfce *image.
>
> I am using ubuntu 14.04 build system and Yocto 2.1.
>
> I added the meta-openembedded layer into poky  and configured the bblayers.con ffile as follows.
>
>
>  POKY_BBLAYERS_CONF_VERSION = "2"
>   4
>   5 BBPATH = "${TOPDIR}"
>   6 BBFILES ?= ""
>   7
>   8 BBLAYERS ?= " \
>  *9   /home/mistral/yocto/poky/meta \
>  10   /home/mistral/yocto/poky/meta-poky \
>  11   /home/mistral/yocto/poky/meta-yocto-bsp \
>  12   /home/mistral/yocto/poky/meta-openembedded/meta-oe \
>  13   /home/mistral/yocto/poky/meta-openembedded/meta-gnome \
>  14   /home/mistral/yocto/poky/meta-openembedded/meta-multimedia \
>  15   /home/mistral/yocto/poky/meta-openembedded/meta-python \
>  16   /home/mistral/yocto/poky/meta-openembedded/meta-xfce \
>  17   "
> *
>
> i am getting following error after *bitbake* *core-image-minimal-xfce
>
>
> ERROR: ExpansionError during parsing
> /home/mistral/yocto/poky/meta-openembedded/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.6.0.bb
> <http://xfce4-power-manager_1.6.0.bb>: Failure expanding variable PACKAGECONFIG, expression was
> ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} which triggered exception AttributeError: 'module' object has no
> attribute 'filter'
>
> *
> What is the problem and how to solve this problem  ?

It looks like you have a mixture of branches, probably the latest
master from meta-openembedded and krogoth (v2.1) from Poky/Yocto
These need to be in sync or you'll run into problems like this.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

* Re: core-image-minimal-xfce error
       [not found]   ` <CALDHXtdUjvW=r_78=WZR8TjeuLO3w1X-F=1OOVr=8dVJRXTr-w@mail.gmail.com>
@ 2017-03-14  9:54     ` Josef Holzmayr
  0 siblings, 0 replies; 6+ messages in thread
From: Josef Holzmayr @ 2017-03-14  9:54 UTC (permalink / raw)
  To: ravikiran j, Yocto Project

Keep things on the list, please.

On 14.03.2017 10:49, ravikiran j wrote:
> The version of xfce-power-manager in the krogoth branch is 1.4.4, not
> 1.6.0. Probably you are mixing up the revisions.
>
> How You are telling that*The version of xfce-power-manager in the
> krogoth branch is 1.4.4  ?

By looking at:
http://git.openembedded.org/meta-openembedded/tree/meta-xfce/recipes-xfce/xfce4-power-manager?h=krogoth

>
> *
> Fixing a layer revision means i need to change the file
> xfce4-power-manager.1.6.0.bb <http://xfce4-power-manager.1.6.0.bb>
> extension from 1.6.0 to 1.4.4 ?
> *

No, it means that the checkouts of all layers you use (which obviously 
is at least meta-openembedded) have to match the version of poky that 
you use. Have a look at the branches.

Greetz
-- 
Josef Holzmayr
Software Developer Embedded Systems

Tel: +49 8444 9204-48
Fax: +49 8444 9204-50

R-S-I Elektrotechnik GmbH & Co. KG
Woelkestrasse 11
D-85301 Schweitenkirchen
www.rsi-elektrotechnik.de
———————————————
Amtsgericht Ingolstadt – GmbH: HRB 191328 – KG: HRA 170393
Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
Ust-IdNr: DE 128592548

_____________________________________________________________
Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363
Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
USt-IdNr.: DE 128592548



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

* Re: core-image-minimal-xfce error
  2017-03-14  9:20 core-image-minimal-xfce error ravikiran j
  2017-03-14  9:32 ` Josef Holzmayr
  2017-03-14  9:43 ` Gary Thomas
@ 2017-03-14 10:05 ` Burton, Ross
  2017-03-15  5:56   ` ravikiran j
  2 siblings, 1 reply; 6+ messages in thread
From: Burton, Ross @ 2017-03-14 10:05 UTC (permalink / raw)
  To: ravikiran j; +Cc: yocto

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

On 14 March 2017 at 09:20, ravikiran j <ravikiran.j@mistralsolutions.com>
wrote:

>
> *ERROR: ExpansionError during parsing
> /home/mistral/yocto/poky/meta-openembedded/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.6.0.bb
> <http://xfce4-power-manager_1.6.0.bb>: Failure expanding variable
> PACKAGECONFIG, expression was ${@bb.utils.filter('DISTRO_FEATURES',
> 'systemd', d)} which triggered exception AttributeError: 'module' object
> has no attribute 'filter'*


This error message tells me that you're using meta-openembedded master, not
krogoth.  Checkout the correct branch of meta-openembedded.

Ross

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

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

* Re: core-image-minimal-xfce error
  2017-03-14 10:05 ` Burton, Ross
@ 2017-03-15  5:56   ` ravikiran j
  0 siblings, 0 replies; 6+ messages in thread
From: ravikiran j @ 2017-03-15  5:56 UTC (permalink / raw)
  To: yocto, Burton, Ross, Josef Holzmayr

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

Thank you for your answers.
I checked out the correct branch of meta-openembedded.
Now it is building properly i checked for qemux86 machine, *
core-image-minimal-xfce* image builded and working fine.
Now i am trying to build  for odroid-xu3 board.


On Tue, Mar 14, 2017 at 3:35 PM, Burton, Ross <ross.burton@intel.com> wrote:

>
> On 14 March 2017 at 09:20, ravikiran j <ravikiran.j@mistralsolutions.com>
> wrote:
>
>>
>> *ERROR: ExpansionError during parsing
>> /home/mistral/yocto/poky/meta-openembedded/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.6.0.bb
>> <http://xfce4-power-manager_1.6.0.bb>: Failure expanding variable
>> PACKAGECONFIG, expression was ${@bb.utils.filter('DISTRO_FEATURES',
>> 'systemd', d)} which triggered exception AttributeError: 'module' object
>> has no attribute 'filter'*
>
>
> This error message tells me that you're using meta-openembedded master,
> not krogoth.  Checkout the correct branch of meta-openembedded.
>
> Ross
>

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

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

end of thread, other threads:[~2017-03-15  5:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-14  9:20 core-image-minimal-xfce error ravikiran j
2017-03-14  9:32 ` Josef Holzmayr
     [not found]   ` <CALDHXtdUjvW=r_78=WZR8TjeuLO3w1X-F=1OOVr=8dVJRXTr-w@mail.gmail.com>
2017-03-14  9:54     ` Josef Holzmayr
2017-03-14  9:43 ` Gary Thomas
2017-03-14 10:05 ` Burton, Ross
2017-03-15  5:56   ` ravikiran j

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.