All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [oe-commits] [openembedded-core] 08/08: json-glib: update to 1.4.2
       [not found] ` <20180118125101.2F92F235ED3@git.openembedded.org>
@ 2018-01-19 13:58   ` Martin Jansa
  2018-01-19 14:02     ` Burton, Ross
  2018-01-24  2:26     ` Yi Zhao
  0 siblings, 2 replies; 10+ messages in thread
From: Martin Jansa @ 2018-01-19 13:58 UTC (permalink / raw)
  To: Yi Zhao, Patches and discussions about the oe-core layer
  Cc: openembedded-commits

[-- Attachment #1: Type: text/plain, Size: 4742 bytes --]

It fails here since this upgrade, maybe the 0001-Do-not-disable-
gobject-introspection-when-cross-comp.patch is still useful and wasn't
completely merged upstream?

FAILED: json-glib/Json-1.0.typelib
json-glib/1.4.2-r0/recipe-sysroot/usr/bin/g-ir-compiler-wrapper
json-glib/Json-1.0.gir --output json-glib/Json-1.0.typelib
Could not find GIR file 'GObject-2.0.gir'; check XDG_DATA_DIRS or use
--includedir
error parsing file json-glib/Json-1.0.gir: Failed to parse included gir
GObject-2.0
If the above error message is about missing .so libraries, then setting up
GIR_EXTRA_LIBS_PATH in the recipe should help.
(typically like this: GIR_EXTRA_LIBS_PATH="${B}/something/.libs" )
ninja: build stopped: subcommand failed.
WARNING: exit code 1 from a shell command.

On Thu, Jan 18, 2018 at 1:51 PM, <git@git.openembedded.org> wrote:

> This is an automated email from the git hooks/post-receive script.
>
> rpurdie pushed a commit to branch master
> in repository openembedded-core.
>
> commit 6b87ad5b08004554f08d2f68027908956f3795e1
> Author: Yi Zhao <yi.zhao@windriver.com>
> AuthorDate: Tue Jan 16 08:32:33 2018 +0800
>
>     json-glib: update to 1.4.2
>
>     Drop 0001-Do-not-disable-gobject-introspection-when-cross-comp.patch
>     since it has been fixed upstream.
>
>     Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
>     Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> ---
>  ...ble-gobject-introspection-when-cross-comp.patch | 32
> ----------------------
>  .../{json-glib_1.2.8.bb => json-glib_1.4.2.bb}     |  7 ++---
>  2 files changed, 2 insertions(+), 37 deletions(-)
>
> diff --git a/meta/recipes-gnome/json-glib/json-glib/0001-Do-not-
> disable-gobject-introspection-when-cross-comp.patch
> b/meta/recipes-gnome/json-glib/json-glib/0001-Do-not-
> disable-gobject-introspection-when-cross-comp.patch
> deleted file mode 100644
> index 849bb9d..0000000
> --- a/meta/recipes-gnome/json-glib/json-glib/0001-Do-not-
> disable-gobject-introspection-when-cross-comp.patch
> +++ /dev/null
> @@ -1,32 +0,0 @@
> -From 293452c963188666dae99521294f09a0cf9582e2 Mon Sep 17 00:00:00 2001
> -From: Alexander Kanavin <alex.kanavin@gmail.com>
> -Date: Fri, 4 Aug 2017 16:01:11 +0300
> -Subject: [PATCH] Do not disable gobject introspection when
> cross-compiling.
> -
> -Introspection does work fine for instance in Open Embedded,
> -one of the most prominent cross-compilation frameworks
> -(through qemu emulating target hardware), so let the user
> -decide if he wants the feature or not.
> -
> -Upstream-Status: Pending
> -Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
> ----
> - meson.build | 2 +-
> - 1 file changed, 1 insertion(+), 1 deletion(-)
> -
> -diff --git a/meson.build b/meson.build
> -index 43cbfd9..8a32f26 100644
> ---- a/meson.build
> -+++ b/meson.build
> -@@ -147,7 +147,7 @@ root_dir = include_directories('.')
> -
> - gnome = import('gnome')
> - gir = find_program('g-ir-scanner', required: false)
> --build_gir = gir.found() and not meson.is_cross_build() and not
> get_option('disable_introspection')
> -+build_gir = gir.found() and not get_option('disable_introspection')
> -
> - subdir('json-glib')
> -
> ---
> -2.13.2
> -
> diff --git a/meta/recipes-gnome/json-glib/json-glib_1.2.8.bb
> b/meta/recipes-gnome/json-glib/json-glib_1.4.2.bb
> similarity index 84%
> rename from meta/recipes-gnome/json-glib/json-glib_1.2.8.bb
> rename to meta/recipes-gnome/json-glib/json-glib_1.4.2.bb
> index 31912d1..fad0a2d 100644
> --- a/meta/recipes-gnome/json-glib/json-glib_1.2.8.bb
> +++ b/meta/recipes-gnome/json-glib/json-glib_1.4.2.bb
> @@ -10,11 +10,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=
> 7fbc338309ac38fefcd64b04bb903e34"
>
>  DEPENDS = "glib-2.0"
>
> -SRC_URI_append = " \
> -           file://0001-Do-not-disable-gobject-introspection-when-cross-comp.patch
> \
> -           "
> -SRC_URI[archive.md5sum] = "ff31e7d0594df44318e12facda3d086e"
> -SRC_URI[archive.sha256sum] = "fd55a9037d39e7a10f0db64309f5f0
> 265fa32ec962bf85066087b83a2807f40a"
> +SRC_URI[archive.md5sum] = "35107e23a7bbbc70f31c34f7b9adf1c3"
> +SRC_URI[archive.sha256sum] = "2d7709a44749c7318599a6829322e0
> 81915bdc73f5be5045882ed120bb686dc8"
>
>  GNOMEBASEBUILDCLASS = "meson"
>  inherit gnomebase lib_package gobject-introspection gtk-doc manpages
> gettext
>
> --
> To stop receiving notification emails like this one, please contact
> the administrator of this repository.
> --
> _______________________________________________
> Openembedded-commits mailing list
> Openembedded-commits@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-commits
>

[-- Attachment #2: Type: text/html, Size: 6953 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [oe-commits] [openembedded-core] 08/08: json-glib: update to 1.4.2
  2018-01-19 13:58   ` [oe-commits] [openembedded-core] 08/08: json-glib: update to 1.4.2 Martin Jansa
@ 2018-01-19 14:02     ` Burton, Ross
  2018-01-19 14:06       ` Martin Jansa
  2018-01-24  2:26     ` Yi Zhao
  1 sibling, 1 reply; 10+ messages in thread
From: Burton, Ross @ 2018-01-19 14:02 UTC (permalink / raw)
  To: Martin Jansa
  Cc: openembedded-commits, Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 993 bytes --]

On 19 January 2018 at 13:58, Martin Jansa <martin.jansa@gmail.com> wrote:

> It fails here since this upgrade, maybe the 0001-Do-not-disable-gobjec
> t-introspection-when-cross-comp.patch is still useful and wasn't
> completely merged upstream?
>

The patch was to let G-I work when cross-compiling, so it's unrelated.


> FAILED: json-glib/Json-1.0.typelib
> json-glib/1.4.2-r0/recipe-sysroot/usr/bin/g-ir-compiler-wrapper
> json-glib/Json-1.0.gir --output json-glib/Json-1.0.typelib
> Could not find GIR file 'GObject-2.0.gir'; check XDG_DATA_DIRS or use
> --includedir
> error parsing file json-glib/Json-1.0.gir: Failed to parse included gir
> GObject-2.0
> If the above error message is about missing .so libraries, then setting up
> GIR_EXTRA_LIBS_PATH in the recipe should help.
> (typically like this: GIR_EXTRA_LIBS_PATH="${B}/something/.libs" )
> ninja: build stopped: subcommand failed.
> WARNING: exit code 1 from a shell command.
>

What MACHINE?

Ross

[-- Attachment #2: Type: text/html, Size: 1720 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [oe-commits] [openembedded-core] 08/08: json-glib: update to 1.4.2
  2018-01-19 14:02     ` Burton, Ross
@ 2018-01-19 14:06       ` Martin Jansa
  2018-01-19 14:12         ` Burton, Ross
  2018-01-19 15:07         ` Alexander Kanavin
  0 siblings, 2 replies; 10+ messages in thread
From: Martin Jansa @ 2018-01-19 14:06 UTC (permalink / raw)
  To: Burton, Ross
  Cc: openembedded-commits, Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 1168 bytes --]

qemuarm, qemux86, raspberrypi3 and few more arm MACHINEs.

On Fri, Jan 19, 2018 at 3:02 PM, Burton, Ross <ross.burton@intel.com> wrote:

> On 19 January 2018 at 13:58, Martin Jansa <martin.jansa@gmail.com> wrote:
>
>> It fails here since this upgrade, maybe the 0001-Do-not-disable-gobjec
>> t-introspection-when-cross-comp.patch is still useful and wasn't
>> completely merged upstream?
>>
>
> The patch was to let G-I work when cross-compiling, so it's unrelated.
>
>
>> FAILED: json-glib/Json-1.0.typelib
>> json-glib/1.4.2-r0/recipe-sysroot/usr/bin/g-ir-compiler-wrapper
>> json-glib/Json-1.0.gir --output json-glib/Json-1.0.typelib
>> Could not find GIR file 'GObject-2.0.gir'; check XDG_DATA_DIRS or use
>> --includedir
>> error parsing file json-glib/Json-1.0.gir: Failed to parse included gir
>> GObject-2.0
>> If the above error message is about missing .so libraries, then setting
>> up GIR_EXTRA_LIBS_PATH in the recipe should help.
>> (typically like this: GIR_EXTRA_LIBS_PATH="${B}/something/.libs" )
>> ninja: build stopped: subcommand failed.
>> WARNING: exit code 1 from a shell command.
>>
>
> What MACHINE?
>
> Ross
>

[-- Attachment #2: Type: text/html, Size: 2276 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [oe-commits] [openembedded-core] 08/08: json-glib: update to 1.4.2
  2018-01-19 14:06       ` Martin Jansa
@ 2018-01-19 14:12         ` Burton, Ross
  2018-01-19 15:07         ` Alexander Kanavin
  1 sibling, 0 replies; 10+ messages in thread
From: Burton, Ross @ 2018-01-19 14:12 UTC (permalink / raw)
  To: Martin Jansa
  Cc: openembedded-commits, Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 185 bytes --]

On 19 January 2018 at 14:06, Martin Jansa <martin.jansa@gmail.com> wrote:

> qemuarm, qemux86, raspberrypi3 and few more arm MACHINEs.
>

Can you replicate with nodistro?

Ross

[-- Attachment #2: Type: text/html, Size: 534 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [oe-commits] [openembedded-core] 08/08: json-glib: update to 1.4.2
  2018-01-19 14:06       ` Martin Jansa
  2018-01-19 14:12         ` Burton, Ross
@ 2018-01-19 15:07         ` Alexander Kanavin
  2018-01-19 17:59           ` Martin Jansa
  1 sibling, 1 reply; 10+ messages in thread
From: Alexander Kanavin @ 2018-01-19 15:07 UTC (permalink / raw)
  To: openembedded-core

On 01/19/2018 04:06 PM, Martin Jansa wrote:
> qemuarm, qemux86, raspberrypi3 and few more arm MACHINEs.

I just tried with qemux86 - builds fine, and the g-i files are present 
in the packages.

Alex


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [oe-commits] [openembedded-core] 08/08: json-glib: update to 1.4.2
  2018-01-19 15:07         ` Alexander Kanavin
@ 2018-01-19 17:59           ` Martin Jansa
  2018-01-22 13:33             ` Alexander Kanavin
  0 siblings, 1 reply; 10+ messages in thread
From: Martin Jansa @ 2018-01-19 17:59 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 1071 bytes --]

I have gobject-introspection-data in DISTRO_FEATURES_BACKFILL_CONSIDERED.

I am able to reproduce this with nodistro after adding:
DISTRO_FEATURES_remove = "gobject-introspection-data"
or the same to DISTRO_FEATURES_BACKFILL_CONSIDERED.

This one is with require conf/distro/include/security_flags.inc
http://errors.yoctoproject.org/Errors/Details/164873/

this one is without security_flags.inc:
http://errors.yoctoproject.org/Errors/Details/164874/

The older version was building fine with gobject-introspection disabled.


On Fri, Jan 19, 2018 at 4:07 PM, Alexander Kanavin <alexander.kanavin@linux.
intel.com> wrote:

> On 01/19/2018 04:06 PM, Martin Jansa wrote:
>
>> qemuarm, qemux86, raspberrypi3 and few more arm MACHINEs.
>>
>
> I just tried with qemux86 - builds fine, and the g-i files are present in
> the packages.
>
> Alex
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>

[-- Attachment #2: Type: text/html, Size: 2255 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [oe-commits] [openembedded-core] 08/08: json-glib: update to 1.4.2
  2018-01-19 17:59           ` Martin Jansa
@ 2018-01-22 13:33             ` Alexander Kanavin
  0 siblings, 0 replies; 10+ messages in thread
From: Alexander Kanavin @ 2018-01-22 13:33 UTC (permalink / raw)
  To: Martin Jansa; +Cc: Patches and discussions about the oe-core layer

On 01/19/2018 07:59 PM, Martin Jansa wrote:
> I have gobject-introspection-data in DISTRO_FEATURES_BACKFILL_CONSIDERED.
> 
> I am able to reproduce this with nodistro after adding:
> DISTRO_FEATURES_remove = "gobject-introspection-data"
> or the same to DISTRO_FEATURES_BACKFILL_CONSIDERED.
> 
> This one is with require conf/distro/include/security_flags.inc
> http://errors.yoctoproject.org/Errors/Details/164873/ 
> <http://errors.yoctoproject.org/Errors/Details/164873/>
> 
> this one is without security_flags.inc:
> http://errors.yoctoproject.org/Errors/Details/164874/
> 
> The older version was building fine with gobject-introspection disabled.

Upstream has renamed all the configuration options, and then renamed 
them again. At the same time, meson stays quiet about configuration 
options that don't exist, and so we don't have an automatic way to catch 
such regressions.

https://github.com/GNOME/json-glib/commits/master/meson_options.txt

I'll fix the recipe.


Alex



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [oe-commits] [openembedded-core] 08/08: json-glib: update to 1.4.2
  2018-01-19 13:58   ` [oe-commits] [openembedded-core] 08/08: json-glib: update to 1.4.2 Martin Jansa
  2018-01-19 14:02     ` Burton, Ross
@ 2018-01-24  2:26     ` Yi Zhao
  2018-01-24  2:31       ` Yi Zhao
  1 sibling, 1 reply; 10+ messages in thread
From: Yi Zhao @ 2018-01-24  2:26 UTC (permalink / raw)
  To: Martin Jansa; +Cc: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 6056 bytes --]



在 2018年01月19日 21:58, Martin Jansa 写道:
> It fails here since this upgrade, maybe the 
> 0001-Do-not-disable-gobject-introspection-when-cross-comp.patch is 
> still useful and wasn't completely merged upstream?
>
> FAILED: json-glib/Json-1.0.typelib
> json-glib/1.4.2-r0/recipe-sysroot/usr/bin/g-ir-compiler-wrapper 
> json-glib/Json-1.0.gir --output json-glib/Json-1.0.typelib
> Could not find GIR file 'GObject-2.0.gir'; check XDG_DATA_DIRS or use 
> --includedir
> error parsing file json-glib/Json-1.0.gir: Failed to parse included 
> gir GObject-2.0
> If the above error message is about missing .so libraries, then 
> setting up GIR_EXTRA_LIBS_PATH in the recipe should help.
> (typically like this: GIR_EXTRA_LIBS_PATH="${B}/something/.libs" )
> ninja: build stopped: subcommand failed.
> WARNING: exit code 1 from a shell command.

Hi  Martin,

I still can not reproduced it.  Could you tell me which layers include, 
the DISTRO set and the build machine OS ?

Thanks,
Yi


>
> On Thu, Jan 18, 2018 at 1:51 PM, <git@git.openembedded.org 
> <mailto:git@git.openembedded.org>> wrote:
>
>     This is an automated email from the git hooks/post-receive script.
>
>     rpurdie pushed a commit to branch master
>     in repository openembedded-core.
>
>     commit 6b87ad5b08004554f08d2f68027908956f3795e1
>     Author: Yi Zhao <yi.zhao@windriver.com <mailto:yi.zhao@windriver.com>>
>     AuthorDate: Tue Jan 16 08:32:33 2018 +0800
>
>         json-glib: update to 1.4.2
>
>         Drop
>     0001-Do-not-disable-gobject-introspection-when-cross-comp.patch
>         since it has been fixed upstream.
>
>         Signed-off-by: Yi Zhao <yi.zhao@windriver.com
>     <mailto:yi.zhao@windriver.com>>
>         Signed-off-by: Richard Purdie
>     <richard.purdie@linuxfoundation.org
>     <mailto:richard.purdie@linuxfoundation.org>>
>     ---
>      ...ble-gobject-introspection-when-cross-comp.patch | 32
>     ----------------------
>      .../{json-glib_1.2.8.bb <http://json-glib_1.2.8.bb> =>
>     json-glib_1.4.2.bb <http://json-glib_1.4.2.bb>}    |  7 ++---
>      2 files changed, 2 insertions(+), 37 deletions(-)
>
>     diff --git
>     a/meta/recipes-gnome/json-glib/json-glib/0001-Do-not-disable-gobject-introspection-when-cross-comp.patch
>     b/meta/recipes-gnome/json-glib/json-glib/0001-Do-not-disable-gobject-introspection-when-cross-comp.patch
>     deleted file mode 100644
>     index 849bb9d..0000000
>     ---
>     a/meta/recipes-gnome/json-glib/json-glib/0001-Do-not-disable-gobject-introspection-when-cross-comp.patch
>     +++ /dev/null
>     @@ -1,32 +0,0 @@
>     -From 293452c963188666dae99521294f09a0cf9582e2 Mon Sep 17 00:00:00
>     2001
>     -From: Alexander Kanavin <alex.kanavin@gmail.com
>     <mailto:alex.kanavin@gmail.com>>
>     -Date: Fri, 4 Aug 2017 16:01:11 +0300
>     -Subject: [PATCH] Do not disable gobject introspection when
>     cross-compiling.
>     -
>     -Introspection does work fine for instance in Open Embedded,
>     -one of the most prominent cross-compilation frameworks
>     -(through qemu emulating target hardware), so let the user
>     -decide if he wants the feature or not.
>     -
>     -Upstream-Status: Pending
>     -Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com
>     <mailto:alex.kanavin@gmail.com>>
>     ----
>     - meson.build | 2 +-
>     - 1 file changed, 1 insertion(+), 1 deletion(-)
>     -
>     -diff --git a/meson.build b/meson.build
>     -index 43cbfd9..8a32f26 100644
>     ---- a/meson.build
>     -+++ b/meson.build
>     -@@ -147,7 +147,7 @@ root_dir = include_directories('.')
>     -
>     - gnome = import('gnome')
>     - gir = find_program('g-ir-scanner', required: false)
>     --build_gir = gir.found() and not meson.is_cross_build() and not
>     get_option('disable_introspection')
>     -+build_gir = gir.found() and not get_option('disable_introspection')
>     -
>     - subdir('json-glib')
>     -
>     ---
>     -2.13.2
>     -
>     diff --git a/meta/recipes-gnome/json-glib/json-glib_1.2.8.bb
>     <http://json-glib_1.2.8.bb>
>     b/meta/recipes-gnome/json-glib/json-glib_1.4.2.bb
>     <http://json-glib_1.4.2.bb>
>     similarity index 84%
>     rename from meta/recipes-gnome/json-glib/json-glib_1.2.8.bb
>     <http://json-glib_1.2.8.bb>
>     rename to meta/recipes-gnome/json-glib/json-glib_1.4.2.bb
>     <http://json-glib_1.4.2.bb>
>     index 31912d1..fad0a2d 100644
>     --- a/meta/recipes-gnome/json-glib/json-glib_1.2.8.bb
>     <http://json-glib_1.2.8.bb>
>     +++ b/meta/recipes-gnome/json-glib/json-glib_1.4.2.bb
>     <http://json-glib_1.4.2.bb>
>     @@ -10,11 +10,8 @@ LIC_FILES_CHKSUM =
>     "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
>
>      DEPENDS = "glib-2.0"
>
>     -SRC_URI_append = " \
>     -         
>      file://0001-Do-not-disable-gobject-introspection-when-cross-comp.patch
>     \
>     -           "
>     -SRC_URI[archive.md5sum] = "ff31e7d0594df44318e12facda3d086e"
>     -SRC_URI[archive.sha256sum] =
>     "fd55a9037d39e7a10f0db64309f5f0265fa32ec962bf85066087b83a2807f40a"
>     +SRC_URI[archive.md5sum] = "35107e23a7bbbc70f31c34f7b9adf1c3"
>     +SRC_URI[archive.sha256sum] =
>     "2d7709a44749c7318599a6829322e081915bdc73f5be5045882ed120bb686dc8"
>
>      GNOMEBASEBUILDCLASS = "meson"
>      inherit gnomebase lib_package gobject-introspection gtk-doc
>     manpages gettext
>
>     --
>     To stop receiving notification emails like this one, please contact
>     the administrator of this repository.
>     --
>     _______________________________________________
>     Openembedded-commits mailing list
>     Openembedded-commits@lists.openembedded.org
>     <mailto:Openembedded-commits@lists.openembedded.org>
>     http://lists.openembedded.org/mailman/listinfo/openembedded-commits
>     <http://lists.openembedded.org/mailman/listinfo/openembedded-commits>
>
>


[-- Attachment #2: Type: text/html, Size: 10186 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [oe-commits] [openembedded-core] 08/08: json-glib: update to 1.4.2
  2018-01-24  2:26     ` Yi Zhao
@ 2018-01-24  2:31       ` Yi Zhao
  2018-01-24  8:19         ` Martin Jansa
  0 siblings, 1 reply; 10+ messages in thread
From: Yi Zhao @ 2018-01-24  2:31 UTC (permalink / raw)
  To: Martin Jansa; +Cc: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 6341 bytes --]



在 2018年01月24日 10:26, Yi Zhao 写道:
>
>
>
> 在 2018年01月19日 21:58, Martin Jansa 写道:
>> It fails here since this upgrade, maybe the 
>> 0001-Do-not-disable-gobject-introspection-when-cross-comp.patch is 
>> still useful and wasn't completely merged upstream?
>>
>> FAILED: json-glib/Json-1.0.typelib
>> json-glib/1.4.2-r0/recipe-sysroot/usr/bin/g-ir-compiler-wrapper 
>> json-glib/Json-1.0.gir --output json-glib/Json-1.0.typelib
>> Could not find GIR file 'GObject-2.0.gir'; check XDG_DATA_DIRS or use 
>> --includedir
>> error parsing file json-glib/Json-1.0.gir: Failed to parse included 
>> gir GObject-2.0
>> If the above error message is about missing .so libraries, then 
>> setting up GIR_EXTRA_LIBS_PATH in the recipe should help.
>> (typically like this: GIR_EXTRA_LIBS_PATH="${B}/something/.libs" )
>> ninja: build stopped: subcommand failed.
>> WARNING: exit code 1 from a shell command.
>
> Hi  Martin,
>
> I still can not reproduced it.  Could you tell me which layers 
> include, the DISTRO set and the build machine OS ?
>

Sorry. Please ignore this mail. I missed your previous mail.

Yi

> Thanks,
> Yi
>
>
>>
>> On Thu, Jan 18, 2018 at 1:51 PM, <git@git.openembedded.org 
>> <mailto:git@git.openembedded.org>> wrote:
>>
>>     This is an automated email from the git hooks/post-receive script.
>>
>>     rpurdie pushed a commit to branch master
>>     in repository openembedded-core.
>>
>>     commit 6b87ad5b08004554f08d2f68027908956f3795e1
>>     Author: Yi Zhao <yi.zhao@windriver.com
>>     <mailto:yi.zhao@windriver.com>>
>>     AuthorDate: Tue Jan 16 08:32:33 2018 +0800
>>
>>         json-glib: update to 1.4.2
>>
>>         Drop
>>     0001-Do-not-disable-gobject-introspection-when-cross-comp.patch
>>         since it has been fixed upstream.
>>
>>         Signed-off-by: Yi Zhao <yi.zhao@windriver.com
>>     <mailto:yi.zhao@windriver.com>>
>>         Signed-off-by: Richard Purdie
>>     <richard.purdie@linuxfoundation.org
>>     <mailto:richard.purdie@linuxfoundation.org>>
>>     ---
>>      ...ble-gobject-introspection-when-cross-comp.patch | 32
>>     ----------------------
>>      .../{json-glib_1.2.8.bb <http://json-glib_1.2.8.bb> =>
>>     json-glib_1.4.2.bb <http://json-glib_1.4.2.bb>}    |  7 ++---
>>      2 files changed, 2 insertions(+), 37 deletions(-)
>>
>>     diff --git
>>     a/meta/recipes-gnome/json-glib/json-glib/0001-Do-not-disable-gobject-introspection-when-cross-comp.patch
>>     b/meta/recipes-gnome/json-glib/json-glib/0001-Do-not-disable-gobject-introspection-when-cross-comp.patch
>>     deleted file mode 100644
>>     index 849bb9d..0000000
>>     ---
>>     a/meta/recipes-gnome/json-glib/json-glib/0001-Do-not-disable-gobject-introspection-when-cross-comp.patch
>>     +++ /dev/null
>>     @@ -1,32 +0,0 @@
>>     -From 293452c963188666dae99521294f09a0cf9582e2 Mon Sep 17
>>     00:00:00 2001
>>     -From: Alexander Kanavin <alex.kanavin@gmail.com
>>     <mailto:alex.kanavin@gmail.com>>
>>     -Date: Fri, 4 Aug 2017 16:01:11 +0300
>>     -Subject: [PATCH] Do not disable gobject introspection when
>>     cross-compiling.
>>     -
>>     -Introspection does work fine for instance in Open Embedded,
>>     -one of the most prominent cross-compilation frameworks
>>     -(through qemu emulating target hardware), so let the user
>>     -decide if he wants the feature or not.
>>     -
>>     -Upstream-Status: Pending
>>     -Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com
>>     <mailto:alex.kanavin@gmail.com>>
>>     ----
>>     - meson.build | 2 +-
>>     - 1 file changed, 1 insertion(+), 1 deletion(-)
>>     -
>>     -diff --git a/meson.build b/meson.build
>>     -index 43cbfd9..8a32f26 100644
>>     ---- a/meson.build
>>     -+++ b/meson.build
>>     -@@ -147,7 +147,7 @@ root_dir = include_directories('.')
>>     -
>>     - gnome = import('gnome')
>>     - gir = find_program('g-ir-scanner', required: false)
>>     --build_gir = gir.found() and not meson.is_cross_build() and not
>>     get_option('disable_introspection')
>>     -+build_gir = gir.found() and not get_option('disable_introspection')
>>     -
>>     - subdir('json-glib')
>>     -
>>     ---
>>     -2.13.2
>>     -
>>     diff --git a/meta/recipes-gnome/json-glib/json-glib_1.2.8.bb
>>     <http://json-glib_1.2.8.bb>
>>     b/meta/recipes-gnome/json-glib/json-glib_1.4.2.bb
>>     <http://json-glib_1.4.2.bb>
>>     similarity index 84%
>>     rename from meta/recipes-gnome/json-glib/json-glib_1.2.8.bb
>>     <http://json-glib_1.2.8.bb>
>>     rename to meta/recipes-gnome/json-glib/json-glib_1.4.2.bb
>>     <http://json-glib_1.4.2.bb>
>>     index 31912d1..fad0a2d 100644
>>     --- a/meta/recipes-gnome/json-glib/json-glib_1.2.8.bb
>>     <http://json-glib_1.2.8.bb>
>>     +++ b/meta/recipes-gnome/json-glib/json-glib_1.4.2.bb
>>     <http://json-glib_1.4.2.bb>
>>     @@ -10,11 +10,8 @@ LIC_FILES_CHKSUM =
>>     "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
>>
>>      DEPENDS = "glib-2.0"
>>
>>     -SRC_URI_append = " \
>>     -
>>     file://0001-Do-not-disable-gobject-introspection-when-cross-comp.patch
>>     \
>>     -           "
>>     -SRC_URI[archive.md5sum] = "ff31e7d0594df44318e12facda3d086e"
>>     -SRC_URI[archive.sha256sum] =
>>     "fd55a9037d39e7a10f0db64309f5f0265fa32ec962bf85066087b83a2807f40a"
>>     +SRC_URI[archive.md5sum] = "35107e23a7bbbc70f31c34f7b9adf1c3"
>>     +SRC_URI[archive.sha256sum] =
>>     "2d7709a44749c7318599a6829322e081915bdc73f5be5045882ed120bb686dc8"
>>
>>      GNOMEBASEBUILDCLASS = "meson"
>>      inherit gnomebase lib_package gobject-introspection gtk-doc
>>     manpages gettext
>>
>>     --
>>     To stop receiving notification emails like this one, please contact
>>     the administrator of this repository.
>>     --
>>     _______________________________________________
>>     Openembedded-commits mailing list
>>     Openembedded-commits@lists.openembedded.org
>>     <mailto:Openembedded-commits@lists.openembedded.org>
>>     http://lists.openembedded.org/mailman/listinfo/openembedded-commits
>>     <http://lists.openembedded.org/mailman/listinfo/openembedded-commits>
>>
>>
>
>
>


[-- Attachment #2: Type: text/html, Size: 11254 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [oe-commits] [openembedded-core] 08/08: json-glib: update to 1.4.2
  2018-01-24  2:31       ` Yi Zhao
@ 2018-01-24  8:19         ` Martin Jansa
  0 siblings, 0 replies; 10+ messages in thread
From: Martin Jansa @ 2018-01-24  8:19 UTC (permalink / raw)
  To: Yi Zhao; +Cc: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 5410 bytes --]

OK.

The fix from Alex works fine for me, we can close this.

On Wed, Jan 24, 2018 at 3:31 AM, Yi Zhao <yi.zhao@windriver.com> wrote:

>
>
> 在 2018年01月24日 10:26, Yi Zhao 写道:
>
>
>
> 在 2018年01月19日 21:58, Martin Jansa 写道:
>
> It fails here since this upgrade, maybe the 0001-Do-not-disable-gobjec
> t-introspection-when-cross-comp.patch is still useful and wasn't
> completely merged upstream?
>
> FAILED: json-glib/Json-1.0.typelib
> json-glib/1.4.2-r0/recipe-sysroot/usr/bin/g-ir-compiler-wrapper
> json-glib/Json-1.0.gir --output json-glib/Json-1.0.typelib
> Could not find GIR file 'GObject-2.0.gir'; check XDG_DATA_DIRS or use
> --includedir
> error parsing file json-glib/Json-1.0.gir: Failed to parse included gir
> GObject-2.0
> If the above error message is about missing .so libraries, then setting up
> GIR_EXTRA_LIBS_PATH in the recipe should help.
> (typically like this: GIR_EXTRA_LIBS_PATH="${B}/something/.libs" )
> ninja: build stopped: subcommand failed.
> WARNING: exit code 1 from a shell command.
>
>
> Hi  Martin,
>
> I still can not reproduced it.  Could you tell me which layers include,
> the DISTRO set and the build machine OS ?
>
>
> Sorry. Please ignore this mail. I missed your previous mail.
>
> Yi
>
>
> Thanks,
> Yi
>
>
>
> On Thu, Jan 18, 2018 at 1:51 PM, <git@git.openembedded.org> wrote:
>
>> This is an automated email from the git hooks/post-receive script.
>>
>> rpurdie pushed a commit to branch master
>> in repository openembedded-core.
>>
>> commit 6b87ad5b08004554f08d2f68027908956f3795e1
>> Author: Yi Zhao <yi.zhao@windriver.com>
>> AuthorDate: Tue Jan 16 08:32:33 2018 +0800
>>
>>     json-glib: update to 1.4.2
>>
>>     Drop 0001-Do-not-disable-gobject-introspection-when-cross-comp.patch
>>     since it has been fixed upstream.
>>
>>     Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
>>     Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>> ---
>>  ...ble-gobject-introspection-when-cross-comp.patch | 32
>> ----------------------
>>  .../{json-glib_1.2.8.bb => json-glib_1.4.2.bb}     |  7 ++---
>>  2 files changed, 2 insertions(+), 37 deletions(-)
>>
>> diff --git a/meta/recipes-gnome/json-glib/json-glib/0001-Do-not-disable
>> -gobject-introspection-when-cross-comp.patch
>> b/meta/recipes-gnome/json-glib/json-glib/0001-Do-not-disable
>> -gobject-introspection-when-cross-comp.patch
>> deleted file mode 100644
>> index 849bb9d..0000000
>> --- a/meta/recipes-gnome/json-glib/json-glib/0001-Do-not-disable
>> -gobject-introspection-when-cross-comp.patch
>> +++ /dev/null
>> @@ -1,32 +0,0 @@
>> -From 293452c963188666dae99521294f09a0cf9582e2 Mon Sep 17 00:00:00 2001
>> -From: Alexander Kanavin <alex.kanavin@gmail.com>
>> -Date: Fri, 4 Aug 2017 16:01:11 +0300
>> -Subject: [PATCH] Do not disable gobject introspection when
>> cross-compiling.
>> -
>> -Introspection does work fine for instance in Open Embedded,
>> -one of the most prominent cross-compilation frameworks
>> -(through qemu emulating target hardware), so let the user
>> -decide if he wants the feature or not.
>> -
>> -Upstream-Status: Pending
>> -Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
>> ----
>> - meson.build | 2 +-
>> - 1 file changed, 1 insertion(+), 1 deletion(-)
>> -
>> -diff --git a/meson.build b/meson.build
>> -index 43cbfd9..8a32f26 100644
>> ---- a/meson.build
>> -+++ b/meson.build
>> -@@ -147,7 +147,7 @@ root_dir = include_directories('.')
>> -
>> - gnome = import('gnome')
>> - gir = find_program('g-ir-scanner', required: false)
>> --build_gir = gir.found() and not meson.is_cross_build() and not
>> get_option('disable_introspection')
>> -+build_gir = gir.found() and not get_option('disable_introspection')
>> -
>> - subdir('json-glib')
>> -
>> ---
>> -2.13.2
>> -
>> diff --git a/meta/recipes-gnome/json-glib/json-glib_1.2.8.bb
>> b/meta/recipes-gnome/json-glib/json-glib_1.4.2.bb
>> similarity index 84%
>> rename from meta/recipes-gnome/json-glib/json-glib_1.2.8.bb
>> rename to meta/recipes-gnome/json-glib/json-glib_1.4.2.bb
>> index 31912d1..fad0a2d 100644
>> --- a/meta/recipes-gnome/json-glib/json-glib_1.2.8.bb
>> +++ b/meta/recipes-gnome/json-glib/json-glib_1.4.2.bb
>> @@ -10,11 +10,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309
>> ac38fefcd64b04bb903e34"
>>
>>  DEPENDS = "glib-2.0"
>>
>> -SRC_URI_append = " \
>> -           file://0001-Do-not-disable-gobject-introspection-when-cross-comp.patch
>> \
>> -           "
>> -SRC_URI[archive.md5sum] = "ff31e7d0594df44318e12facda3d086e"
>> -SRC_URI[archive.sha256sum] = "fd55a9037d39e7a10f0db64309f5f
>> 0265fa32ec962bf85066087b83a2807f40a"
>> +SRC_URI[archive.md5sum] = "35107e23a7bbbc70f31c34f7b9adf1c3"
>> +SRC_URI[archive.sha256sum] = "2d7709a44749c7318599a6829322e
>> 081915bdc73f5be5045882ed120bb686dc8"
>>
>>  GNOMEBASEBUILDCLASS = "meson"
>>  inherit gnomebase lib_package gobject-introspection gtk-doc manpages
>> gettext
>>
>> --
>> To stop receiving notification emails like this one, please contact
>> the administrator of this repository.
>> --
>> _______________________________________________
>> Openembedded-commits mailing list
>> Openembedded-commits@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-commits
>>
>
>
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 10633 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-01-24  8:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <151627986059.9023.14010623458474127186@git.openembedded.org>
     [not found] ` <20180118125101.2F92F235ED3@git.openembedded.org>
2018-01-19 13:58   ` [oe-commits] [openembedded-core] 08/08: json-glib: update to 1.4.2 Martin Jansa
2018-01-19 14:02     ` Burton, Ross
2018-01-19 14:06       ` Martin Jansa
2018-01-19 14:12         ` Burton, Ross
2018-01-19 15:07         ` Alexander Kanavin
2018-01-19 17:59           ` Martin Jansa
2018-01-22 13:33             ` Alexander Kanavin
2018-01-24  2:26     ` Yi Zhao
2018-01-24  2:31       ` Yi Zhao
2018-01-24  8:19         ` Martin Jansa

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.