[yocto] meta-mono core-image-mono failing

Chris Morgan chmorgan at gmail.com
Wed May 21 11:25:30 PDT 2014


Hello.

I'm trying to build core-image-mono for the bbb. Layers configuration:

Build Configuration:
BB_VERSION        = "1.23.1"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Fedora-20"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "beaglebone"
DISTRO            = "poky"
DISTRO_VERSION    = "1.6+snapshot-20140521"
TUNE_FEATURES     = "arm armv7a vfp neon"
TARGET_FPU        = "vfp-neon"
meta              = "master:8293f564685d0f587ab63a107285625dc4f98f1c"
meta-bbb          = "master:8318556523a747b7e9c97326bef14922a154e8a2"
common-bsp        =
"(detachedfrome7dc54e):e7dc54e66f4b5c2982a30bef5c67d734e9c759f5"
meta-yocto
meta-yocto-bsp    = "master:8293f564685d0f587ab63a107285625dc4f98f1c"
meta-mono         = "master:e2d2b8a518403a255822022c9e15f116c91b5dd1"

This is basically master of Poky and meta-mono.


| DEBUG: Executing shell function do_configure
| grep: configure.in: No such file or directory
| /home/cmorgan/projects/yocto_poky/build/tmp/work/x86_64-linux/mono-native/3.4.0-r0/mono-3.4.0/autogen.sh:
line 125: mono/mini/Makefile.am: No such file or directory
| /home/cmorgan/projects/yocto_poky/build/tmp/work/x86_64-linux/mono-native/3.4.0-r0/mono-3.4.0/autogen.sh:
line 126: mono/metadata/Makefile.am: No such file or directory
| Running aclocal -I m4 -I .  ...
| aclocal: error: 'configure.ac' is required
|
| **Error**: aclocal failed. This may mean that you have not
| installed all of the packages you need, or you may need to
| set ACLOCAL_FLAGS to include "-I $prefix/share/aclocal"
| for the prefix where you installed the packages whose
| macros were not found
| NOTE: mono-native failed to autogen.sh
| sed: can't read acinclude.m4: No such file or directory
| WARNING: /home/cmorgan/projects/yocto_poky/build/tmp/work/x86_64-linux/mono-native/3.4.0-r0/temp/run.do_configure.24402:1
exit 2 from
|   sed -e "s|slash\}libtool|slash\}x86_64-linux-libtool|" -i acinclude.m4
| ERROR: Function failed: do_configure (log file is located at
/home/cmorgan/projects/yocto_poky/build/tmp/work/x86_64-linux/mono-native/3.4.0-r0/temp/log.do_configure.24402)
ERROR: Task 687
(/home/cmorgan/projects/yocto_poky/meta-mono/recipes-mono/mono/mono-native_3.4.0.bb,
do_configure) failed with exit code '1'


It looks like the issue is due to autogen.sh assuming several files
are located in the current working directory, for instance on lines
102, 129 and 130 of autogen.sh there is no use of the $srcdir variable
before files like configure.in or mono/metadata/Makefile.am.in etc.

Not sure if something has changed on the yocto side to change this
assumption about where autogen.sh is being run from.

Chris



More information about the yocto mailing list