Re: [OE-core] [pseudo][PATCH] Fix to fcntl guts to ignore flags that can be ORed into cmd

2017-09-15 Thread Will Page
Thanks, Ross. I had contacted the maintainer off list to ask where I should submit my patch. I may have misunderstood his reply. I'll go ahead and resend this patch to the yocto list. Will Page Senior Software Engineer National instrume

Re: [OE-core] [PATCH] pseudo: use epoll API on Linux

2017-09-15 Thread Trevor Woerner
So, my understand is that pseudo is looking for a new maintainer. Maybe that person has been found? ;-) -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core

[OE-core] [PATCH 1/2] sysvinit-inittab: start_getty: consider whitespaces in tty driver name

2017-09-15 Thread Andrea Adami
Unbreak serial console when driver name contains spaces (PXA serial). Fix commit ac0e954 "start_getty: Over added SERIAL_CONSOLE cause error in userspace log" Signed-off-by: Andrea Adami --- meta/recipes-core/sysvinit/sysvinit-inittab/start_getty | 16 1 file changed, 12 insert

[OE-core] [PATCH 0/2] sysvinit-inittab: start_getty fixes

2017-09-15 Thread Andrea Adami
The tty driver name can contain spaces: the script fails the match and ttyS0 is "respawning too fast: disabled for 5 minutes." This happened with 'PXA serial'. First patch extends commit ac0e9541fe93e866e42914f65a0516b993f0cffe "start_getty: Over added SERIAL_CONSOLE cause error in userspace log"

[OE-core] [PATCH 2/2] sysvinit-inittab: start_getty: Cleanup comments

2017-09-15 Thread Andrea Adami
Signed-off-by: Andrea Adami --- .../sysvinit/sysvinit-inittab/start_getty | 26 +++--- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/meta/recipes-core/sysvinit/sysvinit-inittab/start_getty b/meta/recipes-core/sysvinit/sysvinit-inittab/start_getty index

Re: [OE-core] [pseudo][PATCH] Fix to fcntl guts to ignore flags that can be ORed into cmd

2017-09-15 Thread Seebs
On Fri, 15 Sep 2017 15:27:00 -0700 Will Page wrote: > The fcntl guts switch on "cmd" parameter to identify the fcntl > command being issued, but isn't aware of the file creation flags that > can be ORed in. This is true. I was, in fact, not aware of those flags. Looks reasonable. -s -- ___

Re: [OE-core] State of bitbake world, Failed tasks 2017-09-14

2017-09-15 Thread Khem Raj
On Fri, Sep 15, 2017 at 3:08 PM, Martin Jansa wrote: > http://www.openembedded.org/wiki/Bitbake_World_Status > > == Number of issues - stats == > {| class='wikitable' > !|Date !!colspan='3'|Failed tasks !!|Signatures !!colspan='14'|QA > !!Comment > |- > || ||qemuarm ||qemux86 ||qemux86_

Re: [OE-core] [PATCH] useradd: don't override pseudo environment

2017-09-15 Thread Richard Purdie
On Fri, 2017-09-15 at 12:58 -0500, Seebs wrote: > On Fri, 15 Sep 2017 12:58:48 +0100 > Ross Burton wrote: > > > > > Remove the PSEUDO_LOCALSTATEDIR assignment and inherit the correct > > assignment in FAKEROOTENV. > Nice catch! This probably explains a LOT of the strange behaviors > we've been s

Re: [OE-core] [pseudo][PATCH] Fix to fcntl guts to ignore flags that can be ORed into cmd

2017-09-15 Thread Burton, Ross
Hi Will, This should go to the yo...@yoctoproject.org list really. I've CC'd the maintainer to be sure he spots it. Ross On 15 September 2017 at 23:27, Will Page wrote: > The fcntl guts switch on "cmd" parameter to identify the fcntl > command being issued, but isn't aware of the file creatio

[OE-core] ✗ patchtest: failure for Fix to fcntl guts to ignore flags that can be ORed into cmd

2017-09-15 Thread Patchwork
== Series Details == Series: Fix to fcntl guts to ignore flags that can be ORed into cmd Revision: 1 URL : https://patchwork.openembedded.org/series/8950/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several test

[OE-core] [pseudo][PATCH] Fix to fcntl guts to ignore flags that can be ORed into cmd

2017-09-15 Thread Will Page
The fcntl guts switch on "cmd" parameter to identify the fcntl command being issued, but isn't aware of the file creation flags that can be ORed in. This change masks out the flags from the command only for the switch statement so that it can correctly determine whether it needs to pass "lock" or

