* [PATCH 0/2] meta: fix gobject-introspection-native and coreutils-native
@ 2016-09-05 8:29 Robert Yang
2016-09-05 8:29 ` [PATCH 1/2] coreutils: enable xattr for native Robert Yang
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Robert Yang @ 2016-09-05 8:29 UTC (permalink / raw)
To: openembedded-core
The following changes since commit 0a024bf2f2ed14be9b6e3e8e911e826969ff9b7e:
poky: Update to linux-yocto 4.8 (2016-09-04 16:58:53 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib rbt/2fixes
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=rbt/2fixes
Robert Yang (2):
coreutils: enable xattr for native
gobject-introspection: set GI_SCANNER_DISABLE_CACHE for native
meta/recipes-core/coreutils/coreutils_8.25.bb | 3 ++-
.../gobject-introspection/gobject-introspection_1.48.0.bb | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
--
2.9.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] coreutils: enable xattr for native
2016-09-05 8:29 [PATCH 0/2] meta: fix gobject-introspection-native and coreutils-native Robert Yang
@ 2016-09-05 8:29 ` Robert Yang
2016-09-05 8:29 ` [PATCH 2/2] gobject-introspection: set GI_SCANNER_DISABLE_CACHE " Robert Yang
2016-09-05 9:13 ` [PATCH 0/2] meta: fix gobject-introspection-native and coreutils-native Robert Yang
2 siblings, 0 replies; 4+ messages in thread
From: Robert Yang @ 2016-09-05 8:29 UTC (permalink / raw)
To: openembedded-core
The lib/oe/path.py requires xattr, fixed:
Subprocess output:
cp: cannot preserve extended attributes, cp is built without xattr support
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
meta/recipes-core/coreutils/coreutils_8.25.bb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-core/coreutils/coreutils_8.25.bb b/meta/recipes-core/coreutils/coreutils_8.25.bb
index fc8d061..df6ad38 100644
--- a/meta/recipes-core/coreutils/coreutils_8.25.bb
+++ b/meta/recipes-core/coreutils/coreutils_8.25.bb
@@ -38,7 +38,8 @@ PACKAGECONFIG_class-target ??= "\
${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'xattr', '', d)} \
"
-PACKAGECONFIG_class-native ??= ""
+# The lib/oe/path.py requires xattr
+PACKAGECONFIG_class-native ??= "xattr"
# with, without, depends, rdepends
#
--
2.9.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] gobject-introspection: set GI_SCANNER_DISABLE_CACHE for native
2016-09-05 8:29 [PATCH 0/2] meta: fix gobject-introspection-native and coreutils-native Robert Yang
2016-09-05 8:29 ` [PATCH 1/2] coreutils: enable xattr for native Robert Yang
@ 2016-09-05 8:29 ` Robert Yang
2016-09-05 9:13 ` [PATCH 0/2] meta: fix gobject-introspection-native and coreutils-native Robert Yang
2 siblings, 0 replies; 4+ messages in thread
From: Robert Yang @ 2016-09-05 8:29 UTC (permalink / raw)
To: openembedded-core
The native recipe should not write files to $HOME/.cache as target, this can
avoid problems when multi builds are running on the same host like:
| File "./g-ir-scanner", line 66, in <module>
| sys.exit(scanner_main(sys.argv))
| File "../gobject-introspection-1.48.0/giscanner/scannermain.py", line 543, in scanner_main
| transformer = create_transformer(namespace, options)
| File "../gobject-introspection-1.48.0/giscanner/scannermain.py", line 389, in create_transformer
| symbol_filter_cmd=options.symbol_filter_cmd)
| File "../gobject-introspection-1.48.0/giscanner/transformer.py", line 54, in __init__
| self._cachestore = CacheStore()
| File "../gobject-introspection-1.48.0/giscanner/cachestore.py", line 61, in __init__
| self._check_cache_version()
| File "../gobject-introspection-1.48.0/giscanner/cachestore.py", line 89, in _check_cache_version
| self._clean()
| File "../gobject-introspection-1.48.0/giscanner/cachestore.py", line 141, in _clean
| self._remove_filename(os.path.join(self._directory, filename))
| File "../gobject-introspection-1.48.0/giscanner/cachestore.py", line 123, in _remove_filename
| os.unlink(filename)
| FileNotFoundError: [Errno 2] No such file or directory: '/home/pokybuild/.cache/g-ir-scanner/0a47aa95823c95a0b5d1bd610b60d02f35785f26'
| Makefile:3518: recipe for target 'GModule-2.0.gir' failed
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
.../recipes-gnome/gobject-introspection/gobject-introspection_1.48.0.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.48.0.bb b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.48.0.bb
index b41a317..abaa485 100644
--- a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.48.0.bb
+++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.48.0.bb
@@ -107,7 +107,7 @@ EXTRA_OECONF_class-target += "--enable-host-gi \
PACKAGECONFIG ?= ""
PACKAGECONFIG[doctool] = "--enable-doctool,--disable-doctool,python3-mako,"
-do_compile_prepend_class-target() {
+do_compile_prepend() {
# This prevents g-ir-scanner from writing cache data to $HOME
export GI_SCANNER_DISABLE_CACHE=1
--
2.9.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 0/2] meta: fix gobject-introspection-native and coreutils-native
2016-09-05 8:29 [PATCH 0/2] meta: fix gobject-introspection-native and coreutils-native Robert Yang
2016-09-05 8:29 ` [PATCH 1/2] coreutils: enable xattr for native Robert Yang
2016-09-05 8:29 ` [PATCH 2/2] gobject-introspection: set GI_SCANNER_DISABLE_CACHE " Robert Yang
@ 2016-09-05 9:13 ` Robert Yang
2 siblings, 0 replies; 4+ messages in thread
From: Robert Yang @ 2016-09-05 9:13 UTC (permalink / raw)
To: openembedded-core
Sorry, please use the patch on oe-core-contrib:
git://git.openembedded.org/openembedded-core-contrib rbt/2fixes
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/2fixes
Robert Yang (2):
coreutils: enable xattr for native
gobject-introspection: set GI_SCANNER_DISABLE_CACHE for native
On 09/05/2016 04:29 PM, Robert Yang wrote:
> The following changes since commit 0a024bf2f2ed14be9b6e3e8e911e826969ff9b7e:
>
> poky: Update to linux-yocto 4.8 (2016-09-04 16:58:53 +0100)
>
> are available in the git repository at:
>
> git://git.pokylinux.org/poky-contrib rbt/2fixes
> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=rbt/2fixes
This was poky-contrib.
// Robert
>
> Robert Yang (2):
> coreutils: enable xattr for native
> gobject-introspection: set GI_SCANNER_DISABLE_CACHE for native
>
> meta/recipes-core/coreutils/coreutils_8.25.bb | 3 ++-
> .../gobject-introspection/gobject-introspection_1.48.0.bb | 2 +-
> 2 files changed, 3 insertions(+), 2 deletions(-)
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-09-05 9:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-05 8:29 [PATCH 0/2] meta: fix gobject-introspection-native and coreutils-native Robert Yang
2016-09-05 8:29 ` [PATCH 1/2] coreutils: enable xattr for native Robert Yang
2016-09-05 8:29 ` [PATCH 2/2] gobject-introspection: set GI_SCANNER_DISABLE_CACHE " Robert Yang
2016-09-05 9:13 ` [PATCH 0/2] meta: fix gobject-introspection-native and coreutils-native Robert Yang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox