[OE-core] [PATCHv4] libjson: update to 0.11 and rename to json-c

Richard Purdie richard.purdie at linuxfoundation.org
Tue Nov 12 22:30:28 UTC 2013


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 at 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 at 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




More information about the Openembedded-core mailing list