[oe] [PATCH] pm-graph: upgrade 5.3 -> 5.5

2019-09-10 Thread Naveen Saini
This release has python3 support so updating python3 to RDEPENDS.
python subprocess comes with python3-core, so removing from RDEPENDS.

Removed patch, which is already merged in this release.

Signed-off-by: Naveen Saini 
---
 .../pm-graph/pm-graph/0001-bootgraph.py.patch | 32 ---
 .../0001-sleepgraph.py-use-python3.patch  | 39 +++
 .../{pm-graph_5.3.bb => pm-graph_5.5.bb}  |  6 +--
 3 files changed, 42 insertions(+), 35 deletions(-)
 delete mode 100644 
meta-oe/recipes-kernel/pm-graph/pm-graph/0001-bootgraph.py.patch
 create mode 100644 
meta-oe/recipes-kernel/pm-graph/pm-graph/0001-sleepgraph.py-use-python3.patch
 rename meta-oe/recipes-kernel/pm-graph/{pm-graph_5.3.bb => pm-graph_5.5.bb} 
(75%)

diff --git a/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-bootgraph.py.patch 
b/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-bootgraph.py.patch
deleted file mode 100644
index d49ce0138..0
--- a/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-bootgraph.py.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 0c94e32b218c31f31a7988577fb9bec595034e7b Mon Sep 17 00:00:00 2001
-From: Todd Brandt 
-Date: Fri, 10 May 2019 15:10:35 -0700
-Subject: [PATCH] bootgraph.py: - handle boot time start grep better, the regex
- needs more complexity
-
-Upstream-Status: Backport 
[https://github.com/intel/pm-graph/commit/0c94e32b218c31f31a7988577fb9bec595034e7b]
-
-Signed-off-by: Liwei Song 

- bootgraph.py | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/bootgraph.py b/bootgraph.py
-index a2b1b1897307..d7f4bd152bf1 100755
 a/bootgraph.py
-+++ b/bootgraph.py
-@@ -333,9 +333,9 @@ def parseKernelLog():
-   if(not sysvals.stamp['kernel']):
-   sysvals.stamp['kernel'] = 
sysvals.kernelVersion(msg)
-   continue
--  m = re.match('.* setting system clock to (?P.*) UTC.*', msg)
-+  m = re.match('.* setting system clock to (?P[0-9\-]*)[ 
A-Z](?P[0-9:]*) UTC.*', msg)
-   if(m):
--  bt = datetime.strptime(m.group('t'), '%Y-%m-%d 
%H:%M:%S')
-+  bt = datetime.strptime(m.group('d')+' '+m.group('t'), 
'%Y-%m-%d %H:%M:%S')
-   bt = bt - timedelta(seconds=int(ktime))
-   data.boottime = bt.strftime('%Y-%m-%d_%H:%M:%S')
-   sysvals.stamp['time'] = bt.strftime('%B %d %Y, %I:%M:%S 
%p')
--- 
-2.22.0
-
diff --git 
a/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-sleepgraph.py-use-python3.patch 
b/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-sleepgraph.py-use-python3.patch
new file mode 100644
index 0..25c87093f
--- /dev/null
+++ 
b/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-sleepgraph.py-use-python3.patch
@@ -0,0 +1,39 @@
+From 22ce65d997f99606a3bb9d2a660ead42eecc234a Mon Sep 17 00:00:00 2001
+From: Naveen Saini 
+Date: Wed, 11 Sep 2019 11:31:07 +0800
+Subject: [PATCH] sleepgraph.py: use python3
+
+Already compatible with Python 3.
+Same goes for bootgraph.py
+
+Upstream-Status: Inappropriate [oe specific]
+
+Signed-off-by: Naveen Saini 
+---
+ bootgraph.py  | 2 +-
+ sleepgraph.py | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/bootgraph.py b/bootgraph.py
+index d3b99a1..efb5714 100755
+--- a/bootgraph.py
 b/bootgraph.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/python3
+ # SPDX-License-Identifier: GPL-2.0-only
+ #
+ # Tool for analyzing boot timing
+diff --git a/sleepgraph.py b/sleepgraph.py
+index 1794c79..cfed8e0 100755
+--- a/sleepgraph.py
 b/sleepgraph.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/python3
+ # SPDX-License-Identifier: GPL-2.0-only
+ #
+ # Tool for analyzing suspend/resume timing
+-- 
+2.17.1
+
diff --git a/meta-oe/recipes-kernel/pm-graph/pm-graph_5.3.bb 
b/meta-oe/recipes-kernel/pm-graph/pm-graph_5.5.bb
similarity index 75%
rename from meta-oe/recipes-kernel/pm-graph/pm-graph_5.3.bb
rename to meta-oe/recipes-kernel/pm-graph/pm-graph_5.5.bb
index a9f540ab8..63a9fa88e 100644
--- a/meta-oe/recipes-kernel/pm-graph/pm-graph_5.3.bb
+++ b/meta-oe/recipes-kernel/pm-graph/pm-graph_5.5.bb
@@ -5,10 +5,10 @@ HOMEPAGE = "https://01.org/pm-graph;
 LICENSE  = "GPL-2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
 
-SRCREV = "5be9a16547234cef5aca8bfaccd920490ea1cfa7"
+SRCREV = "cf59527dc24fdd2f314ae4dcaeb3d68a117988f6"
 SRC_URI = "git://github.com/intel/pm-graph.git \
file://0001-Makefile-fix-multilib-build-failure.patch \
-   file://0001-bootgraph.py.patch \
+   file://0001-sleepgraph.py-use-python3.patch \
 "
 S = "${WORKDIR}/git"
 
@@ -19,4 +19,4 @@ do_install() {
 oe_runmake install
 }
 
-RDEPENDS_${PN} += "python-core python-threading python-datetime 
python-subprocess python-compression"
+RDEPENDS_${PN} += "python3-core python3-threading python3-datetime 
python3-compression"
-- 
2.17.1

-- 
___

[oe] [meta-webserver][PATCH 3/3] netdata: Update to 1.17.0 and fix build with clang/x86

2019-09-10 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 meta-webserver/recipes-webadmin/netdata/netdata_git.bb | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/meta-webserver/recipes-webadmin/netdata/netdata_git.bb 
b/meta-webserver/recipes-webadmin/netdata/netdata_git.bb
index 811c2c5223..d179e84e33 100644
--- a/meta-webserver/recipes-webadmin/netdata/netdata_git.bb
+++ b/meta-webserver/recipes-webadmin/netdata/netdata_git.bb
@@ -6,8 +6,8 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=fc9b848046ef54b5eaee6071947abd24"
 SRC_URI = "git://github.com/firehol/netdata.git;protocol=https \
file://0002-Makefiles-does-not-build-contrib-dir.patch \
 "
-SRCREV = "2c4146832061635273d153a5174c85fb1d967d57"
-PV = "1.16.0+git${SRCPV}"
+SRCREV = "588ce5a7b18999dfa66698cd3a2f005f7a3c31cf"
+PV = "1.17.0"
 
 # patch to disable timeout because timeout are not available with actual 
version
 # of core-utils
@@ -25,6 +25,9 @@ DEPENDS += "zlib util-linux"
 
 inherit pkgconfig autotools-brokensep useradd systemd
 
+LIBS_toolchain-clang_x86 = "-latomic"
+export LIBS
+
 #systemd
 SYSTEMD_PACKAGES = "${PN}"
 SYSTEMD_SERVICE_${PN} = "netdata.service"
-- 
2.23.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH 1/3] redis: Fix build with clang/x86

2019-09-10 Thread Khem Raj
Need to link with libatomics for 64bit atomics support
Fixes
i686-yoe-linux/i686-yoe-linux-ld: networking.o: in function `createClient':
| /usr/src/debug/redis/4.0.14-r0/redis-4.0.14/src/networking.c:103: undefined 
reference to `__atomic_fetch_add_8'

Signed-off-by: Khem Raj 
---
 .../0001-src-Do-not-reset-FINAL_LIBS.patch| 32 +++
 .../recipes-extended/redis/redis_4.0.14.bb|  5 ++-
 2 files changed, 36 insertions(+), 1 deletion(-)
 create mode 100644 
meta-oe/recipes-extended/redis/redis/0001-src-Do-not-reset-FINAL_LIBS.patch

diff --git 
a/meta-oe/recipes-extended/redis/redis/0001-src-Do-not-reset-FINAL_LIBS.patch 
b/meta-oe/recipes-extended/redis/redis/0001-src-Do-not-reset-FINAL_LIBS.patch
new file mode 100644
index 00..04af15dd86
--- /dev/null
+++ 
b/meta-oe/recipes-extended/redis/redis/0001-src-Do-not-reset-FINAL_LIBS.patch
@@ -0,0 +1,32 @@
+From 97584e1eb78dc18599534b47b6670c20c63f5ee2 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Tue, 10 Sep 2019 20:04:26 -0700
+Subject: [PATCH] src: Do not reset FINAL_LIBS
+
+This helps case where additional libraries are needed to be passed from
+environment to get it going
+
+e.g. -latomic is needed on clang/x86 to provide for 64bit atomics
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj 
+---
+ src/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/Makefile b/src/Makefile
+index 7f7c625..c71dd3b 100644
+--- a/src/Makefile
 b/src/Makefile
+@@ -66,7 +66,7 @@ endif
+ 
+ FINAL_CFLAGS=$(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) $(REDIS_CFLAGS)
+ FINAL_LDFLAGS=$(LDFLAGS) $(REDIS_LDFLAGS) $(DEBUG)
+-FINAL_LIBS=-lm
++FINAL_LIBS+=-lm
+ DEBUG=-g -ggdb
+ 
+ ifeq ($(uname_S),SunOS)
+-- 
+2.23.0
+
diff --git a/meta-oe/recipes-extended/redis/redis_4.0.14.bb 
b/meta-oe/recipes-extended/redis/redis_4.0.14.bb
index 5df5312a0f..45ea29b702 100644
--- a/meta-oe/recipes-extended/redis/redis_4.0.14.bb
+++ b/meta-oe/recipes-extended/redis/redis_4.0.14.bb
@@ -11,6 +11,7 @@ SRC_URI = "http://download.redis.io/releases/${BP}.tar.gz \
file://lua-update-Makefile-to-use-environment-build-setting.patch \
file://oe-use-libc-malloc.patch \
file://Fixed-stack-trace-generation-on-aarch64.patch \
+   file://0001-src-Do-not-reset-FINAL_LIBS.patch \
file://redis.conf \
file://init-redis-server \
file://redis.service \
@@ -25,11 +26,13 @@ SRC_URI[sha256sum] = 
"1e1e18420a86cfb285933123b04a82e1ebda20bfb0a289472745a08758
 
 inherit autotools-brokensep update-rc.d systemd useradd
 
+FINAL_LIBS_x86_toolchain-clang = "-latomic"
+export FINAL_LIBS
+
 USERADD_PACKAGES = "${PN}"
 USERADD_PARAM_${PN}  = "--system --home-dir /var/lib/redis -g redis --shell 
/bin/false redis"
 GROUPADD_PARAM_${PN} = "--system redis"
 
-
 REDIS_ON_SYSTEMD = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 
'false', d)}"
 
 do_compile_prepend() {
-- 
2.23.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH 2/3] android-tools: Recognise i686 for HOST_ARCH

