Re: [OE-core] [PATCH v1] postinst-intercepts: check tool presence in intercept hooks

2019-06-25 Thread ChenQi
Under which circumstances will the tools be absent? And why do you check the existence of files for some the the existence of directories for others? Best Regards, Chen Qi On 06/26/2019 06:13 AM, Sinan Kaya wrote: do_rootfs: The postinstall intercept hook 'update_udev_hwdb' do_rootfs: The pos

[OE-core] [PATCH v1] postinst-intercepts: check tool presence in intercept hooks

2019-06-25 Thread Sinan Kaya
do_rootfs: The postinstall intercept hook 'update_udev_hwdb' do_rootfs: The postinstall intercept hook 'update_gio_module_cache' failed do_rootfs: The postinstall intercept hook 'update_icon_cache' failed do_rootfs: The postinstall intercept hook 'update_icon_cache' failed Signed-off-by: Sinan Kay

Re: [OE-core] [yocto] Yocto Project Status WW26'19

2019-06-25 Thread akuster808
On 6/25/19 10:22 AM, sjolley.yp...@gmail.com wrote: > > Current Dev Position: YP 2.8 M2 > > Next Deadline: YP 2.8 Milestone 2 Cutoff July 14th, 2019 > >   > > SWAT Team Rotation: > > * SWAT lead is currently: Ross > * SWAT team rotation: Ross -> Amanda on June 28, 2019 > * SWAT team rotatio

Re: [OE-core] [PATCH] libnotify: Remove obsolete dependency on dbus-glib

2019-06-25 Thread Adrian Bunk
On Tue, Jun 25, 2019 at 02:09:02PM -0400, Randy MacLeod wrote: > On 6/25/19 1:26 PM, Adrian Bunk wrote: > > Upstream stopped using it in 2010. > > > > Signed-off-by: Adrian Bunk > > --- > > meta/recipes-gnome/libnotify/libnotify_0.7.8.bb | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-

Re: [OE-core] [PATCH] libnotify: Remove obsolete dependency on dbus-glib

2019-06-25 Thread Randy MacLeod
On 6/25/19 1:26 PM, Adrian Bunk wrote: Upstream stopped using it in 2010. Signed-off-by: Adrian Bunk --- meta/recipes-gnome/libnotify/libnotify_0.7.8.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-gnome/libnotify/libnotify_0.7.8.bb b/meta/recipes-gnome/l

[OE-core] [PATCH] mesa: Add support for the lima PACKAGECONFIG

2019-06-25 Thread Alistair Francis
Signed-off-by: Alistair Francis --- meta/recipes-graphics/mesa/mesa.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 3ecfb8506c..5bbd13bca2 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipe

[OE-core] [PATCH] libnotify: Remove obsolete dependency on dbus-glib

2019-06-25 Thread Adrian Bunk
Upstream stopped using it in 2010. Signed-off-by: Adrian Bunk --- meta/recipes-gnome/libnotify/libnotify_0.7.8.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-gnome/libnotify/libnotify_0.7.8.bb b/meta/recipes-gnome/libnotify/libnotify_0.7.8.bb index 82c137ca3

[OE-core] [PATCH] cups: Remove unnecessary dependency on dbus-glib

2019-06-25 Thread Adrian Bunk
Signed-off-by: Adrian Bunk --- meta/recipes-extended/cups/cups.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc index 5010f0861f..46fb2dded3 100644 --- a/meta/recipes-extended/cups/cups.inc +++ b/met

[OE-core] [PATCH] python3-dbus: Remove obsolete dependency on dbus-glib

2019-06-25 Thread Adrian Bunk
Upstream stopped using it in 1.2.6. Signed-off-by: Adrian Bunk --- meta/recipes-devtools/python/python3-dbus_1.2.8.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-dbus_1.2.8.bb b/meta/recipes-devtools/python/python3-dbus_1.2.8.bb index

[OE-core] [PATCH] bluez5: Remove obsolete dependency on dbus-glib

2019-06-25 Thread Adrian Bunk
Upstream stopped using it in 2008. Signed-off-by: Adrian Bunk --- meta/recipes-connectivity/bluez5/bluez5.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc index 8f321638ce..28aaeea41

[OE-core] Yocto Project Status WW26'19

2019-06-25 Thread sjolley.yp.pm
Current Dev Position: YP 2.8 M2 Next Deadline: YP 2.8 Milestone 2 Cutoff July 14th, 2019 SWAT Team Rotation: * SWAT lead is currently: Ross * SWAT team rotation: Ross -> Amanda on June 28, 2019 * SWAT team rotation: Amanda -> Chen on July, 5, 2019 *

[OE-core] [PATCH] mesa: Update 19.1.0 -> 19.1.1

2019-06-25 Thread Fabio Berton
Mesa 19.1.1 is a bug fix release which fixes bugs found since the 19.1.0 release. For a complete changelog see: https://www.mesa3d.org/relnotes/19.1.1.html Signed-off-by: Fabio Berton --- .../mesa/{mesa-gl_19.1.0.bb => mesa-gl_19.1.1.bb} | 0 meta/recipes-graphics/mesa/{mesa_19.1.0.

[OE-core] [PATCH v4] oe_syslog.py: Handle syslogd/klogd restart race

2019-06-25 Thread Jon Mason
syslogd and klogd can occasionally take too long to restart, which causes tests to fail by starting before the log daemons are ready. To work around this problem, poll for up to 30 seconds on the processes to verify the old ones are killed and the new ones are up and running. Similarly, add checks

[OE-core] [PATCH v2 2/2] oeqa/buildoptions: check that Fortran code actually cross-compiles

2019-06-25 Thread Ross Burton
Don't just test that we can build the cross-compiler, but test that it actually can cross-compile some Fortran. The quadmath dependency is now handled in gcc-runtime and isn't needed in this test (as per local.conf.sample.extended changes). There's also no need to build libgfortran explicitly, as

[OE-core] [PATCH v2 1/2] fortran-helloworld: add a very dumb Fortran Hello World for testing

2019-06-25 Thread Ross Burton
For future runtime testing something more complex is preferred but this is sufficient to exercise the cross compiler. Signed-off-by: Ross Burton --- meta-selftest/recipes-test/fortran/files/hello.f95 | 5 + .../recipes-test/fortran/fortran-helloworld.bb | 25 ++ 2 fi

Re: [OE-core] [PATCH v2 1/2] update-alternatives.bbclass: run update-alternatives firstly in postinst script

2019-06-25 Thread Richard Purdie
On Tue, 2019-06-25 at 20:44 +0800, Robert Yang wrote: > Recipes like postfix run command newaliases in postinst, but newaliases is > installed as newaliases.postfix, it needs run update-alternatives to update it > to newaliases, so there was an error when installed postinst on target. > > Fixed: >

[OE-core] [PATCH] bitbake.conf: Stop exporting TARGET_ flags variables

2019-06-25 Thread Mike Crowe
Way back in http://lists.openembedded.org/pipermail/openembedded-core/2014-April/210138.html a few of us discussed not exporting TARGET_LDFLAGS. There seemed to be support for this idea, and I modified our tree to not do so. I then seem to have dropped the ball. :( We've been running like that for

Re: [OE-core] [PATCH 1/4] cve-update-db: New recipe to update CVE database

2019-06-25 Thread Burton, Ross
On Tue, 25 Jun 2019 at 09:49, Pierre Le Magourou wrote: > > Also, the CVE db is updated using this custom task without link to > > do_fetch, which means a fetchall task would not update the database for > > off line NO_NETWORK builds. > > > > Could the task be added as dependency to do_fetch() or

Re: [OE-core] [PATCHv3] cmake.bbclass: pass mandatory compiler flags through CMAKE__COMPILER_ARG1

2019-06-25 Thread Nikolai Merinov via Openembedded-core
Hi Richard, Can you help me to understand how I can reproduce this issue on local build? I want to try to debug it. Regards, Nikolai - Original Message - From: "Richard Purdie" To: "n merinov" Cc: "openembedded-core" Sent: Tuesday, June 25, 2019 1:03:11 PM Subject: Re: [OE-core] [PAT

[OE-core] [PATCH][thud 2/2] glibc: backport CVE fixes

2019-06-25 Thread Ross Burton
Backport the fixes for several CVEs from the 2.28 stable branch: - CVE-2016-10739 - CVE-2018-19591 - CVE-2019-9169 Signed-off-by: Ross Burton --- meta/recipes-core/glibc/glibc/CVE-2016-10739.patch | 232 + meta/recipes-core/glibc/glibc/CVE-2018-19591.patch | 48 + meta/r

[OE-core] [PATCH][thud 1/2] lighttpd: fix CVE-2019-11072

2019-06-25 Thread Ross Burton
Signed-off-by: Ross Burton --- .../lighttpd/lighttpd/fix-http-parseopts.patch | 51 ++ meta/recipes-extended/lighttpd/lighttpd_1.4.51.bb | 1 + 2 files changed, 52 insertions(+) create mode 100644 meta/recipes-extended/lighttpd/lighttpd/fix-http-parseopts.patch diff -

Re: [OE-core] [PATCH v5 06/13] go.bbclass: ptest cleanup and improvements

2019-06-25 Thread Matt Madison
On Fri, Jun 21, 2019 at 2:08 AM Yu, Mingli wrote: > > Hi Matt, > > I noticed your commit is the latest update for go-dep ptest. But the > go-dep ptest doesn't work in my environment. I'm trying to figure out > what's wrong is here though I didn't know much about go. I went back over the commits,

[OE-core] [PATCH v2 0/2] meta: Fixes for update-alternatives.bbclass and gtk-icon-cache.bbclass

2019-06-25 Thread Robert Yang
* V2 - The patch for update-alternatives.bbclass makes update-alternatives runs firstly before other postinst scripts, since other postinst may run the tool which is installed by the package itself (e.g., newaliases is installed as newaliases.postfix, and update-alternatives will up

[OE-core] [PATCH v2 2/2] gtk-icon-cache.bbclass: Depends on gtk+3

2019-06-25 Thread Robert Yang
The gtk-update-icon-cache is provided by gtk+3, gdk-pixbuf-query-loaders is provided by gdk-pixbuf, and gtk+3 depends on gdk-pixbuf, so depends on gtk+3 can fix the problems. Signed-off-by: Robert Yang --- meta/classes/gtk-icon-cache.bbclass | 14 ++ 1 file changed, 10 insertions(+),

[OE-core] [PATCH v2 1/2] update-alternatives.bbclass: run update-alternatives firstly in postinst script

2019-06-25 Thread Robert Yang
Recipes like postfix run command newaliases in postinst, but newaliases is installed as newaliases.postfix, it needs run update-alternatives to update it to newaliases, so there was an error when installed postinst on target. Fixed: $ opkg install postfix Configuring postfix. ///var/lib/opkg/info/

Re: [OE-core] [PATCH] python: make 'python' install everything instead of just the interpretter

2019-06-25 Thread Alejandro Enedino Hernandez Samaniego
Hey Ross, On 6/20/19 7:53 AM, Ross Burton wrote: Follow the python3 behaviour, and common sense, by making 'python' install python-modules instead of python-core. This means a user installing python gets all of Python, instead of just a fraction of the library. [ YOCTO #13402 ] Signed-off-by:

Re: [OE-core] [PATCH] scons: fix conflict during do_rootfs

2019-06-25 Thread Adrian Bunk
On Mon, Jun 24, 2019 at 05:29:37PM +0800, changqing...@windriver.com wrote: > From: Changqing Li > > fix below error: > file /usr/bin/scons conflicts between attempted installs of > python-scons-3.0.5-r0.core2_32 and python3-scons-3.0.5-r0.core2_32 > file /usr/bin/scons-3.0.5 conflicts between a

Re: [OE-core] [PATCH v2] lttng-modules: Backport patches to fix compilation failures since kernel v5.1

2019-06-25 Thread He Zhe
On 6/25/19 4:04 PM, richard.pur...@linuxfoundation.org wrote: > On Tue, 2019-06-25 at 15:59 +0800, He Zhe wrote: >> On 6/12/19 6:57 AM, Bruce Ashfield wrote: >>> On Tue, Jun 11, 2019 at 6:50 PM Richard Purdie >>> wrote: On Tue, 2019-06-11 at 17:03 +0800, zhe...@windriver.com wrote: > F

Re: [OE-core] [PATCH v2] efibootmgr: Pass correct flags to compiler from pkg-config

2019-06-25 Thread Adrian Bunk
On Mon, Jun 24, 2019 at 11:01:21PM -0700, Khem Raj wrote: > efivar.h is in usr/include/efirvar directory so it should be > added to include search path via -I to compiler cmdline to fix > > make[1]: *** No rule to make target 'efivar.h', needed by 'efibootmgr.o'. > Stop. > | make[1]: *** Waiting

Re: [OE-core] [PATCH 1/4] cve-update-db: New recipe to update CVE database

2019-06-25 Thread Pierre Le Magourou
Hi, > Also, the CVE db is updated using this custom task without link to > do_fetch, which means a fetchall task would not update the database for > off line NO_NETWORK builds. > > Could the task be added as dependency to do_fetch() or are there some other > side effects? > Yes I can do that, I d

Re: [OE-core] [PATCH v2] lttng-modules: Backport patches to fix compilation failures since kernel v5.1

2019-06-25 Thread richard . purdie
On Tue, 2019-06-25 at 15:59 +0800, He Zhe wrote: > > On 6/12/19 6:57 AM, Bruce Ashfield wrote: > > On Tue, Jun 11, 2019 at 6:50 PM Richard Purdie > > wrote: > > > On Tue, 2019-06-11 at 17:03 +0800, zhe...@windriver.com wrote: > > > > From: He Zhe > > > > > > > > For the moment, > > > > 0001~000

Re: [OE-core] [PATCHv3] cmake.bbclass: pass mandatory compiler flags through CMAKE__COMPILER_ARG1

2019-06-25 Thread Richard Purdie
On Mon, 2019-06-24 at 13:24 +0300, Nikolai Merinov via Openembedded- core wrote: > Patch updated with "Signed-off-by" field as required by automatic > checks. > > - Original Message - > From: "openembedded-core" > To: "Khem Raj" > Cc: "openembedded-core" > Sent: Thursday, June 20, 2019

Re: [OE-core] [PATCH v2] lttng-modules: Backport patches to fix compilation failures since kernel v5.1

2019-06-25 Thread He Zhe
On 6/12/19 6:57 AM, Bruce Ashfield wrote: > On Tue, Jun 11, 2019 at 6:50 PM Richard Purdie > wrote: >> On Tue, 2019-06-11 at 17:03 +0800, zhe...@windriver.com wrote: >>> From: He Zhe >>> >>> For the moment, >>> 0001~0004 are on master branch only. >>> 0005~0007 are on stable-2.11 branch, but v

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

2019-06-25 Thread Ricardo Ribalda Delgado
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', 'multiconfig:qt5022:virtual:native:/workdir/repo/poky/meta/recipes-devtools/