[OE-core] [PATCH] pulseaudio: change pulse to be a system group

2018-01-04 Thread jackie.huang
From: Jackie Huang pulse is added as a system user, so the group 'pulse' is meant to be a system group as well, which is the same with other distros like ubuntu/centos. Signed-off-by: Jackie Huang --- meta/recipes-multimedia/pulseaudio/pulseaudio.inc | 2 +- 1 file changed, 1 insertion(+), 1 d

Re: [OE-core] [PATCH] shadow: 'useradd' copies root's extended attributes

2018-01-04 Thread Fan, Wenzong
It works and will override the labels of home dir that SELinux applied, that's the issue. For SELinux enabled system, the user's home dir should have lavel 'user_home_dir_t' instead of 'etc_t', it prevents users from creating files in their home dir. Thanks Wenzong

Re: [OE-core] [PATCH 1/1] coreutils: upgrade to 8.29

2018-01-04 Thread Richard Purdie
On Thu, 2018-01-04 at 15:35 +0800, Chen Qi wrote: > * ls.c license checksum is changed, but the license remains the same. > > * The new version provides native manual page support, there's no >   need to download extra manual page from gentoo site. > > * man-decouple-manpages-from-build.patch is

[OE-core] [rocko][PATCH 1/1] python[3]-setuptools: inherit setuptools

