[OE-core] [PATCH] ltp: kernel/syscall/setrlimit05.c: use a legal bad address for mips

2018-11-07 Thread Hongzhi.Song
This testcase fails on mips32. The process is killed by SIGBUS which is not as expect. This is because: ((void *)-1) is not a legal bad address which causes the process killed by SIGBUG on mips. 'tst_get_bad_addr()' returns an address that should works on mips and other arches. Signed-off-by:

[OE-core] [PATCH v2 0/7] python/python3: add tk support

2018-11-07 Thread mingli.yu
Changed in v2: 1, add support for tk via PACKAGECONFIG, and tk is disabled by default. 2, add tk support also for python3. -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org

[OE-core] [PATCH 5/7] fontconfig: extend to nativesdk

2018-11-07 Thread mingli.yu
From: Mingli Yu After enable tk via PACKAGECONFIG for python3, there comes below error: Missing or unbuildable dependency chain was: ['nativesdk-packagegroup-sdk-host', 'nativesdk-opkg', 'nativesdk-libsolv', 'nativesdk-rpm', 'nativesdk-python3', 'nativesdk-tk', 'nativesdk-xft',

[OE-core] [PATCH 7/7] libice: extend to nativesdk

2018-11-07 Thread mingli.yu
From: Mingli Yu After enable tk via PACKAGECONFIG for python3, there comes below error: Missing or unbuildable dependency chain was: ['buildtools-tarball', 'nativesdk-python3-git', 'nativesdk-python3-gitdb', 'nativesdk-python3-async', 'nativesdk-python3', 'nativesdk-tk', 'nativesdk-libxt',

[OE-core] [PATCH 4/7] libxft: extend to nativesdk

2018-11-07 Thread mingli.yu
From: Mingli Yu After enable tk via PACKAGECONFIG for python3, there comes below error: Missing or unbuildable dependency chain was: ['buildtools-tarball', 'nativesdk-python3-testtools', 'nativesdk-python3-pbr', 'nativesdk-python3', 'nativesdk-tk', 'nativesdk-xft'] Extend libxft to nativesdk

[OE-core] [PATCH 6/7] libsm: extend to nativesdk

2018-11-07 Thread mingli.yu
From: Mingli Yu After enable tk via PACKAGECONFIG for python3, there comes below error: Missing or unbuildable dependency chain was: ['buildtools-tarball', 'nativesdk-python3-testtools', 'nativesdk-python3-pbr', 'nativesdk-python3', 'nativesdk-tk', 'nativesdk-libxt', 'nativesdk-libsm'] Extend

[OE-core] [PATCH 3/7] libxt: extend to nativesdk

2018-11-07 Thread mingli.yu
From: Mingli Yu After enable tk via PACKAGECONFIG for python3, there comes below error: Missing or unbuildable dependency chain was: ['buildtools-tarball', 'nativesdk-python3-pytz', 'nativesdk-python3', 'nativesdk-tk', 'nativesdk-libxt'] Extend libxt to nativesdk to fix this issue.

[OE-core] [PATCH v2 1/7] python: add tk support

2018-11-07 Thread mingli.yu
From: Mingli Yu Add support to enable tk via PACKGECONFIG. before the patch: # python Python 2.7.15 (default, Nov 8 2018, 04:53:50) [GCC 8.2.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import Tkinter Traceback (most recent call last): File "",

[OE-core] [PATCH v2 0/7] python/python3: add tk support

2018-11-07 Thread mingli.yu
-- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core

[OE-core] [PATCH 2/7] python3: add tk support

2018-11-07 Thread mingli.yu
From: Mingli Yu Add support to enable tk via PACKAGECONFIG. before this patch: # python3 Python 3.5.6 (default, Nov 8 2018, 04:53:45) [GCC 8.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import tkinter Traceback (most recent call last): File

Re: [OE-core] [PATCH] ghostscript: Define COMPATIBLE_HOST with supported platforms

2018-11-07 Thread ChenQi
This patch causes the following failure on autobuilder. https://autobuilder.yoctoproject.org/typhoon/#/builders/32/builds/183/steps/7/logs/step1c Best Regards, Chen Qi On 11/07/2018 04:47 PM, Nathan Rossi wrote: Setup the COMPATIBLE_HOST variable with all supported hosts based on the provided

Re: [OE-core] [PATCH] python-native: fix one do_populate_sysroot warning

2018-11-07 Thread Changqing Li
Ping On 10/25/18 4:59 PM, changqing...@windriver.com wrote: From: Changqing Li Fix below warning: WARNING: Skipping RPATH /usr/lib64 as is a standard search path for work/x86_64-linux/python-native/2.7.15-r1.1/recipe-sysroot-native/ usr/lib/python2.7/lib-dynload/_bsddb.so setup.py will check

Re: [OE-core] [PATCH] python/python3: use cc_basename to replace CC for checking compiler

2018-11-07 Thread Changqing Li
Ping On 10/23/18 1:22 PM, changqing...@windriver.com wrote: From: Changqing Li When working path contains "clang"/"gcc"/"icc", it might be part of $CC because of the "--sysroot" parameter. That could cause judgement error about clang/gcc/icc compilers. eg: if build under /yocto/builds/xicc/,

Re: [OE-core] [PATCH] image-buildinfo: drop more verbose build configuration

2018-11-07 Thread Andreas Müller
On Sat, Sep 29, 2018 at 4:17 PM Richard Purdie wrote: > > On Fri, 2018-09-28 at 11:48 +0200, Andreas Müller wrote: > > * before DISTRO and DISTRO_VERSION were written only - this is not > > enough to > > get a complete picture in which environmet an image was build. Now > > same > >

[OE-core] [PATCH] valgrind: drop mips n32 support

2018-11-07 Thread Randy MacLeod
valgrind for qemumips64 multilib builds fails to configure for libn32 with the error: configure:6190: checking for 32 bit build support ... fatal error: bits/long-double-32.h: No such file or directory It seems that the toolchain is producing:

Re: [OE-core] [PATCH] Fix header files to compile libgpg-error-native on ppc64le Power8 build machine

2018-11-07 Thread Burton, Ross
The identical patch by Serhey Popovych is queued for master right now. Ross On Wed, 7 Nov 2018 at 15:57, Guillermo Amat wrote: > > Using a ppc64le build machine the following error occurs when compiling > libjpg-error-native > > cp: cannot stat >

[OE-core] [PATCH] Fix header files to compile libgpg-error-native on ppc64le Power8 build machine

2018-11-07 Thread Guillermo Amat
Using a ppc64le build machine the following error occurs when compiling libjpg-error-native cp: cannot stat '/home/ubuntu/Yocto/build-ppc64/tmp/work/ppc64le-linux/libgpg-error-native/1.32-r0/libgpg-error-1.32/src/syscfg/lock-obj-pub.ppc64le-unknown-linux-gnu.h': No such file or directory ---

Re: [OE-core] [opkg-devel] [opkg-utils PATCH] opkg-make-index: use ctime instead of mtime

2018-11-07 Thread Alejandro Del Castillo
On 11/7/18 6:07 AM, Stefan Agner wrote: > Hi Alejandro, > > On 22.10.2018 16:45, Alejandro Del Castillo wrote: >> makes sense, sounds like this is going to fix a bunch of nasty >> intermittent failures, thanks! >> >> merged > > Thanks for merging! np > With the merge in opkg-utils this is

Re: [OE-core] [PATCH] glib-2.0: add missing locale dependencies to PN-ptest

2018-11-07 Thread Martin Jansa
It was also discussed here: http://lists.openembedded.org/pipermail/openembedded-core/2018-October/156591.html and resulted in few fixes for _remove operator and: http://lists.openembedded.org/pipermail/openembedded-core/2018-October/156695.html

Re: [OE-core] [PATCH] glib-2.0: add missing locale dependencies to PN-ptest

2018-11-07 Thread Burton, Ross
Sounds about right. Not sure what would count as a solution here? Ross On Wed, 7 Nov 2018 at 12:40, Mauno Niko wrote: > > On 10/09/2018 02:00 PM, Ross Burton wrote: > > The test suite skips several tests if the required locales are not found, > > so add > > them as dependencies of

Re: [OE-core] [PATCH 2/2] kernel-initramfs.bbclass: Handle built-in /dev/console dependence

2018-11-07 Thread Andrea Adami
On Wed, Nov 7, 2018 at 1:16 PM Nathan Rossi wrote: > > The kernel has two differing code paths when handling a built-in cpio > versus a cpio passed to the kernel from a boot loader. When the kernel > is booted with the built-in cpio it expects the /dev/console node to > exist and will panic if it

[OE-core] [rocko][sumo][PATCH 1/1] mobile-broadband-provider: fix SRC_URI

2018-11-07 Thread Max Krummenacher
From: Anuj Mittal Fixes build for older versions of git which don't follow redirects properly if the .git suffix is missing. Signed-off-by: Anuj Mittal Signed-off-by: Ross Burton (cherry picked from commit 77c353cc9bdfbf1b6453b2579b72726db05eb69c) [Fixup for rocko/sumo context] Signed-off-by:

Re: [OE-core] [PATCH 1/2] kernel-initramfs.bbclass: Separate initramfs setup

2018-11-07 Thread Andrea Adami
On Wed, Nov 7, 2018 at 1:16 PM Nathan Rossi wrote: > > This change moves the initramfs bundling functions and tasks into a > separate class called 'kernel-initramfs'. The change also converts the > copy_initramfs into a task that itself depends on the do_image_complete > of the initramfs image.

[OE-core] [PATCHv2] shadow: improve reproducibility by hard-coding shell path

2018-11-07 Thread Martin Hundebøll
The shadow configure script tries really hard to detect the running shell to make sure it doesn't do unsupported calls. On my system the shell is detected as /bin/sh, while a build in an ubuntu docker it resolves to /bin/bash. And since the shell path is baked into the target binaries through

[OE-core] [PATCH 2/2] kernel-initramfs.bbclass: Handle built-in /dev/console dependence

2018-11-07 Thread Nathan Rossi
The kernel has two differing code paths when handling a built-in cpio versus a cpio passed to the kernel from a boot loader. When the kernel is booted with the built-in cpio it expects the /dev/console node to exist and will panic if it does not exist. Kernel panic - not syncing: /dev/console

[OE-core] [PATCH 1/2] kernel-initramfs.bbclass: Separate initramfs setup

2018-11-07 Thread Nathan Rossi
This change moves the initramfs bundling functions and tasks into a separate class called 'kernel-initramfs'. The change also converts the copy_initramfs into a task that itself depends on the do_image_complete of the initramfs image. Making this change allows for the do_initramfs_* tasks to be

Re: [OE-core] [opkg-devel] [opkg-utils PATCH] opkg-make-index: use ctime instead of mtime

2018-11-07 Thread Stefan Agner
Hi Alejandro, On 22.10.2018 16:45, Alejandro Del Castillo wrote: > makes sense, sounds like this is going to fix a bunch of nasty > intermittent failures, thanks! > > merged Thanks for merging! With the merge in opkg-utils this is not yet actively used in OE of course. So my question: Is

Re: [OE-core] [PATCHv2] glibc: make ld-2.28.so reproducible on arm

2018-11-07 Thread Burton, Ross
On Wed, 7 Nov 2018 at 07:41, Martin Hundebøll wrote: > > Please add Upsteam-Status: and Signed-off-by: in the patch itself. > > It was Richard's patch, so I chose the less intrusive approach. I can do > a refresh of the entire patch? There's nothing to do, as you're extending an existing patch.

[OE-core] [PATCH 1/1] metadata_scm.bbclass: simplify base_detect_revision()

2018-11-07 Thread Robert Yang
The previous code looks strange because of historical reason, simply return base_get_metadata_git_revision/branch() is enough, the later functions has handled everything like '' and strip(). Signed-off-by: Robert Yang --- meta/classes/metadata_scm.bbclass | 20 ++-- 1 file

[OE-core] [PATCH 0/1] metadata_scm.bbclass: simplify base_detect_revision()

2018-11-07 Thread Robert Yang
The following changes since commit 14b5854d50c38e94fc0d1ce6af36698fc69f52b4: xserver-xorg: fix CVE-2018-14665 (2018-11-01 13:27:17 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/scm

Re: [OE-core] [PATCH V2] machine/qemu*: fix kernel finish crng init more and more slowly

2018-11-07 Thread richard . purdie
On Wed, 2018-11-07 at 09:45 +0800, Hongxu Jia wrote: > On 2018/10/30 上午10:22, Hongxu Jia wrote: > > Just adding `-device virtio-rng-pci' to the QEMU invocation will > > add the device with a default host backend. As of QEMU 1.3+, > > the default backend is to use the host's /dev/random as a > >

[OE-core] [PATCH 1/1] glide: disable ptest on mips

2018-11-07 Thread kai.kang
From: Kai Kang It fails to run task compile_ptest_base of glide on mips: | vet config not found The root cause is that go lang lacks '-buildmode=pie' support for mips. So disable glide ptest on mips for now. Signed-off-by: Kai Kang --- meta/recipes-devtools/glide/glide_0.13.2.bb | 3 +++ 1

[OE-core] [PATCH v2 0/1] glide: disable ptest on mips

2018-11-07 Thread kai.kang
From: Kai Kang v2: * use override 'mipsarch' for all kinds of mips rather than 'mips' and 'mips64' The following changes since commit 411184bfaa6269bf2926bb2a576c0922958cbbb3: xserver-xorg: fix CVE-2018-14665 (2018-11-01 13:27:26 +) are available in the Git repository at:

[OE-core] [PATCH v3] scripts/test-case-mgmt: store test result file in git repository

2018-11-07 Thread Yeoh Ee Peng
These scripts were developed as an alternative testcase management tool to Testopia. Using these scripts, user can store test result & log from OEQA automated testcase execution. These scripts will store test result & log in GIT repository. To use these scripts, first source oe environment, then

Re: [OE-core] [PATCH] shadow: improve reproducibility by hard-coding shell path

2018-11-07 Thread ChenQi
On 11/07/2018 04:00 PM, Martin Hundebøll wrote: The shadow configure script tries really hard to detect the running shell to make sure it doesn't do unsupported calls. On my system the shell is detected as /bin/sh, while a build in an ubuntu docker it resolves to /bin/bash. And since the shell

[OE-core] [PATCH] base.bbclass: Display name of licenses which caused SkipRecipe

2018-11-07 Thread Nathan Rossi
Display the name of the restricted licenses which caused the recipe to be skipped. This makes it easy to determine which license or licenses are missing and need to be checked and whitelisted. Signed-off-by: Nathan Rossi --- meta/classes/base.bbclass| 15 +--

[OE-core] [PATCH] ghostscript: Define COMPATIBLE_HOST with supported platforms

2018-11-07 Thread Nathan Rossi
Setup the COMPATIBLE_HOST variable with all supported hosts based on the provided objarch.h files. This inverts the existing pattern where unsupported hosts (e.g. 'arc.*') are explicitly set. This suppresses the warning message generated on hosts that are not supported but were not listed

[OE-core] [PATCH] rootfs: ensure that packages in IMAGE_INSTALL_DEBUGFS are existing

2018-11-07 Thread Andrej Valek
Ensure that additional packages in IMAGE_INSTALL_DEBUGFS are available before installation. Signed-off-by: Andrej Valek --- meta/classes/image.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index

[OE-core] [PATCH] openssl-1.1.1: remove build path from version info

2018-11-07 Thread Martin Hundebøll
The openssl build system generates buildinf.h containing the full compiler command line used to compile objects. This breaks reproducibility, as the compile command is baked into libcrypto, where it is used when running `openssl version -f`. Add stripped build variables for the compiler and

[OE-core] [PATCH] shadow: improve reproducibility by hard-coding shell path

2018-11-07 Thread Martin Hundebøll
The shadow configure script tries really hard to detect the running shell to make sure it doesn't do unsupported calls. On my system the shell is detected as /bin/sh, while a build in an ubuntu docker it resolves to /bin/bash. And since the shell path is baked into the target binaries through