Re: [OE-core] Prelink problem

2019-01-15 Thread Andrej Valek
Hi all Do we found some solution? As a workaround could be just add dependency to prelink native into rootfs if the command is really required. Regards, Andrej On 1/8/19 10:46 PM, Richard Purdie wrote: > On Tue, 2019-01-08 at 14:50 -0600, Mark Hatle wrote: >> On 1/8/19 2:37 PM, Burton, Ross wrot

[OE-core] [PATCH 1/1] sstate.bbclass: remove dependencies of SSTATE_EXTRAPATHWILDCARD

2019-01-15 Thread Robert Yang
There might be do_cleansstate errors sometimes: ERROR: When reparsing /path/to/meta/recipes-devtools/quilt/quilt-native_0.65.bb.do_cleansstate, the basehash value changed from b4dbcb956a32ed4c3f58b7971717907bfc03bb21f3b140fa97f7765ee695f4d0 to c8307418a671686349b73efbd51c5c82c897a88707a759ddb22fd95

[OE-core] [PATCH 0/1] sstate.bbclass: remove dependencies of SSTATE_EXTRAPATHWILDCARD

2019-01-15 Thread Robert Yang
The following changes since commit fa7020c040189ae904625b5c60c8a7e79dc1145e: perl: fix yet another race failure (2019-01-14 11:48:59 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/sstate http://cgit.openembedded.org/openembedded-core

[OE-core] [PATCH V2 2/2] piglit: support build piglit without x11

2019-01-15 Thread changqing.li
From: Changqing Li * test PIGLIT_BUILD_GL_TESTS depend on glx library, so depend on x11, so respect the DISTRO_FEATURES, only enable it when x11 is enabled. * mesa-demos depend on libGL.so which is provide by recipe mesa, but when x11 is disabled, libGL.so is not generated. so we ca

[OE-core] [PATCH V2 0/2] piglit support build without x11

2019-01-15 Thread changqing.li
From: Changqing Li To support piglit without x11 by disable PIGLIT_BUILD_GL_TESTS, but the result is piglit can use without x11, but only small part of it can be used. Most of testcase will be skipped. Changqing Li (2): waffle: supprt build waffle without x11 piglit: support build piglit wit

[OE-core] [PATCH V2 1/2] waffle: supprt build waffle without x11

2019-01-15 Thread changqing.li
From: Changqing Li respect DISTRO_FEATURES to make waffle support different platform, gbm platform is supported by default. Signed-off-by: Changqing Li --- meta/recipes-graphics/waffle/waffle_1.5.2.bb | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/meta/recipes-graph

Re: [OE-core] [PATCH] libcomps & librepo: fix buildpaths qa warnings

2019-01-15 Thread Kang Kai
On 2019/1/15 下午6:01, Burton, Ross wrote: On Tue, 15 Jan 2019 at 06:46, wrote: Add preprocess option '-fmacro-prefix-map' to TARGET_CPPFLAGS to fix buildpaths qa warnings of libcomps and librepo. This is something we should be doing globally, not in a specific recipe. We pass -fdebug-prefix-ma

Re: [OE-core] [PATCH] libcomps & librepo: fix buildpaths qa warnings

2019-01-15 Thread Kang Kai
On 2019/1/15 下午5:57, Alexander Kanavin wrote: On Tue, 15 Jan 2019 at 07:46, wrote: Add preprocess option '-fmacro-prefix-map' to TARGET_CPPFLAGS to fix buildpaths qa warnings of libcomps and librepo. These warnings are not happening on the AB or on my local setup. Could they be happening due t

Re: [OE-core] [PATCH V3 03/11] ccache.bbclass: Refactor it to make it more reliable

2019-01-15 Thread Robert Yang
On 1/16/19 6:40 AM, Richard Purdie wrote: On Tue, 2019-01-15 at 10:11 +0800, Robert Yang wrote: Hi Randy, I'm sorry for the types, and thanks for the correction. I found that it has been merged, I will be more careful. I did tweak the commit message! Thank you very much! // Robert Ch

[OE-core] [PATCH v2 1/1] ltp: Update to 20190115

2019-01-15 Thread Petr Vorel
Updated patches * 0004-build-Add-option-to-select-libc-implementation.patch * 0008-Check-if-__GLIBC_PREREQ-is-defined-before-using-it.patch * 0001-open_posix_testsuite-mmap24-2-Relax-condition-a-bit.patch Removed patches (accepted in upstream) * 0001-getcpu01-Rename-getcpu-to-avoid-conflict-with-g

Re: [OE-core] [PATCH 1/1] ltp: Update to 20190115

2019-01-15 Thread Petr Vorel
Hi, > Removed patches (accepted in upstream) > * 0001-getcpu01-Rename-getcpu-to-avoid-conflict-with-glibc-.patch > * 0001-netns_helper.sh-use-ping-6-when-ping6-is-not-avaliab.patch > * 0001-setrlimit05-Use-another-method-to-get-bad-address.patch > * 0001-sigwaitinfo01-recent-glibc-calls-syscall-di

Re: [OE-core] [PATCH V3 03/11] ccache.bbclass: Refactor it to make it more reliable

2019-01-15 Thread Richard Purdie
On Tue, 2019-01-15 at 10:11 +0800, Robert Yang wrote: > Hi Randy, > > I'm sorry for the types, and thanks for the correction. I found that > it has > been merged, I will be more careful. I did tweak the commit message! Cheers, Richard -- ___ Openemb

Re: [OE-core] [PATCH 0/5] Add polkit distro feature

2019-01-15 Thread Randy MacLeod
On 1/15/19 5:27 PM, Stefan Agner wrote: From: Stefan Agner This patchset adds Polkit (formerly known as PolicyKit) as a distro feature. Polkit is used to centrally manage system policies and allows non-privileged processes access privileged operations. Since various packages such as systemd, C

[OE-core] [PATCH 5/5] consolekit: enable polkit if polkit distro feature is set

2019-01-15 Thread Stefan Agner
From: Stefan Agner Enable polkit depending on whether polkit distro feature is set. Signed-off-by: Stefan Agner --- meta/recipes-support/consolekit/consolekit_0.4.6.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/consolekit/consolekit_0.4.6.bb b/met

[OE-core] [PATCH 2/5] gconf: rename policykit to polkit

2019-01-15 Thread Stefan Agner
From: Stefan Agner PolicyKit has been renamed to Polkit since quite a while. Rename the PACKAGECONFIG accordingly. Signed-off-by: Stefan Agner --- meta/recipes-gnome/gnome/gconf_3.2.6.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/recipes-gnome/gnome/gconf_3.

[OE-core] [PATCH 3/5] gconf: enable polkit if polkit distro feature is set

2019-01-15 Thread Stefan Agner
From: Stefan Agner Enable polkit depending on whether polkit distro feature is set. Signed-off-by: Stefan Agner --- meta/recipes-gnome/gnome/gconf_3.2.6.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/recipes-gnome/gnome/gconf_3.2.6.bb b/meta/recipes-gnome/gnome/

[OE-core] [PATCH 0/5] Add polkit distro feature

2019-01-15 Thread Stefan Agner
From: Stefan Agner This patchset adds Polkit (formerly known as PolicyKit) as a distro feature. Polkit is used to centrally manage system policies and allows non-privileged processes access privileged operations. Since various packages such as systemd, ConnMan or NetworkManager allow building wi

[OE-core] [PATCH 4/5] consolekit: rename policykit to polkit

2019-01-15 Thread Stefan Agner
From: Stefan Agner PolicyKit has been renamed to Polkit since quite a while. Rename the PACKAGECONFIG accordingly. Signed-off-by: Stefan Agner --- meta/recipes-support/consolekit/consolekit_0.4.6.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/consol

[OE-core] [PATCH 1/5] systemd: only enable polkit if DISTRO_FEATURES asks for polkit

2019-01-15 Thread Stefan Agner
From: Stefan Agner Only add polkit to PACKAGECONFIG if polkit is in DISTRO_FEATURES. Signed-off-by: Stefan Agner --- meta/recipes-core/systemd/systemd_239.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/recipes-core/systemd/systemd_239.bb b/meta/recipes-core/syst

Re: [OE-core] [PATCH] classes/sstate: Update output hash

2019-01-15 Thread Richard Purdie
On Tue, 2019-01-15 at 13:39 -0600, Joshua Watt wrote: > Updates the output hash calculation for determining if tasks are > equivalent. The new algorithm does the following based on feedback: > 1) All files are printed in a single line tabular format > 2) Prints the file type and mode in a user-fr

[OE-core] [PATCH 1/1] ltp: Update to 20190115

2019-01-15 Thread Petr Vorel
Removed patches (accepted in upstream) * 0001-getcpu01-Rename-getcpu-to-avoid-conflict-with-glibc-.patch * 0001-netns_helper.sh-use-ping-6-when-ping6-is-not-avaliab.patch * 0001-setrlimit05-Use-another-method-to-get-bad-address.patch * 0001-sigwaitinfo01-recent-glibc-calls-syscall-directly.patch *

Re: [OE-core] [PATCH] classes/sstate: Update output hash

2019-01-15 Thread Jacob Kroon
On 1/15/19 8:39 PM, Joshua Watt wrote: Updates the output hash calculation for determining if tasks are equivalent. The new algorithm does the following based on feedback: 1) All files are printed in a single line tabular format 2) Prints the file type and mode in a user-friendly ls-like form

Re: [OE-core] [PATCH] classes/sstate: Update output hash

2019-01-15 Thread Jacob Kroon
On 1/15/19 8:39 PM, Joshua Watt wrote: Updates the output hash calculation for determining if tasks are equivalent. The new algorithm does the following based on feedback: 1) All files are printed in a single line tabular format 2) Prints the file type and mode in a user-friendly ls-like f

[OE-core] [PATCH] classes/sstate: Update output hash

2019-01-15 Thread Joshua Watt
Updates the output hash calculation for determining if tasks are equivalent. The new algorithm does the following based on feedback: 1) All files are printed in a single line tabular format 2) Prints the file type and mode in a user-friendly ls-like format 3) Includes the file owner and group (b

Re: [OE-core] [PATCH v2 06/15] update-alternatives: allow hooks before renaming files

2019-01-15 Thread Richard Purdie
On Tue, 2019-01-15 at 14:45 +, André Draszik wrote: > From: André Draszik > > At the moment, the update alternatives handling is happening > right after copying into PKGD during packaging time using > an _append OVERRIDE to the copy function. This means that at > this point the PACKAGES varia

[OE-core] [PATCHv2 20/22] runqemu: do not check for GL libraries

2019-01-15 Thread Alexander Kanavin
qemu has been using libepoxy for a long time, and libepoxy loads GL via dlopen() only when instructed to. Signed-off-by: Alexander Kanavin --- scripts/runqemu | 35 --- 1 file changed, 35 deletions(-) diff --git a/scripts/runqemu b/scripts/runqemu index 38de092bf

[OE-core] [PATCHv2 22/22] selftest: add a test for virgl GL acceleration

2019-01-15 Thread Alexander Kanavin
Note that the test requires that the host machine has a X display and is able to create OpenGL contexts. Signed-off-by: Alexander Kanavin --- meta-selftest/lib/oeqa/runtime/cases/virgl.py | 17 + meta/lib/oeqa/selftest/cases/runtime_test.py | 19 +++ 2 files chan

[OE-core] [PATCHv2 18/22] qemu: add a patch to avoid a missing include error

2019-01-15 Thread Alexander Kanavin
| In file included from /home/alexander/development/poky/build-virgl-gtk-64/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-qemu/3.1.0-r0/qemu-3.1.0/include/ui/egl-context.h:5, | from /home/alexander/development/poky/build-virgl-gtk-64/tmp/work/x86_64-nativesdk-pokysdk-linux/na

[OE-core] [PATCHv2 21/22] qemu: add environment variable wrappers to make qemu look good with gtk frontend

2019-01-15 Thread Alexander Kanavin
GTK_THEME instructs gtk to use its built-in theme. Otherwise gtk attempts to use the theme from the host, which may be from a totally mismatching gtk version. On the other hand FONTCONFIG_PATH tells it to use the host fonts, as providing fonts in the native sysroot and instructing the components t

[OE-core] [PATCHv2 19/22] runqemu: add support for virgl GL acceleration

2019-01-15 Thread Alexander Kanavin
Also, do not hardcode -vga option to qemu, set it according to command line parameters. Signed-off-by: Alexander Kanavin --- meta/conf/machine/include/qemuboot-x86.inc | 2 +- scripts/runqemu| 8 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/

[OE-core] [PATCHv2 17/22] libjpeg-turbo: fix nativesdk build in same way as native builds are

2019-01-15 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.1.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.1.bb b/meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.1.bb index d9d877dc0df..029847ff5f4 100644 --- a/meta/recipe

[OE-core] [PATCHv2 13/22] qemu: build target variant with gtk+, and nativesdk variant without sdl

2019-01-15 Thread Alexander Kanavin
As sdl is deprecated in favor of gtk+, it should not be the default. Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/qemu/qemu.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index 6

[OE-core] [PATCHv2 16/22] qemu: add a gettext-native dependency to gtk option

2019-01-15 Thread Alexander Kanavin
xgettext/msgmerge is used during do_install() when gtk is enabled: https://github.com/qemu/qemu/blob/master/Makefile#L743 Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/qemu/qemu.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/qemu/qemu.i

[OE-core] [PATCHv2 14/22] qemu: remove support for building against host sdl

2019-01-15 Thread Alexander Kanavin
This hasn't been the default for a long time (as some distros don't support it), and with gtk+ being the new default shouldn't be needed at all. Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/qemu/qemu.inc | 8 1 file changed, 8 deletions(-) diff --git a/meta/recipes-devtoo

