Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"ERROR: Function failed: do_compile" for mtd-utils-native (Completely standard build.. I think?) #61

Open
crsaracco opened this issue Jul 18, 2016 · 2 comments

Comments

@crsaracco
Copy link

Here's what I'm trying to run:

git clone -b angstrom-v2014.12-yocto1.7 git://github.com/Angstrom-distribution/setup-scripts.git
cd setup-scripts
MACHINE=beagleboard ./oebb.sh config beagleboard
MACHINE=beagleboard ./oebb.sh update
. environment-angstrom-v2014.12
bitbake virtual/kernel
bitbake console-image #fails during this

Result:

Summary: 1 task failed:
virtual:native:/home/builder/setup-scripts/sources/openembedded-core/meta/recipes-devtools/mtd/mtd-utils_git.bb, do_compile

Attached is the full error log I get (during the build of mtd). It was located at:

/home/builder/setup-scripts/build/tmp-angstrom_v2014_12-glibc/work/x86_64-linux/mtd-utils-native/1.5.1+gitAUTOINC+9f107132a6-r0/temp/log.do_compile.25722

I'm on Arch linux, current kernel version 4.6.2. I'm attempting to install this in a Docker image/container, using an Ubuntu 16.04 image as a base. I can provide my full Dockerfile and anything else if it helps.

I assume I'm doing something terribly wrong, because this is the simplest example I could find of building Angstrom. Am I missing something obvious?

Thanks!

log.do_compile.25722.txt

@crsaracco crsaracco changed the title "ERROR: Function failed: do_compile" for mtd-utils-native "ERROR: Function failed: do_compile" for mtd-utils-native (Completely standard build.. I think?) Jul 18, 2016
@crsaracco
Copy link
Author

Oops, noticed #60 just now. Will try that tomorrow.

Any plans on merging that fix?

@koenkooi
Copy link
Contributor

There are a few options to get that fix merged:

  1. patch the recipe and send the patch to the OE-core list so it can go into the jethro release branch
  2. add a bbappend in meta-angstrom with the patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants