Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Saul Wold <sgw@linux.intel.com>
Cc: Jack Mitchell <jmitchell@cbnl.com>,
	openembedded-core@lists.openembedded.org
Subject: Re: [PATCHv4] libjson: update to 0.11 and rename to json-c
Date: Tue, 12 Nov 2013 22:30:28 +0000	[thread overview]
Message-ID: <1384295428.6460.71.camel@ted> (raw)
In-Reply-To: <52829660.4060507@linux.intel.com>

On Tue, 2013-11-12 at 12:58 -0800, Saul Wold wrote:
> On 11/11/2013 11:13 AM, Jack Mitchell wrote:
> > On 08/11/2013 00:47, Saul Wold wrote:
> >> On 11/07/2013 07:59 AM, Jack Mitchell wrote:
> >>> From: Jack Mitchell <jmitchell@cbnl.com>
> >>>
> >>> libjson is now known as json-c, support for the old namespace is
> >>> disabled as it seems to break SEPBUILDDIR configs. Built without
> >>> parallel make as it fails, official word is not to bother trying.
> >>>
> >>> Signed-off-by: Jack Mitchell <jmitchell@cbnl.com>
> >>> ---
> >>>
> >>>   v4:
> >>>    - add --disable-oldname-compat to try and fix suspected SEPBUILDDIR
> >>>      issues
> >>>
> >>
> >> Jack,
> >>
> >> I hate to ask this, but given this version is also failing, how have you
> >> been testing this recipe?
> >
> > Just the usual way, standard x86 atom target -c cleansstate and a build
> > + build -c populate_sdk. It also gets rebuilt without a clean sstate as
> > I've been holding this patch in my working tree for weeks now.
> >
> > I don't really know where to go with this now, I was sure it was going
> > to be the compat configure functons which were breaking things, but
> > obviously not. I'll see if I can find some time to tidy up the actual
> > configure script some, and see if that irons out the issues we're
> > seeing. I'll also give it a go with SEPBUILDDIR and see if I can get it
> > failing over here too.
> >
> I think I figured it out, the tarball contains autoconf cruft such as 
> config.status, I am not sure why you are not seeing the failure with 
> configure, but I found that removing that cruft in a 
> do_configure_prepend(), it fixed the build problem.
> 
> +
> +do_configure_prepend() {
> +       # Clean up autoconf cruft that should noe be in the tarball

This isn't true, some of this is perfectly fine in the tarball...

> +       rm -rf ${S}/config.status ${S}/config.log ${S}/configure 
> ${S}/config.h ${S}/config.h.in~

of these, config.status should get overwritten by gnu-configize
(timestamp issue?), config.log/config.h should get overwritten running
configure and configure itself should get blown away by do_configure.

Equally, if you were doing out of tree builds, autoconf might detect
that and error, maybe on the presence of config.log or config.h? Perhaps
try narrowing it down to the specific files and mention its out of tree
builds that trigger the issue in the comment?

Cheers,

Richard



  reply	other threads:[~2013-11-12 22:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-07 15:59 [PATCHv4] libjson: update to 0.11 and rename to json-c Jack Mitchell
2013-11-08  0:47 ` Saul Wold
2013-11-11 19:13   ` Jack Mitchell
2013-11-12 20:58     ` Saul Wold
2013-11-12 22:30       ` Richard Purdie [this message]
2013-11-12 23:37         ` Phil Blundell

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=1384295428.6460.71.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=jmitchell@cbnl.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=sgw@linux.intel.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox