Re: [OE-core] [PATCH 3/3] gcc-runtime: Add --cache-file to EXTRA_OECONF

2019-01-24 Thread Robert Yang
On 1/25/19 12:23 PM, Khem Raj wrote: On Thu, Jan 24, 2019 at 2:00 AM Robert Yang wrote: This can save configure time since it runs configure multiple times: $ time bitbake gcc-runtime -cconfigure 60s -> 54s Saved 6s looks ok. Are we sure this file is preserved across builds

Re: [OE-core] [PATCH 1/1] fontconfig: Fix define for HAVE_POSIX_FADVISE

2019-01-24 Thread Robert Yang
On 1/25/19 10:22 AM, Robert Yang wrote: On 1/25/19 9:38 AM, Robert Yang wrote: Hi Ross, On 1/24/19 10:33 PM, Burton, Ross wrote: Please send this upstream. I tried a few times to subscribe fontcon...@lists.freedesktop.org, but it requires manual approval, I didn't receive the approval

Re: [OE-core] [PATCH 3/3] gcc-runtime: Add --cache-file to EXTRA_OECONF

2019-01-24 Thread Khem Raj
On Thu, Jan 24, 2019 at 2:00 AM Robert Yang wrote: > > This can save configure time since it runs configure multiple times: > $ time bitbake gcc-runtime -cconfigure > 60s -> 54s > > Saved 6s looks ok. Are we sure this file is preserved across builds > > Signed-off-by: Robert Yang > --- >

Re: [OE-core] [PATCH V2] arch-arm: Do not add -march options for arm architecture along with -mcpu

2019-01-24 Thread Khem Raj
On Thu, Jan 24, 2019 at 11:37 AM Richard Purdie wrote: > > On Wed, 2019-01-23 at 16:18 -0800, Khem Raj wrote: > > tune files which inherit the arch definitions already define > > appropriate > > -mcpu option, which is equivalent of right -march and -mtune > > combination > > and is preferred

[OE-core] [PATCH] valgrind: Dont strip off -mcpu

2019-01-24 Thread Khem Raj
Defsault armtunes do not include -march any longer we habe -mcpu only, therefore to select right ISA we need to keep mcpu Signed-off-by: Khem Raj --- meta/recipes-devtools/valgrind/valgrind_3.14.0.bb | 11 --- 1 file changed, 11 deletions(-) diff --git

Re: [OE-core] [PATCH V2] arch-arm: Do not add -march options for arm architecture along with -mcpu

2019-01-24 Thread Khem Raj
Hi Mark On Thu, Jan 24, 2019 at 12:09 PM Mark Hatle wrote: > > On 1/23/19 6:18 PM, Khem Raj wrote: > > tune files which inherit the arch definitions already define appropriate > > -mcpu option, which is equivalent of right -march and -mtune combination > > and is preferred since gcc is getting

Re: [OE-core] [PATCH 3/5] ccache.bbclass: Only let native recipes depend on ccache-native

2019-01-24 Thread Robert Yang
On 1/24/19 8:46 PM, Richard Purdie wrote: On Thu, 2019-01-24 at 14:57 +0800, Robert Yang wrote: Make native recipes depend on ccache-native should be enough since native recipes are on target/nativesdk recipes' dependency chain, this can reduce the size of DEPENDS. Signed-off-by: Robert

Re: [OE-core] [PATCH] arch-arm: Do not add -march options for arm architecture

2019-01-24 Thread Khem Raj
On Wed, Jan 23, 2019 at 6:11 PM Andre McCurdy wrote: > > On Wed, Jan 23, 2019 at 2:50 PM Khem Raj wrote: > > > > On Wed, Jan 23, 2019 at 5:27 PM Andre McCurdy wrote: > > > > > > On Wed, Jan 23, 2019 at 12:05 PM Khem Raj wrote: > > > > > > > > tune files which inherit the arch definitions

[OE-core] [PATCH 0/1] runqemu: do not check return code of tput

2019-01-24 Thread Chen Qi
*** BLURB HERE *** The following changes since commit 1979d9162a335b7d4718a6697ca57bfa16237f0e: bitbake: gitsmy.py: Fix unpack of submodules of submodules (2019-01-24 17:45:49 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/qemu-tput

[OE-core] [PATCH 1/1] runqemu: do not check return code of tput

2019-01-24 Thread Chen Qi
The subprocess.run was replaced by subprocess.check_call because of compatibility support down to python 3.4. But we really don't care about whether that command succeeds. Some user reports that in some tmux environment, this command fails and gives some unpleasant traceback output. So we use

Re: [OE-core] [PATCH 1/1] native.bbclass: remove invalid CONFIG_SITE

2019-01-24 Thread Robert Yang
On 1/25/19 10:59 AM, Robert Yang wrote: On 1/25/19 10:40 AM, Robert Yang wrote: On 1/24/19 8:51 PM, Richard Purdie wrote: On Thu, 2019-01-24 at 15:06 +0800, Robert Yang wrote: This CONFIG_SITE has no effect since autotools.bbclass handles it. And the comment line is out of date, it was

Re: [OE-core] [PATCH 1/1] native.bbclass: remove invalid CONFIG_SITE

2019-01-24 Thread Robert Yang
On 1/25/19 10:40 AM, Robert Yang wrote: On 1/24/19 8:51 PM, Richard Purdie wrote: On Thu, 2019-01-24 at 15:06 +0800, Robert Yang wrote: This CONFIG_SITE has no effect since autotools.bbclass handles it. And the comment line is out of date, it was for "CONFIG_SITE = ''", so remove them.

Re: [OE-core] [PATCH 1/1] native.bbclass: remove invalid CONFIG_SITE

2019-01-24 Thread Robert Yang
On 1/25/19 10:40 AM, Robert Yang wrote: On 1/24/19 8:51 PM, Richard Purdie wrote: On Thu, 2019-01-24 at 15:06 +0800, Robert Yang wrote: This CONFIG_SITE has no effect since autotools.bbclass handles it. And the comment line is out of date, it was for "CONFIG_SITE = ''", so remove them.

Re: [OE-core] [PATCH 1/1] native.bbclass: remove invalid CONFIG_SITE

2019-01-24 Thread Robert Yang
On 1/24/19 8:51 PM, Richard Purdie wrote: On Thu, 2019-01-24 at 15:06 +0800, Robert Yang wrote: This CONFIG_SITE has no effect since autotools.bbclass handles it. And the comment line is out of date, it was for "CONFIG_SITE = ''", so remove them. Going from memory, we had a problem where

Re: [OE-core] [PATCH 1/1] fontconfig: Fix define for HAVE_POSIX_FADVISE

2019-01-24 Thread Robert Yang
On 1/25/19 9:38 AM, Robert Yang wrote: Hi Ross, On 1/24/19 10:33 PM, Burton, Ross wrote: Please send this upstream. I tried a few times to subscribe fontcon...@lists.freedesktop.org, but it requires manual approval, I didn't receive the approval after about 1 month. I tried it again just

Re: [OE-core] [PATCH 1/1] fontconfig: Fix define for HAVE_POSIX_FADVISE

2019-01-24 Thread Robert Yang
Hi Ross, On 1/24/19 10:33 PM, Burton, Ross wrote: Please send this upstream. I tried a few times to subscribe fontcon...@lists.freedesktop.org, but it requires manual approval, I didn't receive the approval after about 1 month. I tried it again just now, let's see what will happen. //

Re: [OE-core] [PATCH 04/10] lib/oe/package_manager: turn postinst_intercept warnings into failures for nativesdk

2019-01-24 Thread Joshua Watt
On Thu, Jan 24, 2019, 4:43 PM Richard Purdie < richard.pur...@linuxfoundation.org wrote: > On Wed, 2019-01-23 at 17:17 +0100, Alexander Kanavin wrote: > > The few cases where they failed should be now all fixed. The only allowed > > exception is when building mingw32 SDKs, as there is currently

Re: [OE-core] [PATCH 04/10] lib/oe/package_manager: turn postinst_intercept warnings into failures for nativesdk

2019-01-24 Thread Richard Purdie
On Wed, 2019-01-23 at 17:17 +0100, Alexander Kanavin wrote: > The few cases where they failed should be now all fixed. The only allowed > exception is when building mingw32 SDKs, as there is currently no support for > running > postinst_intercepts through wine. > > Signed-off-by: Alexander

Re: [OE-core] [PATCH] lubusb1: Add udev support

2019-01-24 Thread Alistair Francis
On Thu, Jan 24, 2019 at 2:12 PM Richard Purdie wrote: > > On Thu, 2019-01-24 at 22:08 +, Alistair Francis wrote: > > I don't see circular dependencies anymore between libusb1 and udev, > > so > > enable udev support for libusb1. > > > > Signed-off-by: Alistair Francis > > --- > >

[OE-core] [PATCH v2] lubusb1: Add udev support

2019-01-24 Thread Alistair Francis
I don't see circular dependencies anymore between libusb1 and udev, so enable udev support for libusb1. Signed-off-by: Alistair Francis --- meta/recipes-support/libusb/libusb1_1.0.22.bb | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git

Re: [OE-core] [PATCH 1/3] systemd: Security fix CVE-2018-16864

2019-01-24 Thread Richard Purdie
On Thu, 2019-01-24 at 15:55 +, Burton, Ross wrote: > On Thu, 24 Jan 2019 at 12:44, Marcus Cooper > wrote: > > +++ b/meta/recipes-core/systemd/systemd/0024-journald-do-not-store- > > the-iovec-entry-for-process-co.patch > > @@ -0,0 +1,204 @@ > > +From fe19f5a9d0d8b9977e9507a9b66c3cc66744cd38

Re: [OE-core] [PATCH] lubusb1: Add udev support

2019-01-24 Thread Richard Purdie
On Thu, 2019-01-24 at 22:08 +, Alistair Francis wrote: > I don't see circular dependencies anymore between libusb1 and udev, > so > enable udev support for libusb1. > > Signed-off-by: Alistair Francis > --- > meta/recipes-support/libusb/libusb1_1.0.22.bb | 6 +++--- > 1 file changed, 3

[OE-core] [PATCH] lubusb1: Add udev support

2019-01-24 Thread Alistair Francis
I don't see circular dependencies anymore between libusb1 and udev, so enable udev support for libusb1. Signed-off-by: Alistair Francis --- meta/recipes-support/libusb/libusb1_1.0.22.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[OE-core] [PATCH] Change default debug split to make separate source packages

2019-01-24 Thread Joshua Watt
Changes the default PACKAGE_DEBUG_SPLIT_STYLE to generate separate source and debug packages. SDKIMAGE_FEATURES is updated to include the source packages so that there is not change for the SDK contents. [YOCTO #12931] Signed-off-by: Joshua Watt --- meta/classes/populate_sdk_base.bbclass | 2

Re: [OE-core] [PATCH V2] arch-arm: Do not add -march options for arm architecture along with -mcpu

2019-01-24 Thread Mark Hatle
On 1/23/19 6:18 PM, Khem Raj wrote: > tune files which inherit the arch definitions already define appropriate > -mcpu option, which is equivalent of right -march and -mtune combination > and is preferred since gcc is getting stricter and stricter with option > check semantics and can now find

Re: [OE-core] [PATCH V2] arch-arm: Do not add -march options for arm architecture along with -mcpu

2019-01-24 Thread Richard Purdie
On Wed, 2019-01-23 at 16:18 -0800, Khem Raj wrote: > tune files which inherit the arch definitions already define > appropriate > -mcpu option, which is equivalent of right -march and -mtune > combination > and is preferred since gcc is getting stricter and stricter with > option > check semantics

Re: [OE-core] [PATCH 1/3] systemd: Security fix CVE-2018-16864

2019-01-24 Thread Burton, Ross
On Thu, 24 Jan 2019 at 12:44, Marcus Cooper wrote: > +++ > b/meta/recipes-core/systemd/systemd/0024-journald-do-not-store-the-iovec-entry-for-process-co.patch > @@ -0,0 +1,204 @@ > +From fe19f5a9d0d8b9977e9507a9b66c3cc66744cd38 Mon Sep 17 00:00:00 2001 > +From:

Re: [OE-core] [PATCH 1/1] fontconfig: Fix define for HAVE_POSIX_FADVISE

2019-01-24 Thread Burton, Ross
Please send this upstream. Ross On Thu, 24 Jan 2019 at 06:46, Robert Yang wrote: > > Otherwise, there would be build errors in the following 2 cases: > * define HAVE_POSIX_FADVISE > Or: > * undef HAVE_POSIX_FADVISE > > Signed-off-by: Robert Yang > --- >

Re: [OE-core] [PATCH 1/1] native.bbclass: remove invalid CONFIG_SITE

2019-01-24 Thread Richard Purdie
On Thu, 2019-01-24 at 15:06 +0800, Robert Yang wrote: > This CONFIG_SITE has no effect since autotools.bbclass handles it. > And the > comment line is out of date, it was for "CONFIG_SITE = ''", so remove > them. Going from memory, we had a problem where the path to sed was being encoded into

Re: [OE-core] [PATCH 3/5] ccache.bbclass: Only let native recipes depend on ccache-native

2019-01-24 Thread Richard Purdie
On Thu, 2019-01-24 at 14:57 +0800, Robert Yang wrote: > Make native recipes depend on ccache-native should be enough since native > recipes are on target/nativesdk recipes' dependency chain, this can reduce the > size of DEPENDS. > > Signed-off-by: Robert Yang > --- >

[OE-core] [PATCH 2/3] systemd: Security fix CVE-2018-16865

2019-01-24 Thread Marcus Cooper
Affects < v240 Signed-off-by: Marcus Cooper --- ...ld-set-a-limit-on-the-number-of-fields-1k.patch | 56 +++ ...ote-set-a-limit-on-the-number-of-fields-i.patch | 84 ++ meta/recipes-core/systemd/systemd_239.bb | 2 + 3 files changed, 142 insertions(+)

[OE-core] [PATCH 3/3] systemd: Security fix CVE-2018-16866

2019-01-24 Thread Marcus Cooper
Affects < v240 Signed-off-by: Marcus Cooper --- .../0027-journal-fix-syslog_parse_identifier.patch | 77 ...not-remove-multiple-spaces-after-identifi.patch | 84 ++ meta/recipes-core/systemd/systemd_239.bb | 2 + 3 files changed, 163

[OE-core] [PATCH 1/3] systemd: Security fix CVE-2018-16864

2019-01-24 Thread Marcus Cooper
Affects < v240 Signed-off-by: Marcus Cooper --- ...-not-store-the-iovec-entry-for-process-co.patch | 204 + meta/recipes-core/systemd/systemd_239.bb | 1 + 2 files changed, 205 insertions(+) create mode 100644

Re: [OE-core] How to include fitImage-initramfs in rootfs image

2019-01-24 Thread André Draszik
On Thu, 2019-01-24 at 08:29 +0100, Richard Leitner wrote: > > On 24/01/2019 08:31, Robert Yang wrote: > > Hi Richard.L, > > > > On 1/24/19 3:09 PM, Richard Leitner wrote: > > > Hi, > > > I'm currently facing issues on how to include a fitImage with > > > devicetrees and a INITRAMFS_IMAGE in my

Re: [OE-core] How to include fitImage-initramfs in rootfs image

2019-01-24 Thread André Draszik
On Thu, 2019-01-24 at 15:52 +0800, Robert Yang wrote: > > On 1/24/19 3:31 PM, Robert Yang wrote: > > Hi Richard.L, > > > > On 1/24/19 3:09 PM, Richard Leitner wrote: > > > Hi, > > > I'm currently facing issues on how to include a fitImage with > > > devicetrees and > > > a INITRAMFS_IMAGE in my

Re: [OE-core] How to include fitImage-initramfs in rootfs image

2019-01-24 Thread Richard Leitner
On 24/01/2019 09:15, Robert Yang wrote: On 1/24/19 3:56 PM, Richard Leitner wrote: On 24/01/2019 08:52, Robert Yang wrote: On 1/24/19 3:31 PM, Robert Yang wrote: Hi Richard.L, On 1/24/19 3:09 PM, Richard Leitner wrote: Hi, I'm currently facing issues on how to include a fitImage with

[OE-core] [PATCH 1/1] eSDK.py: avoid error in tearDownClass due to race condistion

2019-01-24 Thread Chen Qi
When removing the temporary directory, it's possible that bitbake.lock file is removed by bitbake during the cleanup. And this leads to the following error. FileNotFoundError: [Errno 2] No such file or directory: 'bitbake.lock' So add a check to remove this file before cleaning up the

[OE-core] [PATCH 0/1] eSDK.py: avoid error in tearDownClass due to race condistion

2019-01-24 Thread Chen Qi
*** BLURB HERE *** The following changes since commit ba0b32ebc3520c367915657b8fb8878be5bfde92: remove unused distutils-tools.bbclass (2019-01-23 07:57:07 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/eSDK-race

Re: [OE-core] How to include fitImage-initramfs in rootfs image

2019-01-24 Thread Robert Yang
On 1/24/19 3:56 PM, Richard Leitner wrote: On 24/01/2019 08:52, Robert Yang wrote: On 1/24/19 3:31 PM, Robert Yang wrote: Hi Richard.L, On 1/24/19 3:09 PM, Richard Leitner wrote: Hi, I'm currently facing issues on how to include a fitImage with devicetrees and a INITRAMFS_IMAGE in my