Skip to contentSkip to conversation

Build error: Could not inherit file classes/systemd.bbclass

DISCUSSION Elvis Dowson 4 participants 8 messages May 3, 2012

lore
Share & tools
lore
#0 lore raw

Hi,
I've setup and configured an Ubuntu-12.04 LTS 64-bit system, and I get a build error when I run the following command:

$ bitbake -c fetchall core-image-minimal

Pseudo is not present but is required, building this first before the main build
WARNING: Host distribution "Ubuntu 12.04 LTS" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
ERROR: ParseError at /tool/yocto/meta-ti/recipes-misc/payload/bonescript.bb:5: Could not inherit file classes/systemd.bbclass
ERROR: Command execution failed: Exited with 1

Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Best regards,

Elvis Dowson

#1 lore raw
Quoted 9 lines · On Thursday 03 May 2012 14:56:03 Elvis Dowson wrote:

I've setup and configured an Ubuntu-12.04 LTS 64-bit system, and I get
a build error when I run the following command:

$ bitbake -c fetchall core-image-minimal

Pseudo is not present but is required, building this first before the main build WARNING: Host distribution "Ubuntu 12.04 LTS" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.

This can be ignored - 12.04 *is* supported; it's just that the final version string wasn't what I expected it to be. I'll send a patch for this soon and it can hopefully go into 1.2.1.

Quoted 3 lines

ERROR: ParseError at /tool/yocto/meta-ti/recipes-misc/payload/bonescript.bb:5: Could not inherit file classes/systemd.bbclass ERROR: Command execution failed: Exited with 1

systemd.bbclass is part of the meta-oe layer, so you'll need to add that to your bblayers.conf.

BTW I'm not sure if the meta-ti maintainers have finished their work to ensure meta-ti works with distros other than Angstrom. If they haven't you may experience problems.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#2 lore raw
Quoted 19 lines · Paul Eggleton
Quoted 9 lines · On Thursday 03 May 2012 14:56:03 Elvis Dowson wrote:

I've setup and configured an Ubuntu-12.04 LTS 64-bit system, and I get
a build error when I run the following command:

$ bitbake -c fetchall core-image-minimal

Pseudo is not present but is required, building this first before the main build WARNING: Host distribution "Ubuntu 12.04 LTS" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.

This can be ignored - 12.04 *is* supported; it's just that the final version string wasn't what I expected it to be. I'll send a patch for this soon and it can hopefully go into 1.2.1.

Quoted 3 lines

ERROR: ParseError at /tool/yocto/meta-ti/recipes-misc/payload/bonescript.bb:5: Could not inherit file classes/systemd.bbclass ERROR: Command execution failed: Exited with 1

Quoted 6 lines

systemd.bbclass is part of the meta-oe layer, so you'll need to add that to your bblayers.conf.

BTW I'm not sure if the meta-ti maintainers have finished their work to ensure meta-ti works with distros other than Angstrom. If they haven't you may experience problems.

I saw this checkin yesterday on meta-ti:
Module: meta-ti
Branch: refs/tags/v2012.05-yocto1.2
Tag: ccae351a692bf6fa17a4a1e35b89ff6efcd35c6c
URL: http://arago-project.org/git/meta-ti.git/?a=tag;h=ccae351a692bf6fa17a4a1e35b89ff6efcd35c6c

Tagger: Denys Dmytriyenko <[email protected]>
Date: Wed May 2 03:41:43 2012 -0400

2012.05 release, compatible with Yocto Project 1.2 Denzil

So it looks like it should be close at least :-) I don't know how the meta-ti repo on yoctoproject.org tracks the arago-project one...

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#3 lore raw

Hi,

Quoted 7 lines · Gary Thomas

On 2012-05-03 07:21, Paul Eggleton wrote:
I saw this checkin yesterday on meta-ti:
Module: meta-ti
Branch: refs/tags/v2012.05-yocto1.2
Tag: ccae351a692bf6fa17a4a1e35b89ff6efcd35c6c
URL: http://arago-project.org/git/meta-ti.git/?a=tag;h=ccae351a692bf6fa17a4a1e35b89ff6efcd35c6c

Quoted 7 lines

Tagger: Denys Dmytriyenko <[email protected]>
Date: Wed May 2 03:41:43 2012 -0400

2012.05 release, compatible with Yocto Project 1.2 Denzil

So it looks like it should be close at least :-) I don't know how the meta-ti repo on yoctoproject.org tracks the arago-project one...

The meta-ti repo on yoctoproject.org tracks the arago-project one closely.

The following bblayers.conf configuration worked

BBFILES ?= ""
BBLAYERS ?= " \
/tool/yocto/poky/meta \
/tool/yocto/poky/meta-yocto \
/tool/yocto/meta-openembedded/meta-oe \
/tool/yocto/meta-gumstix \
/tool/yocto/meta-ti \
/tool/yocto/meta-xilinx \
"

Best regards,

Elvis Dowson

#4 lore raw
Quoted 23 lines · Elvis Dowson

Hi,

Quoted 7 lines · Gary Thomas

On 2012-05-03 07:21, Paul Eggleton wrote:
I saw this checkin yesterday on meta-ti:
Module: meta-ti
Branch: refs/tags/v2012.05-yocto1.2
Tag: ccae351a692bf6fa17a4a1e35b89ff6efcd35c6c
URL: http://arago-project.org/git/meta-ti.git/?a=tag;h=ccae351a692bf6fa17a4a1e35b89ff6efcd35c6c

Quoted 7 lines

Tagger: Denys Dmytriyenko <[email protected] <mailto:[email protected]>>
Date: Wed May 2 03:41:43 2012 -0400

2012.05 release, compatible with Yocto Project 1.2 Denzil