2018-01-04 Thread Tim Orling
* distutils[3].bbclass was not including pkg_resources module * Drop uneeded DISTUTILS_INSTALL_ARGS as setuptools[3].bbclass provides it Fixes [YOCTO #12148] Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python-setuptools_36.2.7.bb | 4 +--- meta/recipes-devtools/python/python3-se

[OE-core] [rocko][PATCH 0/1] python[3]-setuptools: inherit setuptools

2018-01-04 Thread Tim Orling
The existing recipes for python[3]-setuptools were not packaging the "pkg_resources" module, which bmap-tools RDEPENDS on (see YOCTO #12148). This was addressed in master, but requires a slightly different approach for rocko (as we do not want to upgrade versions on stable branches). This applies

Re: [OE-core] Uninative and sstate

2018-01-04 Thread Richard Purdie
On Thu, 2018-01-04 at 16:11 -0600, Joshua Watt wrote: > On Thu, 2018-01-04 at 22:00 +, Richard Purdie wrote: > > There used to be an optimisation we made where we only did it when > > we > > needed to (using sstate). The move to RSS meant that we now always > > have > > to do it. I'd therefore

Re: [OE-core] Uninative and sstate

2018-01-04 Thread Joshua Watt
On Thu, 2018-01-04 at 22:00 +, Richard Purdie wrote: > On Thu, 2018-01-04 at 14:15 -0600, Joshua Watt wrote: > > We've run into a strange issued that turned out to be cased by > > missing > > iconv conversion libraries in our uninative tarball, but is sparked > > a > > larger question that I wa

Re: [OE-core] Uninative and sstate

2018-01-04 Thread Richard Purdie
On Thu, 2018-01-04 at 14:15 -0600, Joshua Watt wrote: > We've run into a strange issued that turned out to be cased by > missing > iconv conversion libraries in our uninative tarball, but is sparked a > larger question that I was hoping someone here could answer. > > The problem was particularly b

[OE-core] [PATCH 5/5] openssl-ptest: improve reproducibility

2018-01-04 Thread Juro Bystricky
Remove buildhost references from Makefile and Configure. Signed-off-by: Juro Bystricky --- meta/recipes-connectivity/openssl/openssl10.inc | 6 ++ 1 file changed, 6 insertions(+) diff --git a/meta/recipes-connectivity/openssl/openssl10.inc b/meta/recipes-connectivity/openssl/openssl10.inc

[OE-core] [PATCH 2/5] gcc-runtime: improve reproducibility

2018-01-04 Thread Juro Bystricky
Remove various build host references from packages: libstdc++ libstdc++-staticdev gcc-runtime-dbg The references are removoved by correctly setting various compiler -fdebug-prefix-map settings. There are two main issues: The default DEBUG_PREFIX_MAP variable references WORKDIR, however, gcc sourc

[OE-core] [PATCH 4/5] sed-ptest: improve reproducibility

2018-01-04 Thread Juro Bystricky
Remove build host references Signed-off-by: Juro Bystricky --- meta/recipes-extended/sed/sed_4.2.2.bb | 6 ++ 1 file changed, 6 insertions(+) diff --git a/meta/recipes-extended/sed/sed_4.2.2.bb b/meta/recipes-extended/sed/sed_4.2.2.bb index e31bec2..f10e365 100644 --- a/meta/recipes-extend

[OE-core] [PATCH 3/5] attr-doc: improve reproducibility

2018-01-04 Thread Juro Bystricky
Use gzip compression without timestamps in the metadata. (Use gzip -n). Signed-off-by: Juro Bystricky --- meta/recipes-support/attr/ea-acl.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/attr/ea-acl.inc b/meta/recipes-support/attr/ea-acl.inc index e6

[OE-core] [PATCH 0/5] improve reproducibility of several packages

2018-01-04 Thread Juro Bystricky
The patches in this patch set are independent and can be applied in any order/subset. They all allow building binary reproducible packages if built on the same host. This is accomplished mostly by removing various buil dhost information leaks or useless timestams. Juro Bystricky (5): python3-

[OE-core] [PATCH 1/5] python3-dev: improve reproducibility

2018-01-04 Thread Juro Bystricky
Remove remaining build host references from packaged files. [#YOCTO 11472] Signed-off-by: Juro Bystricky --- meta/recipes-devtools/python/python3_3.5.3.bb | 5 + 1 file changed, 5 insertions(+) diff --git a/meta/recipes-devtools/python/python3_3.5.3.bb b/meta/recipes-devtools/python/pytho

[OE-core] Uninative and sstate

2018-01-04 Thread Joshua Watt
We've run into a strange issued that turned out to be cased by missing iconv conversion libraries in our uninative tarball, but is sparked a larger question that I was hoping someone here could answer. The problem was particularly baffling. We were attempting to use Doxygen in a recipe which requi

[OE-core] [PATCH v2] package_rpm.bbclass: clamp timestamps

2018-01-04 Thread Juro Bystricky
Improve binary reproducibility of RPM packages. Ensure timestamps in RPM packages are not later than the value of SOURCE_DATE_EPOCH. If SOURCE_DATE_EPOCH is not set, timestamps are not clamped. Signed-off-by: Juro Bystricky --- meta/classes/package_rpm.bbclass | 1 + 1 file changed, 1 insertion(

Re: [OE-core] [oe-core][PATCH 1/1] allarch: do not set baselib

2018-01-04 Thread Slater, Joseph
We should change fontcache.bbclass to not pass libdir, etc, to the update_font_cache script, since the environment will be set when the script executes. That would solve the original problem, but it leaves the general problem of matching LD_LIBRARY_PATH for postinstall intercepts to the multili

Re: [OE-core] MS Windows machine?

2018-01-04 Thread Richard Purdie
On Thu, 2018-01-04 at 07:31 +0100, Steffen Sledz wrote: > On 21.12.2017 14:00, Steffen Sledz wrote: > > > > On 21.12.2017 12:39, Burton, Ross wrote: > > > > > > If you want to build for a Windows target then that should be > > > possible but > > > nobody as far as I'm aware has made the work publ

[OE-core] [PATCH 3/4] maintainers.inc: assign python recipes to Derek Straka

2018-01-04 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/conf/distro/include/maintainers.inc | 48 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 5f9b796f801..4fb7cd32813

[OE-core] [PATCH 4/4] gobject-introspection: correct the --lib-dirs-envvar patch

2018-01-04 Thread Alexander Kanavin
The first version introduced a new branch in if-else statement, and so discarded the actions in the branch taken previously. This seemed to have no adverse effect for now, but let's do it right. Signed-off-by: Alexander Kanavin --- ...01-giscanner-add-a-lib-dirs-envvar-option.patch | 26

Re: [OE-core] [PATCH] kernel: Add paravirt_kvm support for qemux86-64

2018-01-04 Thread Bruce Ashfield
Make sure to cc' me on any changes to linux-yocto* Ross (or whoever else), I'll pick this up as part of my next consolidated pull, no need to do anything with it. Bruce On Thu, Jan 4, 2018 at 3:14 AM, wrote: > From: He Zhe > > This feature includes paravirtualized KVM guest support. > > Signe

[OE-core] [PATCH 2/4] maintainers.inc: remove python recipes no longer provided in oe-core

2018-01-04 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/conf/distro/include/maintainers.inc | 17 - 1 file changed, 17 deletions(-) diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 87b80cb97a3..5f9b796f801 100644 --- a/meta/conf/distro/inc

[OE-core] [PATCH 1/4] oe-selftest: add a test for recipes without maintainers

2018-01-04 Thread Alexander Kanavin
'bitbake -c checkpkg world' is moved to class initializer to avoid it being run twice in a row. Signed-off-by: Alexander Kanavin --- meta/lib/oeqa/selftest/cases/distrodata.py | 32 +- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/meta/lib/oeqa/selfte

Re: [OE-core] [oe] Slideshow for FOSDEM

2018-01-04 Thread Andreas Müller
On Wed, Jan 3, 2018 at 6:29 PM, Philip Balister wrote: > On 01/03/2018 09:47 AM, Paul Barker wrote: > > Hi all, > > > > As we've only got one table at FOSDEM this year we're not going to > > have space for as many bits of hardware as usual. I'd still like us to > > show off the project and what p

Re: [OE-core] [PATCH 2/9] gnomebase.bbclass: split into autotools and meson versions

2018-01-04 Thread Alexander Kanavin
On 01/03/2018 01:11 PM, Richard Purdie wrote: On Thu, 2017-12-21 at 15:04 +0200, Alexander Kanavin wrote: gnomebase.bbclass unfortunately hardcodes the autotools inherit, so we have to introduce gnomebase-nobuildsystem.bbclass where the common bits between autotools and meson classes can be plac

[OE-core] [PATCH 9/9] meson: Port pkgconfig-native patch to 0.44.0

2018-01-04 Thread Alexander Kanavin
From: Ricardo Ribalda Delgado The update to 0.44.0 did not add this patch required for qt builds. Signed-off-by: Ricardo Ribalda Delgado Signed-off-by: Alexander Kanavin --- .../meson/meson/0003-native_bindir.patch | 109 + meta/recipes-devtools/meson/meson_0.44.

[OE-core] [PATCH 8/9] meson: export native env only for native build

2018-01-04 Thread Alexander Kanavin
From: Martin Kelly Although the meson crossfile should take care of setting the right cross environment for a target build, meson slurps any set CFLAGS, CXXFLAGS, LDFLAGS, and CPPFLAGS from the environment and injects them into the build (see mesonbuild/environment.py:get_args_from_envvars for de

[OE-core] [PATCH 5/9] libinput: convert to meson build

2018-01-04 Thread Alexander Kanavin
Drop libunwind option, as it is only used if tests are enabled (and they're unconditionally not enabled). Signed-off-by: Alexander Kanavin --- meta/recipes-graphics/wayland/libinput_1.8.4.bb | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/meta/recipes-graphics/wa

[OE-core] [PATCH 3/9] json-glib: convert to meson build

2018-01-04 Thread Alexander Kanavin
Note that meson flags for gobject introspection and gtk-doc appear to be non-standardized; going forward we should devise a common way to deal with it. gettext inherit is removed, as there is no equivalent functionality in meson; NLS bits are always built and installed. Signed-off-by: Alexander K

[OE-core] [PATCH 7/9] gst-player: Upgrade, rename to gst-examples

2018-01-04 Thread Alexander Kanavin
From: Jussi Kukkonen Switch to using current repository, switch to meson (following upstream), rename the recipe like upstream. Add a patch to install the player binaries. Signed-off-by: Alexander Kanavin --- .../packagegroup-core-tools-testapps.bb| 2 +- .../0001-Make-player-exa

[OE-core] [PATCH 6/9] sysprof: convert to meson build

2018-01-04 Thread Alexander Kanavin
Drop autotools-specific patches. Rename polkit packageconfig option to sysprofd as 'polkit' does not at all match what is happening. Remove --enable-compiler-warnings, as the equivalent in meson could not be found. Signed-off-by: Alexander Kanavin --- .../sysprof/files/0001-Avoid-building-docs

[OE-core] [PATCH 4/9] libepoxy: convert to meson build

2018-01-04 Thread Alexander Kanavin
Add a patch to work around absence of dlvsym() on musl (wasn't previously a problem as autotools weren't building tests by default) Signed-off-by: Alexander Kanavin --- ...sible-to-disable-the-use-of-dlvsym-needed.patch | 55 ++ meta/recipes-graphics/libepoxy/libepoxy_1.4.3.b

[OE-core] [PATCH 1/9] meson: add a recipe and class from meta-oe

2018-01-04 Thread Alexander Kanavin
The original recipe has been provided and improved by: Ross Burton Ricardo Ribalda Delgado Adam C. Foltzer Peter Kjellerstedt Linus Svensson I have added patches to fix up gtk-doc and gobject-introspection in cross-compilation environments, and also change the order of linker arguments to r

[OE-core] [PATCH 2/9] gnomebase-meson.bbclass: add a meson-specific version

2018-01-04 Thread Alexander Kanavin
gnomebase.bbclass hardcodes the autotools inherit, so make it configurable and set appropriately from both classes. Signed-off-by: Alexander Kanavin --- meta/classes/gnomebase-meson.bbclass | 2 ++ meta/classes/gnomebase.bbclass | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) cre

[OE-core] ✗ patchtest: failure for "utils: Make get_multilib_datas..." and 1 more

2018-01-04 Thread Patchwork
== Series Details == Series: "utils: Make get_multilib_datas..." and 1 more Revision: 1 URL : https://patchwork.openembedded.org/series/10388/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been

[OE-core] [PATCH 2/2] site/common: Allow ac_cv_path_SED to be overridden

2018-01-04 Thread Richard Purdie
There are tools in the wild where we need this to be a full path, even if that doesn't make sense in most other cases due to libtool issues. Allow those cases to override the default value as currently its near impossible to do so. Signed-off-by: Richard Purdie --- meta/site/common | 2 +- 1 fil

[OE-core] [PATCH 1/2] utils: Make get_multilib_datastore available from lib/oe

2018-01-04 Thread Richard Purdie
Currently we can't access this function from lib/oe as its a class function. Move it to allow such access. Signed-off-by: Richard Purdie --- meta/classes/utils.bbclass | 7 +-- meta/lib/oe/utils.py | 8 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/meta/classe

Re: [OE-core] [PATCH 3/9] json-glib: convert to meson build

2018-01-04 Thread Alexander Kanavin
On 01/04/2018 10:40 AM, ChenQi wrote: I got the following do_compile failure when I was building json-glib for qemux86-64. | FileNotFoundError: [Errno 2] No such file or directory: '/buildarea2/chenqi/poky/build-systemd/tmp/work/core2-64-poky-linux/json-glib/1.2.8-r0/build/tmp-introspect27wkl

[OE-core] ✗ patchtest: failure for "[v3] runtime/cases/ptest.py: d..." and 2 more

2018-01-04 Thread Patchwork
== Series Details == Series: "[v3] runtime/cases/ptest.py: d..." and 2 more Revision: 1 URL : https://patchwork.openembedded.org/series/10387/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been

Re: [OE-core] [PATCH 1/1] rpm_4.14.0: clamp timestamps by default

2018-01-04 Thread Alexander Kanavin
On 01/03/2018 06:59 PM, Bystricky, Juro wrote: A technicality: do not patch mnacros.in, set the macro directly from package_rpm.bbclass. Yes, I considered this (see the [patch 0/1]). I chose to patch macros.in in the recipe rpm_4.14.0 instead because the new macro is introduced in RPM 4.14.0.

[OE-core] [PATCHv3 3/3] runtime/cases/ptest.py: fail when ptests fail on target

2018-01-04 Thread Alexander Kanavin
That's the whole point isn't it? Previously this testcase succeeded even if some of the underlying on-target tests failed; the only way to find out if anything was wrong was to manually inspect the logs. Signed-off-by: Alexander Kanavin --- meta/lib/oeqa/runtime/cases/ptest.py | 8 1 fi

[OE-core] [PATCHv3 2/3] testimage.bbclass: add ptest to the list of runtime tests whenever possible

2018-01-04 Thread Alexander Kanavin
If no ptest packages are installed in the image, the test does nothing; if ptest packages are installed in the image, then they should be run without user having to enable that manually. Signed-off-by: Alexander Kanavin --- meta/classes/testimage.bbclass | 12 ++-- 1 file changed, 6 inse

[OE-core] [PATCHv3 1/3] runtime/cases/ptest.py: do not require ptest-pkgs in IMAGE_FEATURES; run only when ptest-runner is availalble;

2018-01-04 Thread Alexander Kanavin
Previously the test would execute only when all available ptests for packages in the image were installed; some of those tests may be broken, never finish, take a very long time or simply irrelevant to the user who wants to check ptests of only a few specific packages, and does so by listing them e

Re: [OE-core] [PATCH] shadow: 'useradd' copies root's extended attributes

2018-01-04 Thread Patrick Ohly
On Thu, 2018-01-04 at 19:39 +0800, wenzong fan wrote: > If so, I think we should wrapper the logic with: > > +#if defined(WITH_ATTR) && !defined(WITH_SELINUX) > +  attr_copy_file (def_template, user_home, NULL, NULL); > +#endif Does attr_copy_file fail when SELinux is active? In other words,

Re: [OE-core] [PATCH] shadow: 'useradd' copies root's extended attributes

2018-01-04 Thread wenzong fan
On 01/04/2018 06:41 PM, Patrick Ohly wrote: On Thu, 2018-01-04 at 11:18 +0100, José Bollo wrote: Do you agree to move the patch to Smack specific layer? Such as meta-security? I agree. Layers like meta-security should not modify recipes from other layers, at least not by default. That woul

Re: [OE-core] [PATCH 2/2] image-live.bbclass: remove MLPREFIX from syslinux

2018-01-04 Thread Robert Yang
Hi RP, Thanks for the reply. On 01/03/2018 10:19 PM, Richard Purdie wrote: On Wed, 2018-01-03 at 21:56 +0800, Robert Yang wrote: Also, there are some things which never make sense as a multilib, the kernel is one example and I'm starting to wonder if syslinux would be another. In the kernel (a

Re: [OE-core] [PATCH] shadow: 'useradd' copies root's extended attributes

2018-01-04 Thread Patrick Ohly
On Thu, 2018-01-04 at 11:18 +0100, José Bollo wrote: > > Do you agree to move the patch to Smack specific layer? Such as  > > meta-security? > > I agree. Layers like meta-security should not modify recipes from other layers, at least not by default. That would violate the "Yocto Compatible 2.0" r

Re: [OE-core] [PATCH] shadow: 'useradd' copies root's extended attributes

2018-01-04 Thread José Bollo
On Thu, 4 Jan 2018 17:28:27 +0800 wenzong fan wrote: > Hi José Bollo, > > This will override the labels of user's home directories that set by > SELinux. > > For example, if I run below command on SELinux enabled system: > > $ useradd test > > SELinux will label it as "user_u:object_r:user_h

Re: [OE-core] [PATCH 3/9] json-glib: convert to meson build

2018-01-04 Thread Yang, Zhangle (Eric)
-- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core

Re: [OE-core] [PATCH] receipes-devtools: QEMU: Bump to version 2.11.0

2018-01-04 Thread Yang, Zhangle (Eric)
-- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core

Re: [OE-core] [PATCH] shadow: 'useradd' copies root's extended attributes

2018-01-04 Thread wenzong fan
On 01/04/2018 05:28 PM, wenzong fan wrote: Hi José Bollo, This will override the labels of user's home directories that set by SELinux. For example, if I run below command on SELinux enabled system: $ useradd test Sorry for the typo: s/test/t1/g to match with strace logs. // Wenzong S

Re: [OE-core] [PATCH] shadow: 'useradd' copies root's extended attributes

2018-01-04 Thread wenzong fan
Hi José Bollo, This will override the labels of user's home directories that set by SELinux. For example, if I run below command on SELinux enabled system: $ useradd test SELinux will label it as "user_u:object_r:user_home_dir_t:SystemLow" first, and then useradd will reset the label as "s

Re: [OE-core] [PATCH 3/9] json-glib: convert to meson build

2018-01-04 Thread Alexander Kanavin
On 01/04/2018 10:51 AM, ChenQi wrote: file://0001-Do-not-disable-gobject-introspection-when-cross-comp.patch \ +   " I removed this patch and the compile succeeded. Could you please check if this patch is really needed? If it is, I think we'd better make build to succeed by default anyw

Re: [OE-core] [PATCHv2 1/3] runtime/cases/ptest.py: do not require ptest-pkgs in IMAGE_FEATURES

2018-01-04 Thread Alexander Kanavin
On 01/03/2018 10:42 PM, Cal Sullivan wrote: Looks like it doesn't skip the test correctly: +status, output = self.target.run('which ptest-runner', 0) +if len(output) == 0: +self.skipTest("No -ptest packages are installed in the image") + Looks like there are no less

Re: [OE-core] [PATCH 3/9] json-glib: convert to meson build

2018-01-04 Thread ChenQi
On 12/21/2017 09:04 PM, Alexander Kanavin wrote: Note that meson flags for gobject introspection and gtk-doc appear to be non-standardized; going forward we should devise a common way to deal with it. gettext inherit is removed, as there is no equivalent functionality in meson; NLS bits are alwa

Re: [OE-core] [PATCH] receipes-devtools: QEMU: Bump to version 2.11.0

2018-01-04 Thread Richard Purdie
On Tue, 2018-01-02 at 14:58 -0800, Alistair Francis wrote: > On Thu, Dec 21, 2017 at 1:56 PM, Alistair Francis > wrote: > > > > Use the latest QEMU release 2.11. Remove all patches that are no > > longer > > required as they have been merged into the 2.11 releaese. One patch > > had > > to be upd

Re: [OE-core] [PATCH 3/9] json-glib: convert to meson build

2018-01-04 Thread ChenQi
I got the following do_compile failure when I was building json-glib for qemux86-64. | FileNotFoundError: [Errno 2] No such file or directory: '/buildarea2/chenqi/poky/build-systemd/tmp/work/core2-64-poky-linux/json-glib/1.2.8-r0/build/tmp-introspect27wkly7i/Json-1.0' Best Regards, Chen Qi

[OE-core] [PATCH] kernel: Add paravirt_kvm support for qemux86-64

2018-01-04 Thread zhe.he
From: He Zhe This feature includes paravirtualized KVM guest support. Signed-off-by: He Zhe --- meta/recipes-kernel/linux/linux-yocto-rt_4.12.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_4.12.bb b/meta/recipes-kernel/linux/lin