[OE-core] [PATCH v2] externalsrc: Handle .git not being a directory

2017-08-07 Thread Joshua Watt
Use git rev-parse to determine the location of the .git directory, in case it is not an immediate child of EXTERNALSRC (e.g. when using submodules). In the event git can't resolve the .git directory, fall back to the non-git method for hashing. Signed-off-by: Joshua Watt

[OE-core] [PATCH v3] externalsrc: Handle .git not being a directory

2017-08-07 Thread Joshua Watt
Use git rev-parse to determine the location of the .git directory, in case it is not an immediate child of EXTERNALSRC (e.g. when using submodules). In the event git can't resolve the .git directory, fall back to the non-git method for hashing. Signed-off-by: Joshua Watt

[OE-core] [PATCH 2/2] terminal: wait for terminal task to finish before procedding

2017-08-07 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval This commit generalizes the work done in [1] and [2], both fixing issues on several areas (the former with -c patch and gnome-terminal and the latter with -c menuconfig and several terminals, including gnome-terminal and tmux).

[OE-core] [PATCH 1/2] Revert "cml1.bbclass: wait until menuconfig terminal finishes"

2017-08-07 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval This reverts commit d2ebee7c3a0c8ab9a09ebad12a2fda51f8d10954. --- meta/classes/cml1.bbclass | 22 +- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/meta/classes/cml1.bbclass

[OE-core] [PATCH v2] sstatetests: limit the number of signature comparisons when differ

2017-08-07 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval For perfomance reasons, limit the number of signature comparisons when stamps differ. The limit set is hardcoded to 20. [YOCTO #11651] Signed-off-by: Leonardo Sandoval ---

[OE-core] ✗ patchtest: failure for sstatetests: limit the number of signature comparisons when differ

2017-08-07 Thread Patchwork
== Series Details == Series: sstatetests: limit the number of signature comparisons when differ Revision: 1 URL : https://patchwork.openembedded.org/series/8109/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response.

[OE-core] [PATCH v3 1/2] sstatetests: Use python function instead of bitbake-diffsigs script

2017-08-07 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval Using a python function instead of launching a subprocess fasten the diffsigs computation. [YOCTO #11651] Signed-off-by: Leonardo Sandoval ---

[OE-core] [PATCH v3 2/2] sstatetests: limit the number of signature comparisons when differ

2017-08-07 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval For perfomance reasons, limit the number of signature comparisons when stamps differ. The limit set is hardcoded to 20. [YOCTO #11651] Signed-off-by: Leonardo Sandoval ---

Re: [OE-core] ✗ patchtest: failure for sstatetests: limit the number of signature comparisons when differ

2017-08-07 Thread Leonardo Sandoval
This patch depends of another one (1/1) I sent in the first series and it also has a logic error. I will send a v3. Leo On Mon, 2017-08-07 at 21:01 +, Patchwork wrote: > == Series Details == > > Series: sstatetests: limit the number of signature comparisons when differ > Revision: 1 > URL

Re: [OE-core] [PATCH] context: Include a command line argument to run all except certain tests

2017-08-07 Thread Aníbal Limón
Hi, The code looks ok but i prefer to implement this kind of feature inside loader instead of at context module, this is because the oeqa loader has all the logic to get tests and filter it if is necessary. Cheers, Anibal On 08/02/2017 12:22 PM, Leoanardo Sandoval wrote: > Useful command line

Re: [OE-core] [PATCH] context: Include a command line argument to run all except certain tests

2017-08-07 Thread Leonardo Sandoval
On Mon, 2017-08-07 at 15:29 -0500, Aníbal Limón wrote: > Hi, > > The code looks ok but i prefer to implement this kind of feature inside > loader instead of at context module, this is because the oeqa loader has > all the logic to get tests and filter it if is necessary. I included it at

[OE-core] [PATCH 6/7] oprofile: update to 1.2.0

2017-08-07 Thread Alexander Kanavin
Drop upstreamed 0001-Fix-FTBFS-problem-with-GCC-6.patch Signed-off-by: Alexander Kanavin --- meta/recipes-kernel/oprofile/oprofile.inc | 1 - .../0001-Fix-FTBFS-problem-with-GCC-6.patch| 51 --

[OE-core] [PATCH 2/7] libdnf: update to 0.9.3

2017-08-07 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/libdnf/{libdnf_0.9.1.bb => libdnf_0.9.3.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/libdnf/{libdnf_0.9.1.bb => libdnf_0.9.3.bb} (95%) diff --git

[OE-core] [PATCH 7/7] gptfdisk: update to 1.0.3

2017-08-07 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/fdisk/{gptfdisk_1.0.1.bb => gptfdisk_1.0.3.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/fdisk/{gptfdisk_1.0.1.bb => gptfdisk_1.0.3.bb} (86%) diff --git

[OE-core] [PATCH 5/7] babeltrace: update to 1.5.3

2017-08-07 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../recipes-kernel/lttng/{babeltrace_1.5.2.bb => babeltrace_1.5.3.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-kernel/lttng/{babeltrace_1.5.2.bb => babeltrace_1.5.3.bb} (82%) diff

[OE-core] [PATCH 4/7] ffmpeg: update to 3.3.3

2017-08-07 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-multimedia/ffmpeg/{ffmpeg_3.3.2.bb => ffmpeg_3.3.3.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-multimedia/ffmpeg/{ffmpeg_3.3.2.bb => ffmpeg_3.3.3.bb} (97%) diff --git

[OE-core] [PATCH 3/7] btrfs-tools: update to 4.12

2017-08-07 Thread Alexander Kanavin
Add a patch to force a native build for a helper binary (which is not installed or used outside of the build process). Signed-off-by: Alexander Kanavin --- ...-Makefile-build-mktables-using-native-gcc.patch | 30 ++

[OE-core] [PATCH 1/7] dnf: update to 2.6.3

2017-08-07 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- ...ever-check-after-the-etc-dnf-vars-substit.patch | 37 -- .../dnf/0030-Run-python-scripts-using-env.patch| 13 +--- .../dnf/{dnf_2.5.1.bb => dnf_2.6.3.bb} | 3 +- 3 files changed, 2

[OE-core] Meson support in oe-core

2017-08-07 Thread Alexander Kanavin
On 08/07/2017 03:09 PM, Jussi Kukkonen wrote: New feature release, see https://lists.freedesktop.org/archives/wayland-devel/2017-June/034286.html for the major features. This is the last major release to support autotools. Looks like 2017 is when autotools is finally being replaced en masse by

[OE-core] [PATCH] libinput: Upgrade 1.7.3 -> 1.8.1

2017-08-07 Thread Jussi Kukkonen
New feature release, see https://lists.freedesktop.org/archives/wayland-devel/2017-June/034286.html for the major features. This is the last major release to support autotools. Configure flag "--enable-event-gui" changed name. Configure flags no longer default to "auto": explicitly disable the

[OE-core] Yocto Project Status WW32’17

2017-08-07 Thread Jolley, Stephen K
Current Dev Position: YP 2.4 M3 is in QA, patches are being merged for M3 Next Deadline: YP 2.4 M3 Cut off is Aug. 21, 2017 SWAT team rotation: Ross -> Leo on Aug. 4, 2017. SWAT team rotation: Leo -> Juro on Aug. 11, 2017. https://wiki.yoctoproject.org/wiki/Yocto_Build_Failure_Swat_Team Key

Re: [OE-core] [PATCH 3/7] btrfs-tools: update to 4.12

2017-08-07 Thread Burton, Ross
On 7 August 2017 at 12:45, Alexander Kanavin < alexander.kana...@linux.intel.com> wrote: > +- $(Q)$(CC) $(CFLAGS) $< -o $@ > ++ $(Q)$(BUILD_CC) $(CFLAGS) $< -o $@ > This won't work when CFLAGS contains arguments that the host compiler doesn't recognise, or are inappropriate. Ross --

Re: [OE-core] Meson support in oe-core

2017-08-07 Thread Richard Purdie
On Mon, 2017-08-07 at 15:19 +0300, Alexander Kanavin wrote: > On 08/07/2017 03:09 PM, Jussi Kukkonen wrote: > Looks like 2017 is when autotools is finally being replaced en masse > by  > various projects, particularly those related to gnome stack. Even  > relatively large projects like gstreamer

Re: [OE-core] [PATCH 3/7] btrfs-tools: update to 4.12

2017-08-07 Thread Burton, Ross
Can you send a v2 instead? Presumably they don't already use CC_FOR_BUILD and so on? Ross On 7 August 2017 at 13:59, Alexander Kanavin < alexander.kana...@linux.intel.com> wrote: > On 08/07/2017 03:59 PM, Burton, Ross wrote: > > +- $(Q)$(CC) $(CFLAGS) $< -o $@ >> ++

[OE-core] [PATCHv2] btrfs-tools: update to 4.12

2017-08-07 Thread Alexander Kanavin
Add a patch to force a native build for a helper binary (which is not installed or used outside of the build process). Signed-off-by: Alexander Kanavin --- ...-Makefile-build-mktables-using-native-gcc.patch | 30 ++

Re: [OE-core] Meson support in oe-core

2017-08-07 Thread Alexander Kanavin
On 08/07/2017 04:00 PM, Richard Purdie wrote: Thanks for looking at this. Whilst some project still have some support for both, could we get timings of do_{configure|compile|install} for autotools vs. meson? So far there's just one recipe that I can test, json-glib, which is fairly small,

Re: [OE-core] [PATCH 3/7] btrfs-tools: update to 4.12

2017-08-07 Thread Alexander Kanavin
On 08/07/2017 03:59 PM, Burton, Ross wrote: +- $(Q)$(CC) $(CFLAGS) $< -o $@ ++ $(Q)$(BUILD_CC) $(CFLAGS) $< -o $@ This won't work when CFLAGS contains arguments that the host compiler doesn't recognise, or are inappropriate. Right, should've been BUILD_CFLAGS? Can you

[OE-core] ✗ patchtest: failure for package_manager: Fix support for NO_RECOMMENDATONS (rev3)

2017-08-07 Thread Patchwork
== Series Details == Series: package_manager: Fix support for NO_RECOMMENDATONS (rev3) Revision: 3 URL : https://patchwork.openembedded.org/series/8021/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests

[OE-core] [pyro][PATCH] package_manager: Fix support for NO_RECOMMENDATONS

2017-08-07 Thread Richard Röjfors
When support for dnf was introduced the check of the no NO_RECOMMENDATIONS variable got broken. This fixes the issue by compairing to the string "1" rather than the number 1. Signed-off-by: Richard Röjfors ---  meta/lib/oe/package_manager.py | 2 +-  1 file changed, 1

[OE-core] [PATCH 2/2] devtool: fix handling of errors during task execution

2017-08-07 Thread Paul Eggleton
* If an error is logged while executing a task, we need to ensure we exit instead of assuming everything went OK. * If we receive CookerExit, the server is shutting down and we need to stop waiting for events and probably exit (knotty does this). This will occur if an exception or bb.fatal()

[OE-core] [PATCH 1/2] bitbake.conf: whitelist BB_SERVER_TIMEOUT from config hash

2017-08-07 Thread Paul Eggleton
We don't need to reparse recipes just because BB_SERVER_TIMEOUT changed, so exclude it from the config hash. Signed-off-by: Paul Eggleton --- meta/conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/bitbake.conf

[OE-core] [PATCH 0/2] A couple of fixes related to the server rework

2017-08-07 Thread Paul Eggleton
A couple of fixes for issues I've noticed when working with the newly reworked server code in bitbake. Note: patch 2/2 also requires the revert I just sent to bitbake-devel in order to fully resolve the issue. The following changes since commit a5bb13a5d7d7a668ca61da6b17884e3b05b95355:

Re: [OE-core] [PATCH 2/2] sstatetests: limit the number of signature comparisons when differ

2017-08-07 Thread Burton, Ross
On 4 August 2017 at 19:57, wrote: > +i_sigfile, max_sigfiles_to_compare = 0, 20 > for k in files1.keys() | files2.keys(): > if k in files1 and k in files2: > +i_sigfile += 1 > print("%s

Re: [OE-core] [PATCH 2/6] diffutils: upgrade to 3.6

2017-08-07 Thread Christopher Larson
On Mon, Jul 24, 2017 at 2:51 AM, Chen Qi wrote: > diffutils-3.5-gcc7.patch is removed as it's merged in this version. > > do_configure_prepend is removed to solve the following configure error. > > error: possibly undefined macro: gl_TYPE_WINT_T_PREREQ > > A workaround

[OE-core] Yocto Project Status WW32’17

2017-08-07 Thread Jolley, Stephen K
Current Dev Position: YP 2.4 M2 rc3 is in QA, patches are being merged for M3 Next Deadline: YP 2.4 M3 Cut off is Aug. 21, 2017 SWAT team rotation: Ross -> Leo on Aug. 4, 2017. SWAT team rotation: Leo -> Juro on Aug. 11, 2017. https://wiki.yoctoproject.org/wiki/Yocto_Build_Failure_Swat_Team

Re: [OE-core] [PATCH 2/2] sstatetests: limit the number of signature comparisons when differ

2017-08-07 Thread Burton, Ross
On 7 August 2017 at 18:06, Leonardo Sandoval < leonardo.sandoval.gonza...@linux.intel.com> wrote: > yes, but we this way, we are not listing those > 20 and I believe this > is important. This fix just diffsigs the first 20, and the rest are just > listed for convenience. > Good point. You could

Re: [OE-core] [PATCH 2/2] sstatetests: limit the number of signature comparisons when differ

2017-08-07 Thread Leonardo Sandoval
On Mon, 2017-08-07 at 17:32 +0100, Burton, Ross wrote: > On 4 August 2017 at 19:57, > wrote: > +i_sigfile, max_sigfiles_to_compare = 0, 20 > for k in files1.keys() | files2.keys(): > if k in files1

Re: [OE-core] [PATCH 2/2] sstatetests: limit the number of signature comparisons when differ

2017-08-07 Thread Leonardo Sandoval
On Mon, 2017-08-07 at 18:05 +0100, Burton, Ross wrote: > On 7 August 2017 at 18:06, Leonardo Sandoval > wrote: > yes, but we this way, we are not listing those > 20 and I > believe this > is important. This fix just diffsigs the