2019-09-10 Thread Khem Raj
qemux86 now uses i686

Signed-off-by: Khem Raj 
---
 .../recipes-devtools/android-tools/android-tools_5.1.1.r37.bb   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb 
b/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb
index 34b0b7a3b6..c0d08db174 100644
--- a/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb
+++ b/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb
@@ -102,7 +102,7 @@ do_compile() {
   powerpc|powerpc64)
 export android_arch=linux-ppc
   ;;
-  i586|x86_64)
+  i586|i686|x86_64)
 export android_arch=linux-x86
   ;;
 esac
-- 
2.23.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-filesystems][PATCH] fuse3: add libfuse3 recipe

2019-09-10 Thread Khem Raj

Hi Armin

On 9/10/19 3:06 PM, akuster808 wrote:

Stefan,

On 9/10/19 2:49 PM, Stefan Agner wrote:

From: Stefan Agner 

Add recipe for libfuse version 3 series. Follow the scheme other
distributions use and create a new recipe with 3 in its name.
To avoid conflict with the fuse (2) recipe this recipe does not
provide init scripts/configuration files which automatically load
the fuse kernel driver.

Signed-off-by: Stefan Agner 


This recipe appears to already exist in meta-filesystem

https://git.openembedded.org/meta-openembedded/tree/meta-filesystems/recipes-support/fuse/fuse_2.9.9.bb

Is this a all together a different Major version that is not compatible
with the one above? or should we just update the old one?



These are different revisions which can be installed together see [1]
I think best solution is as proposed where both revisions can live 
together, we don't want to force fuse2 users to fuse3 since it could 
mean quite a bit of unplanned work. Eventually we might drop fuse2 maybe 
in 3.1+ releases if all users of fuse in OE have moved over to fuse3


[1] 
https://github.com/libfuse/libfuse/blob/master/ChangeLog.rst#libfuse-300-2016-12-08

--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-filesystems][PATCH] fuse3: add libfuse3 recipe

2019-09-10 Thread akuster808
Stefan,

On 9/10/19 2:49 PM, Stefan Agner wrote:
> From: Stefan Agner 
>
> Add recipe for libfuse version 3 series. Follow the scheme other
> distributions use and create a new recipe with 3 in its name.
> To avoid conflict with the fuse (2) recipe this recipe does not
> provide init scripts/configuration files which automatically load
> the fuse kernel driver.
>
> Signed-off-by: Stefan Agner 

This recipe appears to already exist in meta-filesystem

https://git.openembedded.org/meta-openembedded/tree/meta-filesystems/recipes-support/fuse/fuse_2.9.9.bb

Is this a all together a different Major version that is not compatible
with the one above? or should we just update the old one?

- armin
> ---
>  .../recipes-support/fuse/fuse3_3.6.2.bb   | 48 +++
>  1 file changed, 48 insertions(+)
>  create mode 100644 meta-filesystems/recipes-support/fuse/fuse3_3.6.2.bb
>
> diff --git a/meta-filesystems/recipes-support/fuse/fuse3_3.6.2.bb 
> b/meta-filesystems/recipes-support/fuse/fuse3_3.6.2.bb
> new file mode 100644
> index 0..e65eb08e2
> --- /dev/null
> +++ b/meta-filesystems/recipes-support/fuse/fuse3_3.6.2.bb
> @@ -0,0 +1,48 @@
> +SUMMARY = "Implementation of a fully functional filesystem in a userspace 
> program"
> +DESCRIPTION = "FUSE (Filesystem in Userspace) is a simple interface for 
> userspace \
> +   programs to export a virtual filesystem to the Linux kernel. 
> FUSE \
> +   also aims to provide a secure method for non privileged users 
> to \
> +   create and mount their own filesystem implementations. \
> +  "
> +HOMEPAGE = "https://github.com/libfuse/libfuse;
> +SECTION = "libs"
> +LICENSE = "GPLv2 & LGPLv2"
> +LIC_FILES_CHKSUM = "file://GPL2.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
> +file://LGPL2.txt;md5=4fbd65380cdd255951079008b364516c \
> +file://LICENSE;md5=a55c12a2d7d742ecb41ca9ae0a6ddc66"
> +
> +SRC_URI = 
> "https://github.com/libfuse/libfuse/releases/download/fuse-${PV}/fuse-${PV}.tar.xz
>  \
> +"
> +SRC_URI[md5sum] = "1798945aa69434286723ba141c7a"
> +SRC_URI[sha256sum] = 
> "f45869427575e1e59ab743a67deb57addbf2cb8f9ce431199dbd40ddab71f281"
> +
> +S = "${WORKDIR}/fuse-${PV}"
> +
> +UPSTREAM_CHECK_URI = "https://github.com/libfuse/libfuse/releases;
> +UPSTREAM_CHECK_REGEX = "fuse\-(?P3(\.\d+)+).tar.xz"
> +
> +inherit meson pkgconfig
> +
> +DEPENDS = "udev"
> +
> +PACKAGES =+ "fuse3-utils"
> +
> +RPROVIDES_${PN}-dbg += "fuse3-utils-dbg"
> +
> +RRECOMMENDS_${PN}_class-target = "kernel-module-fuse fuse3-utils"
> +
> +FILES_${PN} += "${libdir}/libfuse3.so.*"
> +FILES_${PN}-dev += "${libdir}/libfuse3*.la"
> +
> +EXTRA_OEMESON += " \
> + -Dexamples=false \
> +"
> +
> +# Forbid auto-renaming to libfuse3-utils
> +FILES_fuse3-utils = "${bindir} ${base_sbindir}"
> +DEBIAN_NOAUTONAME_fuse3-utils = "1"
> +DEBIAN_NOAUTONAME_${PN}-dbg = "1"
> +
> +do_install_append() {
> +rm -rf ${D}${base_prefix}/dev
> +}

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-filesystems][PATCH] fuse3: add libfuse3 recipe

2019-09-10 Thread Stefan Agner
From: Stefan Agner 

Add recipe for libfuse version 3 series. Follow the scheme other
distributions use and create a new recipe with 3 in its name.
To avoid conflict with the fuse (2) recipe this recipe does not
provide init scripts/configuration files which automatically load
the fuse kernel driver.

Signed-off-by: Stefan Agner 
---
 .../recipes-support/fuse/fuse3_3.6.2.bb   | 48 +++
 1 file changed, 48 insertions(+)
 create mode 100644 meta-filesystems/recipes-support/fuse/fuse3_3.6.2.bb

diff --git a/meta-filesystems/recipes-support/fuse/fuse3_3.6.2.bb 
b/meta-filesystems/recipes-support/fuse/fuse3_3.6.2.bb
new file mode 100644
index 0..e65eb08e2
--- /dev/null
+++ b/meta-filesystems/recipes-support/fuse/fuse3_3.6.2.bb
@@ -0,0 +1,48 @@
+SUMMARY = "Implementation of a fully functional filesystem in a userspace 
program"
+DESCRIPTION = "FUSE (Filesystem in Userspace) is a simple interface for 
userspace \
+   programs to export a virtual filesystem to the Linux kernel. 
FUSE \
+   also aims to provide a secure method for non privileged users 
to \
+   create and mount their own filesystem implementations. \
+  "
+HOMEPAGE = "https://github.com/libfuse/libfuse;
+SECTION = "libs"
+LICENSE = "GPLv2 & LGPLv2"
+LIC_FILES_CHKSUM = "file://GPL2.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+file://LGPL2.txt;md5=4fbd65380cdd255951079008b364516c \
+file://LICENSE;md5=a55c12a2d7d742ecb41ca9ae0a6ddc66"
+
+SRC_URI = 
"https://github.com/libfuse/libfuse/releases/download/fuse-${PV}/fuse-${PV}.tar.xz
 \
+"
+SRC_URI[md5sum] = "1798945aa69434286723ba141c7a"
+SRC_URI[sha256sum] = 
"f45869427575e1e59ab743a67deb57addbf2cb8f9ce431199dbd40ddab71f281"
+
+S = "${WORKDIR}/fuse-${PV}"
+
+UPSTREAM_CHECK_URI = "https://github.com/libfuse/libfuse/releases;
+UPSTREAM_CHECK_REGEX = "fuse\-(?P3(\.\d+)+).tar.xz"
+
+inherit meson pkgconfig
+
+DEPENDS = "udev"
+
+PACKAGES =+ "fuse3-utils"
+
+RPROVIDES_${PN}-dbg += "fuse3-utils-dbg"
+
+RRECOMMENDS_${PN}_class-target = "kernel-module-fuse fuse3-utils"
+
+FILES_${PN} += "${libdir}/libfuse3.so.*"
+FILES_${PN}-dev += "${libdir}/libfuse3*.la"
+
+EXTRA_OEMESON += " \
+ -Dexamples=false \
+"
+
+# Forbid auto-renaming to libfuse3-utils
+FILES_fuse3-utils = "${bindir} ${base_sbindir}"
+DEBIAN_NOAUTONAME_fuse3-utils = "1"
+DEBIAN_NOAUTONAME_${PN}-dbg = "1"
+
+do_install_append() {
+rm -rf ${D}${base_prefix}/dev
+}
-- 
2.20.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-python] [PATCH] python-pytest: upgrade 3.4.2 -> 5.1.1

2019-09-10 Thread Koppolu, Chanakya
Hi Chao,

I tried your new patch and it doesn't fix the issue. I still see the same 
module('atomicwrites') missing in python modules. 

Regards,
Chanakya

-Original Message-
From: Yuan, Chao [mailto:yuanc.f...@cn.fujitsu.com] 
Sent: Tuesday, September 10, 2019 1:55 AM
To: Koppolu, Chanakya ; 
openembedded-devel@lists.openembedded.org
Subject: RE: [oe] [meta-python] [PATCH] python-pytest: upgrade 3.4.2 -> 5.1.1

Hi Chanakya,

I have sent a patch(based on pytest 5.1.2) for this runtime error, please try 
it again.

Regards,
Chao

> -Original Message-
> From: Koppolu, Chanakya 
> Sent: Saturday, September 7, 2019 8:04 AM
> To: Yuan, Chao/袁 超 ; 
> openembedded-devel@lists.openembedded.org
> Subject: RE: [oe] [meta-python] [PATCH] python-pytest: upgrade 3.4.2 
> -> 5.1.1
> 
> Hello,
> 
> This pytest upgrade patch fails to test missing runtime modules. Our 
> recent Yocto build from upstream found that the pytest fails to 
> execute due to a missing module. Here is the error report:
> 
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: root@intel-corei7-64:~# python3 
> -m pytest /tests/smoke/ |& tee smoke_test.log
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: cat smoke_test.log
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: Traceback (most recent call last):
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: File 
> "/usr/lib64/python3.7/runpy.py", line 193, in _run_module_as_main
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: "__main__", mod_spec)
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: File 
> "/usr/lib64/python3.7/runpy.py", line 85, in _run_code
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: exec(code, run_globals)
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: File 
> "/usr/lib64/python3.7/site-packages/pytest.py", line 6, in 
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: from _pytest.assertion import 
> register_assert_rewrite
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: File 
> "/usr/lib64/python3.7/site-packages/_pytest/assertion/__init__.py", 
> line 6, in 
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: from _pytest.assertion import rewrite
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: File 
> "/usr/lib64/python3.7/site-packages/_pytest/assertion/rewrite.py", 
> line 20, in 
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: import atomicwrites
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: ModuleNotFoundError: No module 
> named 'atomicwrites'
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: root@intel-corei7-64:~# 
> Traceback (most recent call last):
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: File 
> "/usr/lib64/python3.7/runpy.py", line 193, in _run_module_as_main
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: "__main__", mod_spec)
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: File 
> "/usr/lib64/python3.7/runpy.py", line 85, in _run_code
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: exec(code, run_globals)
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: File 
> "/usr/lib64/python3.7/site-packages/pytest.py", line 6, in 
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: from _pytest.assertion import 
> register_assert_rewrite
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: File 
> "/usr/lib64/python3.7/site-packages/_pytest/assertion/__init__.py", 
> line 6, in 
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: from _pytest.assertion import rewrite
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: File 
> "/usr/lib64/python3.7/site-packages/_pytest/assertion/rewrite.py", 
> line 20, in 
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: import atomicwrites
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: ModuleNotFoundError: No module 
> named 'atomicwrites'
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> 

[oe] [PATCH] poppler: update from 0.79.0 to 0.80.0

2019-09-10 Thread Randy MacLeod
Signed-off-by: Randy MacLeod 
---
 .../poppler/{poppler_0.79.0.bb => poppler_0.80.0.bb}  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-support/poppler/{poppler_0.79.0.bb => 
poppler_0.80.0.bb} (93%)

diff --git a/meta-oe/recipes-support/poppler/poppler_0.79.0.bb 
b/meta-oe/recipes-support/poppler/poppler_0.80.0.bb
similarity index 93%
rename from meta-oe/recipes-support/poppler/poppler_0.79.0.bb
rename to meta-oe/recipes-support/poppler/poppler_0.80.0.bb
index 903817f18..338af1d87 100644
--- a/meta-oe/recipes-support/poppler/poppler_0.79.0.bb
+++ b/meta-oe/recipes-support/poppler/poppler_0.80.0.bb
@@ -6,8 +6,8 @@ SRC_URI = "http://poppler.freedesktop.org/${BP}.tar.xz \
file://0001-Do-not-overwrite-all-our-build-flags.patch \
file://basename-include.patch \
"
-SRC_URI[md5sum] = "0aac1fcb6466f8b7bdf51871264c7e83"
-SRC_URI[sha256sum] = 
"f985a4608fe592d2546d9d37d4182e502ff6b4c42f8db4be0a021a1c369528c8"
+SRC_URI[md5sum] = "8ff9964d1fcc9c334a9c66f6f426ab9c"
+SRC_URI[sha256sum] = 
"4d3ca6b79bc13b8e24092e34f83ef5f387f3bb0bbd7359a6c078e09c696d104f"
 
 DEPENDS = "fontconfig zlib cairo lcms glib-2.0"
 
-- 
2.22.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-networking][PATCH 1/1] openhpi: control snmp-bc ptest generation

2019-09-10 Thread Joe Slater
Do not try to compile ptests for snmp-bc if it is not in PACKGECONFIG.

Signed-off-by: Joe Slater 
---
 meta-networking/recipes-daemons/openhpi/openhpi_3.8.0.bb | 15 +++
 1 file changed, 15 insertions(+)

diff --git a/meta-networking/recipes-daemons/openhpi/openhpi_3.8.0.bb 
b/meta-networking/recipes-daemons/openhpi/openhpi_3.8.0.bb
index e3a0c2e..8a92f10 100644
--- a/meta-networking/recipes-daemons/openhpi/openhpi_3.8.0.bb
+++ b/meta-networking/recipes-daemons/openhpi/openhpi_3.8.0.bb
@@ -85,6 +85,21 @@ do_install_append () {
 do_compile_ptest () {
 for x in `find ${B} -name Makefile -exec grep -l buildtest-TESTS {} \;`; do
 dir=`dirname ${x}`
+case $dir in
+*cpp/t)  ;;
+*snmp_bc/t)  if 
${@bb.utils.contains('PACKAGECONFIG','snmp-bc','true','false',d)}
+ then
+   oe_runmake -C ${dir} buildtest-TESTS
+ fi
+ ;;
+*)   oe_runmake -C ${dir} buildtest-TESTS ;;
+esac
+done
+}
+
+ack_do_compile_ptest () {
+for x in `find ${B} -name Makefile -exec grep -l buildtest-TESTS {} \;`; do
+dir=`dirname ${x}`
 upper=`dirname ${dir}`
 if [ `basename ${upper}` != "cpp" ]; then
 oe_runmake -C ${dir} buildtest-TESTS
-- 
2.7.4

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] ceres-solver: add PACKAGECONFIG for suitesparse and lapack

2019-09-10 Thread Martin Jansa
Signed-off-by: Martin Jansa 
---
 meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb 
b/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb
index 140c801c7d..ac463038aa 100644
--- a/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb
+++ b/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb
@@ -21,6 +21,13 @@ inherit cmake
 # 
ceres-solver/1.14-r0/packages-split/ceres-solver-dev/usr/lib/cmake/Ceres/CeresConfig.cmake:
set(glog_DIR ceres-solver/1.14-r0/recipe-sysroot/usr/lib/cmake/glog)
 SSTATE_SCAN_FILES += "*.cmake"
 
