Fwd: bitbake error when trying to build

1,095 views
Skip to first unread message

Javier Talens

unread,
Sep 14, 2017, 6:40:37 AM9/14/17
to mender

Forwarded conversation
Subject: bitbake error when trying to build
------------------------

From: Mihaela <apetroaiecr...@gmail.com>
Date: Wed, Aug 9, 2017 at 4:10 PM
To: mender <men...@lists.mender.io>




I keep getting this error when trying to bitbake <receipe>, where <receipe> can be core-image-minimal, resin-image, or any other receipe available.

ERROR: Layer 'mender' depends on layer 'go', but this layer is not enabled in your configuration 



But I do have the go layer in my bblayers.conf:

# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf

# changes incompatibly

POKY_BBLAYERS_CONF_VERSION = "2"


BBPATH = "${TOPDIR}"

BBFILES ?= ""


BBLAYERS ?= " \

    ${TOPDIR}/../layers/poky/meta \

    ${TOPDIR}/../layers/poky/meta-poky \

    ${TOPDIR}/../layers/meta-openembedded/meta-oe \

    ${TOPDIR}/../layers/meta-openembedded/meta-filesystems \

    ${TOPDIR}/../layers/meta-openembedded/meta-networking \

    ${TOPDIR}/../layers/meta-openembedded/meta-python \

    ${TOPDIR}/../layers/meta-raspberrypi \

    ${TOPDIR}/../layers/meta-resin/meta-resin-common \

    ${TOPDIR}/../layers/meta-resin/meta-resin-morty \

    ${TOPDIR}/../layers/meta-resin-raspberrypi \

    ${TOPDIR}/../layers/meta-mender/meta-mender-core \

    ${TOPDIR}/../layers/meta-mender/meta-mender-demo \

    ${TOPDIR}/../layers/meta-mender/meta-mender-raspberrypi \

    ${TOPDIR}/../layers/oe-meta-go \

    "


All the branches are morty, besides oe-meta-go, which is master.


Thank you,

Mihaela



--
You received this message because you are subscribed to the Google Groups "mender" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mender+unsubscribe@lists.mender.io.
To post to this group, send email to men...@lists.mender.io.
Visit this group at https://groups.google.com/a/lists.mender.io/group/mender/.
To view this discussion on the web visit https://groups.google.com/a/lists.mender.io/d/msgid/mender/8cc4a1b9-8ded-43d6-bde9-52e0cac7ad6d%40lists.mender.io.

----------
From: 'Drew Moseley' via mender <men...@lists.mender.io>
Date: Wed, Aug 9, 2017 at 4:19 PM
To: Mihaela <apetroaiecr...@gmail.com>
Cc: mender <men...@lists.mender.io>


Hello Mihaela,

Just a guess but it could be ordering.  In my builds I add oe-meta-go before the meta-mender layers.  I seem to recall some issues where ordering mattered.

Drew


--
You received this message because you are subscribed to the Google Groups "mender" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mender+unsubscribe@lists.mender.io.
To post to this group, send email to men...@lists.mender.io.
Visit this group at https://groups.google.com/a/lists.mender.io/group/mender/.
To view this discussion on the web visit https://groups.google.com/a/lists.mender.io/d/msgid/mender/9980434E-D8CC-46A5-ADB9-0AE3F218791E%40northern.tech.

----------
From: Mihaela <apetroaiecr...@gmail.com>
Date: Wed, Aug 9, 2017 at 4:22 PM
To: mender <men...@lists.mender.io>
Cc: apetroaiecr...@gmail.com


Thanks for your answer. Thought about it too, but I am getting the same error with this order too:

# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf

# changes incompatibly

POKY_BBLAYERS_CONF_VERSION = "2"


BBPATH = "${TOPDIR}"

BBFILES ?= ""


BBLAYERS ?= " \

    ${TOPDIR}/../layers/poky/meta \

    ${TOPDIR}/../layers/oe-meta-go \

    ${TOPDIR}/../layers/poky/meta-poky \

    ${TOPDIR}/../layers/meta-openembedded/meta-oe \

    ${TOPDIR}/../layers/meta-openembedded/meta-filesystems \

    ${TOPDIR}/../layers/meta-openembedded/meta-networking \

    ${TOPDIR}/../layers/meta-openembedded/meta-python \

    ${TOPDIR}/../layers/meta-raspberrypi \

    ${TOPDIR}/../layers/meta-resin/meta-resin-common \

    ${TOPDIR}/../layers/meta-resin/meta-resin-morty \

    ${TOPDIR}/../layers/meta-resin-raspberrypi \

    ${TOPDIR}/../layers/meta-mender/meta-mender-core \

    ${TOPDIR}/../layers/meta-mender/meta-mender-demo \

    ${TOPDIR}/../layers/meta-mender/meta-mender-raspberrypi \

    "


On Wednesday, August 9, 2017 at 3:19:40 PM UTC+1, Drew Moseley wrote:
To view this discussion on the web visit https://groups.google.com/a/lists.mender.io/d/msgid/mender/8e635cc8-8d6b-40ba-9a61-80fc7bdc9ba1%40lists.mender.io.

----------
From: Maciej Borzecki <maciej....@mender.io>
Date: Wed, Aug 9, 2017 at 4:34 PM
To: Mihaela <apetroaiecr...@gmail.com>
Cc: mender <men...@lists.mender.io>


On Wed, Aug 9, 2017 at 4:22 PM, Mihaela
<apetroaiecristeamihaela@gmail.com> wrote:
> Thanks for your answer. Thought about it too, but I am getting the same
> error with this order too:
>
> # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
>
> # changes incompatibly
>
> POKY_BBLAYERS_CONF_VERSION = "2"
>
>
> BBPATH = "${TOPDIR}"
>
> BBFILES ?= ""
>
>
> BBLAYERS ?= " \
>
>     ${TOPDIR}/../layers/poky/meta \
>
>     ${TOPDIR}/../layers/oe-meta-go \
>
>     ${TOPDIR}/../layers/poky/meta-poky \
>
>     ${TOPDIR}/../layers/meta-openembedded/meta-oe \
>
>     ${TOPDIR}/../layers/meta-openembedded/meta-filesystems \
>
>     ${TOPDIR}/../layers/meta-openembedded/meta-networking \
>
>     ${TOPDIR}/../layers/meta-openembedded/meta-python \
>
>     ${TOPDIR}/../layers/meta-raspberrypi \
>
>     ${TOPDIR}/../layers/meta-resin/meta-resin-common \
>
>     ${TOPDIR}/../layers/meta-resin/meta-resin-morty \
>
>     ${TOPDIR}/../layers/meta-resin-raspberrypi \
>
>     ${TOPDIR}/../layers/meta-mender/meta-mender-core \
>
>     ${TOPDIR}/../layers/meta-mender/meta-mender-demo \
>
>     ${TOPDIR}/../layers/meta-mender/meta-mender-raspberrypi \
>
>     "

Can you double check that you are using this repository:
https://github.com/mem/oe-meta-go ?
> To post to this group, send email to men...@lists.mender.io.
> Visit this group at
> https://groups.google.com/a/lists.mender.io/group/mender/.
> To view this discussion on the web visit
> https://groups.google.com/a/lists.mender.io/d/msgid/mender/8e635cc8-8d6b-40ba-9a61-80fc7bdc9ba1%40lists.mender.io.



--
Maciej Borzecki

--
You received this message because you are subscribed to the Google Groups "mender" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mender+unsubscribe@lists.mender.io.
To post to this group, send email to men...@lists.mender.io.
Visit this group at https://groups.google.com/a/lists.mender.io/group/mender/.
To view this discussion on the web visit https://groups.google.com/a/lists.mender.io/d/msgid/mender/CALJJLGJkmD2tck4NREvoG69BsyrZGAx3gVVTAx9%3D%3DDejh6raTA%40mail.gmail.com.



Reply all
Reply to author
Forward
0 new messages