[OE-core] [PATCHv2 15/22] atk: disable gobject-introspection for nativesdk

2019-01-15 Thread Alexander Kanavin
We do not support g-i for nativesdk, neverthless atk tries and fails. Signed-off-by: Alexander Kanavin --- meta/recipes-support/atk/atk_2.30.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-support/atk/atk_2.30.0.bb b/meta/recipes-support/atk/atk_2.30.0.bb index 481f8e89a

[OE-core] [PATCHv2 06/22] libepoxy: enable native/nativesdk variants

2019-01-15 Thread Alexander Kanavin
libepoxy is a requirement of virglrenderer. Note that we strip RPATH from the library, as this allows fall-through to the host GL implementation, instead of attempting (and failing) to use mesa-native. Signed-off-by: Alexander Kanavin --- meta/recipes-graphics/libepoxy/libepoxy_1.5.3.bb | 16 +++

[OE-core] [PATCHv2 08/22] virglrenderer: add a recipe

2019-01-15 Thread Alexander Kanavin
This component enables hardware-accelerated GL inside QEMU guests. For more information, see here: https://lwn.net/Articles/767970/ https://www.collabora.com/news-and-blog/blog/2018/02/12/virtualizing-gpu-access/ https://www.collabora.com/news-and-blog/blog/2018/05/09/gpu-virtualization-update/ S

[OE-core] [PATCHv2 07/22] mesa: enable native and nativesdk variants

2019-01-15 Thread Alexander Kanavin
Note that only the most minimal necessary subset of mesa is built; particularly we don't build any drivers as that is offloaded to the GL implementation provided by the host. Signed-off-by: Alexander Kanavin --- meta/recipes-graphics/mesa/mesa.inc | 12 +--- 1 file changed, 9 insertions(

[OE-core] [PATCHv2 11/22] mesa-gl: do not enable nativesdk variant to avoid clashes with main mesa recipe

2019-01-15 Thread Alexander Kanavin
An alternative would be setting PREFERRED_PROVIDER, but for native/nativesdk builds mesa-gl is not a viable alternative to mesa, as it lacks all of the bits that make accelerated qemu possible. Using PREFERRED_PROVIDER would imply otherwise. Signed-off-by: Alexander Kanavin --- meta/recipes-grap

[OE-core] [PATCHv2 10/22] qemu: drop --with-gtkabi option, as it is no longer supported

2019-01-15 Thread Alexander Kanavin
Recent qemu versions support gtk+3 only. Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/qemu/qemu.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index f943b9ee5a2..6db1facc9a5 100644 -

[OE-core] [PATCHv2 12/22] local.conf.sample: adjust the qemu config to enable gtk+ instead of sdl

2019-01-15 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta-poky/conf/local.conf.sample | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/meta-poky/conf/local.conf.sample b/meta-poky/conf/local.conf.sample index cf96598819c..079b7b9945d 100644 --- a/meta-poky/conf/local.conf.sample +++

[OE-core] [PATCHv2 09/22] qemu: enable virglrenderer and glx options for native/nativesdk builds

2019-01-15 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/qemu/qemu.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index b05c1cee9eb..f943b9ee5a2 100644 --- a/meta/recipes-devtools/qemu/qemu.i

[OE-core] [PATCHv2 04/22] pixbufcache.bbclass: remove a dependency loop introduced by enabling gtk+3-native

2019-01-15 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/classes/pixbufcache.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/pixbufcache.bbclass b/meta/classes/pixbufcache.bbclass index 3378ff2c806..fb50cd49659 100644 --- a/meta/classes/pixbufcache.bbclass +++ b/meta/cla

[OE-core] [PATCHv2 05/22] meta: add native and nativesdk variants to various recipes to enable gtk+3-native/nativesdk

2019-01-15 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.36.11.bb | 2 +- meta/recipes-gnome/gnome/adwaita-icon-theme_3.28.0.bb | 2 ++ .../recipes-gnome/hicolor-icon-theme/hicolor-icon-theme_0.17.bb | 2 ++ meta/recipes-graphics/cairo/cairo_1.14.12.bb

[OE-core] [PATCHv2 03/22] shared-mime-info: update the database also in native builds

2019-01-15 Thread Alexander Kanavin
Otherwise glib-compile-resources fails when building gtk+3-native. Signed-off-by: Alexander Kanavin --- meta/recipes-support/shared-mime-info/shared-mime-info.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-support/shared-mime-info/shared-mime-info.inc b/meta/recipes-supp

[OE-core] [PATCHv2 01/22] gtk+3: enable native/nativesdk variant

2019-01-15 Thread Alexander Kanavin
Host-assisted GL in Qemu in theory works with both SDL and GTK; in practice SDL shows an empty screen. This prepares the switchover of graphical qemu to use native gtk, which also provides a neat set of menus to control the emulator. Signed-off-by: Alexander Kanavin --- meta/recipes-gnome/gtk+/g

[OE-core] [PATCHv2 00/22] Enable accelerated OpenGL in qemu

2019-01-15 Thread Alexander Kanavin
V2 changes: addressed feedback from the first review round Why this? Why now? 1. I think we are heading towards a reality where some kind of working GL is a 'must' for any kind of UI work. 2. Typically people build images and then transfer them to the NUC or even target boards for testing - using

[OE-core] [PATCHv2 02/22] gtk+3: remove the gtk-icon-utils-native recipe

2019-01-15 Thread Alexander Kanavin
As we are now build native gtk+3, it already provides the necessary utilities. Signed-off-by: Alexander Kanavin --- meta/recipes-gnome/gtk+/gtk+3.inc | 7 +- .../gtk+/gtk-icon-utils-native_3.22.30.bb | 63 --- ...endency-from-gtk-encode-symbolic-svg.patch | 102 ---

Re: [OE-core] [PATCH 17/23] qemu: add a gettext-native dependency

2019-01-15 Thread Alexander Kanavin
On Tue, 15 Jan 2019 at 16:06, Alexander Kanavin wrote: > > > > gettext is a heavy enough dependency I'm tempted to suggest we do: > > > > do_install[depends] += "gettext-native:do_populate_sysroot" > > > > given how slow qemu is to compile... > > I'm going to look a bit deeper to find out why this

[OE-core] Yocto Project Status WW03'19

2019-01-15 Thread Jolley, Stephen K
Current Dev Position: YP 2.7 M2 Next Deadline: YP 2.7 M2 Cutoff is Jan. 21, 2019 SWAT Team Rotation: * SWAT lead is currently: Paul * SWAT team rotation: Paul -> Chen on Jan. 18, 2019 * SWAT team rotation: Chen -> Armin on Jan. 25, 2019 * https://wiki.yoctopro

Re: [OE-core] [PATCH][thud] kernel: use olddefconfig as the primary target for KERNEL_CONFIG_COMMAND

2019-01-15 Thread akuster808
On 1/15/19 5:02 AM, Ross Burton wrote: > From: Bruce Ashfield > > As was warned by commit 312ee68752fa [kconfig: announce removal of > oldnoconfig if used], oldnoconfig has been removed from the 4.20 kernel. > > So we switch our default mode to olddefconfig. This is sitting in stable/thud-next

Re: [OE-core] [PATCH 17/23] qemu: add a gettext-native dependency

