[oe] [meta-python][PATCH v2 4/5] python-parse-type: Add Python 3 recipe

2018-07-30 Thread Robert Joslyn
Clarify license from BSD to BSD-3-Clause.
---
 meta-python/recipes-devtools/python/python-parse-type.inc   | 12 
 .../recipes-devtools/python/python-parse-type_0.4.2.bb  | 13 ++---
 .../recipes-devtools/python/python3-parse-type_0.4.2.bb |  2 ++
 3 files changed, 16 insertions(+), 11 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-parse-type.inc
 create mode 100644 
meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb

diff --git a/meta-python/recipes-devtools/python/python-parse-type.inc 
b/meta-python/recipes-devtools/python/python-parse-type.inc
new file mode 100644
index 0..4549ec98b
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-parse-type.inc
@@ -0,0 +1,12 @@
+SUMMARY = "Simplifies building parse types based on the parse module"
+HOMEPAGE = "https://github.com/jenisys/parse_type;
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d07323820cca0f1d192cbbf8a0516f95"
+
+SRC_URI[md5sum] = "b5fa59e45965d1b2896023742df2e707"
+SRC_URI[sha256sum] = 
"f596bdc75d3dd93036fbfe3d04127da9f6df0c26c36e01e76da85adef4336b3c"
+
+PYPI_PACKAGE = "parse_type"
+inherit pypi
+
+RDEPENDS_${PN} += "${PYTHON_PN}-parse"
diff --git a/meta-python/recipes-devtools/python/python-parse-type_0.4.2.bb 
b/meta-python/recipes-devtools/python/python-parse-type_0.4.2.bb
index b516c5912..8e10e801c 100644
--- a/meta-python/recipes-devtools/python/python-parse-type_0.4.2.bb
+++ b/meta-python/recipes-devtools/python/python-parse-type_0.4.2.bb
@@ -1,11 +1,2 @@
-SUMMARY = "Simplifies building parse types based on the parse module"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=d07323820cca0f1d192cbbf8a0516f95"
-PYPI_PACKAGE = "parse_type"
-
-SRC_URI[md5sum] = "b5fa59e45965d1b2896023742df2e707"
-SRC_URI[sha256sum] = 
"f596bdc75d3dd93036fbfe3d04127da9f6df0c26c36e01e76da85adef4336b3c"
-
-RDEPENDS_${PN} += "python-parse"
-
-inherit pypi setuptools
+inherit setuptools
+require python-parse-type.inc
diff --git a/meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb 
b/meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb
new file mode 100644
index 0..91d9ce2d4
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-parse-type.inc
-- 
2.16.4

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


[oe] [meta-python][PATCH v2 5/5] python-behave: Add Python 3 recipe

2018-07-30 Thread Robert Joslyn
Fix broken dependencies of Python 2 recipe as well.
---
 meta-python/recipes-devtools/python/python-behave.inc| 15 +++
 .../recipes-devtools/python/python-behave_1.2.6.bb   | 16 +++-
 .../recipes-devtools/python/python3-behave_1.2.6.bb  |  2 ++
 3 files changed, 24 insertions(+), 9 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-behave.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-behave_1.2.6.bb

diff --git a/meta-python/recipes-devtools/python/python-behave.inc 
b/meta-python/recipes-devtools/python/python-behave.inc
new file mode 100644
index 0..ded75801d
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-behave.inc
@@ -0,0 +1,15 @@
+SUMMARY = "A behavior-driven development framework, Python style"
+HOMEPAGE = "https://github.com/behave/behave;
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d950439e8ea6ed233e4288f5e1a49c06"
+
+SRC_URI[md5sum] = "3f05c859a1c45f5ed33e925817ad887d"
+SRC_URI[sha256sum] = 
"b9662327aa53294c1351b0a9c369093ccec1d21026f050c3bd9b3e5cccf81a86"
+
+inherit pypi
+
+RDEPENDS_${PN} += " \
+${PYTHON_PN}-parse-type \
+${PYTHON_PN}-setuptools \
+${PYTHON_PN}-six \
+"
diff --git a/meta-python/recipes-devtools/python/python-behave_1.2.6.bb 
b/meta-python/recipes-devtools/python/python-behave_1.2.6.bb
index 679730262..66221682a 100644
--- a/meta-python/recipes-devtools/python/python-behave_1.2.6.bb
+++ b/meta-python/recipes-devtools/python/python-behave_1.2.6.bb
@@ -1,10 +1,8 @@
-SUMMARY = "A behavior-driven development framework, Python style"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=d950439e8ea6ed233e4288f5e1a49c06"
+inherit setuptools
+require python-behave.inc
 
-SRC_URI[md5sum] = "3f05c859a1c45f5ed33e925817ad887d"
-SRC_URI[sha256sum] = 
"b9662327aa53294c1351b0a9c369093ccec1d21026f050c3bd9b3e5cccf81a86"
-
-RDEPENDS_${PN} += "python-difflib python-setuptools python-pkgutil python-misc 
python-argparse python-xml python-enum34 python-parse python-parse-type 
python-six"
-
-inherit pypi setuptools
+RDEPENDS_${PN} += " \
+${PYTHON_PN}-argparse \
+${PYTHON_PN}-enum34 \
+${PYTHON_PN}-traceback2 \
+"
diff --git a/meta-python/recipes-devtools/python/python3-behave_1.2.6.bb 
b/meta-python/recipes-devtools/python/python3-behave_1.2.6.bb
new file mode 100644
index 0..1c55871b1
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-behave_1.2.6.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-behave.inc
-- 
2.16.4

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


[oe] [meta-python][PATCH v2 3/5] python-parse: Update to 1.8.4 and add Python 3 version

2018-07-30 Thread Robert Joslyn
Correct the license to MIT. The PyPI metadata says BSD, but the license
text in the code is actually MIT.
---
 meta-python/recipes-devtools/python/python-parse.inc   | 13 +
 meta-python/recipes-devtools/python/python-parse_1.8.2.bb  | 13 -
 meta-python/recipes-devtools/python/python-parse_1.8.4.bb  |  2 ++
 meta-python/recipes-devtools/python/python3-parse_1.8.4.bb |  2 ++
 4 files changed, 17 insertions(+), 13 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-parse.inc
 delete mode 100644 meta-python/recipes-devtools/python/python-parse_1.8.2.bb
 create mode 100644 meta-python/recipes-devtools/python/python-parse_1.8.4.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-parse_1.8.4.bb

diff --git a/meta-python/recipes-devtools/python/python-parse.inc 
b/meta-python/recipes-devtools/python/python-parse.inc
new file mode 100644
index 0..2510b27ae
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-parse.inc
@@ -0,0 +1,13 @@
+SUMMARY = "Parse strings using a specification based on the Python format() 
syntax"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = 
"file://parse.py;beginline=1273;endline=1291;md5=5147afdd9b3615290ad8733f0137a1a1"
+
+SRC_URI[md5sum] = "fa69ab2fe846f9b183411391f7c6897b"
+SRC_URI[sha256sum] = 
"c3cdf6206f22aeebfa00e5b954fcfea13d1b2dc271c75806b6025b94fb490939"
+
+inherit pypi
+
+RDEPENDS_${PN} += "\
+${PYTHON_PN}-datetime \
+${PYTHON_PN}-logging \
+"
diff --git a/meta-python/recipes-devtools/python/python-parse_1.8.2.bb 
b/meta-python/recipes-devtools/python/python-parse_1.8.2.bb
deleted file mode 100644
index 8e16372c5..0
--- a/meta-python/recipes-devtools/python/python-parse_1.8.2.bb
+++ /dev/null
@@ -1,13 +0,0 @@
-SUMMARY = "Parse strings using a specification based on the Python format() 
syntax"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = 
"file://parse.py;beginline=1191;endline=1209;md5=5147afdd9b3615290ad8733f0137a1a1"
-
-SRC_URI[md5sum] = "42002338551bdfa0f01bbe4e679a17dd"
-SRC_URI[sha256sum] = 
"8048dde3f5ca07ad7ac7350460952d83b63eaacecdac1b37f45fd74870d849d2"
-
-inherit pypi setuptools
-
-RDEPENDS_${PN} += "\
-${PYTHON_PN}-datetime \
-${PYTHON_PN}-logging \
-"
diff --git a/meta-python/recipes-devtools/python/python-parse_1.8.4.bb 
b/meta-python/recipes-devtools/python/python-parse_1.8.4.bb
new file mode 100644
index 0..d31ccc72a
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-parse_1.8.4.bb
@@ -0,0 +1,2 @@
+inherit setuptools
+require python-parse.inc
diff --git a/meta-python/recipes-devtools/python/python3-parse_1.8.4.bb 
b/meta-python/recipes-devtools/python/python3-parse_1.8.4.bb
new file mode 100644
index 0..b1242545c
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-parse_1.8.4.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-parse.inc
-- 
2.16.4

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


[oe] [meta-python][PATCH v2 2/5] python-traceback2: Add recipe

2018-07-30 Thread Robert Joslyn
---
 .../recipes-devtools/python/python-traceback2_1.4.0.bb| 15 +++
 1 file changed, 15 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python-traceback2_1.4.0.bb

diff --git a/meta-python/recipes-devtools/python/python-traceback2_1.4.0.bb 
b/meta-python/recipes-devtools/python/python-traceback2_1.4.0.bb
new file mode 100644
index 0..696c875c6
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-traceback2_1.4.0.bb
@@ -0,0 +1,15 @@
+SUMMARY = "A backport of traceback to older supported Pythons"
+HOMEPAGE = "https://github.com/testing-cabal/traceback2;
+LICENSE = "Python-2.0"
+LIC_FILES_CHKSUM = 
"file://PKG-INFO;beginline=31;endline=31;md5=368ddc8588431c180ae7c33f4fb57519"
+
+DEPENDS = "${PYTHON_PN}-pbr-native"
+
+SRC_URI[md5sum] = "9e9723f4d70bfc6308fa992dd193c400"
+SRC_URI[sha256sum] = 
"05acc67a09980c2ecfedd3423f7ae0104839eccb55fc645773e1caa0951c3030"
+
+inherit pypi setuptools
+
+CLEANBROKEN = "1"
+
+RDEPENDS_${PN} = "${PYTHON_PN}-linecache2"
-- 
2.16.4

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


[oe] [meta-python][PATCH v2 0/5] Add python3-behave Recipe

2018-07-30 Thread Robert Joslyn
Add Python 3 version of python-behave and its dependencies. Fix missing
dependencies for the Python 2 recipe as well.

Changes in v2:
* Clarify license of python-parse-type from BSD to BSD-3-Clause
* Add HOMEPAGE to python-parse-type.inc

Robert Joslyn (5):
  python-linecache2: Add recipe
  python-traceback2: Add recipe
  python-parse: Update to 1.8.4 and add Python 3 version
  python-parse-type: Add Python 3 recipe
  python-behave: Add Python 3 recipe

 meta-python/recipes-devtools/python/python-behave.inc| 15 +++
 .../recipes-devtools/python/python-behave_1.2.6.bb   | 16 +++-
 .../recipes-devtools/python/python-linecache2_1.0.0.bb   | 13 +
 .../recipes-devtools/python/python-parse-type.inc| 12 
 .../recipes-devtools/python/python-parse-type_0.4.2.bb   | 13 ++---
 meta-python/recipes-devtools/python/python-parse.inc | 13 +
 .../recipes-devtools/python/python-parse_1.8.2.bb| 13 -
 .../recipes-devtools/python/python-parse_1.8.4.bb|  2 ++
 .../recipes-devtools/python/python-traceback2_1.4.0.bb   | 15 +++
 .../recipes-devtools/python/python3-behave_1.2.6.bb  |  2 ++
 .../recipes-devtools/python/python3-parse-type_0.4.2.bb  |  2 ++
 .../recipes-devtools/python/python3-parse_1.8.4.bb   |  2 ++
 12 files changed, 85 insertions(+), 33 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-behave.inc
 create mode 100644 
meta-python/recipes-devtools/python/python-linecache2_1.0.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python-parse-type.inc
 create mode 100644 meta-python/recipes-devtools/python/python-parse.inc
 delete mode 100644 meta-python/recipes-devtools/python/python-parse_1.8.2.bb
 create mode 100644 meta-python/recipes-devtools/python/python-parse_1.8.4.bb
 create mode 100644 
meta-python/recipes-devtools/python/python-traceback2_1.4.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-behave_1.2.6.bb
 create mode 100644 
meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-parse_1.8.4.bb

-- 
2.16.4

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


[oe] [meta-oe][PATCH v2] iperf3: Upgrade to 3.6

2018-07-30 Thread mingli.yu
From: Mingli Yu 

* Licence-Update:
  - Copyright years are updated to 2018
  - Remove the part about src/tcp_window_size.{c,h}
as iperf3 uses get/setsockopt() with SO_SNDBUF
and SO_RCVBUF directly now
* Update the path parameter for --with-openssl as
  ${RECIPE_SYSROOT}${prefix} to fix the below do_configure
  error
  | checking for openssl/ssl.h in 
/poky-build/tmp/work/i586-poky-linux/iperf3/3.6-r0/recipe-sysroot... no
  | checking whether compiling and linking against OpenSSL works... no
  | configure: error: in 
`/poky-build/tmp/work/i586-poky-linux/iperf3/3.6-r0/build':
  | configure: error: --with-openssl was given, but test for OpenSSL failed

Signed-off-by: Mingli Yu 
---
 .../iperf3/{iperf3_3.2.bb => iperf3_3.6.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-benchmark/iperf3/{iperf3_3.2.bb => iperf3_3.6.bb} (83%)

diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3_3.2.bb 
b/meta-oe/recipes-benchmark/iperf3/iperf3_3.6.bb
similarity index 83%
rename from meta-oe/recipes-benchmark/iperf3/iperf3_3.2.bb
rename to meta-oe/recipes-benchmark/iperf3/iperf3_3.6.bb
index 2ed08110f..4e11d8233 100644
--- a/meta-oe/recipes-benchmark/iperf3/iperf3_3.2.bb
+++ b/meta-oe/recipes-benchmark/iperf3/iperf3_3.6.bb
@@ -9,7 +9,7 @@ SECTION = "console/network"
 BUGTRACKER = "https://github.com/esnet/iperf/issues;
 AUTHOR = "ESNET , Lawrence Berkeley National Laboratory 
"
 LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=d098223e44bdd19585315ee75cd9d2d7"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a9a036136b748453e839c0eb8906ef2e"
 
 DEPENDS = "openssl"
 
@@ -18,7 +18,7 @@ SRC_URI = "git://github.com/esnet/iperf.git \
file://0002-Remove-pg-from-profile_CFLAGS.patch \
"
 
-SRCREV = "88d907f7fb58bfab5d086c5da60c922e1c582c92"
+SRCREV = "88f3ad87f38762081a6d7127890ff5c3a052b06a"
 
 S = "${WORKDIR}/git"
 
@@ -28,6 +28,6 @@ PACKAGECONFIG[lksctp] = 
"ac_cv_header_netinet_sctp_h=yes,ac_cv_header_netinet_sc
 
 CFLAGS += "-D_GNU_SOURCE"
 
-EXTRA_OECONF = "--with-openssl=${RECIPE_SYSROOT}"
+EXTRA_OECONF = "--with-openssl=${RECIPE_SYSROOT}${prefix}"
 
 BBCLASSEXTEND = "native"
-- 
2.17.1

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


Re: [oe] [meta-python][PATCH 4/5] python-parse-type: Add Python 3 recipe

2018-07-30 Thread Robert Joslyn
On Sun, 2018-07-29 at 21:04 -0700, Khem Raj wrote:
> 
> 
> On Sun, Jul 29, 2018 at 8:37 PM Robert Joslyn  ngle.org> wrote:
> > ---
> >  meta-python/recipes-devtools/python/python-parse-type.inc   | 11
> > +++
> >  .../recipes-devtools/python/python-parse-type_0.4.2.bb  | 13
> > ++---
> >  .../recipes-devtools/python/python3-parse-type_0.4.2.bb |  2
> > ++
> >  3 files changed, 15 insertions(+), 11 deletions(-)
> >  create mode 100644 meta-python/recipes-devtools/python/python-
> > parse-type.inc
> >  create mode 100644 meta-python/recipes-devtools/python/python3-
> > parse-type_0.4.2.bb
> > 
> > diff --git a/meta-python/recipes-devtools/python/python-parse-
> > type.inc b/meta-python/recipes-devtools/python/python-parse-
> > type.inc
> > new file mode 100644
> > index 0..a4d9c0719
> > --- /dev/null
> > +++ b/meta-python/recipes-devtools/python/python-parse-type.inc
> > @@ -0,0 +1,11 @@
> > +SUMMARY = "Simplifies building parse types based on the parse
> > module"
> > +LICENSE = "BSD"
> 
> Can you make is specific here as to which bsd license is in effect
> here ? Now that you are at it 

Sure, it's BSD-3-Clause. I'll also add HOMEPAGE and resend the series.

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


[oe] [meta-oe][PATCH v2] librelp: Upgrade to 1.2.16

2018-07-30 Thread mingli.yu
From: Mingli Yu 

* Add 0001-src-tcp.c-fix-jump-misses-init-error.patch
  to fix -Werror=jump-misses-init error
* Add 0001-src-tcp.c-increase-the-size-of-szHname.patch
  to fix -Werror=format-truncation error when
  security_flags turned on

Signed-off-by: Mingli Yu 
---
 ...src-tcp.c-fix-jump-misses-init-error.patch | 71 +++
 ...c-tcp.c-increase-the-size-of-szHname.patch | 53 ++
 .../{librelp_1.2.14.bb => librelp_1.2.16.bb}  |  7 +-
 3 files changed, 129 insertions(+), 2 deletions(-)
 create mode 100644 
meta-oe/recipes-extended/rsyslog/librelp/0001-src-tcp.c-fix-jump-misses-init-error.patch
 create mode 100644 
meta-oe/recipes-extended/rsyslog/librelp/0001-src-tcp.c-increase-the-size-of-szHname.patch
 rename meta-oe/recipes-extended/rsyslog/{librelp_1.2.14.bb => 
librelp_1.2.16.bb} (52%)

diff --git 
a/meta-oe/recipes-extended/rsyslog/librelp/0001-src-tcp.c-fix-jump-misses-init-error.patch
 
b/meta-oe/recipes-extended/rsyslog/librelp/0001-src-tcp.c-fix-jump-misses-init-error.patch
new file mode 100644
index 0..68b686346
--- /dev/null
+++ 
b/meta-oe/recipes-extended/rsyslog/librelp/0001-src-tcp.c-fix-jump-misses-init-error.patch
@@ -0,0 +1,71 @@
+From 3e5a0cb440c788e2383e40ab23ac1cf01d96961b Mon Sep 17 00:00:00 2001
+From: Mingli Yu 
+Date: Tue, 24 Jul 2018 01:30:25 -0700
+Subject: [PATCH] src/tcp.c: fix jump-misses-init error
+
+Fix below jump-misses-init error
+
+| In file included from ../../git/src/tcp.c:51:
+| ../../git/src/tcp.c: In function 'relpTcpConnect':
+| ../../git/src/relp.h:220:3: error: jump skips variable initialization 
[-Werror=jump-misses-init]
+|goto finalize_it;  \
+|^~~~
+| ../../git/src/tcp.c:1951:3: note: in expansion of macro 'ABORT_FINALIZE'
+|ABORT_FINALIZE(RELP_RET_IO_ERR);
+|^~
+| ../../git/src/tcp.c:2005:1: note: label 'finalize_it' defined here
+|  finalize_it:
+|  ^~~
+| ../../git/src/tcp.c:1991:6: note: 'r' declared here
+|   int r = getsockopt(pThis->sock, SOL_SOCKET, SO_ERROR, _error, );
+|   ^
+| In file included from ../../git/src/tcp.c:51:
+| ../../git/src/relp.h:220:3: error: jump skips variable initialization 
[-Werror=jump-misses-init]
+|goto finalize_it;  \
+|^~~~
+| ../../git/src/tcp.c:1951:3: note: in expansion of macro 'ABORT_FINALIZE'
+|ABORT_FINALIZE(RELP_RET_IO_ERR);
+|^~
+| ../../git/src/tcp.c:2005:1: note: label 'finalize_it' defined here
+|  finalize_it:
+|  ^~~
+| ../../git/src/tcp.c:1989:12: note: 'len' declared here
+|   socklen_t len = sizeof so_error;
+| ^~~
+
+Upstream-Status: Submitted[https://github.com/rsyslog/librelp/pull/117]
+
+Signed-off-by: Mingli Yu 
+---
+ src/tcp.c | 7 ---
+ 1 file changed, 4 insertions(+), 3 deletions(-)
+
+diff --git a/src/tcp.c b/src/tcp.c
+index f35eb84..fb34dc7 100644
+--- a/src/tcp.c
 b/src/tcp.c
+@@ -1936,6 +1936,9 @@ relpTcpConnect(relpTcp_t *const pThis,
+   struct addrinfo hints;
+   struct addrinfo *reslocal = NULL;
+   struct pollfd pfd;
++  int so_error;
++  socklen_t len = sizeof so_error;
++  int r;
+ 
+   ENTER_RELPFUNC;
+   RELPOBJ_assert(pThis, Tcp);
+@@ -1985,10 +1988,8 @@ relpTcpConnect(relpTcp_t *const pThis,
+   ABORT_FINALIZE(RELP_RET_TIMED_OUT);
+   }
+ 
+-  int so_error;
+-  socklen_t len = sizeof so_error;
+ 
+-  int r = getsockopt(pThis->sock, SOL_SOCKET, SO_ERROR, _error, );
++  r = getsockopt(pThis->sock, SOL_SOCKET, SO_ERROR, _error, );
+   if (r == -1 || so_error != 0) {
+   pThis->pEngine->dbgprint("socket has an error %d\n", so_error);
+   ABORT_FINALIZE(RELP_RET_IO_ERR);
+-- 
+2.17.1
+
diff --git 
a/meta-oe/recipes-extended/rsyslog/librelp/0001-src-tcp.c-increase-the-size-of-szHname.patch
 
b/meta-oe/recipes-extended/rsyslog/librelp/0001-src-tcp.c-increase-the-size-of-szHname.patch
new file mode 100644
index 0..5a62e1584
--- /dev/null
+++ 
b/meta-oe/recipes-extended/rsyslog/librelp/0001-src-tcp.c-increase-the-size-of-szHname.patch
@@ -0,0 +1,53 @@
+From d8950ad273d79ec516468289adbd427e681dbc66 Mon Sep 17 00:00:00 2001
+From: Mingli Yu 
+Date: Mon, 30 Jul 2018 01:22:56 -0700
+Subject: [PATCH] src/tcp.c: increase the size of szHname
+
+Increase the size of szHname to fix below
+error:
+| ../../git/src/tcp.c: In function 'relpTcpSetRemHost':
+| ../../git/src/tcp.c:352:57: error: '%s' directive output may be truncated 
writing up to 1024 bytes into a region of size 1011 [-Werror=format-truncation=]
+|  snprintf((char*)szHname, NI_MAXHOST, "[MALICIOUS:IP=%s]", szIP);
+|  ^~
+| In file included from 
/poky-build/tmp/work/i586-poky-linux/librelp/1.2.16-r0/recipe-sysroot/usr/include/stdio.h:862,
+|  from ../../git/src/tcp.c:38:
+| 
/poky-build/tmp/work/i586-poky-linux/librelp/1.2.16-r0/recipe-sysroot/usr/include/bits/stdio2.h:64:10:
 note: '__builtin___snprintf_chk' output between 16 

Re: [oe] [meta-python][PATCH 2/5] python-traceback2: Add recipe

2018-07-30 Thread Tim Orling
Ah, it’s a backport. Never mind

On Mon, Jul 30, 2018 at 6:38 PM Tim Orling  wrote:

> Why no python3 version n as well?
>
> On Sun, Jul 29, 2018 at 8:42 PM Robert Joslyn <
> robert.jos...@redrectangle.org> wrote:
>
>> ---
>>  .../recipes-devtools/python/python-traceback2_1.4.0.bb| 15
>> +++
>>  1 file changed, 15 insertions(+)
>>  create mode 100644 meta-python/recipes-devtools/python/
>> python-traceback2_1.4.0.bb
>>
>> diff --git a/meta-python/recipes-devtools/python/
>> python-traceback2_1.4.0.bb b/meta-python/recipes-devtools/python/
>> python-traceback2_1.4.0.bb
>> new file mode 100644
>> index 0..696c875c6
>> --- /dev/null
>> +++ b/meta-python/recipes-devtools/python/python-traceback2_1.4.0.bb
>> @@ -0,0 +1,15 @@
>> +SUMMARY = "A backport of traceback to older supported Pythons"
>> +HOMEPAGE = "https://github.com/testing-cabal/traceback2;
>> +LICENSE = "Python-2.0"
>> +LIC_FILES_CHKSUM =
>> "file://PKG-INFO;beginline=31;endline=31;md5=368ddc8588431c180ae7c33f4fb57519"
>> +
>> +DEPENDS = "${PYTHON_PN}-pbr-native"
>> +
>> +SRC_URI[md5sum] = "9e9723f4d70bfc6308fa992dd193c400"
>> +SRC_URI[sha256sum] =
>> "05acc67a09980c2ecfedd3423f7ae0104839eccb55fc645773e1caa0951c3030"
>> +
>> +inherit pypi setuptools
>> +
>> +CLEANBROKEN = "1"
>> +
>> +RDEPENDS_${PN} = "${PYTHON_PN}-linecache2"
>> --
>> 2.16.4
>>
>> --
>> ___
>> 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


Re: [oe] [meta-python][PATCH 2/5] python-traceback2: Add recipe

2018-07-30 Thread Tim Orling
Why no python3 version n as well?

On Sun, Jul 29, 2018 at 8:42 PM Robert Joslyn <
robert.jos...@redrectangle.org> wrote:

> ---
>  .../recipes-devtools/python/python-traceback2_1.4.0.bb| 15
> +++
>  1 file changed, 15 insertions(+)
>  create mode 100644 meta-python/recipes-devtools/python/
> python-traceback2_1.4.0.bb
>
> diff --git a/meta-python/recipes-devtools/python/
> python-traceback2_1.4.0.bb b/meta-python/recipes-devtools/python/
> python-traceback2_1.4.0.bb
> new file mode 100644
> index 0..696c875c6
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-traceback2_1.4.0.bb
> @@ -0,0 +1,15 @@
> +SUMMARY = "A backport of traceback to older supported Pythons"
> +HOMEPAGE = "https://github.com/testing-cabal/traceback2;
> +LICENSE = "Python-2.0"
> +LIC_FILES_CHKSUM =
> "file://PKG-INFO;beginline=31;endline=31;md5=368ddc8588431c180ae7c33f4fb57519"
> +
> +DEPENDS = "${PYTHON_PN}-pbr-native"
> +
> +SRC_URI[md5sum] = "9e9723f4d70bfc6308fa992dd193c400"
> +SRC_URI[sha256sum] =
> "05acc67a09980c2ecfedd3423f7ae0104839eccb55fc645773e1caa0951c3030"
> +
> +inherit pypi setuptools
> +
> +CLEANBROKEN = "1"
> +
> +RDEPENDS_${PN} = "${PYTHON_PN}-linecache2"
> --
> 2.16.4
>
> --
> ___
> 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


Re: [oe] [meta-networking][v3][PATCH] wireshark: update to 2.6.2

2018-07-30 Thread akuster808


On 07/30/2018 11:33 AM, Khem Raj wrote:
> Arm64 or mips64 or both is just fine
Both built fine including x86 using musl.

- armin
>
> On Mon, Jul 30, 2018 at 8:08 AM akuster808  > wrote:
>
>
>
> On 07/29/2018 02:50 PM, Khem Raj wrote:
>> Can you also validate if it’s building ok on musl
>
> Sure. any particular arch ? I have arm, arm64 and mips64  boards
> at home plus the normal qemu ones.
>
>
>>
>> On Sun, Jul 29, 2018 at 9:41 AM Armin Kuster
>> mailto:akuster...@gmail.com>> wrote:
>>
>> [v3]
>> Get  wireshark-gtk building again
>> split tshark, wireshark-gtk into their own pkgs
>>
>> [v2]
>> Fix native build, lemon is the only one needed natively
>>
>> [v1]
>> includes security fixes:
>>
>> wnpa-sec-2018-34 BGP dissector large loop. Bug 13741.
>> CVE-2018-14342.
>> wnpa-sec-2018-35 ISMP dissector crash. Bug 14672. CVE-2018-14344.
>> wnpa-sec-2018-36 Multiple dissectors could crash. Bug 14675.
>> CVE-2018-14340.
>> wnpa-sec-2018-37 ASN.1 BER dissector crash. Bug 14682.
>> CVE-2018-14343.
>> wnpa-sec-2018-38 MMSE dissector infinite loop. Bug 14738.
>> CVE-2018-14339.
>> wnpa-sec-2018-39 DICOM dissector crash. Bug 14742.
>> CVE-2018-14341.
>> wnpa-sec-2018-40 Bazaar dissector infinite loop. Bug 14841.
>> CVE-2018-14368.
>> wnpa-sec-2018-41 HTTP2 dissector crash. Bug 14869.
>> CVE-2018-14369.
>> wnpa-sec-2018-42 CoAP dissector crash. Bug 14966. CVE-2018-14367.
>>
>> Signed-off-by: Armin Kuster > >
>> ---
>>  .../{wireshark_2.6.1.bb  =>
>> wireshark_2.6.2.bb }     | 34
>> +++---
>>  1 file changed, 24 insertions(+), 10 deletions(-)
>>  rename
>> meta-networking/recipes-support/wireshark/{wireshark_2.6.1.bb
>>  => wireshark_2.6.2.bb
>> } (70%)
>>
>> diff --git
>> a/meta-networking/recipes-support/wireshark/wireshark_2.6.1.bb
>> 
>> b/meta-networking/recipes-support/wireshark/wireshark_2.6.2.bb
>> 
>> similarity index 70%
>> rename from
>> meta-networking/recipes-support/wireshark/wireshark_2.6.1.bb
>> 
>> rename to
>> meta-networking/recipes-support/wireshark/wireshark_2.6.2.bb
>> 
>> index 91c5e96..1735ae7 100644
>> ---
>> a/meta-networking/recipes-support/wireshark/wireshark_2.6.1.bb
>> 
>> +++
>> b/meta-networking/recipes-support/wireshark/wireshark_2.6.2.bb
>> 
>> @@ -14,8 +14,8 @@ SRC_URI =
>> "https://1.as.dl.wireshark.org/src/${BP}.tar.xz
>>  \
>>
>>  UPSTREAM_CHECK_URI = "https://1.as.dl.wireshark.org/src;
>>
>> -SRC_URI[md5sum] = "b0e9e5fe22e96d9fdfad18f750fa8f55"
>> -SRC_URI[sha256sum] =
>> "ab6e5bbc3464c956347b8671ce8397950ad5daff3bf9964c967d495f4ddbcd88"
>> +SRC_URI[md5sum] = "086d235509717190d06554b2ab870209"
>> +SRC_URI[sha256sum] =
>> "49b2895ee3ba17ef9ef0aebfdc4d32a778e0f36ccadde184516557d5f3357094"
>>
>>  PE = "1"
>>
>> @@ -23,8 +23,11 @@ inherit cmake pkgconfig pythonnative
>> perlnative upstream-version-is-even
>>
>>  ARM_INSTRUCTION_SET = "arm"
>>
>> +# Options: gtk+, gtk+3 and qt5
>> +GTK = "gtk+3"
>> +
>>  PACKAGECONFIG ?= "libpcap gnutls libnl libcap sbc"
>> -PACKAGECONFIG_append_class-target = "
>> ${@bb.utils.contains("DISTRO_FEATURES", "x11", " gtk3
>> graphics ", "", d)}"
>> +PACKAGECONFIG_append_class-target = "
>> ${@bb.utils.contains("DISTRO_FEATURES", "x11", " ${GTK}", "",
>> d)}"
>>
>>  PACKAGECONFIG_class-native = "libpcap gnutls ssl libssh"
>>
>> @@ -33,10 +36,8 @@ PACKAGECONFIG[libpcap] =
>> "-DENABLE_PCAP=ON,-DENABLE_PCAP=OFF -DENABLE_PCAP_NG_DE
>>  PACKAGECONFIG[libsmi] =
>> "-DENABLE_SMI=ON,-DENABLE_SMI=OFF,libsmi"
>>  PACKAGECONFIG[libnl] = ",,libnl"
>>  PACKAGECONFIG[portaudio] =
>> "-DENABLE_PORTAUDIO=ON,-DENABLE_PORTAUDIO=OFF, portaudio-v19"
>> -PACKAGECONFIG[gtk2] = "-DENABLE_GTK=ON,-DENABLE_GTK=OFF, gtk+"
>> -PACKAGECONFIG[gtk3] = "-DENABLE_GTK3=ON,-DENABLE_GTK3=OFF,
>> gtk+3"
>> -PACKAGECONFIG[qt5] = "-DENABLE_QT5=ON,-DENABLE_QT5=OFF
>> -DBUILD_wireshark=OFF, qtbase"
>> -PACKAGECONFIG[graphics] = ",-DENABLE_GTK=OFF,"
>> 

Re: [oe] [meta-oe][PATCH 1/1] kernel-selftest: Add a recipe on kernel selftest

2018-07-30 Thread Khem Raj
These are generic layers so adding recipes which limit them to a certain
kernel or setup is
Not preferred generally I would suggest keep
This recipe in BSP layers where it’s certain that
They will be provided with needed pre requisites

On Mon, Jul 30, 2018 at 5:12 AM Hongzhi, Song 
wrote:

> Hi Raj,
>
> I can continue to fix the error with rpi that you build. But I found that
> rpi gets kernel
>
> from git://github.com/raspberrypi/linux.git;branch=rpi-4.14.y, which is
> not belong
>
> to openembeded. I think that the rpi recipe must make some special change
> which
>
> cause the error.
>
>
> And the recipe in meta-oe is OK both with glibc and musl. So could you
> build a project
>
> with oe-core's kernel?  If there is no problem, would you merge the recipe?
>
> --Hongzhi
>
>
>
> On 2018年07月30日 12:02, Khem Raj wrote:
>
> I can not get it compiling for musl and rpi with poky lsb equivalent
> distro until there are clean builds it won’t be possible for me to get this
> in
>
> On Sun, Jul 29, 2018 at 8:34 PM Hongzhi, Song 
> wrote:
>
>> ping
>>
>> --Hongzhi
>>
>>
>> On 2018年07月27日 17:00, Hongzhi, Song wrote:
>> > Hi Raj,
>> >
>> > Could you help to confirm that if the libelf exists in your
>> > recipe-sysroot?
>> >
>> > Because I can't reproduce your error.
>> >
>> >
>> > --Hongzhi
>> >
>> >
>> > On 2018年07月27日 16:40, Khem Raj wrote:
>> >> this fails on rpi
>> >>
>> >> ERROR: Logfile of failure stored in:
>> >>
>> /mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/temp/log.do_compile.22198
>>
>> >>
>> >> Log data follows:
>> >> | DEBUG: Executing shell function do_compile
>> >> | NOTE: make -j 16 CROSS_COMPILE=arm-bec-linux-gnueabi- ARCH=arm
>> >> CC=arm-bec-linux-gnueabi-gcc  -march=armv7ve -mthumb -mfpu=neon-vfpv4
>> >> -mfloat-abi=hard -mcpu=cortex-a7 -fstack-protector-strong
>> >> -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security
>> >> -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat
>> >> -Wformat-security -Werror=format-security
>> >>
>> --sysroot=/mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/recipe-sysroot
>>
>> >>
>> >> AR=arm-bec-linux-gnueabi-ar LD=arm-bec-linux-gnueabi-ld
>> >>
>> --sysroot=/mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/recipe-sysroot
>>
>> >>
>> >>
>> DESTDIR=/mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/image
>> >> -C
>> >>
>> /mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf
>> >> | make: Entering directory
>> >>
>> '/mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf'
>>
>> >>
>> >> | make -C ../../../lib/bpf
>> >>
>> OUTPUT=/mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf/
>>
>> >>
>> >> | make[1]: Entering directory
>> >>
>> '/mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/lib/bpf'
>>
>> >>
>> >> |
>> >> | Auto-detecting system features:
>> >> | ...libelf: [ ^[[31mOFF^[[m ]
>> >> | ...   bpf: [ ^[[31mOFF^[[m ]
>> >> |
>> >> | BPF API too old
>> >> | make[1]: *** [Makefile:219: bpfdep] Error 255
>> >> | make[1]: *** Waiting for unfinished jobs
>> >> | No libelf found
>> >> | make[1]: *** [Makefile:216: elfdep] Error 255
>> >> |   HOSTCC
>> >>
>> /mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf/fixdep.o
>> >> |   HOSTLD
>> >>
>> /mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf/fixdep-in.o
>> >> |   LINK
>> >>
>> /mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf/fixdep
>> >> | make[1]: Leaving directory
>> >>
>> '/mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/lib/bpf'
>>
>> >>
>> >> | make: *** [Makefile:33:
>> >>
>> /mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf/libbpf.a]
>>
>> >>
>> >> Error 2
>> >> | make: Leaving directory
>> >>
>> '/mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf'
>>
>> >>
>> >> | ERROR: oe_runmake failed
>> >> | WARNING:
>> >>
>> /mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/temp/run.do_compile.22198:1
>> >> exit 1 from 'exit 1'
>> >> | ERROR: Function failed: do_compile (log file is located at
>> >>
>> /mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/temp/log.do_compile.22198)
>>
>> >>
>> >>
>> >> On Mon, Jul 16, 2018 at 2:51 AM Hongzhi, Song
>> >>  wrote:
>> >>>
>> >>>

Re: [oe] [meta-networking][v3][PATCH] wireshark: update to 2.6.2

2018-07-30 Thread Khem Raj
Arm64 or mips64 or both is just fine

On Mon, Jul 30, 2018 at 8:08 AM akuster808  wrote:

>
>
> On 07/29/2018 02:50 PM, Khem Raj wrote:
>
> Can you also validate if it’s building ok on musl
>
>
> Sure. any particular arch ? I have arm, arm64 and mips64  boards at home
> plus the normal qemu ones.
>
>
>
> On Sun, Jul 29, 2018 at 9:41 AM Armin Kuster  wrote:
>
>> [v3]
>> Get  wireshark-gtk building again
>> split tshark, wireshark-gtk into their own pkgs
>>
>> [v2]
>> Fix native build, lemon is the only one needed natively
>>
>> [v1]
>> includes security fixes:
>>
>> wnpa-sec-2018-34 BGP dissector large loop. Bug 13741. CVE-2018-14342.
>> wnpa-sec-2018-35 ISMP dissector crash. Bug 14672. CVE-2018-14344.
>> wnpa-sec-2018-36 Multiple dissectors could crash. Bug 14675.
>> CVE-2018-14340.
>> wnpa-sec-2018-37 ASN.1 BER dissector crash. Bug 14682. CVE-2018-14343.
>> wnpa-sec-2018-38 MMSE dissector infinite loop. Bug 14738. CVE-2018-14339.
>> wnpa-sec-2018-39 DICOM dissector crash. Bug 14742. CVE-2018-14341.
>> wnpa-sec-2018-40 Bazaar dissector infinite loop. Bug 14841.
>> CVE-2018-14368.
>> wnpa-sec-2018-41 HTTP2 dissector crash. Bug 14869. CVE-2018-14369.
>> wnpa-sec-2018-42 CoAP dissector crash. Bug 14966. CVE-2018-14367.
>>
>> Signed-off-by: Armin Kuster 
>> ---
>>  .../{wireshark_2.6.1.bb => wireshark_2.6.2.bb} | 34
>> +++---
>>  1 file changed, 24 insertions(+), 10 deletions(-)
>>  rename meta-networking/recipes-support/wireshark/{wireshark_2.6.1.bb =>
>> wireshark_2.6.2.bb} (70%)
>>
>> diff --git a/meta-networking/recipes-support/wireshark/wireshark_2.6.1.bb
>> b/meta-networking/recipes-support/wireshark/wireshark_2.6.2.bb
>> similarity index 70%
>> rename from meta-networking/recipes-support/wireshark/wireshark_2.6.1.bb
>> rename to meta-networking/recipes-support/wireshark/wireshark_2.6.2.bb
>> index 91c5e96..1735ae7 100644
>> --- a/meta-networking/recipes-support/wireshark/wireshark_2.6.1.bb
>> +++ b/meta-networking/recipes-support/wireshark/wireshark_2.6.2.bb
>> @@ -14,8 +14,8 @@ SRC_URI = "
>> https://1.as.dl.wireshark.org/src/${BP}.tar.xz \
>>
>>  UPSTREAM_CHECK_URI = "https://1.as.dl.wireshark.org/src;
>>
>> -SRC_URI[md5sum] = "b0e9e5fe22e96d9fdfad18f750fa8f55"
>> -SRC_URI[sha256sum] =
>> "ab6e5bbc3464c956347b8671ce8397950ad5daff3bf9964c967d495f4ddbcd88"
>> +SRC_URI[md5sum] = "086d235509717190d06554b2ab870209"
>> +SRC_URI[sha256sum] =
>> "49b2895ee3ba17ef9ef0aebfdc4d32a778e0f36ccadde184516557d5f3357094"
>>
>>  PE = "1"
>>
>> @@ -23,8 +23,11 @@ inherit cmake pkgconfig pythonnative perlnative
>> upstream-version-is-even
>>
>>  ARM_INSTRUCTION_SET = "arm"
>>
>> +# Options: gtk+, gtk+3 and qt5
>> +GTK = "gtk+3"
>> +
>>  PACKAGECONFIG ?= "libpcap gnutls libnl libcap sbc"
>> -PACKAGECONFIG_append_class-target = "
>> ${@bb.utils.contains("DISTRO_FEATURES", "x11", " gtk3 graphics ", "", d)}"
>> +PACKAGECONFIG_append_class-target = "
>> ${@bb.utils.contains("DISTRO_FEATURES", "x11", " ${GTK}", "", d)}"
>>
>>  PACKAGECONFIG_class-native = "libpcap gnutls ssl libssh"
>>
>> @@ -33,10 +36,8 @@ PACKAGECONFIG[libpcap] =
>> "-DENABLE_PCAP=ON,-DENABLE_PCAP=OFF -DENABLE_PCAP_NG_DE
>>  PACKAGECONFIG[libsmi] = "-DENABLE_SMI=ON,-DENABLE_SMI=OFF,libsmi"
>>  PACKAGECONFIG[libnl] = ",,libnl"
>>  PACKAGECONFIG[portaudio] =
>> "-DENABLE_PORTAUDIO=ON,-DENABLE_PORTAUDIO=OFF, portaudio-v19"
>> -PACKAGECONFIG[gtk2] = "-DENABLE_GTK=ON,-DENABLE_GTK=OFF, gtk+"
>> -PACKAGECONFIG[gtk3] = "-DENABLE_GTK3=ON,-DENABLE_GTK3=OFF, gtk+3"
>> -PACKAGECONFIG[qt5] = "-DENABLE_QT5=ON,-DENABLE_QT5=OFF
>> -DBUILD_wireshark=OFF, qtbase"
>> -PACKAGECONFIG[graphics] = ",-DENABLE_GTK=OFF,"
>> +PACKAGECONFIG[gtk+] = "-DENABLE_GTK=ON -DBUILD_wireshark_gtk=ON,
>> -DENABLE_GTK=OFF, gtk+"
>> +PACKAGECONFIG[gtk+3] = "-DENABLE_GTK3=ON -DBUILD_wireshark_gtk=ON,
>> -DENABLE_GTK3=OFF, gtk+3"
>>  PACKAGECONFIG[gnutls] = "-DENABLE_GNUTLS=ON,-DENABLE_GNUTLS=OFF, gnutls"
>>  PACKAGECONFIG[ssl] = ",,openssl"
>>  PACKAGECONFIG[krb5] = "-DENABLE_KRB5=ON,-DENABLE_KRB5=OFF, krb5"
>> @@ -50,9 +51,9 @@ PACKAGECONFIG[lz4] = "-DENABLE_LZ4=ON,-DENABLE_LZ4=OFF,
>> lz4"
>>
>>  # these next two options require addional layers
>>  PACKAGECONFIG[c-ares] = "-DENABLE_CARES=ON,-DENABLE_CARES=OFF, c-ares"
>> +PACKAGECONFIG[qt5] = "-DENABLE_QT5=ON -DBUILD_wireshark=ON,
>> -DENABLE_QT5=OFF -DBUILD_wireshark=OFF, qtbase"
>>
>> -EXTRA_OECMAKE += "-DBUILD_wireshark=ON \
>> -  -DENABLE_NETLINK=ON \
>> +EXTRA_OECMAKE += "-DENABLE_NETLINK=ON \
>>-DBUILD_mmdbresolve=OFF \
>>-DBUILD_randpktdump=OFF \
>>-DBUILD_androiddump=OFF \
>> @@ -60,9 +61,11 @@ EXTRA_OECMAKE += "-DBUILD_wireshark=ON \
>>-DM_INCLUDE_DIR=${includedir} \
>>-DM_LIBRARY=${libdir} \
>>   "
>> +CFLAGS_append = " -lm"
>> +
>>  do_install_append_class-native() {
>> install -d ${D}${bindir}
>> -   for f in make-dissectors lemon make-taps
>> +   for f in lemon
>>   

Re: [oe] [meta-oe][PATCH] Revert "glibmm: Upgrade to 2.56.0"

2018-07-30 Thread Martin Jansa
On Mon, Jul 30, 2018 at 07:39:46PM +0200, Oleksandr Kravchuk wrote:
> On 30/07/18 18:23, Martin Jansa wrote:
> > On Mon, Jul 30, 2018 at 06:12:23PM +0200, Oleksandr Kravchuk wrote:
> >> sumo branch of poky contains glib v2.54 which makes compilation of this
> >> package fail due to nonexistent functions in the library used by the
> >> C++ bindings.
> > This explanation doesn't make any sense to me.
> >
> > With sumo branch of poky use sumo branch of meta-oe which still has
> > 2.54.1 version.
> 
> Martin -
> 
> I appreciate fast response, but your feedback is very ambiguous and 
> therefore not helpful: which part of my explanation need to be improved? 
> One needs to know if explanation has to be extended or changed 
> completely. You simply repeated statement from my commit message and 
> presented it as something opposite of what I've said. This is what truly 
> doesn't make any sense.
> 
> Let me try to explain it differently: poky has glib version 2.54 in its 
> 'sumo' branch; corresponding branch (sumo) of meta-openembeded has C++ 
> binding for glib version 2.56, which has C++ function wrappers for 
> functions implemented in glib 2.56, which obviously won't compile, since 
> we have glib and headers for it of version 2.54.

This isn't true, meta-openembedded sumo has 2.54.1 version not 2.56 as
you said. Also the subject of your e-mail doesn't have [sumo] in it, so
even if you were right, then it would look like you're trying to get it
reverted in master branch (where it doesn't make any sense) not in sumo
branch.

> If my English is still too poor for you, I propose you checking out sumo 
> branches of poky and open-embedded and trying to build 'glibmm' package.

If you git skills aren't good enough to see what's in sumo branch, then
you can see it here: 
http://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-core/glib-2.0?h=sumo

Not even in sumo-next branch:
http://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-core/glib-2.0?h=sumo-next

> SPOILER: result is going to be the following:

Only for people who are mixing incompatible branches..

> 
> | ../../../glibmm-2.56.0/gio/giomm/application.cc: In member function 
> 'void Gio::Application::set_option_context_parameter_string(const 
> Glib::ustring&)':
> | ../../../glibmm-2.56.0/gio/giomm/application.cc:1169:3: error: 
> 'g_application_set_option_context_parameter_string' was not declared in 
> this scope
> |    g_application_set_option_context_parameter_string(gobj(), 
> parameter_string.empty() ? nullptr : parameter_string.c_str());
> |    ^
> | ../../../glibmm-2.56.0/gio/giomm/application.cc:1169:3: note: 
> suggested alternative: 'set_option_context_parameter_string'
> |    g_application_set_option_context_parameter_string(gobj(), 
> parameter_string.empty() ? nullptr : parameter_string.c_str());
> |    ^
> |    set_option_context_parameter_string
> | ../../../glibmm-2.56.0/gio/giomm/application.cc: In member function 
> 'void Gio::Application::set_option_context_summary(const Glib::ustring&)':
> | ../../../glibmm-2.56.0/gio/giomm/application.cc:1174:3: error: 
> 'g_application_set_option_context_summary' was not declared in this scope
> |    g_application_set_option_context_summary(gobj(), summary.empty() ? 
> nullptr : summary.c_str());
> |    ^~~~
> | ../../../glibmm-2.56.0/gio/giomm/application.cc:1174:3: note: 
> suggested alternative: 'set_option_context_summary'
> |    g_application_set_option_context_summary(gobj(), summary.empty() ? 
> nullptr : summary.c_str());
> |    ^~~~
> |    set_option_context_summary
> | ../../../glibmm-2.56.0/gio/giomm/application.cc: In member function 
> 'void Gio::Application::set_option_context_description(const 
> Glib::ustring&)':
> | ../../../glibmm-2.56.0/gio/giomm/application.cc:1179:3: error: 
> 'g_application_set_option_context_description' was not declared in this 
> scope
> |    g_application_set_option_context_description(gobj(), 
> description.empty() ? nullptr : description.c_str());
> |    ^~~~
> | ../../../glibmm-2.56.0/gio/giomm/application.cc:1179:3: note: 
> suggested alternative: 'set_option_context_description'
> |    g_application_set_option_context_description(gobj(), 
> description.empty() ? nullptr : description.c_str());
> |    ^~~~
> |    set_option_context_description
> 
> 
> Let us check the first function 
> (https://developer.gnome.org/gio/stable/GApplication.html#g-application-set-option-context-parameter-string)
>  
> and find out that it was introduced in 2.56.
> 
> >
> >> This reverts commit acfba081bbe49fd9dccbf12be6535d5342c6d747.
> >> ---
> >>   .../0001-Glib-Threads-Private-Fix-gobj.patch  | 40 +++
> >>   .../{glibmm_2.56.0.bb => glibmm_2.54.1.bb}|  5 ++-
> >>   2 files changed, 

Re: [oe] [meta-oe][PATCH] Revert "glibmm: Upgrade to 2.56.0"

2018-07-30 Thread Oleksandr Kravchuk

On 30/07/18 18:23, Martin Jansa wrote:

On Mon, Jul 30, 2018 at 06:12:23PM +0200, Oleksandr Kravchuk wrote:

sumo branch of poky contains glib v2.54 which makes compilation of this
package fail due to nonexistent functions in the library used by the
C++ bindings.

This explanation doesn't make any sense to me.

With sumo branch of poky use sumo branch of meta-oe which still has
2.54.1 version.


Martin -

I appreciate fast response, but your feedback is very ambiguous and 
therefore not helpful: which part of my explanation need to be improved? 
One needs to know if explanation has to be extended or changed 
completely. You simply repeated statement from my commit message and 
presented it as something opposite of what I've said. This is what truly 
doesn't make any sense.


Let me try to explain it differently: poky has glib version 2.54 in its 
'sumo' branch; corresponding branch (sumo) of meta-openembeded has C++ 
binding for glib version 2.56, which has C++ function wrappers for 
functions implemented in glib 2.56, which obviously won't compile, since 
we have glib and headers for it of version 2.54.


If my English is still too poor for you, I propose you checking out sumo 
branches of poky and open-embedded and trying to build 'glibmm' package.


SPOILER: result is going to be the following:

| ../../../glibmm-2.56.0/gio/giomm/application.cc: In member function 
'void Gio::Application::set_option_context_parameter_string(const 
Glib::ustring&)':
| ../../../glibmm-2.56.0/gio/giomm/application.cc:1169:3: error: 
'g_application_set_option_context_parameter_string' was not declared in 
this scope
|    g_application_set_option_context_parameter_string(gobj(), 
parameter_string.empty() ? nullptr : parameter_string.c_str());

|    ^
| ../../../glibmm-2.56.0/gio/giomm/application.cc:1169:3: note: 
suggested alternative: 'set_option_context_parameter_string'
|    g_application_set_option_context_parameter_string(gobj(), 
parameter_string.empty() ? nullptr : parameter_string.c_str());

|    ^
|    set_option_context_parameter_string
| ../../../glibmm-2.56.0/gio/giomm/application.cc: In member function 
'void Gio::Application::set_option_context_summary(const Glib::ustring&)':
| ../../../glibmm-2.56.0/gio/giomm/application.cc:1174:3: error: 
'g_application_set_option_context_summary' was not declared in this scope
|    g_application_set_option_context_summary(gobj(), summary.empty() ? 
nullptr : summary.c_str());

|    ^~~~
| ../../../glibmm-2.56.0/gio/giomm/application.cc:1174:3: note: 
suggested alternative: 'set_option_context_summary'
|    g_application_set_option_context_summary(gobj(), summary.empty() ? 
nullptr : summary.c_str());

|    ^~~~
|    set_option_context_summary
| ../../../glibmm-2.56.0/gio/giomm/application.cc: In member function 
'void Gio::Application::set_option_context_description(const 
Glib::ustring&)':
| ../../../glibmm-2.56.0/gio/giomm/application.cc:1179:3: error: 
'g_application_set_option_context_description' was not declared in this 
scope
|    g_application_set_option_context_description(gobj(), 
description.empty() ? nullptr : description.c_str());

|    ^~~~
| ../../../glibmm-2.56.0/gio/giomm/application.cc:1179:3: note: 
suggested alternative: 'set_option_context_description'
|    g_application_set_option_context_description(gobj(), 
description.empty() ? nullptr : description.c_str());

|    ^~~~
|    set_option_context_description


Let us check the first function 
(https://developer.gnome.org/gio/stable/GApplication.html#g-application-set-option-context-parameter-string) 
and find out that it was introduced in 2.56.





This reverts commit acfba081bbe49fd9dccbf12be6535d5342c6d747.
---
  .../0001-Glib-Threads-Private-Fix-gobj.patch  | 40 +++
  .../{glibmm_2.56.0.bb => glibmm_2.54.1.bb}|  5 ++-
  2 files changed, 43 insertions(+), 2 deletions(-)
  create mode 100644 
meta-oe/recipes-core/glib-2.0/glibmm/0001-Glib-Threads-Private-Fix-gobj.patch
  rename meta-oe/recipes-core/glib-2.0/{glibmm_2.56.0.bb => glibmm_2.54.1.bb} 
(86%)

diff --git 
a/meta-oe/recipes-core/glib-2.0/glibmm/0001-Glib-Threads-Private-Fix-gobj.patch 
b/meta-oe/recipes-core/glib-2.0/glibmm/0001-Glib-Threads-Private-Fix-gobj.patch
new file mode 100644
index 0..7899022f1
--- /dev/null
+++ 
b/meta-oe/recipes-core/glib-2.0/glibmm/0001-Glib-Threads-Private-Fix-gobj.patch
@@ -0,0 +1,40 @@
+From 838fe84c2ddcc9af51c34f751defbf3dd0ba8a06 Mon Sep 17 00:00:00 2001
+From: Kjell Ahlstedt 
+Date: Wed, 20 Dec 2017 20:00:32 +0100
+Subject: [PATCH] Glib::Threads::Private: Fix gobj()
+
+Bug 791711
+
+Signed-off-by: Khem Raj 
+---
+Upstream-Status: Backport 
[https://github.com/GNOME/glibmm/commit/37d57ae9572b7d74aa385a30313eceae7f2d3fce]
+ 

Re: [oe] [meta-oe][PATCH] Revert "glibmm: Upgrade to 2.56.0"

2018-07-30 Thread Martin Jansa
On Mon, Jul 30, 2018 at 06:12:23PM +0200, Oleksandr Kravchuk wrote:
> sumo branch of poky contains glib v2.54 which makes compilation of this
> package fail due to nonexistent functions in the library used by the
> C++ bindings.

This explanation doesn't make any sense to me.

With sumo branch of poky use sumo branch of meta-oe which still has
2.54.1 version.

> 
> This reverts commit acfba081bbe49fd9dccbf12be6535d5342c6d747.
> ---
>  .../0001-Glib-Threads-Private-Fix-gobj.patch  | 40 +++
>  .../{glibmm_2.56.0.bb => glibmm_2.54.1.bb}|  5 ++-
>  2 files changed, 43 insertions(+), 2 deletions(-)
>  create mode 100644 
> meta-oe/recipes-core/glib-2.0/glibmm/0001-Glib-Threads-Private-Fix-gobj.patch
>  rename meta-oe/recipes-core/glib-2.0/{glibmm_2.56.0.bb => glibmm_2.54.1.bb} 
> (86%)
> 
> diff --git 
> a/meta-oe/recipes-core/glib-2.0/glibmm/0001-Glib-Threads-Private-Fix-gobj.patch
>  
> b/meta-oe/recipes-core/glib-2.0/glibmm/0001-Glib-Threads-Private-Fix-gobj.patch
> new file mode 100644
> index 0..7899022f1
> --- /dev/null
> +++ 
> b/meta-oe/recipes-core/glib-2.0/glibmm/0001-Glib-Threads-Private-Fix-gobj.patch
> @@ -0,0 +1,40 @@
> +From 838fe84c2ddcc9af51c34f751defbf3dd0ba8a06 Mon Sep 17 00:00:00 2001
> +From: Kjell Ahlstedt 
> +Date: Wed, 20 Dec 2017 20:00:32 +0100
> +Subject: [PATCH] Glib::Threads::Private: Fix gobj()
> +
> +Bug 791711
> +
> +Signed-off-by: Khem Raj 
> +---
> +Upstream-Status: Backport 
> [https://github.com/GNOME/glibmm/commit/37d57ae9572b7d74aa385a30313eceae7f2d3fce]
> + glib/glibmm/threads.h | 2 +-
> + glib/src/threads.hg   | 2 +-
> + 2 files changed, 2 insertions(+), 2 deletions(-)
> +
> +diff --git a/glib/glibmm/threads.h b/glib/glibmm/threads.h
> +index f7e2b82a..2c0cbe8c 100644
> +--- a/glib/glibmm/threads.h
>  b/glib/glibmm/threads.h
> +@@ -657,7 +657,7 @@ public:
> +*/
> +   inline void replace(T* data);
> + 
> +-  GPrivate* gobj() { return gobject_; }
> ++  GPrivate* gobj() { return _; }
> + 
> + private:
> +   GPrivate gobject_;
> +diff --git a/glib/src/threads.hg b/glib/src/threads.hg
> +index 86d7a17b..c82a6130 100644
> +--- a/glib/src/threads.hg
>  b/glib/src/threads.hg
> +@@ -628,7 +628,7 @@ public:
> +*/
> +   inline void replace(T* data);
> + 
> +-  GPrivate* gobj() { return gobject_; }
> ++  GPrivate* gobj() { return _; }
> + 
> + private:
> +   GPrivate gobject_;
> diff --git a/meta-oe/recipes-core/glib-2.0/glibmm_2.56.0.bb 
> b/meta-oe/recipes-core/glib-2.0/glibmm_2.54.1.bb
> similarity index 86%
> rename from meta-oe/recipes-core/glib-2.0/glibmm_2.56.0.bb
> rename to meta-oe/recipes-core/glib-2.0/glibmm_2.54.1.bb
> index 2f048d2f6..4706432ab 100644
> --- a/meta-oe/recipes-core/glib-2.0/glibmm_2.56.0.bb
> +++ b/meta-oe/recipes-core/glib-2.0/glibmm_2.54.1.bb
> @@ -13,9 +13,10 @@ SHRT_VER = 
> "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}"
>  SRC_URI = " \
>  
> ftp://ftp.gnome.org/pub/GNOME/sources/glibmm/${SHRT_VER}/glibmm-${PV}.tar.xz \
>  file://remove-examples.patch \
> +file://0001-Glib-Threads-Private-Fix-gobj.patch \
>  "
> -SRC_URI[md5sum] = "5aa7a60084fe3e01d746c96f4a115302"
> -SRC_URI[sha256sum] = 
> "6e74fcba0d245451c58fc8a196e9d103789bc510e1eee1a9b1e816c5209e79a9"
> +SRC_URI[md5sum] = "dee5ebe309f5976c3dacfcf5c43a062b"
> +SRC_URI[sha256sum] = 
> "7cc28c732b04d70ed34f0c923543129083cfb90580ea4a2b4be5b38802bf6a4a"
>  
>  do_install_append() {
>  install -d ${D}${datadir}/glibmm-2.4
> -- 
> 2.17.1
> 
> -- 
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


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


[oe] [meta-oe][PATCH] Revert "glibmm: Upgrade to 2.56.0"

2018-07-30 Thread Oleksandr Kravchuk
sumo branch of poky contains glib v2.54 which makes compilation of this
package fail due to nonexistent functions in the library used by the
C++ bindings.

This reverts commit acfba081bbe49fd9dccbf12be6535d5342c6d747.
---
 .../0001-Glib-Threads-Private-Fix-gobj.patch  | 40 +++
 .../{glibmm_2.56.0.bb => glibmm_2.54.1.bb}|  5 ++-
 2 files changed, 43 insertions(+), 2 deletions(-)
 create mode 100644 
meta-oe/recipes-core/glib-2.0/glibmm/0001-Glib-Threads-Private-Fix-gobj.patch
 rename meta-oe/recipes-core/glib-2.0/{glibmm_2.56.0.bb => glibmm_2.54.1.bb} 
(86%)

diff --git 
a/meta-oe/recipes-core/glib-2.0/glibmm/0001-Glib-Threads-Private-Fix-gobj.patch 
b/meta-oe/recipes-core/glib-2.0/glibmm/0001-Glib-Threads-Private-Fix-gobj.patch
new file mode 100644
index 0..7899022f1
--- /dev/null
+++ 
b/meta-oe/recipes-core/glib-2.0/glibmm/0001-Glib-Threads-Private-Fix-gobj.patch
@@ -0,0 +1,40 @@
+From 838fe84c2ddcc9af51c34f751defbf3dd0ba8a06 Mon Sep 17 00:00:00 2001
+From: Kjell Ahlstedt 
+Date: Wed, 20 Dec 2017 20:00:32 +0100
+Subject: [PATCH] Glib::Threads::Private: Fix gobj()
+
+Bug 791711
+
+Signed-off-by: Khem Raj 
+---
+Upstream-Status: Backport 
[https://github.com/GNOME/glibmm/commit/37d57ae9572b7d74aa385a30313eceae7f2d3fce]
+ glib/glibmm/threads.h | 2 +-
+ glib/src/threads.hg   | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/glib/glibmm/threads.h b/glib/glibmm/threads.h
+index f7e2b82a..2c0cbe8c 100644
+--- a/glib/glibmm/threads.h
 b/glib/glibmm/threads.h
+@@ -657,7 +657,7 @@ public:
+*/
+   inline void replace(T* data);
+ 
+-  GPrivate* gobj() { return gobject_; }
++  GPrivate* gobj() { return _; }
+ 
+ private:
+   GPrivate gobject_;
+diff --git a/glib/src/threads.hg b/glib/src/threads.hg
+index 86d7a17b..c82a6130 100644
+--- a/glib/src/threads.hg
 b/glib/src/threads.hg
+@@ -628,7 +628,7 @@ public:
+*/
+   inline void replace(T* data);
+ 
+-  GPrivate* gobj() { return gobject_; }
++  GPrivate* gobj() { return _; }
+ 
+ private:
+   GPrivate gobject_;
diff --git a/meta-oe/recipes-core/glib-2.0/glibmm_2.56.0.bb 
b/meta-oe/recipes-core/glib-2.0/glibmm_2.54.1.bb
similarity index 86%
rename from meta-oe/recipes-core/glib-2.0/glibmm_2.56.0.bb
rename to meta-oe/recipes-core/glib-2.0/glibmm_2.54.1.bb
index 2f048d2f6..4706432ab 100644
--- a/meta-oe/recipes-core/glib-2.0/glibmm_2.56.0.bb
+++ b/meta-oe/recipes-core/glib-2.0/glibmm_2.54.1.bb
@@ -13,9 +13,10 @@ SHRT_VER = 
"${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}"
 SRC_URI = " \
 
ftp://ftp.gnome.org/pub/GNOME/sources/glibmm/${SHRT_VER}/glibmm-${PV}.tar.xz \
 file://remove-examples.patch \
+file://0001-Glib-Threads-Private-Fix-gobj.patch \
 "
-SRC_URI[md5sum] = "5aa7a60084fe3e01d746c96f4a115302"
-SRC_URI[sha256sum] = 
"6e74fcba0d245451c58fc8a196e9d103789bc510e1eee1a9b1e816c5209e79a9"
+SRC_URI[md5sum] = "dee5ebe309f5976c3dacfcf5c43a062b"
+SRC_URI[sha256sum] = 
"7cc28c732b04d70ed34f0c923543129083cfb90580ea4a2b4be5b38802bf6a4a"
 
 do_install_append() {
 install -d ${D}${datadir}/glibmm-2.4
-- 
2.17.1

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


Re: [oe] [meta-networking][v3][PATCH] wireshark: update to 2.6.2

2018-07-30 Thread akuster808


On 07/29/2018 02:50 PM, Khem Raj wrote:
> Can you also validate if it’s building ok on musl

Sure. any particular arch ? I have arm, arm64 and mips64  boards at home
plus the normal qemu ones.

>
> On Sun, Jul 29, 2018 at 9:41 AM Armin Kuster  > wrote:
>
> [v3]
> Get  wireshark-gtk building again
> split tshark, wireshark-gtk into their own pkgs
>
> [v2]
> Fix native build, lemon is the only one needed natively
>
> [v1]
> includes security fixes:
>
> wnpa-sec-2018-34 BGP dissector large loop. Bug 13741. CVE-2018-14342.
> wnpa-sec-2018-35 ISMP dissector crash. Bug 14672. CVE-2018-14344.
> wnpa-sec-2018-36 Multiple dissectors could crash. Bug 14675.
> CVE-2018-14340.
> wnpa-sec-2018-37 ASN.1 BER dissector crash. Bug 14682. CVE-2018-14343.
> wnpa-sec-2018-38 MMSE dissector infinite loop. Bug 14738.
> CVE-2018-14339.
> wnpa-sec-2018-39 DICOM dissector crash. Bug 14742. CVE-2018-14341.
> wnpa-sec-2018-40 Bazaar dissector infinite loop. Bug 14841.
> CVE-2018-14368.
> wnpa-sec-2018-41 HTTP2 dissector crash. Bug 14869. CVE-2018-14369.
> wnpa-sec-2018-42 CoAP dissector crash. Bug 14966. CVE-2018-14367.
>
> Signed-off-by: Armin Kuster  >
> ---
>  .../{wireshark_2.6.1.bb  =>
> wireshark_2.6.2.bb }     | 34
> +++---
>  1 file changed, 24 insertions(+), 10 deletions(-)
>  rename
> meta-networking/recipes-support/wireshark/{wireshark_2.6.1.bb
>  => wireshark_2.6.2.bb
> } (70%)
>
> diff --git
> a/meta-networking/recipes-support/wireshark/wireshark_2.6.1.bb
> 
> b/meta-networking/recipes-support/wireshark/wireshark_2.6.2.bb
> 
> similarity index 70%
> rename from
> meta-networking/recipes-support/wireshark/wireshark_2.6.1.bb
> 
> rename to
> meta-networking/recipes-support/wireshark/wireshark_2.6.2.bb
> 
> index 91c5e96..1735ae7 100644
> --- a/meta-networking/recipes-support/wireshark/wireshark_2.6.1.bb
> 
> +++ b/meta-networking/recipes-support/wireshark/wireshark_2.6.2.bb
> 
> @@ -14,8 +14,8 @@ SRC_URI =
> "https://1.as.dl.wireshark.org/src/${BP}.tar.xz
>  \
>
>  UPSTREAM_CHECK_URI = "https://1.as.dl.wireshark.org/src;
>
> -SRC_URI[md5sum] = "b0e9e5fe22e96d9fdfad18f750fa8f55"
> -SRC_URI[sha256sum] =
> "ab6e5bbc3464c956347b8671ce8397950ad5daff3bf9964c967d495f4ddbcd88"
> +SRC_URI[md5sum] = "086d235509717190d06554b2ab870209"
> +SRC_URI[sha256sum] =
> "49b2895ee3ba17ef9ef0aebfdc4d32a778e0f36ccadde184516557d5f3357094"
>
>  PE = "1"
>
> @@ -23,8 +23,11 @@ inherit cmake pkgconfig pythonnative perlnative
> upstream-version-is-even
>
>  ARM_INSTRUCTION_SET = "arm"
>
> +# Options: gtk+, gtk+3 and qt5
> +GTK = "gtk+3"
> +
>  PACKAGECONFIG ?= "libpcap gnutls libnl libcap sbc"
> -PACKAGECONFIG_append_class-target = "
> ${@bb.utils.contains("DISTRO_FEATURES", "x11", " gtk3 graphics ",
> "", d)}"
> +PACKAGECONFIG_append_class-target = "
> ${@bb.utils.contains("DISTRO_FEATURES", "x11", " ${GTK}", "", d)}"
>
>  PACKAGECONFIG_class-native = "libpcap gnutls ssl libssh"
>
> @@ -33,10 +36,8 @@ PACKAGECONFIG[libpcap] =
> "-DENABLE_PCAP=ON,-DENABLE_PCAP=OFF -DENABLE_PCAP_NG_DE
>  PACKAGECONFIG[libsmi] = "-DENABLE_SMI=ON,-DENABLE_SMI=OFF,libsmi"
>  PACKAGECONFIG[libnl] = ",,libnl"
>  PACKAGECONFIG[portaudio] =
> "-DENABLE_PORTAUDIO=ON,-DENABLE_PORTAUDIO=OFF, portaudio-v19"
> -PACKAGECONFIG[gtk2] = "-DENABLE_GTK=ON,-DENABLE_GTK=OFF, gtk+"
> -PACKAGECONFIG[gtk3] = "-DENABLE_GTK3=ON,-DENABLE_GTK3=OFF, gtk+3"
> -PACKAGECONFIG[qt5] = "-DENABLE_QT5=ON,-DENABLE_QT5=OFF
> -DBUILD_wireshark=OFF, qtbase"
> -PACKAGECONFIG[graphics] = ",-DENABLE_GTK=OFF,"
> +PACKAGECONFIG[gtk+] = "-DENABLE_GTK=ON -DBUILD_wireshark_gtk=ON,
> -DENABLE_GTK=OFF, gtk+"
> +PACKAGECONFIG[gtk+3] = "-DENABLE_GTK3=ON
> -DBUILD_wireshark_gtk=ON, -DENABLE_GTK3=OFF, gtk+3"
>  PACKAGECONFIG[gnutls] = "-DENABLE_GNUTLS=ON,-DENABLE_GNUTLS=OFF,
> gnutls"
>  PACKAGECONFIG[ssl] = ",,openssl"
>  PACKAGECONFIG[krb5] = "-DENABLE_KRB5=ON,-DENABLE_KRB5=OFF, krb5"
> @@ -50,9 +51,9 @@ PACKAGECONFIG[lz4] =
> "-DENABLE_LZ4=ON,-DENABLE_LZ4=OFF, lz4"
>
>  # these next two options require addional layers
>  PACKAGECONFIG[c-ares] = "-DENABLE_CARES=ON,-DENABLE_CARES=OFF,
> c-ares"
> +PACKAGECONFIG[qt5] = "-DENABLE_QT5=ON -DBUILD_wireshark=ON,
> -DENABLE_QT5=OFF -DBUILD_wireshark=OFF, qtbase"
>
> -EXTRA_OECMAKE += 

Re: [oe] [OE-core] devtool add recipe with no srctree / fetchuri?

2018-07-30 Thread Adam Lee
Got it. Thank you for the prompt response.

On Mon, Jul 30, 2018 at 10:18 AM Burton, Ross  wrote:

> devtool add's primary convenience is how it can examine the source and
> write the LICENSE correctly, the correct inherits, etc.  If you're
> just going to install a few files then just write a recipe from
> scratch.
>
> Ross
>
> On 30 July 2018 at 15:10, Adam Lee  wrote:
> > Is it possible to run 'devtool add [recipe-name]' without 'srctree' or
> > 'fetchuri'?
> > I just want to add a simple recipe with a few files to be installed on
> the
> > target file system.
> > I can directly add a file in my meta-layer, but devtool is probably the
> more
> > correct approach.
> >
> > Adam
> >
> > --
> > ___
> > Openembedded-core mailing list
> > openembedded-c...@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
> >
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-qt5][PATCH] Change default SRC_URI from github.com to code.qt.io

2018-07-30 Thread Martin Jansa
No I wasn't using codereview.qt-project.org as QT_GIT before and even if I
did, then bitbake fetcher wouldn't be using
downloads/git2/code.qt.io.qt.qtbase.git directory to store it I think.


On Mon, Jul 30, 2018 at 12:23 PM Samuli Piippo 
wrote:

> Have you been using codereview.qt-project.org as the QT_GIT previously?
> refs/changes/* are gerrit and CI specific refs and are never be
> mirrored to github or code.qt.io
>
> -samuli
>
> On 28 July 2018 at 03:03, Martin Jansa  wrote:
> > In the end it took 60 hours for qtbase, 10 hours for qtdeclarative..
> >
> > On Fri, Jul 27, 2018 at 9:21 AM Martin Jansa 
> wrote:
> >
> >> One disadvantage of this is that fetching from code.qt.io seems to be
> >> significantly slower than from github.com.
> >>
> >> One extreme case is just running in one of my old build dirs, where the
> >> checkout from code.qt.io wasn't updated on premirror for quite long
> time
> >> and now the do_fetch of qtbase is already running for 43 hours..
> >>
> >> Most of the time it's removing various refs from gerrit reviews:
> >> $ tail
> >>
> work/x86_64-linux/qtbase-native/5.9.6+gitAUTOINC+9c50112304-r0/temp/log.do_fetch
> >>  x [deleted] (none) -> refs/changes/83/75483/6
> >>  x [deleted] (none) -> refs/changes/83/75783/1
> >>  x [deleted] (none) -> refs/changes/83/75783/2
> >>  x [deleted] (none) -> refs/changes/83/75783/3
> >>  x [deleted] (none) -> refs/changes/83/75783/4
> >>  x [deleted] (none) -> refs/changes/83/75783/5
> >>  x [deleted] (none) -> refs/changes/83/75783/6
> >>  x [deleted] (none) -> refs/changes/83/7583/1
> >>  x [deleted] (none) -> refs/changes/83/76183/1
> >>  x [deleted] (none) -> refs/changes/83/76183/2
> >>
> >> and there is a lot of them:
> >> $ grep -c deleted
> >>
> work/x86_64-linux/qtbase-native/5.9.6+gitAUTOINC+9c50112304-r0/temp/log.do_fetch
> >> 81174
> >>
> >> $ grep -c deleted.*refs/changes
> >>
> work/x86_64-linux/qtbase-native/5.9.6+gitAUTOINC+9c50112304-r0/temp/log.do_fetch
> >> 63253
> >>
> >> $ grep -c deleted.*refs/builds
> >>
> work/x86_64-linux/qtbase-native/5.9.6+gitAUTOINC+9c50112304-r0/temp/log.do_fetch
> >> 17921
> >>
> >> Yes it might be faster to delete the archive from premirror and do clone
> >> from scratch, but other developers wouldn't know what to do with local
> >> downloads directory.
> >>
> >> On Fri, Mar 2, 2018 at 5:19 PM Mikko Gronoff 
> wrote:
> >>
> >>> There have been issues in the past with github qt mirror being out of
> >>> sync with code.qt.io for certain module repos. Right now there's been
> a
> >>> several days long break in update cycle for seemingly all the qt
> >>> modules where content has not been pushed to the github mirror. Change
> >>> the default SRC_URI to the more reliable code.qt.io.
> >>>
> >>> Change-Id: Ic7d3b9a82ef0ae502e99a8516ef78ca09250fd1e
> >>> Signed-off-by: Mikko Gronoff 
> >>> Reviewed-by: Samuli Piippo 
> >>> ---
> >>>  conf/layer.conf  | 4 ++--
> >>>  recipes-qt/examples/qt5everywheredemo_1.0.bb | 3 ++-
> >>>  2 files changed, 4 insertions(+), 3 deletions(-)
> >>>
> >>> diff --git a/conf/layer.conf b/conf/layer.conf
> >>> index 7751ce2..f540710 100644
> >>> --- a/conf/layer.conf
> >>> +++ b/conf/layer.conf
> >>> @@ -33,7 +33,7 @@ LICENSE_PATH += "${LAYERDIR}/licenses"
> >>>
> >>>  IMAGE_FEATURES[validitems] += "qtcreator-debug"
> >>>
> >>> -QT_GIT ?= "git://github.com/qt"
> >>> -QT_LABS_GIT ?= "git://github.com/qt-labs"
> >>> +QT_GIT_PROJECT ?= "qt"
> >>> +QT_GIT ?= "git://code.qt.io/${QT_GIT_PROJECT}
> 
> >>> "
> >>>  QT_GIT_PROTOCOL ?= "git"
> >>>  QT_EDITION ?= "opensource"
> >>> diff --git a/recipes-qt/examples/qt5everywheredemo_1.0.bb
> >>> b/recipes-qt/examples/qt5everywheredemo_1.0.bb
> >>> index dfbe4ae..36d57f1 100644
> >>> --- a/recipes-qt/examples/qt5everywheredemo_1.0.bb
> >>> +++ b/recipes-qt/examples/qt5everywheredemo_1.0.bb
> >>> @@ -7,7 +7,8 @@ LIC_FILES_CHKSUM =
> >>> "file://qml/QtDemo/main.qml;endline=39;md5=7d80863906a4bc8ffc
> >>>  DEPENDS = "qtdeclarative qtxmlpatterns qtgraphicaleffects qtsvg
> >>> qtmultimedia"
> >>>
> >>>  SRCREV = "35d72a2eba7456a2efc5eb8b77afbc00f69ba0ac"
> >>> -SRC_URI = "${QT_LABS_GIT}/qt-labs-qt5-everywhere-demo"
> >>> +QT_GIT_PROJECT = "qt-labs"
> >>> +SRC_URI = "${QT_GIT}/qt5-everywhere-demo"
> >>>
> >>>  S = "${WORKDIR}/git/QtDemo"
> >>>
> >>> --
> >>> 2.7.4
> >>>
> >>> --
> >>> ___
> >>> 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
>
-- 

Re: [oe] [OE-core] devtool add recipe with no srctree / fetchuri?

2018-07-30 Thread Burton, Ross
devtool add's primary convenience is how it can examine the source and
write the LICENSE correctly, the correct inherits, etc.  If you're
just going to install a few files then just write a recipe from
scratch.

Ross

On 30 July 2018 at 15:10, Adam Lee  wrote:
> Is it possible to run 'devtool add [recipe-name]' without 'srctree' or
> 'fetchuri'?
> I just want to add a simple recipe with a few files to be installed on the
> target file system.
> I can directly add a file in my meta-layer, but devtool is probably the more
> correct approach.
>
> Adam
>
> --
> ___
> Openembedded-core mailing list
> openembedded-c...@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] devtool add recipe with no srctree / fetchuri?

2018-07-30 Thread Adam Lee
Is it possible to run 'devtool add [recipe-name]' without 'srctree' or
'fetchuri'?
I just want to add a simple recipe with a few files to be installed on the
target file system.
I can directly add a file in my meta-layer, but devtool is probably the
more correct approach.

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


Re: [oe] [meta-oe][PATCH 1/1] kernel-selftest: Add a recipe on kernel selftest

2018-07-30 Thread Hongzhi, Song

Hi Raj,

I can continue to fix the error with rpi that you build. But I found 
that rpi gets kernel


from git://github.com/raspberrypi/linux.git;branch=rpi-4.14.y, which is 
not belong


to openembeded. I think that the rpi recipe must make some special 
change which


cause the error.


And the recipe in meta-oe is OK both with glibc and musl. So could you 
build a project


with oe-core's kernel?  If there is no problem, would you merge the recipe?


--Hongzhi


On 2018年07月30日 12:02, Khem Raj wrote:
I can not get it compiling for musl and rpi with poky lsb equivalent 
distro until there are clean builds it won’t be possible for me to get 
this in


On Sun, Jul 29, 2018 at 8:34 PM Hongzhi, Song 
mailto:hongzhi.s...@windriver.com>> wrote:


ping

--Hongzhi


On 2018年07月27日 17:00, Hongzhi, Song wrote:
> Hi Raj,
>
> Could you help to confirm that if the libelf exists in your
> recipe-sysroot?
>
> Because I can't reproduce your error.
>
>
> --Hongzhi
>
>
> On 2018年07月27日 16:40, Khem Raj wrote:
>> this fails on rpi
>>
>> ERROR: Logfile of failure stored in:
>>

/mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/temp/log.do_compile.22198

>>
>> Log data follows:
>> | DEBUG: Executing shell function do_compile
>> | NOTE: make -j 16 CROSS_COMPILE=arm-bec-linux-gnueabi- ARCH=arm
>> CC=arm-bec-linux-gnueabi-gcc  -march=armv7ve -mthumb
-mfpu=neon-vfpv4
>> -mfloat-abi=hard -mcpu=cortex-a7 -fstack-protector-strong
>> -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security
-Werror=format-security
>> -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat
>> -Wformat-security -Werror=format-security
>>

--sysroot=/mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/recipe-sysroot

>>
>> AR=arm-bec-linux-gnueabi-ar LD=arm-bec-linux-gnueabi-ld
>>

--sysroot=/mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/recipe-sysroot

>>
>>

DESTDIR=/mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/image
>> -C
>>

/mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf
>> | make: Entering directory
>>

'/mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf'

>>
>> | make -C ../../../lib/bpf
>>

OUTPUT=/mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf/

>>
>> | make[1]: Entering directory
>>

'/mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/lib/bpf'

>>
>> |
>> | Auto-detecting system features:
>> | ...    libelf: [ ^[[31mOFF^[[m ]
>> | ...   bpf: [ ^[[31mOFF^[[m ]
>> |
>> | BPF API too old
>> | make[1]: *** [Makefile:219: bpfdep] Error 255
>> | make[1]: *** Waiting for unfinished jobs
>> | No libelf found
>> | make[1]: *** [Makefile:216: elfdep] Error 255
>> |   HOSTCC
>>

/mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf/fixdep.o
>> |   HOSTLD
>>

/mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf/fixdep-in.o
>> |   LINK
>>

/mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf/fixdep
>> | make[1]: Leaving directory
>>

'/mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/lib/bpf'

>>
>> | make: *** [Makefile:33:
>>

/mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf/libbpf.a]

>>
>> Error 2
>> | make: Leaving directory
>>

'/mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf'

>>
>> | ERROR: oe_runmake failed
>> | WARNING:
>>

/mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/temp/run.do_compile.22198:1
>> exit 1 from 'exit 1'
>> | ERROR: Function failed: do_compile (log file is located at
>>

/mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-gnueabi/kernel-selftest/1.0-r0/temp/log.do_compile.22198)

>>
>>
>> On Mon, Jul 16, 2018 at 2:51 AM Hongzhi, Song
>> mailto:hongzhi.s...@windriver.com>> wrote:
>>>
>>>
>>> On 2018年07月14日 00:23, Burton, Ross wrote:
 On 13 July 2018 at 15:06, Hongzhi.Song
mailto:hongzhi.s...@windriver.com>>
 wrote:

Re: [oe] [meta-qt5][PATCH] Change default SRC_URI from github.com to code.qt.io

2018-07-30 Thread Samuli Piippo
Have you been using codereview.qt-project.org as the QT_GIT previously?
refs/changes/* are gerrit and CI specific refs and are never be
mirrored to github or code.qt.io

-samuli

On 28 July 2018 at 03:03, Martin Jansa  wrote:
> In the end it took 60 hours for qtbase, 10 hours for qtdeclarative..
>
> On Fri, Jul 27, 2018 at 9:21 AM Martin Jansa  wrote:
>
>> One disadvantage of this is that fetching from code.qt.io seems to be
>> significantly slower than from github.com.
>>
>> One extreme case is just running in one of my old build dirs, where the
>> checkout from code.qt.io wasn't updated on premirror for quite long time
>> and now the do_fetch of qtbase is already running for 43 hours..
>>
>> Most of the time it's removing various refs from gerrit reviews:
>> $ tail
>> work/x86_64-linux/qtbase-native/5.9.6+gitAUTOINC+9c50112304-r0/temp/log.do_fetch
>>  x [deleted] (none) -> refs/changes/83/75483/6
>>  x [deleted] (none) -> refs/changes/83/75783/1
>>  x [deleted] (none) -> refs/changes/83/75783/2
>>  x [deleted] (none) -> refs/changes/83/75783/3
>>  x [deleted] (none) -> refs/changes/83/75783/4
>>  x [deleted] (none) -> refs/changes/83/75783/5
>>  x [deleted] (none) -> refs/changes/83/75783/6
>>  x [deleted] (none) -> refs/changes/83/7583/1
>>  x [deleted] (none) -> refs/changes/83/76183/1
>>  x [deleted] (none) -> refs/changes/83/76183/2
>>
>> and there is a lot of them:
>> $ grep -c deleted
>> work/x86_64-linux/qtbase-native/5.9.6+gitAUTOINC+9c50112304-r0/temp/log.do_fetch
>> 81174
>>
>> $ grep -c deleted.*refs/changes
>> work/x86_64-linux/qtbase-native/5.9.6+gitAUTOINC+9c50112304-r0/temp/log.do_fetch
>> 63253
>>
>> $ grep -c deleted.*refs/builds
>> work/x86_64-linux/qtbase-native/5.9.6+gitAUTOINC+9c50112304-r0/temp/log.do_fetch
>> 17921
>>
>> Yes it might be faster to delete the archive from premirror and do clone
>> from scratch, but other developers wouldn't know what to do with local
>> downloads directory.
>>
>> On Fri, Mar 2, 2018 at 5:19 PM Mikko Gronoff  wrote:
>>
>>> There have been issues in the past with github qt mirror being out of
>>> sync with code.qt.io for certain module repos. Right now there's been a
>>> several days long break in update cycle for seemingly all the qt
>>> modules where content has not been pushed to the github mirror. Change
>>> the default SRC_URI to the more reliable code.qt.io.
>>>
>>> Change-Id: Ic7d3b9a82ef0ae502e99a8516ef78ca09250fd1e
>>> Signed-off-by: Mikko Gronoff 
>>> Reviewed-by: Samuli Piippo 
>>> ---
>>>  conf/layer.conf  | 4 ++--
>>>  recipes-qt/examples/qt5everywheredemo_1.0.bb | 3 ++-
>>>  2 files changed, 4 insertions(+), 3 deletions(-)
>>>
>>> diff --git a/conf/layer.conf b/conf/layer.conf
>>> index 7751ce2..f540710 100644
>>> --- a/conf/layer.conf
>>> +++ b/conf/layer.conf
>>> @@ -33,7 +33,7 @@ LICENSE_PATH += "${LAYERDIR}/licenses"
>>>
>>>  IMAGE_FEATURES[validitems] += "qtcreator-debug"
>>>
>>> -QT_GIT ?= "git://github.com/qt"
>>> -QT_LABS_GIT ?= "git://github.com/qt-labs"
>>> +QT_GIT_PROJECT ?= "qt"
>>> +QT_GIT ?= "git://code.qt.io/${QT_GIT_PROJECT}
>>> "
>>>  QT_GIT_PROTOCOL ?= "git"
>>>  QT_EDITION ?= "opensource"
>>> diff --git a/recipes-qt/examples/qt5everywheredemo_1.0.bb
>>> b/recipes-qt/examples/qt5everywheredemo_1.0.bb
>>> index dfbe4ae..36d57f1 100644
>>> --- a/recipes-qt/examples/qt5everywheredemo_1.0.bb
>>> +++ b/recipes-qt/examples/qt5everywheredemo_1.0.bb
>>> @@ -7,7 +7,8 @@ LIC_FILES_CHKSUM =
>>> "file://qml/QtDemo/main.qml;endline=39;md5=7d80863906a4bc8ffc
>>>  DEPENDS = "qtdeclarative qtxmlpatterns qtgraphicaleffects qtsvg
>>> qtmultimedia"
>>>
>>>  SRCREV = "35d72a2eba7456a2efc5eb8b77afbc00f69ba0ac"
>>> -SRC_URI = "${QT_LABS_GIT}/qt-labs-qt5-everywhere-demo"
>>> +QT_GIT_PROJECT = "qt-labs"
>>> +SRC_URI = "${QT_GIT}/qt5-everywhere-demo"
>>>
>>>  S = "${WORKDIR}/git/QtDemo"
>>>
>>> --
>>> 2.7.4
>>>
>>> --
>>> ___
>>> 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
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] rsyslog: fix configuration file for logrotate

2018-07-30 Thread Qi.Chen
From: Chen Qi 

The logrotate.rsyslog file uses 'cat /var/run/rsyslogd.pid' to
determine the pid of rsyslogd daemon. This is incorrect, because
rsyslogd may start in a way that does not create rsyslog.pid file.

Failing to send HUP signal to rsyslogd daemon will result in
unexpected behaviour. e.g. rsyslogd is writing to /var/log/messages-
instead of /var/log/messages.

We should really use pkill to send HUP signal to rsyslogd to ensure
correct behaviour.

Signed-off-by: Chen Qi 
---
 meta-oe/recipes-extended/rsyslog/rsyslog/rsyslog.logrotate | 4 ++--
 meta-oe/recipes-extended/rsyslog/rsyslog_8.36.0.bb | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog/rsyslog.logrotate 
b/meta-oe/recipes-extended/rsyslog/rsyslog/rsyslog.logrotate
index 94ec517..5f8568f 100644
--- a/meta-oe/recipes-extended/rsyslog/rsyslog/rsyslog.logrotate
+++ b/meta-oe/recipes-extended/rsyslog/rsyslog/rsyslog.logrotate
@@ -9,7 +9,7 @@
 delaycompress
 compress
 postrotate
-   /bin/kill -HUP `cat /var/run/rsyslogd.pid 2> /dev/null` 2> 
/dev/null || true
+   @BINDIR@/pkill -HUP rsyslogd 2> /dev/null || true
 endscript
 }
 
@@ -34,6 +34,6 @@
 delaycompress
 sharedscripts
 postrotate
-   /bin/kill -HUP `cat /var/run/rsyslogd.pid 2> /dev/null` 2> 
/dev/null || true
+   @BINDIR@/pkill -HUP rsyslogd 2> /dev/null || true
 endscript
 }
diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog_8.36.0.bb 
b/meta-oe/recipes-extended/rsyslog/rsyslog_8.36.0.bb
index 9737892..d90695a 100644
--- a/meta-oe/recipes-extended/rsyslog/rsyslog_8.36.0.bb
+++ b/meta-oe/recipes-extended/rsyslog/rsyslog_8.36.0.bb
@@ -125,6 +125,7 @@ do_install_append() {
 install -m 755 ${WORKDIR}/initscript ${D}${sysconfdir}/init.d/syslog
 install -m 644 ${WORKDIR}/rsyslog.conf ${D}${sysconfdir}/rsyslog.conf
 install -m 644 ${WORKDIR}/rsyslog.logrotate 
${D}${sysconfdir}/logrotate.d/logrotate.rsyslog
+sed -i -e "s#@BINDIR@#${bindir}#g" 
${D}${sysconfdir}/logrotate.d/logrotate.rsyslog
 }
 
 FILES_${PN} += "${bindir}"
-- 
1.9.1

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


[oe] State of the world, 2018-07-29

2018-07-30 Thread Khem Raj
https://www.openembedded.org/wiki/Bitbake_World_Status_Thud

http://www.openembedded.org/wiki/Bitbake_World_Status

== Number of issues - stats ==
{| class='wikitable'
!|Date !!colspan='4'|Failed tasks!!|Signatures
!!colspan='15'|QA !!Comment
|-
|| ||qemuarm ||qemuarm64 ||qemux86 ||qemux86_64 ||all
||already-stripped ||libdir ||textrel ||build-deps ||file-rdeps
||version-going-backwards ||host-user-contaminated
||installed-vs-shipped ||unknown-configure-option ||symlink-to-sysroot
||invalid-pkgconfig ||pkgname ||ldflags ||compile-host-path
||qa_pseudo ||
|-
||2018-07-28 ||9 ||11 ||26 ||7 ||8 ||0 ||0 ||7 ||0 ||0 ||56 ||0 ||1
||1 ||0 ||0 ||0 ||0 ||0 ||0 ||
|}

== Failed tasks 2018-07-28 ==

INFO: jenkins-job.sh-1.8.45 Complete log available at
http://logs.nslu2-linux.org/buildlogs/oe/world/thud/log.report.20180729_223730.log

=== common (3) ===
* 
sources/meta-openembedded/meta-multimedia/recipes-mediacenter/kodi/kodi_18.bb:do_compile
* 
sources/meta-openembedded/meta-networking/recipes-connectivity/samba/samba_4.7.8.bb:do_configure
* 
sources/meta-openembedded/meta-networking/recipes-daemons/autofs/autofs_5.1.4.bb:do_configure

=== common-x86 (0) ===

=== qemuarm (6) ===
* 
sources/meta-openembedded/meta-multimedia/recipes-multimedia/gstreamer-1.0/gstd_1.0.bb:do_configure
* 
sources/meta-openembedded/meta-networking/recipes-support/wireshark/wireshark_2.6.1.bb:do_compile
* 
sources/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb:do_compile
* 
sources/meta-openembedded/meta-oe/recipes-devtools/openocd/openocd_git.bb:do_configure
* 
sources/meta-openembedded/meta-oe/recipes-extended/redis/redis_4.0.8.bb:do_compile
* sources/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_compile

=== qemuarm64 (6) ===
* 
sources/meta-browser/recipes-browser/chromium/chromium-x11_68.0.3440.75.bb:do_compile
* 
sources/meta-browser/recipes-browser/firefox/firefox_52.8.0esr.bb:do_configure
* sources/meta-qt5/recipes-qt/qt5/qtwebkit-examples_git.bb:do_compile
* 
sources/openembedded-core/meta/recipes-devtools/glide/glide_0.13.1.bb:do_package_qa
* sources/openembedded-core/meta/recipes-devtools/go/go_1.9.bb:do_package_qa
* 
sources/openembedded-core/meta/recipes-devtools/go/go-dep_0.4.1.bb:do_package_qa

=== qemux86 (21) ===
* 
sources/meta-openembedded/meta-networking/recipes-connectivity/rdist/rdist_6.1.5.bb:do_package
* 
sources/meta-openembedded/meta-networking/recipes-daemons/opensaf/opensaf_5.18.04.bb:do_compile
* 
sources/meta-openembedded/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.3.bb:do_compile
* 
sources/meta-openembedded/meta-networking/recipes-netkit/netkit-rsh/netkit-rsh_0.17.bb:do_compile
* 
sources/meta-openembedded/meta-networking/recipes-netkit/netkit-rusers/netkit-rusers_0.17.bb:do_compile
* 
sources/meta-openembedded/meta-networking/recipes-netkit/netkit-telnet/netkit-telnet_0.17.bb:do_configure
* 
sources/meta-openembedded/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb:do_compile
* 
sources/meta-openembedded/meta-networking/recipes-support/rdma-core/rdma-core_18.1.bb:do_configure
* 
sources/meta-openembedded/meta-oe/recipes-bsp/efivar/efivar_0.31.bb:do_compile
* 
sources/meta-openembedded/meta-oe/recipes-connectivity/wvdial/wvdial_1.61.bb:do_compile
* 
sources/meta-openembedded/meta-oe/recipes-dbs/mongodb/mongodb_git.bb:do_compile
* 
sources/meta-openembedded/meta-oe/recipes-kernel/crash/crash_7.2.0.bb:do_compile
* 
sources/meta-openembedded/meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.0.bb:do_compile
* 
sources/meta-openembedded/meta-oe/recipes-multimedia/alsa/alsa-oss_1.0.28.bb:do_compile
* 
sources/meta-openembedded/meta-oe/recipes-test/pm-qa/pm-qa_git.bb:do_compile
* sources/meta-qt5/recipes-qt/qt5/qtwebkit_git.bb:do_compile
* 
sources/openembedded-core/meta/recipes-devtools/cmake/cmake_3.11.4.bb:do_configure
* 
sources/openembedded-core/meta/recipes-devtools/ruby/ruby_2.5.1.bb:do_configure
* 
sources/openembedded-core/meta/recipes-graphics/cairo/cairo_1.14.12.bb:do_compile
* 
sources/openembedded-core/meta/recipes-multimedia/x264/x264_git.bb:do_package_qa
* 
sources/openembedded-core/meta/recipes-support/libunwind/libunwind_1.2.1.bb:do_compile

=== qemux86_64 (0) ===

=== Number of failed tasks (53) ===
{| class=wikitable
|-
|| qemuarm || 9 ||
http://logs.nslu2-linux.org/buildlogs/oe/world/thud/log.world.qemuarm.20180728_120451.log/
||
|-
|| qemuarm64 || 11 ||
http://logs.nslu2-linux.org/buildlogs/oe/world/thud/log.world.qemuarm64.20180728_201203.log/
||
|-
|| qemux86 || 26 ||
http://logs.nslu2-linux.org/buildlogs/oe/world/thud/log.world.qemux86.20180728_120459.log/
||
|-
|| qemux86_64 || 7 ||
http://logs.nslu2-linux.org/buildlogs/oe/world/thud/log.world.qemux86-64.20180728_195754.log/
||
|}

=== PNBLACKLISTs (0) ===

=== QA issues (63) ===
{| class=wikitable
!| Count ||Issue
|-
||0 

Re: [oe] [meta-networking][PATCH] samba: Update to 4.8.3

2018-07-30 Thread Khem Raj
thansk fixed in local pull branch
On Sun, Jul 29, 2018 at 6:11 PM Yi Zhao  wrote:
>
>
>
> 在 2018年07月29日 15:42, Khem Raj 写道:
> > diff --git a/meta-networking/recipes-connectivity/samba/samba_4.7.8.bb 
> > b/meta-networking/recipes-connectivity/samba/samba_4.8.3.bb
> > similarity index 94%
> > rename from meta-networking/recipes-connectivity/samba/samba_4.7.8.bb
> > rename to meta-networking/recipes-connectivity/samba/samba_4.8.3.bb
> > index fc1a2e0fd0..5afb1d1345 100644
> > --- a/meta-networking/recipes-connectivity/samba/samba_4.7.8.bb
> > +++ b/meta-networking/recipes-connectivity/samba/samba_4.8.3.bb
> > @@ -13,25 +13,27 @@ ${SAMBA_MIRROR}
> > http://www.mirrorservice.org/sites/ftp.samba.org \n \
> >   "
> >
> >   SRC_URI = "${SAMBA_MIRROR}/stable/samba-${PV}.tar.gz \
> > +   file://smb.conf \
> >  file://16-do-not-check-xsltproc-manpages.patch \
> >  
> > file://20-do-not-import-target-module-while-cross-compile.patch \
> >  file://21-add-config-option-without-valgrind.patch \
> > -   
> > file://0001-packaging-Avoid-timeout-for-nmbd-if-started-offline-.patch \
> > -   file://0006-avoid-using-colon-in-the-checking-msg.patch \
> >  file://netdb_defines.patch \
> >  file://glibc_only.patch \
> >  file://iconv-4.7.0.patch \
> >  file://dnsserver-4.7.0.patch \
> >  file://smb_conf-4.7.0.patch \
> >  file://volatiles.03_samba \
> > -  "
> > +   
> > file://0001-ldb-Refuse-to-build-Samba-against-a-newer-minor-vers.patch \
> > +   file://samba-pam.patch \
> > +   file://samba-4.3.9-remove-getpwent_r.patch \
> > +   "
> >   SRC_URI_append_libc-musl = " \
> >  file://samba-pam.patch \
> >  file://samba-4.3.9-remove-getpwent_r.patch \
> > "
> >
> > -SRC_URI[md5sum] = "16b70fda54cf84521ed976a0856430cc"
> > -SRC_URI[sha256sum] = 
> > "ca6fca9d7e248bcaa55c54bdcc115eeed10660074da5c54a2b78dd3604de"
> > +SRC_URI[md5sum] = "67f271ed6b793c2acfe014b5b8f0cca8"
> > +SRC_URI[sha256sum] = 
> > "e0569a8a605d5dfb49f1fdd11db796f4d36fe0351c4a7f21387ef253010b82ed"
> >
> >   UPSTREAM_CHECK_REGEX = "samba\-(?P4\.7(\.\d+)+).tar.gz"
> Please also update UPSTREAM_CHECK_REGEX to check 4.8 series:
> "samba\-(?P4\.8(\.\d+)+).tar.gz"
>
> //Yi
>
> >
> > @@ -39,7 +41,7 @@ inherit systemd waf-samba cpan-base perlnative update-rc.d
> >   # remove default added RDEPENDS on perl
> >   RDEPENDS_${PN}_remove = "perl"
> >
> > -DEPENDS += "readline virtual/libiconv zlib popt libtalloc libtdb libtevent 
> > libldb libbsd libaio libpam"
> > +DEPENDS += "readline virtual/libiconv zlib popt libtalloc libtdb libtevent 
> > libbsd libaio libpam"
> >
> >   inherit distro_features_check
> >   REQUIRED_DISTRO_FEATURES = "pam"
> > @@ -104,7 +106,7 @@ 
> > SAMBA4_MODULES="${SAMBA4_IDMAP_MODULES},${SAMBA4_PDB_MODULES},${SAMBA4_AUTH_MODU
> >   # .so files so there will not be a conflict.  This is not done 
> > consistantly, so be very careful
> >   # when adding to this list.
> >   #
> > -SAMBA4_LIBS="heimdal,cmocka,NONE"
> > +SAMBA4_LIBS="heimdal,cmocka,ldb,pyldb-util,NONE"
> >
> >   EXTRA_OECONF += "--enable-fhs \
> >--with-piddir=/run \
> > @@ -135,7 +137,7 @@ do_install_append() {
> >   done
> >
> >   install -d ${D}${systemd_system_unitdir}
> > -install -m 0644 packaging/systemd/*.service 
> > ${D}${systemd_system_unitdir}
> > +install -m 0644 ${S}/bin/default/packaging/systemd/*.service 
> > ${D}${systemd_system_unitdir}/
> >   sed -e 's,\(ExecReload=\).*\(/kill\),\1${base_bindir}\2,' \
> >   -e 's,/etc/sysconfig/samba,${sysconfdir}/default/samba,' \
> >   -i ${D}${systemd_system_unitdir}/*.service
> > @@ -159,7 +161,7 @@ do_install_append() {
> >
> >   install -d ${D}${sysconfdir}/samba
> >   echo "127.0.0.1 localhost" > ${D}${sysconfdir}/samba/lmhosts
> > -install -m644 packaging/RHEL/setup/smb.conf 
> > ${D}${sysconfdir}/samba/smb.conf
> > +install -m644 ${WORKDIR}/smb.conf ${D}${sysconfdir}/samba/smb.conf
> >   install -D -m 644 ${WORKDIR}/volatiles.03_samba 
> > ${D}${sysconfdir}/default/volatiles/03_samba
> >
> >   install -d ${D}${sysconfdir}/default
> > @@ -268,6 +270,7 @@ FILES_winbind = "${sbindir}/winbindd \
> >${libdir}/samba/idmap \
> >${libdir}/samba/nss_info \
> >${libdir}/winbind_krb5_locator.so \
> > + ${libdir}/winbind-krb5-localauth.so \
> >${sysconfdir}/init.d/winbind \
> >${systemd_system_unitdir}/winbind.service"
> >
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel