[OE-core] [meta-oe][PATCH] cve-update-db: Catch request.urlopen errors.

2019-07-03 Thread Pierre Le Magourou
From: Pierre Le Magourou If the NVD url is not accessible, print a warning on top of the CVE report, and continue. The database will not be fully updated, but cve_check can still run on the previous database. Signed-off-by: Pierre Le Magourou --- meta/classes/cve-check.bbclass | 5

Re: [OE-core] [meta-oe][PATCH v5] cve-update-db: do_populate_cve_db depends on do_fetch

2019-07-03 Thread Pierre Le Magourou
Hello, > This patch broke "bitbake universe --runall=fetch" totally: > > The line which caused the problem is: > addtask do_populate_cve_db before do_fetch > > Would you please fix it? Or I can help if needed. > This seems related to the NVD website down problem. I sent a patch to manage

Re: [OE-core] [PATCH 2/2] multilib_script: use MLPREFIX instead of libdir when renaming

2019-07-03 Thread Richard Purdie
On Tue, 2019-07-02 at 16:22 +0100, Ross Burton wrote: > Instead of using part of ${base_libdir} to rename scripts, use > MLPREFIX. This > is more obvious as MLPREFIX is a common prefix in package names, and > as these > filenames are hidden behind alternatives they're rarely used > directly. > >

[OE-core] [PATCH] go.bbclass: remove ptest inherit

2019-07-03 Thread mingli.yu
From: Mingli Yu Remove the ptest bbclass inherit logic to let each recipe inherit ptest individually if the specified recipe wants to support ptest to avoid the recipe which inherits go bblcass inheriting ptest automatically. Signed-off-by: Mingli Yu --- meta/classes/go.bbclass | 2 +- 1 file

Re: [OE-core] [PATCH 2/2] multilib_script: use MLPREFIX instead of libdir when renaming

2019-07-03 Thread Burton, Ross
Yeah discovered that late last night here too. V2 finalising now. Ross On Wed, 3 Jul 2019 at 09:08, Richard Purdie wrote: > > On Tue, 2019-07-02 at 16:22 +0100, Ross Burton wrote: > > Instead of using part of ${base_libdir} to rename scripts, use > > MLPREFIX. This > > is more obvious as

Re: [OE-core] ✗ patchtest: failure for wic/plugins: Source that support both EFI and BIOS

2019-07-03 Thread Richard Purdie
On Tue, 2019-07-02 at 15:22 -0400, William Bourque wrote: > Hi, > > The error "scripts/lib/wic/plugins/source/bootimg-biosplusefi.py does > not exist" is a bit puzzling : this is the new file my patch is > adding. > Is this test failure expected for new files? > > I sent this using git-sendmail;

[OE-core] Problems with sstate-cache in Artifactory

2019-07-03 Thread Ankur Tyagi
Hi, I am trying to setup sstate-cache in Artifactory so that multiple Linux host systems can share it. Once build finished in one Linux machine, I uploaded all of sstate-cache directory to Artifactory Then I configured sstate mirrors in local.conf SSTATE_MIRRORS ?= "\ file://.*

Re: [OE-core] Problems with sstate-cache in Artifactory

2019-07-03 Thread Burton, Ross
Check the log for the a particular setscene task and it will show what requests it made, and if they failed. Ross On Wed, 3 Jul 2019 at 11:09, Ankur Tyagi wrote: > > Hi, > > I am trying to setup sstate-cache in Artifactory so that multiple > Linux host systems can share it. > > Once build

Re: [OE-core] [PATCHv3 1/3] runqemu: Allow to store more than one lock for network interfaces

2019-07-03 Thread Anibal Limon
Hi Chen, Thanks for report, may be related to the name of the NIC inside qemu. I will investigate. Regards!, Anibal On Tue, 2 Jul 2019 at 21:08, ChenQi wrote: > Could you please help check if the following failures are related to > this patch series? > >

[OE-core] [PATCH] insane: use clean_path for the host contamination warnings

