Re: [OE-core] [PATCH 1/3] tar-replacement-native: avoid race condition with host tar

2015-08-14 Thread Paul Eggleton
On Friday 14 August 2015 11:47:16 Burton, Ross wrote: On 11 August 2015 at 09:44, Patrick Ohly patrick.o...@intel.com wrote: Installing tar into the sysroot leads to race conditions (tasks which do not depend on tar-replacement-native may already call tar while it's installation is

Re: [OE-core] [PATCH 1/3] tar-replacement-native: avoid race condition with host tar

2015-08-14 Thread Burton, Ross
On 14 August 2015 at 12:01, Paul Eggleton paul.eggle...@linux.intel.com wrote: Or install the buildtools perhaps. Yes, I had that in my head but someone failed to write it down. There's a fair chance that a host with a sufficiently old tar also needs other updates, and that's when buildtools

Re: [OE-core] [PATCH 15/22] libwnck3: add a recipe from meta-gnome

2015-08-14 Thread Andreas Müller
On Fri, Aug 14, 2015 at 12:55 PM, Alexander Kanavin alexander.kana...@linux.intel.com wrote: libwnck is a dependency of epiphany Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com --- meta/recipes-gnome/libwnck/libwnck3_3.14.0.bb | 17 + 1 file changed, 17

Re: [OE-core] Avoid race condition between do_unpack and do_deploy_archives in archiver.bbclass

2015-08-14 Thread Clemens Lang
On Thu, Aug 13, 2015 at 12:09:07PM +0100, Burton, Ross wrote: I'm not sure I follow this. Functions are executed using exec_func() will create and cd to the default directory, so if that is ${B} then exec_func will create ${B} before executing the function. I see this in the code, but my

Re: [OE-core] ICU not working on powerpc (ppce500v2)

2015-08-14 Thread Khem Raj
On Jun 3, 2015, at 2:42 AM, Stefano Babic sba...@denx.de wrote: Hi, I get an issue with icu (54.1, I am testing with Yocto-fido) on powepc (I am testing with a p2020rdb from Freescale). Running icuinfo on target I get: icuSystemParams type=icu4c param name=copyright Copyright (C)

Re: [OE-core] [meta-qt5] Issue on linking qtwebengine

2015-08-14 Thread Khem Raj
On Jun 9, 2015, at 7:53 AM, Diego Sueiro diego.sue...@gmail.com wrote: Ross, 2015-06-09 10:09 GMT-03:00 Burton, Ross ross.bur...@intel.com mailto:ross.bur...@intel.com: On 9 June 2015 at 13:58, Diego Sueiro diego.sue...@gmail.com mailto:diego.sue...@gmail.com wrote: I'm using fido

Re: [OE-core] [PATCH 15/22] libwnck3: add a recipe from meta-gnome

2015-08-14 Thread Khem Raj
On Fri, Aug 14, 2015 at 4:04 AM, Andreas Müller schnitzelt...@googlemail.com wrote: On Fri, Aug 14, 2015 at 12:55 PM, Alexander Kanavin alexander.kana...@linux.intel.com wrote: libwnck is a dependency of epiphany send a patch to remove it from meta-gnome as well. Signed-off-by: Alexander

Re: [OE-core] [PATCH 1/3] tar-replacement-native: avoid race condition with host tar

2015-08-14 Thread Paul Eggleton
On Friday 14 August 2015 16:52:08 Patrick Ohly wrote: On Fri, 2015-08-14 at 12:03 +0100, Burton, Ross wrote: On 14 August 2015 at 12:01, Paul Eggleton paul.eggle...@linux.intel.com wrote: Or install the buildtools perhaps. Yes, I had that in my head but someone failed to

[OE-core] [PATCH v2 0/2] xattr + tar

2015-08-14 Thread Patrick Ohly
This gets rid of tar-replacement-native and instead allows installing tar as opt-in binary under a path where it is not normally picked up. The mtd-utils patch is not included anymore because Ross already staged it. The following changes since commit 4e0fb630d3bb0250ece6e2071ae49b2601ae3e57:

[OE-core] [PATCH v2 1/2] tar-replacement-native: relocate via NATIVE_PACKAGE_PATH_SUFFIX

2015-08-14 Thread Patrick Ohly
Building tar-replacement-native as replacement of the host's tar in the standard path was meant to be done manually by a user in preparation for the regular bitbake run. Such a usage has been superseeded by installing the pre-compiled buildutils and might have been broken on hosts which need it by

Re: [OE-core] [PATCH 1/3] tar-replacement-native: avoid race condition with host tar

2015-08-14 Thread Patrick Ohly
On Fri, 2015-08-14 at 12:03 +0100, Burton, Ross wrote: On 14 August 2015 at 12:01, Paul Eggleton paul.eggle...@linux.intel.com wrote: Or install the buildtools perhaps. Yes, I had that in my head but someone failed to write it down. There's a fair chance that a host

[OE-core] [PATCH v2 2/2] image_types.bbclass: allow replacing tar command

2015-08-14 Thread Patrick Ohly
Usually, the host's tar command is sufficient. However, special cases like archiving xattrs depend on a modern GNU tar version. The new IMAGE_CMD_TAR makes that possible, with xattrs given as example. Signed-off-by: Patrick Ohly patrick.o...@intel.com --- meta/classes/image_types.bbclass | 14

[OE-core] Yocto Project Status WW33

2015-08-14 Thread Jolley, Stephen K
Current Dev Position: 1.9 Milestone 3 (M3) Next Deadline: M3 cut off of August 24th at noon GMT SWAT team rotation: Anibal - Tracy https://wiki.yoctoproject.org/wiki/Yocto_Build_Failure_Swat_Team Key Status/Updates: * Its near enough decided that 1.9 will henceforth become the 2.0 release,

Re: [OE-core] [PATCH v2 1/2] tar-replacement-native: relocate via NATIVE_PACKAGE_PATH_SUFFIX

2015-08-14 Thread Burton, Ross
On 14 August 2015 at 15:59, Patrick Ohly patrick.o...@intel.com wrote: EXTRAINSTALL = do_install_extra EXTRAINSTALL_class-nativesdk = +EXTRAINSTALL_class-native = As this is presumably meant to be target-only logic, you could refactor this to: do_install() { autotools_do_install

Re: [OE-core] [PATCH 1/3] tar-replacement-native: avoid race condition with host tar

2015-08-14 Thread Patrick Ohly
On Fri, 2015-08-14 at 15:56 +0100, Paul Eggleton wrote: On Friday 14 August 2015 16:52:08 Patrick Ohly wrote: On Fri, 2015-08-14 at 12:03 +0100, Burton, Ross wrote: On 14 August 2015 at 12:01, Paul Eggleton paul.eggle...@linux.intel.com wrote: Or install the buildtools

Re: [OE-core] [PATCH 1/3] tar-replacement-native: avoid race condition with host tar

2015-08-14 Thread Paul Eggleton
On Friday 14 August 2015 17:38:38 Patrick Ohly wrote: On Fri, 2015-08-14 at 15:56 +0100, Paul Eggleton wrote: On Friday 14 August 2015 16:52:08 Patrick Ohly wrote: On Fri, 2015-08-14 at 12:03 +0100, Burton, Ross wrote: On 14 August 2015 at 12:01, Paul Eggleton

Re: [OE-core] shell script guidelines in oe-core? (was Re: [PATCH v4] create-pull-request: cleanup bashisms)

2015-08-14 Thread Christopher Larson
On Wed, Aug 12, 2015 at 11:27 PM, mikko.rap...@bmw.de wrote: On Wed, Aug 12, 2015 at 10:51:26AM -0700, Christopher Larson wrote: That reminds me, there's a shell portability issue / standards-complaince issue that's not identified by shellcheck. Typically, to negate a bracket expression

Re: [OE-core] [PATCH 1/3] toolchain-shar-extract.sh: add a space in the end

2015-08-14 Thread Randy MacLeod
Nit pick on logs... In the short log: s/add a space in the end/ /Add a space after asking a question/ On 2015-08-13 03:37 AM, Robert Yang wrote: For a clear look when input. This is a sentence fragment. It will read better if you repeat yourself: Add a space at the end of a line when asking

Re: [OE-core] [PATCH 21/22] midori: remove the recipe and replace references to midori with epiphany

2015-08-14 Thread Randy MacLeod
On 2015-08-14 06:55 AM, Alexander Kanavin wrote: -# midori depends on webkit-gtk which could not build for mips64 -MIDORI = midori -MIDORI_mips64 = -MIDORI_mips64n32 = +# epiphany depends on webkitgtk which could not build for mips64 +EPIPHANY = epiphany +EPIPHANY_mips64 = +EPIPHANY_mips64n32

[OE-core] [PATCH] canned-wks: added a qemux86* directdisk recipe for wic

2015-08-14 Thread Cristian Iorga
qemu-directdisk.wks creates a raw disk image that a qemux86* machine can boot from. Signed-off-by: Cristian Iorga cristian.io...@intel.com --- scripts/lib/image/canned-wks/qemux86-directdisk.wks | 10 ++ 1 file changed, 10 insertions(+) create mode 100644

[OE-core] [PATCH v3 2/2] image_types.bbclass: allow replacing tar command

2015-08-14 Thread Patrick Ohly
Usually, the host's tar command is sufficient. However, special cases like archiving xattrs depend on a modern GNU tar version. The new IMAGE_CMD_TAR makes that possible, with xattrs given as example. Signed-off-by: Patrick Ohly patrick.o...@intel.com --- meta/classes/image_types.bbclass | 14

[OE-core] [PATCH v3 1/2] tar-replacement-native: relocate via NATIVE_PACKAGE_PATH_SUFFIX

2015-08-14 Thread Patrick Ohly
Building tar-replacement-native as replacement of the host's tar in the standard path was meant to be done manually by a user in preparation for the regular bitbake run. Such a usage has been superseeded by installing the pre-compiled buildutils and might have been broken on hosts which need it by

[OE-core] [PATCH v3 0/2] xattr + tar

2015-08-14 Thread Patrick Ohly
This time with tar's do_install logic refactored as suggested by Ross. The following changes since commit 4e0fb630d3bb0250ece6e2071ae49b2601ae3e57: tzdata: update to 2015f (2015-08-14 08:30:21 +0100) are available in the git repository at: git://github.com/pohly/openembedded-core xattr

[OE-core] [PATCH 3/5] tremor: update to 20150107 (svn r19427)

2015-08-14 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com --- .../tremor/{tremor-20120314 = tremor}/obsolete_automake_macros.patch | 0 .../tremor/{tremor-20120314 = tremor}/tremor-arm-thumb2.patch | 0 .../tremor/{tremor_20120314.bb = tremor_20150107.bb} | 2

[OE-core] [PATCH 5/5] rpm: update to 5.4.15

2015-08-14 Thread Alexander Kanavin
This update also requires that db is updated to 6.1 version. Patch updates: - verify-fix-broken-logic-for-ghost-avoidance-Mark-Hat.patch has been merged to upstream - rpm-macros.in-disable-external-key-server.patch, rpm-lua-fix-print.patch and rpm-db5-or-db6.patch have been ported to the new

[OE-core] [PATCH 4/5] db: update to 6.1.26

2015-08-14 Thread Alexander Kanavin
To avoid breaking rpm, this patch needs to be applied together with the patch that updates rpm to 5.4.15. The include directory manipulation during install was updated to match oe-core customizations to rpm's configure.ac. Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com ---

[OE-core] [PATCH 2/5] puzzles: switch svn for git, as upstream has done the same

2015-08-14 Thread Alexander Kanavin
Also, drop puzzles_x32_abi_time.patch as it has been merged upstream Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com --- .../puzzles/files/puzzles_x32_abi_time.patch | 30 -- .../puzzles/{puzzles_r10286.bb = puzzles_git.bb} | 9 --- 2 files

[OE-core] [PATCH 1/5] package_regex.inc: fix regexes for adwaita-icon-theme, cairo and dhcp

2015-08-14 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com --- meta/conf/distro/include/package_regex.inc | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta/conf/distro/include/package_regex.inc b/meta/conf/distro/include/package_regex.inc index 037fdaa..0c29ade

Re: [OE-core] [PATCH 1/3] tar-replacement-native: avoid race condition with host tar

2015-08-14 Thread Burton, Ross
On 11 August 2015 at 09:44, Patrick Ohly patrick.o...@intel.com wrote: Installing tar into the sysroot leads to race conditions (tasks which do not depend on tar-replacement-native may already call tar while it's installation is incomplete). Avoid those by installing only the tar binary under

Re: [OE-core] [PATCH 3/3] mtd-utils: keep xattr support enabled

2015-08-14 Thread Burton, Ross
On 12 August 2015 at 10:33, Patrick Ohly patrick.o...@intel.com wrote: There's a xattr DISTRO_FEATURE that should be respected here for target builds (and explicitly enabled for native I guess). I can add that check, if you want. Does enabling xattr mean adding build dependencies? No,

[OE-core] [PATCH 05/22] libnotify: update to version 0.7.6

2015-08-14 Thread Alexander Kanavin
New webkit requires at least version 0.7 Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com --- meta/recipes-gnome/libnotify/libnotify_0.6.0.bb | 21 - meta/recipes-gnome/libnotify/libnotify_0.7.6.bb | 12 2 files changed, 12 insertions(+), 21

[OE-core] [PATCH 06/22] giflib: add a recipe from meta-oe

2015-08-14 Thread Alexander Kanavin
This is a dependency of libwebp (which is a dependency of webkit) Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com --- meta/recipes-devtools/giflib/giflib_5.1.1.bb | 20 1 file changed, 20 insertions(+) create mode 100644

[OE-core] [PATCH 00/22] Update webkitgtk to latest stable upstream; replace midori with epiphany

2015-08-14 Thread Alexander Kanavin
This version of the patchset is rebased against latest poky master (so a patch that updates distro include files is now included into the patchset), and updates webkitgtk to latest upstream release 2.8.5. The following changes since commit 07cbc407d84f2f8f5fee430902039aa7cef65db4:

[OE-core] [PATCH 02/22] harfbuzz: enable icu feature

2015-08-14 Thread Alexander Kanavin
This is required to build latest webkitgtk Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com --- meta/recipes-graphics/harfbuzz/harfbuzz_1.0.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/harfbuzz/harfbuzz_1.0.1.bb

[OE-core] [PATCH 04/22] jpeg: update to version 9a

2015-08-14 Thread Alexander Kanavin
Previous webkit version was blocking this; latest webkit works fine. Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com --- .../jpeg/jpeg-8d/debian-libjpeg7_7-1.diff | 1070 .../jpeg/jpeg-8d/fix_for_automake_1.12.1.patch | 44 -

[OE-core] [PATCH 10/22] libwebp: add a recipe from meta-oe

2015-08-14 Thread Alexander Kanavin
libwebp is a dependency of webkit Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com --- meta/recipes-multimedia/webp/libwebp_0.4.3.bb | 47 +++ 1 file changed, 47 insertions(+) create mode 100644 meta/recipes-multimedia/webp/libwebp_0.4.3.bb diff --git

[OE-core] [PATCH 20/22] webkit-gtk: remove the recipe for the obsolete version 1.8.3

2015-08-14 Thread Alexander Kanavin
webkitgtk 2.8.3 is provided instead and midori browser is replaced by epiphany in separate commits. Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com --- meta/conf/distro/include/security_flags.inc| 2 - meta/recipes-sato/webkit/files/bison-2.6.patch | 558

[OE-core] [PATCH 12/22] p11-kit: add a recipe from meta-oe

2015-08-14 Thread Alexander Kanavin
p11-kit is a dependency of gcr (which is a dependency of epiphany) Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com --- meta/recipes-support/p11-kit/p11-kit_0.22.1.bb | 18 ++ 1 file changed, 18 insertions(+) create mode 100644

[OE-core] [PATCH 08/22] ruby: add a recipe from meta-ruby

2015-08-14 Thread Alexander Kanavin
Ruby is required to build webkit. Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com --- meta/recipes-devtools/ruby/ruby.inc | 40 +++ meta/recipes-devtools/ruby/ruby/extmk.patch | 13 + meta/recipes-devtools/ruby/ruby_2.2.2.bb| 42

[OE-core] [PATCH 09/22] libsecret: add a recipe from meta-gnome

2015-08-14 Thread Alexander Kanavin
libsecret is a dependency of webkit Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com --- meta/recipes-gnome/libsecret/libsecret_0.18.2.bb | 12 1 file changed, 12 insertions(+) create mode 100644 meta/recipes-gnome/libsecret/libsecret_0.18.2.bb diff --git

[OE-core] [PATCH 14/22] iso-codes: add a recipe from meta-oe

2015-08-14 Thread Alexander Kanavin
iso-codes is a dependency of epiphany Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com --- meta/recipes-support/iso-codes/iso-codes_3.58.bb | 15 +++ 1 file changed, 15 insertions(+) create mode 100644 meta/recipes-support/iso-codes/iso-codes_3.58.bb diff --git

[OE-core] [PATCH 18/22] gsettings-desktop-schemas: add a recipe from meta-gnome

2015-08-14 Thread Alexander Kanavin
gsettings-desktop-schemas is a dependency of epiphany Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com --- .../gsettings-desktop-schemas_3.16.1.bb | 13 + 1 file changed, 13 insertions(+) create mode 100644

[OE-core] [PATCH 15/22] libwnck3: add a recipe from meta-gnome

2015-08-14 Thread Alexander Kanavin
libwnck is a dependency of epiphany Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com --- meta/recipes-gnome/libwnck/libwnck3_3.14.0.bb | 17 + 1 file changed, 17 insertions(+) create mode 100644 meta/recipes-gnome/libwnck/libwnck3_3.14.0.bb diff --git

[OE-core] [PATCH 17/22] glib: add a warning suppression patch to glib

2015-08-14 Thread Alexander Kanavin
Otherwise QA check will fail. Some schemas in gsettings-desktop-schemas (such as proxy and locale) are still using deprecated paths, as of 3.16.1. This causes warning messages, and meta/lib/oe/rootfs.py complaints about them. Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com ---

[OE-core] [PATCH 01/22] classes/gnomebase: change tarball compression to xz

2015-08-14 Thread Alexander Kanavin
Upstream, xz has been the only format for some time now, so let's make it the default and adjust recipes that package old stuff. Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com --- meta/classes/gnomebase.bbclass | 2 +-

[OE-core] [PATCH 03/22] classes/cmake: add arch conversion routine

2015-08-14 Thread Alexander Kanavin
cmake expects target architecture strings in the format of uname(2), which do not always match TARGET_ARCH (e.g. powerpc vs ppc). Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com --- meta/classes/cmake.bbclass | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-)

[OE-core] [PATCH 16/22] gnome-desktop3: add a recipe from meta-gnome

2015-08-14 Thread Alexander Kanavin
gnome-desktop3 is a dependency of epiphany Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com --- .../gnome-desktop/gnome-desktop3_3.16.2.bb | 25 ++ 1 file changed, 25 insertions(+) create mode 100644

[OE-core] [PATCH 11/22] webkitgtk: add a new recipe for latest upstream version

2015-08-14 Thread Alexander Kanavin
Recipe for the obsolete webkit-gtk 1.8.3 is removed in a separate commit Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com --- meta/recipes-sato/webkit/webkitgtk_2.8.5.bb | 56 + 1 file changed, 56 insertions(+) create mode 100644

[OE-core] [PATCH 07/22] libyaml: add a recipe from meta-oe

2015-08-14 Thread Alexander Kanavin
libyaml is a dependency of ruby Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com --- meta/recipes-support/libyaml/libyaml_0.1.6.bb | 20 1 file changed, 20 insertions(+) create mode 100644 meta/recipes-support/libyaml/libyaml_0.1.6.bb diff --git

[OE-core] [PATCH 19/22] epiphany: add a recipe from meta-gnome

2015-08-14 Thread Alexander Kanavin
Epiphany is replacing midori as the browser in oe-core recipe set and poky distribution. Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com --- meta/recipes-gnome/epiphany/epiphany_3.16.3.bb | 24 .../0001-yelp.m4-drop-the-check-for-itstool.patch | 33

[OE-core] [PATCH 22/22] distro: update include files related to webkitgtk and epiphany addition

2015-08-14 Thread Alexander Kanavin
This commit fixes recipe metadata in distro_alias, package_regex and upstream_tracking includes. Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com --- meta/conf/distro/include/distro_alias.inc | 2 +- meta/conf/distro/include/package_regex.inc | 8 +---

[OE-core] [PATCH 21/22] midori: remove the recipe and replace references to midori with epiphany

2015-08-14 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com --- .../packagegroups/packagegroup-self-hosted.bb | 10 +++ .../builder/files/builder_hob_start.sh | 8 +++--- meta/recipes-sato/midori/midori/liststore.patch| 29

[OE-core] [PATCH 13/22] gcr: add a recipe from meta-gnome

2015-08-14 Thread Alexander Kanavin
gcr is a dependency of epiphany Signed-off-by: Alexander Kanavin alexander.kana...@linux.intel.com --- meta/recipes-gnome/gcr/gcr_3.16.0.bb | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 meta/recipes-gnome/gcr/gcr_3.16.0.bb diff --git

Re: [OE-core] Avoid race condition between do_unpack and do_deploy_archives in archiver.bbclass

2015-08-14 Thread Burton, Ross
On 14 August 2015 at 07:27, Clemens Lang clemens.l...@bmw-carit.de wrote: I see this in the code, but my error messages speak a very different language. Maybe it's a race condition with do_unpack, which actually deletes and re-creates these directories again? In any case, there is a race