All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: yocto@yoctoproject.org
Subject: Re: meta-mono core-image-mono failing
Date: Wed, 21 May 2014 12:57:11 -0600	[thread overview]
Message-ID: <537CF707.4060506@mlbassoc.com> (raw)
In-Reply-To: <CAAPegz1dWJAG0R_wVZs8_BtD4CO5YBk7=oT1V-ud40xzkTx+yw@mail.gmail.com>

On 2014-05-21 12:25, Chris Morgan wrote:
> 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.

Look at your recipe(s).  The simple way to fix this is to change
'inherit autotools' to 'inherit autotools-brokensep'

You could also look at the recipe more deeply and figure out
where it assumes that ${S} == ${B} because of a recent change
in OE-core, this is no longer true when you inherit autotools.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


  reply	other threads:[~2014-05-21 18:56 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-21 18:25 meta-mono core-image-mono failing Chris Morgan
2014-05-21 18:57 ` Gary Thomas [this message]
2014-05-21 19:07   ` Chris Morgan
2014-05-21 20:15     ` Alex J Lennon
2014-05-21 20:26       ` Chris Morgan
2014-05-21 20:35         ` Alex J Lennon
2014-05-21 22:28           ` Chris Morgan
2014-05-22  7:59         ` Alex J Lennon
2014-05-21 23:10       ` Stefan Stanacar
2014-05-21 23:23         ` Alex J Lennon
2014-05-22  8:23           ` Richard Purdie
2014-05-22  8:29             ` Alex J Lennon
2014-05-22  8:40               ` Richard Purdie
2014-05-22  9:56                 ` Alex J Lennon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=537CF707.4060506@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.