[OE-core] [PATCH] Make prune_suffix prune a suffix

2019-04-05 Thread andre . rosa
From: Andre Rosa ... instead of replacing a substring that could happen more than once and not only when it ends with it. Do the same for the prefix. See related https://github.com/openembedded/bitbake/pull/24 . There it stops replacing sufixes once first one is matched but not here.

[OE-core] [PATCH] autoconf: update runtime perl module dependencies

2019-04-05 Thread Randy MacLeod
Running: # autoreconf -if on target for prelink-cross was failing due to missing perl modules: Can't locate File/Spec.pm in @INC ... Add the required perl modules and duplicate them for the SDK. Signed-off-by: Randy MacLeod --- meta/recipes-devtools/autoconf/autoconf.inc | 10 ++

Re: [OE-core] Worries kernels supported

2019-04-05 Thread akuster808
On 4/6/19 5:12 AM, Bruce Ashfield wrote: > On Thu, Apr 4, 2019 at 5:28 PM akuster808 wrote: >> Hello, >> >> I noticed there are 3 kernels in Warrior. 4.18, 4.19 an 5.0. Do we >> really need 4.18? >> I see its the default version for poky-tiny. 4.18 is EOL but maintained >> by Windriver. > 4.18

[OE-core] [PATCH] Rework patch fuzz handling

2019-04-05 Thread Andreas Müller
Currently there are three issues which can be enhanced: 1. Fuzz warnings cannot be configured as errors for hardening. It happened often to me that these warnings were overseen and detected after commits were already out. 2. The output is too verbose - particularly when more than one file

Re: [OE-core] Worries kernels supported

2019-04-05 Thread Bruce Ashfield
On Fri, Apr 5, 2019 at 7:42 PM Bruce Ashfield wrote: > > On Thu, Apr 4, 2019 at 5:28 PM akuster808 wrote: > > > > Hello, > > > > I noticed there are 3 kernels in Warrior. 4.18, 4.19 an 5.0. Do we > > really need 4.18? > > I see its the default version for poky-tiny. 4.18 is EOL but maintained >

Re: [OE-core] Worries kernels supported

2019-04-05 Thread Bruce Ashfield
On Thu, Apr 4, 2019 at 5:28 PM akuster808 wrote: > > Hello, > > I noticed there are 3 kernels in Warrior. 4.18, 4.19 an 5.0. Do we > really need 4.18? > I see its the default version for poky-tiny. 4.18 is EOL but maintained > by Windriver. 4.18 needed to be around through M3 to backstop some

[OE-core] [PATCH] busybox: Enable domain search list support

2019-04-05 Thread Alexey Brodkin
This option is enabled by default in Busybox and becomes useful in networks with internal resources becasue allows to use much shorter names. E.g. instead of "server.internal.company.com" it's possible to use just "server" if DHCP server is configured with:

Re: [OE-core] [PATCH] gcc-sanitizers: fix -Werror=maybe-uninitialized issue

2019-04-05 Thread Khem Raj
On Tue, Mar 19, 2019 at 1:45 AM wrote: > > From: Mingli Yu > > When DEBUG_BUILD = "1" added in local.conf, there > comes below build error when "bitbake gcc-sanitizers": > | > ./../../../../../../../../work-shared/gcc-8.3.0-r0/gcc-8.3.0/libsanitizer/libbacktrace/../../libbacktrace/elf.c: > In

Re: [OE-core] [PATCH] perf: workaround the error cased by maybe-uninitialized warning

2019-04-05 Thread Khem Raj
On Thu, Apr 4, 2019 at 2:03 AM Dengke Du wrote: > > When enable DEBUG_BUILD, the perf build failed by the following error: > libbpf.c:727:36: error: 'data' may be used uninitialized in this function > [-Werror=maybe-uninitialized] > This is ok until Khem commit a patch in oe-core: >

Re: [OE-core] Worries kernels supported

2019-04-05 Thread Khem Raj
On Thu, Apr 4, 2019 at 2:29 PM akuster808 wrote: > > Hello, > > I noticed there are 3 kernels in Warrior. 4.18, 4.19 an 5.0. Do we > really need 4.18? > I see its the default version for poky-tiny. 4.18 is EOL but maintained > by Windriver. I would prefer it to be 4.19 since thats at least LTS

Re: [OE-core] [PATCH v2 6/9] asciidoc: use correct XML catalog path

