Angstrom-distribution / setup-scripts

Helper scripts for setting an Angstrom development environment
http://www.angstrom-distribution.org/building-angstrom
MIT License
84 stars 108 forks source link

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

Open crsaracco opened 8 years ago

crsaracco commented 8 years ago

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 commented 8 years ago

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

Any plans on merging that fix?

koenkooi commented 8 years ago

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.