So it looks like it should be close at least :-) I don't know how the meta-ti repo on yoctoproject.org <http://yoctoproject.org> tracks the arago-project one...

The meta-ti repo on yoctoproject.org <http://yoctoproject.org> tracks the arago-project one closely.

The following bblayers.conf configuration worked

Quoted 9 lines

BBFILES ?= ""
BBLAYERS ?= " \
/tool/yocto/poky/meta \
/tool/yocto/poky/meta-yocto \
/tool/yocto/meta-openembedded/meta-oe \
/tool/yocto/meta-gumstix \
/tool/yocto/meta-ti \
/tool/yocto/meta-xilinx \
"

IMO, you should be able to use meta-ti *without* meta-oe (I do anyway)

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#7 lore raw
In reply to Paul Eggleton
Quoted 19 lines · Paul Eggleton
Quoted 9 lines · On Thursday 03 May 2012 14:56:03 Elvis Dowson wrote:

I've setup and configured an Ubuntu-12.04 LTS 64-bit system, and I get
a build error when I run the following command:

$ bitbake -c fetchall core-image-minimal

Pseudo is not present but is required, building this first before the main build WARNING: Host distribution "Ubuntu 12.04 LTS" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.

This can be ignored - 12.04 *is* supported; it's just that the final version string wasn't what I expected it to be. I'll send a patch for this soon and it can hopefully go into 1.2.1.

Quoted 3 lines

ERROR: ParseError at /tool/yocto/meta-ti/recipes-misc/payload/bonescript.bb:5: Could not inherit file classes/systemd.bbclass ERROR: Command execution failed: Exited with 1

Quoted 6 lines

systemd.bbclass is part of the meta-oe layer, so you'll need to add that to your bblayers.conf.

BTW I'm not sure if the meta-ti maintainers have finished their work to ensure meta-ti works with distros other than Angstrom. If they haven't you may experience problems.

Yes, meta-ti does not require Angstrom.

Signature · 1 line
Denys
#6 lore raw
In reply to Gary Thomas
Quoted 33 lines · Gary Thomas
Quoted 19 lines · Paul Eggleton
Quoted 9 lines · On Thursday 03 May 2012 14:56:03 Elvis Dowson wrote:

I've setup and configured an Ubuntu-12.04 LTS 64-bit system, and I get
a build error when I run the following command:

$ bitbake -c fetchall core-image-minimal

Pseudo is not present but is required, building this first before the main build WARNING: Host distribution "Ubuntu 12.04 LTS" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.

This can be ignored - 12.04 *is* supported; it's just that the final version string wasn't what I expected it to be. I'll send a patch for this soon and it can hopefully go into 1.2.1.

Quoted 3 lines

ERROR: ParseError at /tool/yocto/meta-ti/recipes-misc/payload/bonescript.bb:5: Could not inherit file classes/systemd.bbclass ERROR: Command execution failed: Exited with 1

Quoted 6 lines

systemd.bbclass is part of the meta-oe layer, so you'll need to add that to your bblayers.conf.

BTW I'm not sure if the meta-ti maintainers have finished their work to ensure meta-ti works with distros other than Angstrom. If they haven't you may experience problems.

I saw this checkin yesterday on meta-ti:
Module: meta-ti
Branch: refs/tags/v2012.05-yocto1.2
Tag: ccae351a692bf6fa17a4a1e35b89ff6efcd35c6c
URL: http://arago-project.org/git/meta-ti.git/?a=tag;h=ccae351a692bf6fa17a4a1e35b89ff6efcd35c6c

Quoted 7 lines

Tagger: Denys Dmytriyenko <[email protected]>
Date: Wed May 2 03:41:43 2012 -0400

2012.05 release, compatible with Yocto Project 1.2 Denzil

So it looks like it should be close at least :-) I don't know how the meta-ti repo on yoctoproject.org tracks the arago-project one...

meta-ti on yoctoproject.org is the same exact as on arago-project.org - those are just mirrors of the same repository.

Signature · 1 line
Denys
#5 lore raw
In reply to Gary Thomas
Quoted 34 lines · Gary Thomas
Quoted 23 lines · Elvis Dowson

Hi,

Quoted 7 lines · Gary Thomas

On 2012-05-03 07:21, Paul Eggleton wrote:
I saw this checkin yesterday on meta-ti:
Module: meta-ti
Branch: refs/tags/v2012.05-yocto1.2
Tag: ccae351a692bf6fa17a4a1e35b89ff6efcd35c6c
URL: http://arago-project.org/git/meta-ti.git/?a=tag;h=ccae351a692bf6fa17a4a1e35b89ff6efcd35c6c

Quoted 7 lines

Tagger: Denys Dmytriyenko <[email protected] <mailto:[email protected]>>
Date: Wed May 2 03:41:43 2012 -0400

2012.05 release, compatible with Yocto Project 1.2 Denzil

So it looks like it should be close at least :-) I don't know how the meta-ti repo on yoctoproject.org <http://yoctoproject.org> tracks the arago-project one...

The meta-ti repo on yoctoproject.org <http://yoctoproject.org> tracks the arago-project one closely.

The following bblayers.conf configuration worked

Quoted 9 lines

BBFILES ?= ""
BBLAYERS ?= " \
/tool/yocto/poky/meta \
/tool/yocto/poky/meta-yocto \
/tool/yocto/meta-openembedded/meta-oe \
/tool/yocto/meta-gumstix \
/tool/yocto/meta-ti \
/tool/yocto/meta-xilinx \
"

Quoted 1 line

IMO, you should be able to use meta-ti *without* meta-oe (I do anyway)

You still need to BBMASK recipes-misc to avoid systemd when used w/o meta-oe

Signature · 1 line
Denys