2019-04-05 Thread Khem Raj
thanks for this patchset and it fixed my builders failing to build asciidoc On Thu, Apr 4, 2019 at 3:17 PM Ross Burton wrote: > > Now that docbook-xml and docbook-xsl are writing catalog files, tell > xmllint/xsltproc where the catalog is. > > Signed-off-by: Ross Burton > --- >

Re: [OE-core] [PATCH 01/13] insane.bbclass: Trigger unrecognzed configure option for meson

2019-04-05 Thread Khem Raj
On Thu, Apr 4, 2019 at 11:38 PM Andreas Müller wrote: > > Tested with 'unknown-configure-option' in ERROR_QA: > > For meson (glib-2.0-native): > 1. add 'EXTRA_OEMESON_append = "-Dschnitzel=true -Dwurst=true"' >| ERROR: glib-2.0-native-1_2.58.3-r0 do_configure: QA Issue: > glib-2.0-native:

Re: [OE-core] [PATCH] gstreamer1.0-python: rework gobject-introspection handling

2019-04-05 Thread Andreas Müller
On Fri, Apr 5, 2019 at 10:05 PM Martin Jansa wrote: > > On Fri, Apr 05, 2019 at 09:28:35PM +0200, Andreas Müller wrote: > > gobject-introspection is mandatory for gstreamer1.0-python - there is no > > configure option to enable or disable it. > > > > To handle properly, this patch does: > > > > *

[OE-core] [PATCH v2] gstreamer1.0-python: rework gobject-introspection handling

2019-04-05 Thread Andreas Müller
gobject-introspection is mandatory for gstreamer1.0-python - there is no configure option to enable or disable it. To handle properly, this patch does: * Make 'gobject-introspection-data' a required distro feature * Add 'UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-introspection

Re: [OE-core] [PATCH] gstreamer1.0-python: rework gobject-introspection handling

2019-04-05 Thread Martin Jansa
On Fri, Apr 05, 2019 at 09:28:35PM +0200, Andreas Müller wrote: > gobject-introspection is mandatory for gstreamer1.0-python - there is no > configure option to enable or disable it. > > To handle properly, this patch does: > > * Make 'gobject-introspection-data' a required distro feature > *

[OE-core] [PATCH] sanity: clarify error message if TMPDIR moves

2019-04-05 Thread Ross Burton
If TMPDIR is moved the error message says "move it back or rebuild" but the obvious rebuild method of running 'bitbake [recipe]] -cclean' fails with the same error. Make it clear what we mean by adding "delete and". Signed-off-by: Ross Burton --- meta/classes/sanity.bbclass | 2 +- 1 file

[OE-core] [PATCH] gstreamer1.0-python: rework gobject-introspection handling

2019-04-05 Thread Andreas Müller
gobject-introspection is mandatory for gstreamer1.0-python - there is no configure option to enable or disable it. To handle properly, this patch does: * Make 'gobject-introspection-data' a required distro feature * Add 'UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-introspection

Re: [OE-core] [PATCH 0/3] Feature to use symbolic links to binaries for ptest

2019-04-05 Thread Mariano Lopez
Sure, can you integrate this in the while I work on the busybox one? I'll do it as part of bug 12597 that is also assigned to me Mariano On Fri, Apr 5, 2019 at 9:37 AM Burton, Ross wrote: > Can you also port busybox to this instead of its own hand-coded logic? > > Ross > > On Fri, 5 Apr 2019

Re: [OE-core] [PATCH 1/4] lttng-tools: improve ptest and test suite

2019-04-05 Thread richard . purdie
On Thu, 2019-04-04 at 21:47 +, Jonathan Rajotte wrote: > Multiple patches are to be applied to improve the current ptest > suite. > > 0001-Fix-tests-link-libpause_consumer-on-liblttng-ctl.patch > 0002-Fix-test-skip-test_getcpu_override-on-single-thread-.patch >

Re: [OE-core] [PATCH 1/4] lttng-tools: improve ptest and test suite

2019-04-05 Thread Khem Raj
Thanks Jonathan, this series looks good to me On Thu, Apr 4, 2019 at 2:47 PM Jonathan Rajotte wrote: > > Multiple patches are to be applied to improve the current ptest suite. > > 0001-Fix-tests-link-libpause_consumer-on-liblttng-ctl.patch >

Re: [OE-core] [PATCH 2/2] kernel-fitimage.bbclass: Introduce a way to provide external dtb

2019-04-05 Thread Philip Balister
On 04/03/2019 10:12 PM, akuster808 wrote: > > > On 4/3/19 10:35 AM, Philip Balister wrote: >> I appreciate the nagging about testing, but I just did an update and >> realized these patches never made it into master so I could request they >> move into thud. > Thud needs testing too, its not just

Re: [OE-core] [PATCH 2/2] kernel-fitimage.bbclass: Introduce a way to provide external dtb

2019-04-05 Thread Philip Balister
On 04/03/2019 06:41 PM, Manjukumar Harthikote Matha wrote: > Hi Philip, > > It was been merged in master, need to backport to Thud > https://github.com/openembedded/openembedded-core/commit/084f4de4dbaf9821516fc0254d35f4fb04311d27#diff-088b9c270c04d657c74b182de1f8e9f6 Yes, I was having a senior

[OE-core] allarch recipes using cmake broken (if allarch inherit is after cmake)

2019-04-05 Thread Martin Jansa
Hello, since this change: cmake.bbclass: Make it work with ccache https://patchwork.openembedded.org/patch/157226/ the allarch recipes are no longer allarch, because they contain arch specific CC and CXX (OECMAKE_C_COMPILER, OECMAKE_CXX_COMPILER variables). e.g. one example where I've initially

[OE-core] [PATCH] ghostscript: Fix 3 CVEs

2019-04-05 Thread Ovidiu Panait
It was discovered that the ghostscript /invalidaccess checks fail under certain conditions. An attacker could possibly exploit this to bypass the -dSAFER protection and, for example, execute arbitrary shell commands via a specially crafted PostScript document. It was found that the superexec

Re: [OE-core] [PATCH 0/3] Feature to use symbolic links to binaries for ptest

2019-04-05 Thread Burton, Ross
Can you also port busybox to this instead of its own hand-coded logic? Ross On Fri, 5 Apr 2019 at 15:27, Mariano Lopez wrote: > > Some binaries are renamed by update-alternatives class at build time > and some ptest run against a binary belonging to another package. Take > for example busybox

[OE-core] [PATCH 3/3] util-linux: Use PTEST binary directory

2019-04-05 Thread Mariano Lopez
Some binaries generated by util-linux will be replaced by core-utils in the final image by update-alternatives, so use a dedicated directory with symlinks to avoid using a binary generated by another package. This will solve the issue with the ptest runner timing out when running the kill ptests

[OE-core] [PATCH 0/3] Feature to use symbolic links to binaries for ptest

2019-04-05 Thread Mariano Lopez
Some binaries are renamed by update-alternatives class at build time and some ptest run against a binary belonging to another package. Take for example busybox or util-linux. This series adds a directory within the ptest path with symlinks to the binaries produced by the package, so just adding

[OE-core] [PATCH 2/3] ptest.bbclass: Add feature to populate a binary directory

2019-04-05 Thread Mariano Lopez
This adds a functionality to populate a binary directory with symlinks within the PTEST_PATH directory to the binaries build by the package. This is helpful for binaries that are renamed by update-alternatives. This will take all the package binaries' that are in bindir, sbindir base_bindir, and

[OE-core] [PATCH 1/3] update-alternatives.bbclass: Add function to get renamed binaries

2019-04-05 Thread Mariano Lopez
This adds a function to get the new name for renamed binaries by the update-alternatives class. The function uses the build metadata because some update-alternatives binaries/scripts lack the feature to provide this information. This also adds the function _ua_alt_target for code reuse. [YOCTO

[OE-core] [thud][PATCH] opkg-utils: backport a patch to fix a sstate timestamp issue

2019-04-05 Thread liu . ming50
From: Ming Liu When using sstate, two parallel builds can produce two packages with the same mtime but different checksums. When later one of those two builds fetches the others ipk, the package index does not get udpated properly (since mtime matches). This ends up with messages such as:

Re: [OE-core] [PATCH 00/13] meson/gobject-introspection rework

2019-04-05 Thread Andreas Müller
On Fri, Apr 5, 2019 at 2:18 PM Burton, Ross wrote: > > ERROR: gstreamer1.0-python-1.14.4-r0 do_configure: QA Issue: > gstreamer1.0-python: configure was passed unrecognised options: > --enable-introspection [unknown-configure-option] Seems my build did not include that. Need to test-build all

Re: [OE-core] [PATCH 00/13] meson/gobject-introspection rework

2019-04-05 Thread Burton, Ross
ERROR: gstreamer1.0-python-1.14.4-r0 do_configure: QA Issue: gstreamer1.0-python: configure was passed unrecognised options: --enable-introspection [unknown-configure-option] -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org

[OE-core] How to control OS/ABI System V or GNU/Linux?

2019-04-05 Thread JH
Hi, I am running OE and bitbake on Ubuntu 18, how do you control the OS/ABI for System V or GNU/Linux? I built one shared library which is ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), another library which is ELF 32-bit LSB shared object, ARM, EABI5 version 1 (GNU/Linux),

[OE-core] [PATCH] xf86-video-vesa: Refuse to run on UEFI machines

2019-04-05 Thread Ovidiu Panait
Fix the following Xorg start failure on UEFI machines when using xf86-video-vesa driver (e.g. in qemu, when anaconda tries to start X): Xorg -br -logfile /tmp/X.log :1 vt7 -s 1440 -ac -nolisten tcp -dpi 96 -noreset ... (EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer

Re: [OE-core] [PATCH v2 1/3] cmake-native: Enable ccmake by default and depend on ncurses

2019-04-05 Thread Nathan Rossi
On Fri, 5 Apr 2019 at 02:31, Khem Raj wrote: > > > > On Wed, Apr 3, 2019 at 9:36 PM Nathan Rossi wrote: >> >> On Thu, 4 Apr 2019 at 13:48, Khem Raj wrote: >> > >> > On Wed, Apr 3, 2019 at 8:28 PM Nathan Rossi wrote: >> > > >> > > On Thu, 4 Apr 2019 at 03:02, Khem Raj wrote: >> > > > >> > > >

Re: [OE-core] [PATCH 13/13] gst-plugins: move 'inherit gobject-introspection' to recipes supporting GI

2019-04-05 Thread Alexander Kanavin
Thanks, looks good! Alex > On 5 Apr 2019, at 8.37, Andreas Müller wrote: > > Now that whitelisting for unknown configure options was removed in > gobject-introspection.bbclass gstreamer1.0-plugins-ugly/-good start > complaining > > | ERROR: gstreamer1.0-plugins-ugly-1.14.4-r0 do_configure:

[OE-core] [PATCH 12/13] glib-networking: upgrade 2.58.0 -> 2.60.1

2019-04-05 Thread Andreas Müller
this version support gnutls option again - it was mandatory for 2.58.0 Signed-off-by: Andreas Müller --- ...-networking_2.58.0.bb => glib-networking_2.60.1.bb} | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) rename meta/recipes-core/glib-networking/{glib-networking_2.58.0.bb

[OE-core] [PATCH 11/13] libsoup-2.4: use gobject-introspection.bbclass on/off mechanism

2019-04-05 Thread Andreas Müller
Signed-off-by: Andreas Müller --- meta/recipes-support/libsoup/libsoup-2.4_2.64.2.bb | 8 1 file changed, 8 deletions(-) diff --git a/meta/recipes-support/libsoup/libsoup-2.4_2.64.2.bb b/meta/recipes-support/libsoup/libsoup-2.4_2.64.2.bb index ae7c1a6863..b095397ec2 100644 ---

[OE-core] [PATCH 13/13] gst-plugins: move 'inherit gobject-introspection' to recipes supporting GI

2019-04-05 Thread Andreas Müller
Now that whitelisting for unknown configure options was removed in gobject-introspection.bbclass gstreamer1.0-plugins-ugly/-good start complaining | ERROR: gstreamer1.0-plugins-ugly-1.14.4-r0 do_configure: QA Issue: gstreamer1.0-plugins-ugly: configure was passed unrecognised options:

[OE-core] [PATCH 10/13] atk: use gobject-introspection.bbclass on/off mechanism

2019-04-05 Thread Andreas Müller
Signed-off-by: Andreas Müller --- meta/recipes-support/atk/atk_2.30.0.bb | 8 1 file changed, 8 deletions(-) diff --git a/meta/recipes-support/atk/atk_2.30.0.bb b/meta/recipes-support/atk/atk_2.30.0.bb index 4e2dacbc4d..84fdb1510a 100644 --- a/meta/recipes-support/atk/atk_2.30.0.bb

[OE-core] [PATCH 08/13] pango: use gobject-introspection.bbclass on/off mechanism

2019-04-05 Thread Andreas Müller
Signed-off-by: Andreas Müller --- meta/recipes-graphics/pango/pango_1.42.4.bb | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/meta/recipes-graphics/pango/pango_1.42.4.bb b/meta/recipes-graphics/pango/pango_1.42.4.bb index d3357f82de..f3be9f44e1 100644 ---

[OE-core] [PATCH 09/13] at-spi2-core: use gobject-introspection.bbclass on/off mechanism

2019-04-05 Thread Andreas Müller
Signed-off-by: Andreas Müller --- meta/recipes-support/atk/at-spi2-core_2.30.0.bb | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/meta/recipes-support/atk/at-spi2-core_2.30.0.bb b/meta/recipes-support/atk/at-spi2-core_2.30.0.bb index d0b567a5e5..06fb7195b6 100644

[OE-core] [PATCH 02/13] gobject-introspection: auto-enable/-disable gobject-introspection for meson

2019-04-05 Thread Andreas Müller
* the class sets defaults used most common which can be overriden by recipes * UNKNOWN_CONFIGURE_WHITELIST was removed for autotools (and not added for meson) as suggested by Alexander Kanavin [1] [1] http://lists.openembedded.org/pipermail/openembedded-core/2019-April/280716.html

[OE-core] [PATCH 05/13] json-glib: use gobject-introspection.bbclass on/off mechanism

2019-04-05 Thread Andreas Müller
Signed-off-by: Andreas Müller --- meta/recipes-gnome/json-glib/json-glib_1.4.4.bb | 5 - 1 file changed, 5 deletions(-) diff --git a/meta/recipes-gnome/json-glib/json-glib_1.4.4.bb b/meta/recipes-gnome/json-glib/json-glib_1.4.4.bb index 95f90569de..31c008db47 100644 ---

[OE-core] [PATCH 06/13] libdazzle: use gobject-introspection.bbclass on/off mechanism

2019-04-05 Thread Andreas Müller
Signed-off-by: Andreas Müller --- meta/recipes-gnome/libdazzle/libdazzle_3.30.2.bb | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/meta/recipes-gnome/libdazzle/libdazzle_3.30.2.bb b/meta/recipes-gnome/libdazzle/libdazzle_3.30.2.bb index 3779b15af9..c112857f2c 100644 ---

[OE-core] [PATCH 01/13] insane.bbclass: Trigger unrecognzed configure option for meson

2019-04-05 Thread Andreas Müller
Tested with 'unknown-configure-option' in ERROR_QA: For meson (glib-2.0-native): 1. add 'EXTRA_OEMESON_append = "-Dschnitzel=true -Dwurst=true"' | ERROR: glib-2.0-native-1_2.58.3-r0 do_configure: QA Issue: glib-2.0-native: configure was passed unrecognised options: schnitzel wurst

[OE-core] [PATCH 04/13] gdk-pixbuf: use gobject-introspection.bbclass on/off mechanism

2019-04-05 Thread Andreas Müller
Signed-off-by: Andreas Müller --- meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.38.0.bb | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.38.0.bb b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.38.0.bb index c5de7a92a5..e423b99687

[OE-core] [PATCH 03/13] libmodulemd: use gobject-introspection.bbclass on/off mechanism

2019-04-05 Thread Andreas Müller
Signed-off-by: Andreas Müller --- meta/recipes-devtools/libmodulemd/libmodulemd_git.bb | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/meta/recipes-devtools/libmodulemd/libmodulemd_git.bb b/meta/recipes-devtools/libmodulemd/libmodulemd_git.bb index

[OE-core] [PATCH 07/13] clutter-gtk-1.0: use gobject-introspection.bbclass on/off mechanism

2019-04-05 Thread Andreas Müller
Signed-off-by: Andreas Müller --- meta/recipes-graphics/clutter/clutter-gtk-1.0.inc | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/meta/recipes-graphics/clutter/clutter-gtk-1.0.inc b/meta/recipes-graphics/clutter/clutter-gtk-1.0.inc index 4e82f56605..5f7daf8124

[OE-core] [PATCH 00/13] meson/gobject-introspection rework

2019-04-05 Thread Andreas Müller
* Make meson builds aware of unrecognized config options. * central auto-enable/disable gobject-introspection for meson builds + unrecognized options are triggered for meson & autotools now Note that native recipes are build gobject-introspection disabled (as before when building with