Re: [OE-core] [PATCH 1/2] conf/bitbake.conf: include ed in hosttools

2017-05-19 Thread Burton, Ross
On 19 May 2017 at 10:02, Anders Darander wrote: > As fas as I can (in a recent kernel), whoami is only used in > scripts/mkcompile_h. And there, it's only used if $KBUILD_BUILD_USER is > empty. I'd rather see that we set $KBUILD_BUILD_USER to something > deterministic in

[OE-core] [PATCH 00/47] Consolidated pull

2017-05-19 Thread Ross Burton
Another batch of patches that have been building up during the freeze that has been build-tested on the autobuilder and is all green. Ross The following changes since commit ef506f58da3a95fba2696df749b2b81f9c118847: cve-check-tool: backport a patch to make CVE checking work (2017-05-18

Re: [OE-core] [PATCH 1/2] conf/bitbake.conf: include ed in hosttools

2017-05-19 Thread Anders Darander
* Khem Raj [170519 01:17]: > On Thu, May 18, 2017 at 4:12 PM, Richard Purdie > wrote: > > On Thu, 2017-05-18 at 17:28 -0500, Jose Lamego wrote: > >> Some recipes build fail due to missing ed command. > >> This change includes ed to the

[OE-core] [PATCH 2/2] dhcp: build shared libraries

2017-05-19 Thread kai.kang
From: Kai Kang When enable bind threads support, it fails to compile dhcp: | tmp/work/armv5e-poky-linux-gnueabi/bind/9.10.3-P3-r0/build/lib/isc/pthreads/../../../ | ../bind-9.10.3-P3/lib/isc/pthreads/thread.c:64: undefined reference to `pthread_create' Enable build

[OE-core] [PATCH 1/2] bind: build with threads and update configure options

2017-05-19 Thread kai.kang
From: Kai Kang Build without threads for bind is inherited from legacy openembedded. All libc's support proper threading on Linux now, so enable threads support for bind. It is also need to disable static library build which cause package dhcp fail to build after enable

[OE-core] [PATCH 0/2] Build bind with threads

2017-05-19 Thread kai.kang
From: Kai Kang The following changes since commit ef506f58da3a95fba2696df749b2b81f9c118847: cve-check-tool: backport a patch to make CVE checking work (2017-05-18 14:01:48 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib

Re: [OE-core] [PATCH 1/2] bind: build with threads and update configure options

2017-05-19 Thread Burton, Ross
On 19 May 2017 at 09:52, wrote: > Build without threads for bind is inherited from legacy openembedded. > All libc's support proper threading on Linux now, so enable threads > support for bind. > > It is also need to disable static library build which cause package dhcp >

Re: [OE-core] [PATCH] kernel.bbclass: improve reproducibility

2017-05-19 Thread Trevor Woerner
Should this be configurable? Is there an assumption everyone who uses oe-core wants reproducible builds? Could this affect one's ability to perform debugging? -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org

Re: [OE-core] [PATCH 1/2] conf/bitbake.conf: include ed in hosttools

2017-05-19 Thread Jose Lamego
On 05/19/2017 04:02 AM, Anders Darander wrote: > * Khem Raj [170519 01:17]: > >> On Thu, May 18, 2017 at 4:12 PM, Richard Purdie >> wrote: >>> On Thu, 2017-05-18 at 17:28 -0500, Jose Lamego wrote: Some recipes build fail due to

Re: [OE-core] [PATCH 1/2] conf/bitbake.conf: include ed in hosttools

2017-05-19 Thread Richard Purdie
On Fri, 2017-05-19 at 12:56 +0100, Burton, Ross wrote: > > On 19 May 2017 at 10:02, Anders Darander > wrote: > > As fas as I can (in a recent kernel), whoami is only used in > > scripts/mkcompile_h. And there, it's only used if > > $KBUILD_BUILD_USER is > > empty. I'd

[OE-core] [OE-CORE][PATCH] scripts/lib/recipetool/create_npm.py: Fix npm uri_replace

2017-05-19 Thread Davis, Michael
Currently bitbakes uri_replace compares "npm://*/*" to "npm://registry.npmjs.org". The lack of the second / causes this to always fail. This results in things like mirror tarballs not functioning. This patch adds in a / to the link generated by npm://registry.npmjs.org. Signed-off-by: Michael

[OE-core] [PATCH 1/4] masterimage.py: fix issue with calling reboot on masterimage/DUT

2017-05-19 Thread Erik Botö
On systemd systems calling reboot over an ssh connection doesn't return as expected causing an exception, therefore wrap the call to reboot in order to avoid this issue. Signed-off-by: Erik Botö --- meta/lib/oeqa/controllers/masterimage.py | 2 +- 1 file changed, 1

[OE-core] [PATCH 3/4] masterimage.py: fix stop()

2017-05-19 Thread Erik Botö
The stop() function is called in the context of the masterimage, so self.master should be used instead of self.connection which is undefined at that time. Signed-off-by: Erik Botö --- meta/lib/oeqa/controllers/masterimage.py | 2 +- 1 file changed, 1 insertion(+), 1

[OE-core] [PATCH 2/4] masterimage.py: rename parameter "params" in start() to "extra_bootparams"

2017-05-19 Thread Erik Botö
This matches how it is called, and how it is named in qmeu target. Signed-off-by: Erik Botö --- meta/lib/oeqa/controllers/masterimage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/controllers/masterimage.py

[OE-core] [PATCH 4/4] sshcontrol.py: in copy_to() always use scp

2017-05-19 Thread Erik Botö
The current implementation is broken when the localpath is a link. Then only a symlink would be created on the target, instead of copying the actual file. Signed-off-by: Erik Botö --- meta/lib/oeqa/utils/sshcontrol.py | 9 +++-- 1 file changed, 3 insertions(+), 6

Re: [OE-core] [PATCH 1/4] masterimage.py: fix issue with calling reboot on masterimage/DUT

2017-05-19 Thread Leonardo Sandoval
On Fri, 2017-05-19 at 16:20 +0200, Erik Botö wrote: > On systemd systems calling reboot over an ssh connection doesn't > return as expected causing an exception, therefore wrap the call > to reboot in order to avoid this issue. > > Signed-off-by: Erik Botö > --- >

Re: [OE-core] [PATCH v2] libsolv: don't pick up bundled db from host rpm

2017-05-19 Thread Max Krummenacher
Am Freitag, den 19.05.2017, 16:51 +0100 schrieb Burton, Ross: > On 19 May 2017 at 16:48, Max Krummenacher wrote: > > > +Upstream-Status: Inappropriate [oe build specific] > > > > Is this really inappropriate? We're finding a bug in the build system but > that doesn't

Re: [OE-core] [PATCH v2] libsolv: don't pick up bundled db from host rpm

2017-05-19 Thread Burton, Ross
On 19 May 2017 at 16:48, Max Krummenacher wrote: > +Upstream-Status: Inappropriate [oe build specific] > Is this really inappropriate? We're finding a bug in the build system but that doesn't mean we're the cause of the breakage. Ross --

[OE-core] [PATCH] kernel: predefine KBUILD_BUILD_USER and KBUILD_BUILD_HOST

2017-05-19 Thread Joshua Lock
By exporting KBUILD_BUILD_USER with a pre-defined value we improve the reproducibility of the kernel and remove the requirement for whoami in the HOSTTOOLS. KBUILD_BUILD_HOST also helps improve the reproducibility of the kernel. For more kernel reproducibility options see:

[OE-core] [PATCH v2] libsolv: don't pick up bundled db from host rpm

2017-05-19 Thread Max Krummenacher
With rpm v4 in openembedded but on a host with existing /usr/include/rpm/db.h the native build fails to compile. Signed-off-by: Max Krummenacher --- ...01-don-t-pick-up-bundled-db-from-host-rpm.patch | 51 ++

[OE-core] [PATCH 3/3] run-postinsts: do not reload daemon configuration

2017-05-19 Thread Max Krummenacher
In case a systemd service disables itself while init is still in its boot sequence the reloading of the service files can be problematic. In that case: It seems that systemd can loose the state of .device units, and some services depend on such units (namely serial consoles such as

[OE-core] [PATCH 2/3] opkg-configure: do not reload daemon configuration

2017-05-19 Thread Max Krummenacher
In case a systemd service disables itself while init is still in its boot sequence the reloading of the service files can be problematic. In that case: It seems that systemd can loose the state of .device units, and some services depend on such units (namely serial consoles such as

[OE-core] [PATCH 1/3] dpkg-configure: do not reload daemon configuration

2017-05-19 Thread Max Krummenacher
In case a systemd service disables itself while init is still in its boot sequence the reloading of the service files can be problematic. In that case: It seems that systemd can loose the state of .device units, and some services depend on such units (namely serial consoles such as

[OE-core] [PATCH] package_manager.py: Add PACKAGE_ENABLE_FILELIST option to OpkgIndexer

2017-05-19 Thread Haris Okanovic
Setting PACKAGE_ENABLE_FILELIST option generates Packages.filelist on `bitbake package-index`, which is index of files provided by each IPK package in the feed. It's useful for figuring out which package provides a particular file/program/library/etc. Disabled by default since generating a

Re: [OE-core] [PATCH 2/2] bc: upgrade 1.06 to 1.07.1

2017-05-19 Thread Burton, Ross
On 18 May 2017 at 23:28, Jose Lamego wrote: > bc recipe must be upgraded to latest version in upstream. > > bc license changed from "GPLv2+ & LGPLv2.1" to "GPLv3+ & LGPLv3" > The new version exhibits a Parallel Make Race that required > unsetting PARALLEL_MAKE

Re: [OE-core] [PATCH 1/2] conf/bitbake.conf: include ed in hosttools

2017-05-19 Thread Burton, Ross
On 19 May 2017 at 13:54, Jose Lamego wrote: > This patch is a requisite for the bc recipe update from 1.06 to 1.07.1, > which fails due to ed command not found during building. > I just replied to the bc patch, the new version is broken in several interesting

Re: [OE-core] [meta-oe][resend][PATCH] sysstat: fixup pkg_postinst to allow SYSTEMD_AUTO_ENABLE to work

2017-05-19 Thread Mark Asselstine
On Tuesday, May 9, 2017 4:51:37 PM EDT Mark Asselstine wrote: > The logic added to the pkg_postinst in commit 6bf82c26f953 has the > side effect of rendering SYSTEMD_AUTO_ENABLE ineffective. The systemd > service will not be configured as 'enabled' either offline(do_rootfs) > or during first boot.

Re: [OE-core] [PATCH] package_manager.py: Add PACKAGE_ENABLE_FILELIST option to OpkgIndexer

2017-05-19 Thread Martin Jansa
On Fri, May 19, 2017 at 10:01:21AM -0500, Haris Okanovic wrote: > Setting PACKAGE_ENABLE_FILELIST option generates Packages.filelist on > `bitbake package-index`, which is index of files provided by each > IPK package in the feed. It's useful for figuring out which package > provides a particular

Re: [OE-core] [PATCH] tzcode-native: quote ${CC}

2017-05-19 Thread Denys Dmytriyenko
On Fri, May 19, 2017 at 01:37:59AM +0200, Enrico Scholz wrote: > Denys Dmytriyenko writes: > > >> -EXTRA_OEMAKE += "cc=${CC}" > >> +EXTRA_OEMAKE += "cc='${CC}'" > > > > Should these be double-quotes around ${CC}? > > I wrote it in this way: > > - to 60%, because '' is more

Re: [OE-core] [PATCH] tzcode-native: quote ${CC}

2017-05-19 Thread Khem Raj
On Fri, May 19, 2017 at 11:07 AM, Denys Dmytriyenko wrote: > On Fri, May 19, 2017 at 01:37:59AM +0200, Enrico Scholz wrote: >> Denys Dmytriyenko writes: >> >> >> -EXTRA_OEMAKE += "cc=${CC}" >> >> +EXTRA_OEMAKE += "cc='${CC}'" >> > >> > Should these be

Re: [OE-core] [PATCH 1/4] masterimage.py: fix issue with calling reboot on masterimage/DUT

2017-05-19 Thread Erik Botö
On 2017-05-19 16:59, Leonardo Sandoval wrote: On Fri, 2017-05-19 at 16:20 +0200, Erik Botö wrote: On systemd systems calling reboot over an ssh connection doesn't return as expected causing an exception, therefore wrap the call to reboot in order to avoid this issue. Signed-off-by: Erik Botö

Re: [OE-core] [PATCH] package_manager.py: Add PACKAGE_ENABLE_FILELIST option to OpkgIndexer

2017-05-19 Thread Haris Okanovic
Why not use files-in-package.txt reports in buildhistory? https://bugzilla.yoctoproject.org/show_bug.cgi?id=5870 Practical reason: files-in-package.txt is an OE-ism. Our opkg-based distribution provides software feeds built outside of OE. We use opkg-utils to generate feed metadata like OE,

Re: [OE-core] [PATCH 2/2] bc: upgrade 1.06 to 1.07.1

2017-05-19 Thread Jose Lamego
On 05/19/2017 10:25 AM, Burton, Ross wrote: > > On 18 May 2017 at 23:28, Jose Lamego > wrote: > > bc recipe must be upgraded to latest version in upstream. > > bc license changed from "GPLv2+ & LGPLv2.1" to "GPLv3+

[OE-core] State of bitbake world, Failed tasks 2017-05-17

2017-05-19 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

[OE-core] [oe-core][PATCH 1/1] ghostscript: move to version 9.21

2017-05-19 Thread Joe Slater
Eliminate CVE patches that are now in source. Add CVE-2017-7975 patch. Signed-off-by: Joe Slater --- .../ghostscript/ghostscript/CVE-2016-10219.patch | 49 --- .../ghostscript/ghostscript/CVE-2016-10220.patch | 55 --

[OE-core] [PATCH] Fix return value checks from subprocess.call()'s

2017-05-19 Thread Mikko Rapeli
Python function subprocess.call() returns the return value of the executed process. If return values are not checked, errors may go unnoticed and bad things can happen. Change all callers of subprocess.call() which do not check for the return value to use subprocess.check_call() which raises

Re: [OE-core] [PATCH v4 7/7] image_types_wic: schedule prepare_wic_build correctly

2017-05-19 Thread Wold, Saul
On Wed, 2017-05-17 at 13:47 +, Ed Bartosh wrote: > Scheduled prepare_wic_build only if wic build enabled. > Added dependencies to kernel and efi bootloader deploy > tasks only if EFI is enabled. > > This should fix build failure on machines without > EFI functionality. > > Signed-off-by: Ed

[OE-core] [PATCH] devtool/standard.py: Enable perf to be buildable

2017-05-19 Thread Saul Wold
Perf is a tool build from the kernel source, which is normally available in /work-shared/..., but when devtool is used to modify the kernel source code, perf is not buildable since it gets an error about being unable to add a depends to a non-exisit task do_patch. This patch removes do_patch from