2019-01-15 Thread Alexander Kanavin
On Tue, 15 Jan 2019 at 15:21, Richard Purdie wrote: > > xgettext/msgmerge is used during do_install(). > > > > Signed-off-by: Alexander Kanavin > > --- > > meta/recipes-devtools/qemu/qemu.inc | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/meta/recipes-devtools/qem

Re: [OE-core] [PATCH] Handle OFD lock flags

2019-01-15 Thread Seebs
On Tue, 15 Jan 2019 13:31:13 +0100 Stefan Agner wrote: > + case F_OFD_GETLK: > + case F_OFD_SETLK: > + case F_OFD_SETLKW: These probably need an #ifdef for systems that don't have those names yet, but otherwise this looks reasonable? -s -- __

[OE-core] [PATCH v2 13/15] util-linux: move /etc/default/mountall into -mount subpackage

2019-01-15 Thread André Draszik
From: André Draszik This should probably be there and now the main package is a real meta-package only. [YOCTO #13058] Signed-off-by: André Draszik --- meta/recipes-core/util-linux/util-linux.inc | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/meta/recipes-core

[OE-core] [PATCH v2 12/15] util-linux: simplify meta-package RDEPENDS / RRECOMMENDS

2019-01-15 Thread André Draszik
From: André Draszik The util-linux meta-package now simply RRECOMMENDS all subpackages created. There is no distinction between what it previously recommended or depended on for existing packages. This is to streamline the dependencies and to make things less surprising. [YOCTO #13058] Signed-

[OE-core] [PATCH v2 11/15] util-linux: one package per binary (pt 4: bindir)

2019-01-15 Thread André Draszik
From: André Draszik Similar to the previous patch. Existing packages (and current dependency by main package): * ionice <- RRECOMMENDS * lsblk <- RDEPENDS * lscpu * mcookie * prlimit <- RRECOMMENDS * unshare * uuidgen New packages: * too many to list To avoid breaking existing users, all the n

[OE-core] [PATCH v2 14/15] util-linux: let -ptest package depend on all of util-linux

2019-01-15 Thread André Draszik
From: André Draszik ptest executes all the binaries, so they really need to be available in the file system. [YOCTO #13058] Signed-off-by: André Draszik --- meta/recipes-core/util-linux/util-linux.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/util-l

[OE-core] [PATCH v2 15/15] utils-linux: final cleanup

2019-01-15 Thread André Draszik
From: André Draszik * use ${PN} instead of util-linux * use PACKAGESPLITFUNCS for creating util-linux-lib* packages rather than an _append OVERRIDE * sort ALTERNATIVE_LINK_NAME alphabetically * Fix handling of escape characters in regexs and hence fix python Deprecation warnings which will be

[OE-core] [PATCH v2 09/15] util-linux: one package per binary (pt 2: base_bindir)

2019-01-15 Thread André Draszik
From: André Draszik Similar to the previous patch. Existing packages (and current dependency by main package): * mount <- RRECOMMENDS * umount <- RDEPENDS * mountpoint <- RRECOMMENDS * getopt * su <- RDEPENDS New packages: * dmesg * kill * more To avoid breaking existing users, all the new pac

[OE-core] [PATCH v2 10/15] util-linux: one package per binary (pt 3: sbindir)

2019-01-15 Thread André Draszik
From: André Draszik Similar to the previous patch. Existing packages (and current dependency by main package): * blkdiscard <- RRECOMMENDS * findfs * fsck.cramfs * mkfs <- RRECOMMENDS * mkfs.cramfs * partx * readprofile <- RRECOMMENDS * rfkill * runuser <- RDEPENDS * sfdisk <- RRECOMMENDS * uuid

[OE-core] [PATCH v2 08/15] util-linux: one package per binary (pt 1: base_sbindir)

2019-01-15 Thread André Draszik
From: André Draszik Now that we have required infrastructure in place, we can start creating one package per binary. To make this process easier to follow, this is done in steps, starting with binaries from base_sbindir. Existing packages (and current dependency by main package): * agetty * blk

[OE-core] [PATCH v2 07/15] update-alternatives: try to update FILES_${PN} when renaming a file

2019-01-15 Thread André Draszik
From: André Draszik When using update-alternatives, FILES_${PN} must be referencing the new name after update-alternatives has renamed files. This is more or less OK when having static lists of files to be packaged into a package, but makes it quite hard to dynamically generate FILES_${PN}, e.g.

[OE-core] [PATCH v2 02/15] util-linux: remove erroneous patch (qsort_r)

2019-01-15 Thread André Draszik
From: André Draszik The patch in question is patching the code to use qsort() instead of qsort_r(), without adopting the compare function. This is a major issue, because the compare function as written is evaluating / accessing a third argument, which is not passed with this OE patch, causing acc

[OE-core] [PATCH v2 06/15] update-alternatives: allow hooks before renaming files

2019-01-15 Thread André Draszik
From: André Draszik At the moment, the update alternatives handling is happening right after copying into PKGD during packaging time using an _append OVERRIDE to the copy function. This means that at this point the PACKAGES variable must have been fully populated, as that is a prerequisite for up

[OE-core] [PATCH v2 03/15] util-linux: remove minix remnants

2019-01-15 Thread André Draszik
From: André Draszik While commit fc66762d7c11 ("util-linux: Disable minix support.") (or e88cee8cc31d in poky) removed most of the bits, there are still references to minix remaining. Remove them. Signed-off-by: André Draszik --- meta/recipes-core/util-linux/util-linux.inc | 2 +- 1 file chan

[OE-core] [PATCH v2 05/15] util-linux: fix the su and runuser packages

2019-01-15 Thread André Draszik
From: André Draszik The packages get an automatic RDEPENDS via shlibs, no need to explicitly state it, so we can drop those useless explicit assignments. su is moved into ${base_bindir} in do_install(), so because of a mismatched FILES specification su is actually packaged into the main package

[OE-core] [PATCH v2 04/15] util-linux: be more explicit about what files go into packages

2019-01-15 Thread André Draszik
From: André Draszik Just using a wildcard leaves the reader wondering what is meant here. By being explicit we can describe exactly what is intended, i.e. the file name as resulting from the ALTERNATIVE and ALTERNATIVE_LINK_NAME mechanism. Signed-off-by: André Draszik --- meta/recipes-core/ut

[OE-core] [PATCH v2 01/15] util-linux: simplify version upgrades (MAJOR_VERSION)

2019-01-15 Thread André Draszik
From: André Draszik There doesn't appear to be a need to manually and explicitly specificy the major version (for the download URL), it can be deduced easily from PV. Do so. Signed-off-by: André Draszik --- meta/recipes-core/util-linux/util-linux.inc | 3 ++- meta/recipes-core/util-linu

[OE-core] [PATCH v2 00/12] util-linux: one package per binary

2019-01-15 Thread André Draszik
This is version 2 of this series. It addresses all open questions I had, and fixes a few bugs: Previous open questions: * existing RDEPENDS vs RRECOMMENDS for some but not all packages * -dev package depends no some, partly non-existing packages, e.g. util-linux-losetup-dev Both questions s

Re: [OE-core] [PATCH 17/23] qemu: add a gettext-native dependency

2019-01-15 Thread Richard Purdie
On Mon, 2019-01-14 at 16:03 +0100, Alexander Kanavin wrote: > xgettext/msgmerge is used during do_install(). > > Signed-off-by: Alexander Kanavin > --- > meta/recipes-devtools/qemu/qemu.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/recipes-devtools/qemu/qemu.

Re: [OE-core] [PATCH 20/23] runqemu: add support for virgl GL acceleration

2019-01-15 Thread Alexander Kanavin
Thanks, I have fixed this now. Alex On Tue, 15 Jan 2019 at 07:15, Martin Jansa wrote: > > You're duplicating nographic elif > > On Mon, Jan 14, 2019 at 4:06 PM Alexander Kanavin > wrote: >> >> Also, do not hardcode -vga option to qemu, set it according to command line >> parameters. >> >> Sig

Re: [OE-core] [PATCH 07/23] libepoxy: enable native/nativesdk variants

2019-01-15 Thread Alexander Kanavin
On Mon, 14 Jan 2019 at 16:50, Peter Kjellerstedt wrote: > Shouldn't this only be done for native/nativesdk? I.e.: > > do_install_append_class-native() { > chrpath --delete ${D}${libdir}/*.so > } > > do_install_append_class-nativesdk() { > chrpath --delete ${D}${libdir}/*.so > } > >

Re: [OE-core] [PATCH 12/23] mesa-gl: do not enable nativesdk variant to avoid clashes with main mesa recipe

2019-01-15 Thread Alexander Kanavin
Not really. For native/nativesdk builds mesa-gl is not a viable alternative to mesa, as it lacks all of the bits that make accelerated qemu possible. Using PREFERRED_PROVIDER would imply otherwise. I added this to the commit message. Alex On Mon, 14 Jan 2019 at 17:10, Burton, Ross wrote: > > Wou

Re: [OE-core] [PATCH 16/23] atk: disable gobject-introspection for nativesdk

2019-01-15 Thread Alexander Kanavin
On Mon, 14 Jan 2019 at 17:05, Burton, Ross wrote: > Rationale please. We do not support g-i for nativesdk, neverthless atk tries and fails. I added this to the commit message. Alex Alex -- ___ Openembedded-core mailing list Openembedded-core@lists.op

Re: [OE-core] [PATCH 08/23] mesa: enable native and nativesdk variants

2019-01-15 Thread Alexander Kanavin
On Mon, 14 Jan 2019 at 17:05, Burton, Ross wrote: >> -ANY_OF_DISTRO_FEATURES = "opengl vulkan" >> +ANY_OF_DISTRO_FEATURES_class-target = "opengl vulkan" > > > Sounds like this means we should be fiddling the native DISTRO_FEATURES > instead of making a distro feature check target-only. The prece

[OE-core] [PATCH][thud] kernel: use olddefconfig as the primary target for KERNEL_CONFIG_COMMAND

2019-01-15 Thread Ross Burton
From: Bruce Ashfield As was warned by commit 312ee68752fa [kconfig: announce removal of oldnoconfig if used], oldnoconfig has been removed from the 4.20 kernel. So we switch our default mode to olddefconfig. commit fb16d8912 [kconfig: replace 'oldnoconfig' with 'olddefconfig', and keep the old

[OE-core] [PATCH] Handle OFD lock flags

2019-01-15 Thread Stefan Agner
Linux 3.15 and newer introduced new open file description locks. Currently pseudo prints a warning if fcntl is used with OFD locks: unknown fcntl argument 37, assuming long argument. However, calls to fcntl with a OFC lock set need a struct flock pointer. Treat F_OFD_GETLK (and friends) like F_G

Re: [OE-core] [PATCH] libcomps & librepo: fix buildpaths qa warnings

2019-01-15 Thread Burton, Ross
On Tue, 15 Jan 2019 at 06:46, wrote: > Add preprocess option '-fmacro-prefix-map' to TARGET_CPPFLAGS to fix > buildpaths qa warnings of libcomps and librepo. This is something we should be doing globally, not in a specific recipe. We pass -fdebug-prefix-map already in bitbake.conf (remap debug p

Re: [OE-core] [PATCH] libcomps & librepo: fix buildpaths qa warnings

2019-01-15 Thread Alexander Kanavin
On Tue, 15 Jan 2019 at 07:46, wrote: > Add preprocess option '-fmacro-prefix-map' to TARGET_CPPFLAGS to fix > buildpaths qa warnings of libcomps and librepo. These warnings are not happening on the AB or on my local setup. Could they be happening due to something in your local config? Can you try

Re: [OE-core] [PATCH 2/2] piglit: support build piglit without x11

2019-01-15 Thread Burton, Ross
On Tue, 15 Jan 2019 at 05:29, wrote: > +X11_DEPS = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 > libxrender libglu', '', d)}" > +DEPENDS = "libpng waffle libxkbcommon virtual/libgl python3-mako-native > python3-numpy-native python3-six-native virtual/egl ${X11_DEPS}" This...

Re: [OE-core] [PATCH 1/2] waffle: supprt build waffle without x11

2019-01-15 Thread Burton, Ross
On Tue, 15 Jan 2019 at 09:15, Burton, Ross wrote: > Should this be: > > PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', > 'glx', '', d)} gbm" > > ie always gbm, and glx if X11 is available? Actually whist we're here, respect the wayland DISTRO_FEATURE too? And enable egl out of

Re: [OE-core] [PATCH 1/2] waffle: supprt build waffle without x11

2019-01-15 Thread Burton, Ross
On Tue, 15 Jan 2019 at 05:29, wrote: > +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'glx', > 'gbm', d)}" Should this be: PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'glx', '', d)} gbm" ie always gbm, and glx if X11 is available? Ross -- ___