+PACKAGECONFIG ??= ""
+
+# suitesparse* recipes will be in meta-ros layer
+PACKAGECONFIG[suitesparse] = 
"-DSUITESPARSE=ON,-DSUITESPARSE=OFF,suitesparse-config suitesparse-amd 
suitesparse-camd suitesparse-colamd suitesparse-ccolamd suitesparse-cholmod 
suitesparse-metis suitesparse-spqr"
+PACKAGECONFIG[cxsparse] = "-DCXSPARSE=ON,-DCXSPARSE=OFF,suitesparse-cxsparse"
+PACKAGECONFIG[lapack] = "-DLAPACK=ON,-DLAPACK=OFF,lapack"
+
 # Only a static library and headers are created
 RDEPENDS_${PN}-dev = ""
 RRECOMMENDS_${PN}-dev = "${PN}-staticdev"
-- 
2.17.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] ceres-solver: fix the paths in .cmake files

2019-09-10 Thread Martin Jansa
Signed-off-by: Martin Jansa 
---
 meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb | 8 
 1 file changed, 8 insertions(+)

diff --git a/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb 
b/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb
index a62e5ef230..140c801c7d 100644
--- a/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb
+++ b/meta-oe/recipes-support/ceres-solver/ceres-solver_1.14.bb
@@ -13,6 +13,14 @@ S = "${WORKDIR}/git"
 
 inherit cmake
 
+# We don't want path to eigen3 in ceres-solver RSS to be
+# used by components which use CeresConfig.cmake from their
+# own RSS
+# 
ceres-solver/1.14-r0/packages-split/ceres-solver-dev/usr/lib/cmake/Ceres/CeresConfig.cmake:
  set(Eigen3_DIR ceres-solver/1.14-r0/recipe-sysroot/usr/share/eigen3/cmake)
+# 
ceres-solver/1.14-r0/packages-split/ceres-solver-dev/usr/lib/cmake/Ceres/CeresConfig.cmake:
  list(APPEND EIGEN_INCLUDE_DIR_HINTS 
ceres-solver/1.14-r0/recipe-sysroot/usr/include/eigen3)
+# 
ceres-solver/1.14-r0/packages-split/ceres-solver-dev/usr/lib/cmake/Ceres/CeresConfig.cmake:
set(glog_DIR ceres-solver/1.14-r0/recipe-sysroot/usr/lib/cmake/glog)
+SSTATE_SCAN_FILES += "*.cmake"
+
 # Only a static library and headers are created
 RDEPENDS_${PN}-dev = ""
 RRECOMMENDS_${PN}-dev = "${PN}-staticdev"
-- 
2.17.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] Fwd: [yocto] Yocto Project Summit 2019 - CFP Open

2019-09-10 Thread Philip Balister
Just a reminder we are looking for talks for the Yocto Project Summit
after ELCE. On Day 2 there is a parallel track with one session being
dedicated to an OpenEmbedded Developer Meeeting. Please sign up here if
you plan to attend and we are also collecting topics for discussion.

https://www.openembedded.org/wiki/OEDEM_2019

And please submit talks for the first day, we really want to see new
faces talking!

Philip


 Forwarded Message 
Subject: [yocto] Yocto Project Summit 2019 - CFP Open
Date: Thu, 29 Aug 2019 23:24:03 +
From: Volosincu, Andreea S 
To: Yocto list discussion 

Yocto Project is pleased to announce the Yocto Project Summit 2019, a
technical conference for engineers, open source technologists, students
and academia in the OSS space.

Organized in conjunction with ELCE 2019, this 2-day event is where
individuals will learn about Yocto Projects' direction - including, but
not limited to, new releases, development tools, features - get training
on the next wave of embedded Linux technologies (segment previously
known as Yocto Project Developer Day), and network with their industry
peers, Yocto Project maintainers and experts.

DATE: Thursday, October 31 - Friday, November 1, 2019
TIME: 9:00 am - 5:00 pm
LOCATION: Lyon Convention Center
REGISTRATION: Together with your ELCE
registration
EVENT PAGE: https://www.yoctoproject.org/yocto-project-summit-2019-2/

The CFP is currently open.
CFP Closes: 11:59 PM PST on Monday, September 16
CFP Notifications: Monday, September 23
Schedule Announcement: Thursday, September 30
Slide Due Date: Monday, October 21

CFP list of topics:

?  DevTool

?  Layer quality: e.g. creating robust layers, safely using existing layers

?  Future languages (e.g. Rust)

?  Productivity tricks and tools

?  Security

?  Reproducibility

?  Init systems: pros and cons, selection, configuration

?  Leveraging the new runqueue optimizations for mirrors, reproducible
builds

?  Supporting the Application Developer

?  DevOps

?  Working with/creating BSPs

?  Practical use of the Yocto Project

Submit your proposals at
conferen...@yoctoproject.org

Best regards,
Yocto Project Advocacy Team



-- 
___
yocto mailing list
yo...@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCHv2] remmina: add distro_features_check for GTK3DISTROFEATURES

2019-09-10 Thread Martin Jansa
Signed-off-by: Martin Jansa 
---
 meta-oe/recipes-support/remmina/remmina_1.3.6.bb | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/remmina/remmina_1.3.6.bb 
b/meta-oe/recipes-support/remmina/remmina_1.3.6.bb
index 126680c574..82b803a4d2 100644
--- a/meta-oe/recipes-support/remmina/remmina_1.3.6.bb
+++ b/meta-oe/recipes-support/remmina/remmina_1.3.6.bb
@@ -18,7 +18,10 @@ SRC_URI[sha256sum] = 
"fbed745438bb0c21467b60cbd67c8148a9289b5ebc7482d06db443bea5
 
 S = "${WORKDIR}/Remmina-v${PV}"
 
-inherit cmake
+inherit cmake distro_features_check
+
+# depends on avahi-ui with this restriction
+ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 
 EXTRA_OECMAKE += "-DWITH_APPINDICATOR=OFF -DWITH_GETTEXT=OFF 
-DWITH_TRANSLATIONS=OFF -DWITH_SPICE=OFF"
 
-- 
2.17.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH] remmina: add distro_features_check for GTK3DISTROFEATURES

2019-09-10 Thread Khem Raj
Martin

This patch does not apply cleanly on top of master or master-next can
you rebase and send again

On Tue, Sep 10, 2019 at 6:29 AM Martin Jansa  wrote:
>
> Signed-off-by: Martin Jansa 
> ---
>  meta-oe/recipes-support/remmina/remmina_1.3.6.bb | 5 -
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/meta-oe/recipes-support/remmina/remmina_1.3.6.bb 
> b/meta-oe/recipes-support/remmina/remmina_1.3.6.bb
> index b95c400b28..0895a9d35b 100644
> --- a/meta-oe/recipes-support/remmina/remmina_1.3.6.bb
> +++ b/meta-oe/recipes-support/remmina/remmina_1.3.6.bb
> @@ -15,7 +15,10 @@ SRC_URI[sha256sum] = 
> "fbed745438bb0c21467b60cbd67c8148a9289b5ebc7482d06db443bea5
>
>  S = "${WORKDIR}/Remmina-v${PV}"
>
> -inherit cmake
> +inherit cmake distro_features_check
> +
> +# depends on avahi-ui with this restriction
> +ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
>
>  EXTRA_OECMAKE += "-DWITH_APPINDICATOR=OFF -DWITH_GETTEXT=OFF 
> -DWITH_TRANSLATIONS=OFF"
>
> --
> 2.17.1
>
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] remmina: add distro_features_check for GTK3DISTROFEATURES

2019-09-10 Thread Martin Jansa
Signed-off-by: Martin Jansa 
---
 meta-oe/recipes-support/remmina/remmina_1.3.6.bb | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/remmina/remmina_1.3.6.bb 
b/meta-oe/recipes-support/remmina/remmina_1.3.6.bb
index b95c400b28..0895a9d35b 100644
--- a/meta-oe/recipes-support/remmina/remmina_1.3.6.bb
+++ b/meta-oe/recipes-support/remmina/remmina_1.3.6.bb
@@ -15,7 +15,10 @@ SRC_URI[sha256sum] = 
"fbed745438bb0c21467b60cbd67c8148a9289b5ebc7482d06db443bea5
 
 S = "${WORKDIR}/Remmina-v${PV}"
 
-inherit cmake
+inherit cmake distro_features_check
+
+# depends on avahi-ui with this restriction
+ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 
 EXTRA_OECMAKE += "-DWITH_APPINDICATOR=OFF -DWITH_GETTEXT=OFF 
-DWITH_TRANSLATIONS=OFF"
 
-- 
2.17.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [Warror][ 19/23] leptonica: fix SRC_URI

2019-09-10 Thread Javier Viguera

Hi Armin,

Care to cherry-pick this fix also to Thud?

Thanks in advance.

--
Javier Viguera
--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] php: Move more into php.inc after php5 removal

2019-09-10 Thread Adrian Bunk
Signed-off-by: Adrian Bunk 
---
 meta-oe/recipes-devtools/php/php.inc  | 10 +-
 meta-oe/recipes-devtools/php/php_7.3.9.bb |  8 
 2 files changed, 5 insertions(+), 13 deletions(-)

diff --git a/meta-oe/recipes-devtools/php/php.inc 
b/meta-oe/recipes-devtools/php/php.inc
index 6e9315c1e..becf57a9f 100644
--- a/meta-oe/recipes-devtools/php/php.inc
+++ b/meta-oe/recipes-devtools/php/php.inc
@@ -74,10 +74,9 @@ PACKAGECONFIG_class-native = ""
 
 PACKAGECONFIG[zip] = "--enable-zip 
--with-libzip=${STAGING_EXECPREFIXDIR},,libzip"
 
-PACKAGECONFIG[mysql] = "--with-mysql=${STAGING_DIR_TARGET}${prefix} \
---with-mysqli=${STAGING_BINDIR_CROSS}/mysql_config \
---with-pdo-mysql=${STAGING_BINDIR_CROSS}/mysql_config \
-,--without-mysql --without-mysqli --without-pdo-mysql \
+PACKAGECONFIG[mysql] = "--with-mysqli=mysqlnd \
+--with-pdo-mysql=mysqlnd \
+,--without-mysqli --without-pdo-mysql \
 ,mysql5"
 
 PACKAGECONFIG[sqlite3] = "--with-sqlite3=${STAGING_LIBDIR}/.. \
@@ -95,6 +94,7 @@ PACKAGECONFIG[imap] = "--with-imap=${STAGING_DIR_HOST} \
 PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
 PACKAGECONFIG[opcache] = "--enable-opcache,--disable-opcache"
 PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl"
+PACKAGECONFIG[valgrind] = 
"--with-valgrind=${STAGING_DIR_TARGET}/usr,--with-valgrind=no,valgrind"
 
 export PHP_NATIVE_DIR = "${STAGING_BINDIR_NATIVE}"
 export PHP_PEAR_PHP_BIN = "${STAGING_BINDIR_NATIVE}/php"
@@ -216,7 +216,7 @@ FILES_${PN}-doc += "${PHP_LIBDIR}/php/doc"
 FILES_${PN}-cli = "${bindir}/php"
 FILES_${PN}-phar = "${bindir}/phar*"
 FILES_${PN}-cgi = "${bindir}/php-cgi"
-FILES_${PN}-fpm = "${sbindir}/php-fpm ${sysconfdir}/php-fpm.conf 
${datadir}/fpm ${sysconfdir}/init.d/php-fpm 
${systemd_unitdir}/system/php-fpm.service"
+FILES_${PN}-fpm = "${sbindir}/php-fpm ${sysconfdir}/php-fpm.conf 
${datadir}/fpm ${sysconfdir}/init.d/php-fpm 
${systemd_unitdir}/system/php-fpm.service 
${sysconfdir}/php-fpm.d/www.conf.default"
 FILES_${PN}-fpm-apache2 = "${sysconfdir}/apache2/conf.d/php-fpm.conf"
 CONFFILES_${PN}-fpm = "${sysconfdir}/php-fpm.conf"
 CONFFILES_${PN}-fpm-apache2 = "${sysconfdir}/apache2/conf.d/php-fpm.conf"
diff --git a/meta-oe/recipes-devtools/php/php_7.3.9.bb 
b/meta-oe/recipes-devtools/php/php_7.3.9.bb
index 4d656da0f..23ab7ca8e 100644
--- a/meta-oe/recipes-devtools/php/php_7.3.9.bb
+++ b/meta-oe/recipes-devtools/php/php_7.3.9.bb
@@ -17,11 +17,3 @@ SRC_URI_append_class-target = " \
 
 SRC_URI[md5sum] = "bcc37749815009c9201e4c126e1ab8ee"
 SRC_URI[sha256sum] = 
"a39c9709a8c9eb7ea8ac4933ef7a78b92f7e5735a405c8b8e42ee39541d963c4"
-
-PACKAGECONFIG[mysql] = "--with-mysqli=mysqlnd \
---with-pdo-mysql=mysqlnd \
-,--without-mysqli --without-pdo-mysql \
-,mysql5"
-PACKAGECONFIG[valgrind] = 
"--with-valgrind=${STAGING_DIR_TARGET}/usr,--with-valgrind=no,valgrind"
-
-FILES_${PN}-fpm += "${sysconfdir}/php-fpm.d/www.conf.default"
-- 
2.17.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] php: Remove no longer needed CFLAGS_append_aarch64

2019-09-10 Thread Adrian Bunk
Signed-off-by: Adrian Bunk 
---
 meta-oe/recipes-devtools/php/php.inc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-oe/recipes-devtools/php/php.inc 
b/meta-oe/recipes-devtools/php/php.inc
index 23380da2c..6e9315c1e 100644
--- a/meta-oe/recipes-devtools/php/php.inc
+++ b/meta-oe/recipes-devtools/php/php.inc
@@ -99,7 +99,6 @@ PACKAGECONFIG[openssl] = 
"--with-openssl,--without-openssl,openssl"
 export PHP_NATIVE_DIR = "${STAGING_BINDIR_NATIVE}"
 export PHP_PEAR_PHP_BIN = "${STAGING_BINDIR_NATIVE}/php"
 CFLAGS += " -D_GNU_SOURCE -g -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED 
-I${STAGING_INCDIR}/apache2"
-CFLAGS_append_aarch64 = " -O2"
 
 EXTRA_OEMAKE = "INSTALL_ROOT=${D}"
 
-- 
2.17.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-python][PATCH] python3-cmd2: Remove PNBLACKLIST

2019-09-10 Thread Adrian Bunk
python3-colorama is now available.

Signed-off-by: Adrian Bunk 
---
 meta-python/recipes-devtools/python/python3-cmd2_0.9.16.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python3-cmd2_0.9.16.bb 
b/meta-python/recipes-devtools/python/python3-cmd2_0.9.16.bb
index 594e93dca..f5c5c7e1a 100644
--- a/meta-python/recipes-devtools/python/python3-cmd2_0.9.16.bb
+++ b/meta-python/recipes-devtools/python/python3-cmd2_0.9.16.bb
@@ -7,4 +7,3 @@ RDEPENDS_${PN} += "\
 ${PYTHON_PN}-attrs \
 ${PYTHON_PN}-wcwidth \
 "
-PNBLACKLIST[python3-cmd2] = "Nothing RPROVIDES 'python3-colorama' (but 
python3-cmd2_0.9.16.bb RDEPENDS on or otherwise requires it)"
-- 
2.17.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH 1/2] php: fix module path in mod_php.conf

2019-09-10 Thread Yi Zhao
The apache2 module's path has been changed from ${libdir} to
${libexecdir} in commit 8d4d608b4e937bb3b8e3b260bd75338c3ff7e8fd. Update
mod_php.conf to adapt it.

Signed-off-by: Yi Zhao 
---
 meta-oe/recipes-devtools/php/php.inc | 2 +-
 meta-oe/recipes-devtools/php/php/php-fpm-apache.conf | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-oe/recipes-devtools/php/php.inc 
b/meta-oe/recipes-devtools/php/php.inc
index d738d2d..d280cd0 100644
--- a/meta-oe/recipes-devtools/php/php.inc
+++ b/meta-oe/recipes-devtools/php/php.inc
@@ -175,7 +175,7 @@ do_install_append_class-target() {
 install -d ${D}${sysconfdir}/apache2/modules.d
 install -d ${D}${sysconfdir}/php/apache2-php${PHP_MAJOR_VERSION}
 install -m 644  ${WORKDIR}/70_mod_php${PHP_MAJOR_VERSION}.conf 
${D}${sysconfdir}/apache2/modules.d
-sed -i s,lib/,${libdir}/, 
${D}${sysconfdir}/apache2/modules.d/70_mod_php${PHP_MAJOR_VERSION}.conf
+sed -i s,lib/,${libexecdir}/, 
${D}${sysconfdir}/apache2/modules.d/70_mod_php${PHP_MAJOR_VERSION}.conf
 cat ${S}/php.ini-production | \
 sed -e 's,extension_dir = \"\./\",extension_dir = 
\"/usr/lib/extensions\",' \
 > ${D}${sysconfdir}/php/apache2-php${PHP_MAJOR_VERSION}/php.ini
diff --git a/meta-oe/recipes-devtools/php/php/php-fpm-apache.conf 
b/meta-oe/recipes-devtools/php/php/php-fpm-apache.conf
index ef79a0c..f7f46d2 100644
--- a/meta-oe/recipes-devtools/php/php/php-fpm-apache.conf
+++ b/meta-oe/recipes-devtools/php/php/php-fpm-apache.conf
@@ -1,6 +1,6 @@
 # Taken from http://wiki.apache.org/httpd/PHP-FPM
 
-LoadModule proxy_module  /usr/lib/apache2/modules/mod_proxy.so
-LoadModule proxy_fcgi_module /usr/lib/apache2/modules/mod_proxy_fcgi.so
+LoadModule proxy_module  /usr/libexec/apache2/modules/mod_proxy.so
+LoadModule proxy_fcgi_module /usr/libexec/apache2/modules/mod_proxy_fcgi.so
 
 ProxyPassMatch ^/(.*\.php(/.*)?)$ 
fcgi://127.0.0.1:9000/usr/share/apache2/htdocs/
-- 
2.7.4

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-webserver][PATCH 2/2] apache-websocket: fix module path

2019-09-10 Thread Yi Zhao
The apache2 module's path has been changed from ${libdir} to
${libexecdir} in commit 8d4d608b4e937bb3b8e3b260bd75338c3ff7e8fd.

Signed-off-by: Yi Zhao 
---
 meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb 
b/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb
index c44efb6..3cbab22 100644
--- a/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb
+++ b/meta-webserver/recipes-httpd/apache-mod/apache-websocket_git.bb
@@ -25,9 +25,9 @@ EXTRA_OECONF = 
"APACHECTL=${STAGING_DIR_TARGET}${sbindir}/apachectl \
 
LIBTOOL=${STAGING_DIR_TARGET}${bindir_crossscripts}/${HOST_SYS}-libtool"
 
 do_install() {
-install -d ${D}${libdir}/apache2/modules
-install -m 755 ${B}/.libs/mod_websocket.so ${D}${libdir}/apache2/modules
+install -d ${D}${libexecdir}/apache2/modules
+install -m 755 ${B}/.libs/mod_websocket.so 
${D}${libexecdir}/apache2/modules
 }
 
-FILES_${PN} += " ${libdir}/apache2/modules/* "
-FILES_${PN}-dbg += " ${libdir}/apache2/modules/.debug/* "
+FILES_${PN} += " ${libexecdir}/apache2/modules/* "
+FILES_${PN}-dbg += " ${libexecdir}/apache2/modules/.debug/* "
-- 
2.7.4

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-python] [PATCH] python-pytest: upgrade 3.4.2 -> 5.1.1

2019-09-10 Thread Yuan, Chao
Hi Chanakya,

I have sent a patch(based on pytest 5.1.2) for this runtime error, please try 
it again.

Regards,
Chao

> -Original Message-
> From: Koppolu, Chanakya 
> Sent: Saturday, September 7, 2019 8:04 AM
> To: Yuan, Chao/袁 超 ;
> openembedded-devel@lists.openembedded.org
> Subject: RE: [oe] [meta-python] [PATCH] python-pytest: upgrade 3.4.2 -> 5.1.1
> 
> Hello,
> 
> This pytest upgrade patch fails to test missing runtime modules. Our recent
> Yocto build from upstream found that the pytest fails to execute due to a
> missing module. Here is the error report:
> 
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: root@intel-corei7-64:~# python3 -m
> pytest /tests/smoke/ |& tee smoke_test.log
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: cat smoke_test.log
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: Traceback (most recent call last):
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: File "/usr/lib64/python3.7/runpy.py",
> line 193, in _run_module_as_main
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: "__main__", mod_spec)
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: File "/usr/lib64/python3.7/runpy.py",
> line 85, in _run_code
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: exec(code, run_globals)
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: File
> "/usr/lib64/python3.7/site-packages/pytest.py", line 6, in 
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: from _pytest.assertion import
> register_assert_rewrite
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: File
> "/usr/lib64/python3.7/site-packages/_pytest/assertion/__init__.py", line 6, in
> 
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: from _pytest.assertion import rewrite
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: File
> "/usr/lib64/python3.7/site-packages/_pytest/assertion/rewrite.py", line 20, in
> 
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: import atomicwrites
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: ModuleNotFoundError: No module
> named 'atomicwrites'
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: root@intel-corei7-64:~# Traceback
> (most recent call last):
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: File "/usr/lib64/python3.7/runpy.py",
> line 193, in _run_module_as_main
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: "__main__", mod_spec)
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: File "/usr/lib64/python3.7/runpy.py",
> line 85, in _run_code
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: exec(code, run_globals)
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: File
> "/usr/lib64/python3.7/site-packages/pytest.py", line 6, in 
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: from _pytest.assertion import
> register_assert_rewrite
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: File
> "/usr/lib64/python3.7/site-packages/_pytest/assertion/__init__.py", line 6, in
> 
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: from _pytest.assertion import rewrite
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: File
> "/usr/lib64/python3.7/site-packages/_pytest/assertion/rewrite.py", line 20, in
> 
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: import atomicwrites
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: ModuleNotFoundError: No module
> named 'atomicwrites'
> 02:24:14  ERRR2/jtnsE#1test_rt_smoke.py#_test
> @hxj7-eced|jfsrtse02/mbt-02a: console: root@intel-corei7-64:~#
> 
> Please prove a recipe for the missing module.
> 
> Regards,
> Chanakya
> 
> -Original Message-
> From: openembedded-devel-boun...@lists.openembedded.org
> [mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of
> Yuan Chao
> Sent: Wednesday, August 28, 2019 12:38 AM
> To: openembedded-devel@lists.openembedded.org
> Subject: [oe] [meta-python] [PATCH] 

[oe] [meta-python] [PATCH 2/2] python-pytest: fix runtime error

2019-09-10 Thread Yuan Chao
Fix runtime error: missing 'atomicwrites' module.

Signed-off-by: Yuan Chao 
---
 meta-python/recipes-devtools/python/python-pytest.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-python/recipes-devtools/python/python-pytest.inc 
b/meta-python/recipes-devtools/python/python-pytest.inc
index b58cdea96..7ef6092b5 100644
--- a/meta-python/recipes-devtools/python/python-pytest.inc
+++ b/meta-python/recipes-devtools/python/python-pytest.inc
@@ -20,6 +20,7 @@ RDEPENDS_${PN}_class-target += " \
 ${PYTHON_PN}-py \
 ${PYTHON_PN}-setuptools \
 ${PYTHON_PN}-six \
+${PYTHON_PN}-atomicwrites \
 "
 
 FILESEXTRAPATHS_prepend := "${THISDIR}/python-pytest:"
-- 
2.17.1



-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-python] [PATCH 1/2] python-atomicwrites: new recipe

2019-09-10 Thread Yuan Chao
Add new recipe python-atomicwrites as it is RDEPEND of python-pytest.

Signed-off-by: Yuan Chao 
---
 .../recipes-devtools/python/python-atomicwrites.inc| 7 +++
 .../recipes-devtools/python/python-atomicwrites_1.3.0.bb   | 2 ++
 .../recipes-devtools/python/python3-atomicwrites_1.3.0.bb  | 2 ++
 3 files changed, 11 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-atomicwrites.inc
 create mode 100644 
meta-python/recipes-devtools/python/python-atomicwrites_1.3.0.bb
 create mode 100644 
meta-python/recipes-devtools/python/python3-atomicwrites_1.3.0.bb

diff --git a/meta-python/recipes-devtools/python/python-atomicwrites.inc 
b/meta-python/recipes-devtools/python/python-atomicwrites.inc
new file mode 100644
index 0..773e9dd77
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-atomicwrites.inc
@@ -0,0 +1,7 @@
+DESCRIPTION = "Powerful Python library for atomic file writes"
+HOMEPAGE = "https://github.com/untitaker/python-atomicwrites;
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=91cc36cfafeefb7863673bcfcb1d4da4"
+
+SRC_URI[md5sum] = "ce11f780a4ce0fce8a55d64494a88178"
+SRC_URI[sha256sum] = 
"75a9445bac02d8d058d5e1fe689654ba5a6556a1dfd8ce6ec55a0ed79866cfa6"
diff --git a/meta-python/recipes-devtools/python/python-atomicwrites_1.3.0.bb 
b/meta-python/recipes-devtools/python/python-atomicwrites_1.3.0.bb
new file mode 100644
index 0..c7b41d603
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-atomicwrites_1.3.0.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools
+require python-atomicwrites.inc
diff --git a/meta-python/recipes-devtools/python/python3-atomicwrites_1.3.0.bb 
b/meta-python/recipes-devtools/python/python3-atomicwrites_1.3.0.bb
new file mode 100644
index 0..9f306e60d
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-atomicwrites_1.3.0.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-atomicwrites.inc
-- 
2.17.1



-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] php: Turn PCRE JIT off for riscv

2019-09-10 Thread Khem Raj
Its not yet supported

Signed-off-by: Khem Raj 
---
 meta-oe/recipes-devtools/php/php.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-devtools/php/php.inc 
b/meta-oe/recipes-devtools/php/php.inc
index d738d2d93f..23380da2cb 100644
--- a/meta-oe/recipes-devtools/php/php.inc
+++ b/meta-oe/recipes-devtools/php/php.inc
@@ -56,6 +56,9 @@ EXTRA_OECONF = "--enable-mbstring \
 ${COMMON_EXTRA_OECONF} \
 "
 
+EXTRA_OECONF_append_riscv64 = " --with-pcre-jit=no"
+EXTRA_OECONF_append_riscv32 = " --with-pcre-jit=no"
+
 CACHED_CONFIGUREVARS += "ac_cv_func_dlopen=no ac_cv_lib_dl_dlopen=yes"
 
 EXTRA_OECONF_class-native = " \
-- 
2.23.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] Support for OpenJDK 9+

2019-09-10 Thread Richard Leitner


On 09/09/2019 22:57, Adrian Bunk wrote:

On Mon, Sep 09, 2019 at 07:52:16PM +, Mathieu Alexandre-Tétreault wrote:

Howdy,

We recently got a request to add support for Java(OpenJdk) 9+.
I came to wonder if there was any limitations preventing the use of
Openjdk 9+ on arm?


None that I'm aware of...



Any advise will be appreciated.


Debian stable ships OpenJDK 11 on three different arm architectures.


Additionally please take in mind the end-of-support of the OpenJDK 
releases to make sure you put the effort in a long maintained version if 
possible.


Furthermore you may also take advantages of synergies with adoptopenjdk.net?

regards;Richard.L
--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel