All of lore.kernel.org
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: ml@communistcode.co.uk, openembedded-core@lists.openembedded.org
Cc: Jack Mitchell <jmitchell@cbnl.com>
Subject: Re: [PATCHv4] libjson: update to 0.11 and rename to json-c
Date: Tue, 12 Nov 2013 12:58:08 -0800	[thread overview]
Message-ID: <52829660.4060507@linux.intel.com> (raw)
In-Reply-To: <52812C68.4020701@communistcode.co.uk>

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
+       rm -rf ${S}/config.status ${S}/config.log ${S}/configure 
${S}/config.h ${S}/config.h.in~
+}

Either that or a patch to the configure.in that would check for 
config.status in the correct space.

Sau!


> Cheers!
>
>>
>> I attached my do_configure log file.
>>
>> Thanks
>>      Sau!
>>
>>>   meta/conf/distro/include/seperatebuilddir.inc     |  2 +-
>>>   meta/recipes-devtools/json-c/json-c_0.11.bb       | 16
>>> ++++++++++++++++
>>>   meta/recipes-devtools/libjson/libjson_0.9.bb      | 14 --------------
>>>   meta/recipes-multimedia/pulseaudio/pulseaudio.inc |  2 +-
>>>   4 files changed, 18 insertions(+), 16 deletions(-)
>>>   create mode 100644 meta/recipes-devtools/json-c/json-c_0.11.bb
>>>   delete mode 100644 meta/recipes-devtools/libjson/libjson_0.9.bb
>>>
>>> diff --git a/meta/conf/distro/include/seperatebuilddir.inc
>>> b/meta/conf/distro/include/seperatebuilddir.inc
>>> index c067183..e1a5c6b 100644
>>> --- a/meta/conf/distro/include/seperatebuilddir.inc
>>> +++ b/meta/conf/distro/include/seperatebuilddir.inc
>>> @@ -294,7 +294,7 @@ B_pn-libice = "${SEPB}"
>>>   B_pn-libice-native = "${SEPB}"
>>>   B_pn-libid3tag = "${SEPB}"
>>>   B_pn-libidn = "${SEPB}"
>>> -B_pn-libjson = "${SEPB}"
>>> +B_pn-json-c = "${SEPB}"
>>>   B_pn-libksba = "${SEPB}"
>>>   B_pn-libmad = "${SEPB}"
>>>   B_pn-libmatchbox = "${SEPB}"
>>> diff --git a/meta/recipes-devtools/json-c/json-c_0.11.bb
>>> b/meta/recipes-devtools/json-c/json-c_0.11.bb
>>> new file mode 100644
>>> index 0000000..59a4b4d
>>> --- /dev/null
>>> +++ b/meta/recipes-devtools/json-c/json-c_0.11.bb
>>> @@ -0,0 +1,16 @@
>>> +SUMMARY = "JSON-C implements a reference counting object model that
>>> allows you to easily construct JSON objects in C"
>>> +HOMEPAGE = "https://github.com/json-c/json-c/wiki"
>>> +LICENSE = "MIT"
>>> +LIC_FILES_CHKSUM =
>>> "file://COPYING;md5=de54b60fbbc35123ba193fea8ee216f2"
>>> +
>>> +SRC_URI =
>>> "https://s3.amazonaws.com/json-c_releases/releases/${BP}.tar.gz"
>>> +
>>> +SRC_URI[md5sum] = "aa02367d2f7a830bf1e3376f77881e98"
>>> +SRC_URI[sha256sum] =
>>> "28dfc65145dc0d4df1dfe7701ac173c4e5f9347176c8983edbfac9149494448c"
>>> +
>>> +RPROVIDES_${PN} = "libjson"
>>> +
>>> +PARALLEL_MAKE = ""
>>> +EXTRA_OECONF = "--disable-oldname-compat"
>>> +
>>> +inherit autotools
>>> diff --git a/meta/recipes-devtools/libjson/libjson_0.9.bb
>>> b/meta/recipes-devtools/libjson/libjson_0.9.bb
>>> deleted file mode 100644
>>> index e4951a8..0000000
>>> --- a/meta/recipes-devtools/libjson/libjson_0.9.bb
>>> +++ /dev/null
>>> @@ -1,14 +0,0 @@
>>> -DESCRIPTION = "JSON-C - A JSON implementation in C"
>>> -HOMEPAGE = "http://oss.metaparadigm.com/json-c/"
>>> -
>>> -LICENSE = "MIT"
>>> -LIC_FILES_CHKSUM =
>>> "file://COPYING;md5=30a276a476b02c2dcd0849bde417fb17"
>>> -
>>> -SRC_URI = "http://oss.metaparadigm.com/json-c/json-c-${PV}.tar.gz"
>>> -SRC_URI[md5sum] = "3a13d264528dcbaf3931b0cede24abae"
>>> -SRC_URI[sha256sum] =
>>> "702a486c9bf8e19137d484ab5c49b4ad314eb5e1fe37062a72c0a0fa39439475"
>>> -
>>> -S = "${WORKDIR}/json-c-${PV}"
>>> -
>>> -
>>> -inherit autotools
>>> diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
>>> b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
>>> index 4c10aa9..475da41 100644
>>> --- a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
>>> +++ b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
>>> @@ -11,7 +11,7 @@ LIC_FILES_CHKSUM =
>>> "file://GPL;md5=4325afd396febcb659c36b49533135d4 \
>>>   DEPENDS = "libatomics-ops liboil libsamplerate0 libsndfile1 libtool"
>>>   # optional
>>>   DEPENDS += "udev alsa-lib glib-2.0 dbus gconf"
>>> -DEPENDS += "libjson gdbm speex libxml-parser-perl-native"
>>> +DEPENDS += "json-c gdbm speex libxml-parser-perl-native"
>>>
>>>   inherit autotools pkgconfig useradd gettext perlnative
>>>
>>>
>
>


  reply	other threads:[~2013-11-12 20:58 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 [this message]
2013-11-12 22:30       ` Richard Purdie
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=52829660.4060507@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=jmitchell@cbnl.com \
    --cc=ml@communistcode.co.uk \
    --cc=openembedded-core@lists.openembedded.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.