2019-07-03 Thread Ross Burton
We've a nice function to clean up absolute build paths for display, so use it. Signed-off-by: Ross Burton --- meta/classes/insane.bbclass | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index

[OE-core] build failures due to pigz host tool

2019-07-03 Thread Trevor Woerner
Hi, This came up as a topic in yesterday's Engineering Sync meeting. For roughly a year I've been seeing random build failures on my Jenkins setup due to pigz failing; apparently the project is now seeing them on their builds, so I'll share what I know of them. At the time I started seeing these

Re: [OE-core] [PATCH] gcc-8.3: add back GLIBC_DYNAMIC_LINKER riscv changes

2019-07-03 Thread Ricardo Salveti
On Tue, Mar 26, 2019 at 3:15 PM Khem Raj wrote: > On Tue, Mar 26, 2019 at 11:07 AM Ricardo Salveti wrote: > > > > The riscv GLIBC_DYNAMIC_LINKER changes were dropped during the gcc 8.3 > > update, breaking usrmerge support. > > ah thanks for noticing that, this should be fine to apply Looks

Re: [OE-core] [PATCH] systemd-bootconf: Make is machine specific

2019-07-03 Thread Ricardo Ribalda Delgado
Ping? On Tue, 25 Jun 2019, 09:14 Ricardo Ribalda Delgado, wrote: > APPEND is usually attached to a machine. This patch avoids multiconfig > errors such as: > > | NOTE: Direct dependencies are > ['multiconfig:qt5022:/workdir/repo/poky/meta/recipes-core/glibc/glibc_2.29.bb:do_populate_sysroot', >

Re: [OE-core] build failures due to pigz host tool

2019-07-03 Thread Mikko.Rapeli
On Wed, Jul 03, 2019 at 11:04:06AM -0400, Trevor Woerner wrote: > Hi, > > This came up as a topic in yesterday's Engineering Sync meeting. For roughly a > year I've been seeing random build failures on my Jenkins setup due to pigz > failing; apparently the project is now seeing them on their

[OE-core] [PATCH] gcc-9.1: add back GLIBC_DYNAMIC_LINKER riscv changes

2019-07-03 Thread Ricardo Salveti
The riscv GLIBC_DYNAMIC_LINKER changes were dropped during the gcc 9.1 update, breaking usrmerge support. Signed-off-by: Ricardo Salveti --- ...AMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch | 28 ++- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git

Re: [OE-core] build failures due to pigz host tool

2019-07-03 Thread Richard Purdie
On Wed, 2019-07-03 at 11:04 -0400, Trevor Woerner wrote: > This came up as a topic in yesterday's Engineering Sync meeting. For roughly a > year I've been seeing random build failures on my Jenkins setup due to pigz > failing; apparently the project is now seeing them on their builds, so I'll >

Re: [OE-core] [PATCH] systemd-bootconf: Make is machine specific

2019-07-03 Thread Richard Purdie
On Tue, 2019-06-25 at 09:14 +0200, Ricardo Ribalda Delgado wrote: > APPEND is usually attached to a machine. This patch avoids > multiconfig > errors such as: > > > NOTE: Direct dependencies are > > ['multiconfig:qt5022:/workdir/repo/poky/meta/recipes- > >

[OE-core] [PATCH v2] systemd-bootconf: Make is machine specific

2019-07-03 Thread Ricardo Ribalda Delgado
Recipe makes use of the variable APPEND: do_configure[vardeps] += "APPEND" APPEND is usually linked to a to a machine and not to a cpu architecture, as it describe things like the location of the main serial port or tty. Therefore the recipe should be MACHINE_ARCH. This patch avoids

Re: [OE-core] [PATCH v3] ifupdown: update to 0.8.22

2019-07-03 Thread Adrian Bunk
On Tue, Jul 02, 2019 at 10:29:09PM +0200, Oleksandr Kravchuk wrote: >... > ++#if !defined(FNM_EXTMATCH) > ++#define FNM_EXTMATCH 0 > ++#endif >... This fixes the musl build, but the code will misbehave on musl. cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out

Re: [OE-core] [PATCH v3] ifupdown: update to 0.8.22

2019-07-03 Thread Oleksandr Kravchuk
Sure. Technically, package is musl incompatible/not ready. This trivial patch allows us to build ifupdown with musl. On 03/07/2019 18:35, Adrian Bunk wrote: > On Tue, Jul 02, 2019 at 10:29:09PM +0200, Oleksandr Kravchuk wrote: >> ... >> ++#if !defined(FNM_EXTMATCH) >> ++#define FNM_EXTMATCH 0 >>

[OE-core] [PATCHv4 2/3] runqemu: Add support for multiple tap devices

2019-07-03 Thread Aníbal Limón
Add the ability to set more than one tap devices into the same qemu instance, The code was modified to detect multiple @TAP@ and @MAC@ in the QA_TAP_OPT and QA_NETWORK_DEVICE respectively, it handles the attach/creation of multiple tap devices and stores into a list for lock/unlock. Configure

[OE-core] [PATCHv4 3/3] runqemu: Add QB_KERNEL_NO_NETWORK_CONFIG variable

2019-07-03 Thread Aníbal Limón
To let user choice if wants to have network configured via Kernel cmdline. Signed-off-by: Aníbal Limón --- meta/classes/qemuboot.bbclass | 3 +++ scripts/runqemu | 24 +--- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git

[OE-core] [PATCHv4 1/3] runqemu: Allow to store more than one lock for network interfaces

2019-07-03 Thread Aníbal Limón
In order to support multiple tap devices in the same qemu virtual machine. Signed-off-by: Aníbal Limón --- scripts/runqemu | 50 + 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/scripts/runqemu b/scripts/runqemu index

Re: [OE-core] [PATCHv4 2/3] runqemu: Add support for multiple tap devices

2019-07-03 Thread Anibal Limon
On Wed, 3 Jul 2019 at 12:01, Aníbal Limón wrote: > Add the ability to set more than one tap devices into the > same qemu instance, > > The code was modified to detect multiple @TAP@ and @MAC@ in the > QA_TAP_OPT and QA_NETWORK_DEVICE respectively, it handles the > attach/creation of multiple tap

Re: [OE-core] [PATCH] gcc-9.1: add back GLIBC_DYNAMIC_LINKER riscv changes

2019-07-03 Thread Alistair Francis
On Wed, Jul 3, 2019 at 9:05 AM Ricardo Salveti wrote: > > The riscv GLIBC_DYNAMIC_LINKER changes were dropped during the gcc 9.1 > update, breaking usrmerge support. > > Signed-off-by: Ricardo Salveti Reviewed-by: Alistair Francis Alistair > --- >

Re: [OE-core] Problems with sstate-cache in Artifactory

2019-07-03 Thread Ankur Tyagi
Hi Ross, I can't see any "log.do_setscene" inside the tmp directory. When I start an image build, it does say executing setscene task but then no setscene task log for any recipe Initialising tasks: 100%

[OE-core] [PATCH 1/1] grub-efi.bbclass: take into consideration of multilib

2019-07-03 Thread Chen Qi
When enabling multilib and building lib32-IMAGE which uses grub-efi, the build fails with the following error. install: cannot stat '/PROJ_DIR/build/tmp-glibc/deploy/images/intel-x86-64/grub-efi-bootia32.efi': No such file or directory The grub-efi is in NON_MULTILIB_SCRIPTS. That means we

[OE-core] [PATCH 0/1] grub-efi.bbclass: take into consideration of multilib

2019-07-03 Thread Chen Qi
*** BLURB HERE *** The following changes since commit 4fd9ee4670293632cc0ca1e64b8833eb6014435d: bitbake: bitbake: Add --skip-setscene option (2019-07-03 17:00:57 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/grub-efi-multilib