[OE-core] State of bitbake world, Failed tasks 2017-09-14

2017-09-15 Thread Martin Jansa
http://www.openembedded.org/wiki/Bitbake_World_Status == Number of issues - stats == {| class='wikitable' !|Date !!colspan='3'|Failed tasks !!|Signatures !!colspan='14'|QA !!Comment |- || ||qemuarm ||qemux86 ||qemux86_64 ||all ||already-stripped ||libdir ||textrel ||build-deps ||file-rdep

[OE-core] [PATCH] devtools: qemu: Remove obsolete '--with-system-pixman' option

2017-09-15 Thread Alistair Francis
QEMU version 2.11 will remove the pixman submodule. This means users are always required to supply pixman from the system if building softmmu support in QEMU. Without specifying a pixman configure option QEMU will default to using the system pixman if it is avaliable. In which case let's remove th

Re: [OE-core] [PATCH] image: Fix "metadata is not deterministic" when chaining 2+ CONVERSION_CMDs

2017-09-15 Thread Martin Hundebøll
Hi Tom, On 2017-09-15 14:16, Tom Rini wrote: This commit has resulted in more or less persistent basehash issues for my cpio.gz.u-boot image: ERROR: When reparsing /home/mnhu/projects/pil/yocto/meta-pil/recipes-filesystems/rescue-rootfs.bb.do_image_cpio, the basehash value changed from ac9907b

[OE-core] [PATCH] core-image-tiny-initramfs: initramfs recipes should not generate an actual image file

2017-09-15 Thread Alejandro Hernandez
core-image-tiny-initramfs was used to generate a wic image, which was conceptually wrong since initrafms recipes should only generate the boot artifacts that can later be used by another recipe to generate an image using the tool of their choice. Signed-off-by: Alejandro Hernandez --- meta/rec

Re: [OE-core] [PATCH] useradd: don't override pseudo environment

2017-09-15 Thread Seebs
On Fri, 15 Sep 2017 12:58:48 +0100 Ross Burton wrote: > Remove the PSEUDO_LOCALSTATEDIR assignment and inherit the correct > assignment in FAKEROOTENV. Nice catch! This probably explains a LOT of the strange behaviors we've been seeing. -s -- ___ Ope

[OE-core] [PATCH] useradd.bbclass: Unify writing of script file in useradd_sysroot_sstate()

2017-09-15 Thread Peter Kjellerstedt
There were two identical code blocks for writing the postinst-useradd-${PN} scripts. This combines them into one. Signed-off-by: Peter Kjellerstedt --- meta/classes/useradd.bbclass | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/meta/classes/useradd.bbclass b/meta/cl

Re: [OE-core] [PATCH] pseudo: use epoll API on Linux

2017-09-15 Thread Alexander Kanavin
On 09/15/2017 05:20 PM, Alexander Kanavin wrote: ++#include Forgot to wrap this one into #ifdef PSEUDO_PORT_LINUX as well. Alex -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/l

[OE-core] [PATCH] binutils: apply mingw fix only for binutils-cross-canadian

2017-09-15 Thread Samuli Piippo
Whenever SDKMACHINE is set to mingw32, sdkmingw32 override is defined everywhere. This meant that value of LDGOLD was different also for binutils and binutils-cross depending whether SDKMACHINE was set or not. Signed-off-by: Samuli Piippo --- meta/recipes-devtools/binutils/binutils-cross-canadia

[OE-core] [PATCH] pseudo: use epoll API on Linux

2017-09-15 Thread Alexander Kanavin
The idea came up here: https://bugzilla.yoctoproject.org/show_bug.cgi?id=11309 and here: http://lists.openembedded.org/pipermail/openembedded-core/2017-August/141491.html Signed-off-by: Alexander Kanavin --- .../pseudo/files/0001-Use-epoll-API-on-Linux.patch | 253 + meta/rec

Re: [OE-core] [PATCHv2 1/1] base-files: profile: Avoid using "command" to determine if programs exist

2017-09-15 Thread Peter Kjellerstedt
*ping* //Peter > -Original Message- > From: Peter Kjellerstedt > Sent: den 19 juni 2017 16:53 > To: Peter Kjellerstedt ; openembedded- > c...@lists.openembedded.org > Subject: RE: [OE-core] [PATCHv2 1/1] base-files: profile: Avoid using > "command" to determine if programs exist > > *pin

[OE-core] [PATCH 3/4] scripts/buildstats-diff: move more code to lib/buildstats.py

2017-09-15 Thread Markus Lehtonen
More refactoring of buildstats-diff script. Move recipe version comparison functionality to scripts/lib/buildstats.py. This patch also compasses some wording changes, i.e. changing 'package' to 'recipe'. [YOCTO #11382] Signed-off-by: Markus Lehtonen --- scripts/buildstats-diff | 86 ++

[OE-core] [PATCH 4/4] scripts/oe-build-perf-report: show recipe version changes in html report

2017-09-15 Thread Markus Lehtonen
If buildstats are available (for a certain measurement), show recipe version changes between the two builds that are being compared. The information shown includes new and dropped recipes as well as changes in recipe version, revision or epoch. [YOCTO #11382] Signed-off-by: Markus Lehtonen ---

[OE-core] [PATCH 2/4] scripts/oe-build-perf-report: summary of task resource usage

2017-09-15 Thread Markus Lehtonen
Utilize buildstats, if available, and show a summary of the resource usage of bitbake tasks in the html report. The details provided are: - total number of tasks - top 5 resource-hungry tasks (cputime) - top 5 increase in resource usage (cputime) - top 5 decrease in resource usage (cputime) [YOCTO

[OE-core] [PATCH 1/4] scripts/buildstats-diff: move code to lib/buildstats.py

2017-09-15 Thread Markus Lehtonen
Move over code from buildstats-diff to new scripts/lib/buildstats.py module in order to share code related to buildstats processing. Also, refactor the code, introducing new classes to make the code readable, maintainable and easier to debug. [YOCTO #11381] Signed-off-by: Markus Lehtonen --- s

[OE-core] [PATCH 0/4] oe-build-perf-report: task and recipe details in html report

2017-09-15 Thread Markus Lehtonen
This patchset improves the html report generated by scripts/oe-build-perf-report in two ways. First, it will show a short summary of the bitbake tasks of a build. The second part of the patchset will show recipe version changes between two builds. [YOCTO #11381] [YOCTO #11382] The following chan

[OE-core] [PATCH 2/7] scripts/oe-build-perf-report: add AggregateTestData class

2017-09-15 Thread Markus Lehtonen
Making the code a bit more readable. Signed-off-by: Markus Lehtonen --- scripts/lib/build_perf/report.py | 5 - scripts/oe-build-perf-report | 16 +--- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/scripts/lib/build_perf/report.py b/scripts/lib/build_perf/r

[OE-core] [PATCH 0/7] Fixes to oe-build-perf-report

2017-09-15 Thread Markus Lehtonen
A collection of miscellanious small fixes to scripts/oe-build-perf-report. No changes in the output of the script, except for a more valid html syntax. The following changes since commit d72d116e0228cc0e4391d0558b2d32c3fd5e399c: README.qemu: Add from meta-yocto as it belongs in core (2017-09-1

[OE-core] [PATCH 6/7] scripts/oe-build-perf-report: provide valid title in the html report

2017-09-15 Thread Markus Lehtonen
Signed-off-by: Markus Lehtonen --- scripts/oe-build-perf-report | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report index 4e067caba0..8d730cd20a 100755 --- a/scripts/oe-build-perf-report +++ b/scripts/oe-build-perf-rep

[OE-core] [PATCH 7/7] scripts/oe-build-perf-report: tidy up html syntax

2017-09-15 Thread Markus Lehtonen
Fix some problems in the html syntax of the generated report: - prevent empty rows in the summary table - add one missing column in the results table Signed-off-by: Markus Lehtonen --- scripts/lib/build_perf/html/report.html | 36 ++--- 1 file changed, 20 insertions(+

[OE-core] [PATCH 3/7] scripts/oe-build-perf-report: fix handling of --history-length

2017-09-15 Thread Markus Lehtonen
Don't crash if 'left' revision is older than the range of commits specified with '--history-length'. In this case the 'left' revision takes precedence. Signed-off-by: Markus Lehtonen --- scripts/oe-build-perf-report | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/oe-b

[OE-core] [PATCH 5/7] scripts/oe-build-perf-report: remove dead code

2017-09-15 Thread Markus Lehtonen
Some leftover from an early prototype. Signed-off-by: Markus Lehtonen --- scripts/oe-build-perf-report | 4 1 file changed, 4 deletions(-) diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report index 89d9d6f6b5..4e067caba0 100755 --- a/scripts/oe-build-perf-report +++ b/s

[OE-core] [PATCH 4/7] scripts/oe-build-perf-report: use --hostname in --list

2017-09-15 Thread Markus Lehtonen
Makes it possible to list test results for certain host only, instead of always listing all results from all hosts. Signed-off-by: Markus Lehtonen --- scripts/oe-build-perf-report | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/oe-build-perf-report b/scripts/oe-

[OE-core] [PATCH 1/7] scripts/oe-build-perf-report: fix dumping buildstats

2017-09-15 Thread Markus Lehtonen
Fix a misbehavior when some of the buildstats are missing. Signed-off-by: Markus Lehtonen --- scripts/oe-build-perf-report | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report index b5ad42bc8a..23081db173 100755 --- a/scripts/oe-build-pe

[OE-core] ✗ patchtest: failure for "[meta-oe,v3] libgcrypt: update..." and 1 more

2017-09-15 Thread Patchwork
== Series Details == Series: "[meta-oe,v3] libgcrypt: update..." and 1 more Revision: 1 URL : https://patchwork.openembedded.org/series/8931/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been e

Re: [OE-core] [PATCH] image: Fix "metadata is not deterministic" when chaining 2+ CONVERSION_CMDs

2017-09-15 Thread Tom Rini
On Fri, Sep 15, 2017 at 09:41:36AM +0200, Martin Hundebøll wrote: > > > On 2017-07-25 21:58, Tom Rini wrote: > >When we have more than one CONVERSION_CMD being used, for example > >ext4.gz.sha256sum we will see errors about "metadata is not > >deterministic". This is because we do not have a sta

Re: [OE-core] [PATCH] useradd: don't override pseudo environment

2017-09-15 Thread Martin Jansa
nice Acked-by: Martin Jansa On Fri, Sep 15, 2017 at 1:58 PM, Ross Burton wrote: > Back in the dark days before recipe-specific-sysroots the paths being > passed in > this manual construction of the pseudo environment made sense, but now > they're > incorrect and result in pseudo writing to two

[OE-core] [meta-oe][PATCH v3 2/2] libgcrypt: provide libgcrypt-config wrapper around pkg-config

2017-09-15 Thread Jussi Laako
This patch adds a libgcrypt-config wrapper for pkg-config support in order to avoid patching all upstream packages using libgcrypt, while otherwise keeping pkg-config functionality. Signed-off-by: Jussi Laako --- .../libgcrypt/files/libgcrypt-config-wrapper.patch | 113 + met

[OE-core] [meta-oe][PATCH v3 1/2] libgcrypt: update from version 1.8.0 to 1.8.1

2017-09-15 Thread Jussi Laako
Update libgcrypt version from 1.8.0 to 1.8.1. Signed-off-by: Jussi Laako --- .../libgcrypt/{libgcrypt_1.8.0.bb => libgcrypt_1.8.1.bb}| 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-support/libgcrypt/{libgcrypt_1.8.0.bb => libgcrypt_1.8.1.bb} (89%) d

[OE-core] ✗ patchtest: failure for "[meta-oe,v2] libgcrypt: update..." and 1 more

2017-09-15 Thread Patchwork
== Series Details == Series: "[meta-oe,v2] libgcrypt: update..." and 1 more Revision: 1 URL : https://patchwork.openembedded.org/series/8925/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been e

[OE-core] [PATCH] conf: add maintainers.inc from meta-poky

2017-09-15 Thread Ross Burton
Signed-off-by: Ross Burton --- meta/conf/distro/include/maintainers.inc | 825 +++ 1 file changed, 825 insertions(+) create mode 100644 meta/conf/distro/include/maintainers.inc diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintain

[OE-core] [meta-oe][PATCH v2 2/2] libgcrypt: provide libgcrypt-config wrapper around pkg-config

2017-09-15 Thread Jussi Laako
This patch adds a libgcrypt-config wrapper for pkg-config support in order to avoid patching all upstream packages using libgcrypt, while otherwise keeping pkg-config functionality. Signed-off-by: Jussi Laako --- .../libgcrypt/files/libgcrypt-config-wrapper.patch | 113 + met

[OE-core] [PATCH] oeqa/selftest/recipetool: use stable tarball for recipetool create test

2017-09-15 Thread Ross Burton
GitHub dynamically generates the /archive/ tarballs but we're encoding checksums in the test suite. Change the URL to use a static tarball, and update the checksums. Signed-off-by: Ross Burton --- meta/lib/oeqa/selftest/cases/recipetool.py | 12 ++-- 1 file changed, 6 insertions(+), 6 d

[OE-core] [PATCH] logrotate: use stable download URL

2017-09-15 Thread Ross Burton
GitHub automatically-generated tarballs from tags can and do change over time, so change logrotate to use the uploaded tarball. Signed-off-by: Ross Burton --- meta/recipes-extended/logrotate/logrotate_3.12.3.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/recipe

[OE-core] [PATCH] libproxy: use stable download URL

2017-09-15 Thread Ross Burton
GitHub automatically-generated tarballs from tags can and do change over time, so change libproxy to use the uploaded tarball. Signed-off-by: Ross Burton --- meta/recipes-support/libproxy/libproxy_0.4.14.bb | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/meta/recipes-s

[OE-core] [PATCH] useradd: don't override pseudo environment

2017-09-15 Thread Ross Burton
Back in the dark days before recipe-specific-sysroots the paths being passed in this manual construction of the pseudo environment made sense, but now they're incorrect and result in pseudo writing to two different databases during a single build. The result is that pseudo doesn't follow changes t

[OE-core] [meta-oe][PATCH v2 1/2] libgcrypt: update from version 1.8.0 to 1.8.1

2017-09-15 Thread Jussi Laako
Update libgcrypt version from 1.8.0 to 1.8.1. Signed-off-by: Jussi Laako --- .../libgcrypt/{libgcrypt_1.8.0.bb => libgcrypt_1.8.1.bb}| 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-support/libgcrypt/{libgcrypt_1.8.0.bb => libgcrypt_1.8.1.bb} (89%) d

Re: [OE-core] [meta-oe][PATCH] libgcrypt: provide libgcrypt-config wrapper around pkg-config

2017-09-15 Thread Burton, Ross
On 15 September 2017 at 12:34, Jussi Laako wrote: > .../libgcrypt/{libgcrypt_1.8.0.bb => libgcrypt_1.8.1.bb}| 13 > ++--- > oe-core is feature frozen, so if you can split this patch into the config change and then the upgrade we can consider the config for 2.4, leaving the upgrade fo

Re: [OE-core] [meta-oe][PATCH] libgcrypt: provide libgcrypt-config wrapper around pkg-config

2017-09-15 Thread Alexander Kanavin
On 09/15/2017 02:34 PM, Jussi Laako wrote: rename from meta/recipes-support/libgcrypt/libgcrypt_1.8.0.bb rename to meta/recipes-support/libgcrypt/libgcrypt_1.8.1.bb The version update and the -config stuff should be two separate patches. index 1797d9584d..529882d8a4 100644 --- a/meta/recipes-

[OE-core] [meta-oe][PATCH] libgcrypt: provide libgcrypt-config wrapper around pkg-config

2017-09-15 Thread Jussi Laako
This patch adds a libgcrypt-config wrapper for pkg-config support in order to avoid patching all upstream packages using libgcrypt, while otherwise keeping pkg-config functionality. Also updates libgcrypt version from 1.8.0 to 1.8.1. Signed-off-by: Jussi Laako --- .../libgcrypt/{libgcrypt_1.8.0

[OE-core] [PATCH] ruby: CVE-2017-14064

2017-09-15 Thread Ovidiu Panait
Ruby through 2.2.7, 2.3.x through 2.3.4, and 2.4.x through 2.4.1 can expose arbitrary memory during a JSON.generate call. The issues lies in using strdup in ext/json/ext/generator/generator.c, which will stop after encountering a '\0' byte, returning a pointer to a string of length zero, which

[OE-core] enigma2-streamproxy UDP multicast

2017-09-15 Thread Húščava Jozef
Dear Openembedded team, I am using enigma2 engine and for some implication I need to stream a channels to more end-point devices. As I investigate I can get from my device VU+ Ultimo up to 23 HTTP streams. My question aims to change parameter of streamproxy plugin to produce not HTTP streams,

Re: [OE-core] [PATCH v8 3/3] kernel-devicetree.bbclass: Add support to generate append to kernel

2017-09-15 Thread André Draszik
On Thu, 2017-09-14 at 09:13 -0300, Otavio Salvador wrote: > On Thu, Sep 14, 2017 at 7:26 AM, André Draszik wrote: > > On Wed, 2017-09-13 at 09:30 -0300, Otavio Salvador wrote: > > > On Wed, Sep 13, 2017 at 5:15 AM, André Draszik wrote: > > > > On Tue, 2017-09-12 at 17:36 -0300, Otavio Salvador wr